# auto-prd **Repository Path**: chinalif_admin/auto-prd ## Basic Information - **Project Name**: auto-prd - **Description**: prd from website - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-12 - **Last Updated**: 2026-03-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PRD 自动化生成系统 基于 Agent Skills 开放标准的 PRD 文档自动化生成工具集。 ## 快速链接 - [安装指南](docs/INSTALL.md) - 安装步骤 - [用户手册](docs/USER_GUIDE.md) - 完整使用指南 - [设计文档](design/skills-design.md) - 架构设计 - [数据格式](design/data-formats.md) - 输出格式规范 ## 功能特性 - **系统连接**: 自动连接 BS(Web)/ CS(桌面)系统 - **智能分析**: 解析页面结构、模块导航、数据库结构 - **交互式问答**: 智能生成补充问题 - **自动生成**: 输出结构化的 PRD 文档 ## 快速开始 ### 1. 安装依赖 ```bash pip install pyyaml playwright playwright install chromium ``` ### 2. 安装 Skills 到 Claude Code ```bash # 项目级安装 cp -r skill/* .claude/skills/ # 或用户级安装(所有项目可用) cp -r skill/* ~/.claude/skills/ ``` ### 3. 通过 Claude Code 使用 在 Claude Code 中使用自然语言触发技能: ``` 用户: 帮我分析 https://example.com 这个系统,生成 PRD 文档 用户名 admin,密码 password123 Claude: 正在执行 PRD 自动化生成流水线... ✓ 系统连接完成 ✓ 模块识别完成 ✓ 页面分析完成 ✓ PRD 文档已生成 ``` **触发词:** - "开始生成 PRD" - 执行完整流水线 - "继续" - 从断点恢复 - "连接 [网址]" - 连接 BS 系统 - "分析 DDL" - 分析数据库结构 ### 4. 高级用法(Python API) ```python from system_connector_bs import BSConnector, ConnectionConfig config = ConnectionConfig( base_url="https://your-system.com", username="yourname", password="yourpass", ) connector = BSConnector(config) await connector.connect() await connector.login() ``` ## Skills 列表 | Skill | 功能 | |-------|------| | error-handler-skill | 错误处理与重试 | | prd-orchestrator-skill | 流水线编排 | | system-connector-bs-skill | BS 系统连接 | | system-connector-cs-skill | CS 系统连接 | | module-identifier-skill | 模块识别 | | bs-page-analyzer-skill | 页面分析 | | schema-analyzer-from-ddl-skill | DDL 分析 | | question-generator-skill | 问题生成 | | qa-interactor-skill | 问答交互 | | requirements-modeler-skill | 需求建模 | | prd-generator-skill | PRD 生成 | ## 目录结构 ``` auto-prd/ ├── skill/ # Skills 目录 │ ├── error-handler-skill/ │ ├── prd-orchestrator-skill/ │ ├── system-connector-bs-skill/ │ └── ... ├── design/ # 设计文档 ├── guide/ # 开发指南 ├── docs/ # 用户文档 └── .auto-prd/ # 输出目录 ├── cache/ ├── output/ └── logs/ ``` ## 许可证 MIT --- *更多信息请参阅 [用户手册](docs/USER_GUIDE.md)*