develop
按照需求文档进行功能开发与记录
When & Why to Use This Skill
This Claude skill automates the end-to-end software development lifecycle by transforming structured requirement documents into functional code. It streamlines the transition from 'todo' to 'done' by managing task queues, generating detailed development logs, and maintaining a centralized status tracker, ensuring high traceability and consistency in automated coding workflows.
Use Cases
- Requirement-Driven Development: Automatically implement features by processing markdown specifications stored in a dedicated directory, ensuring code aligns perfectly with defined acceptance criteria.
- Automated Progress Tracking: Maintain a real-time status.json dashboard that tracks the completion state of multiple development tasks, ideal for managing complex project backlogs.
- Development Auditing and Logging: Generate standardized development logs for every task, capturing implementation details, key progress, and problem-solving steps for better team collaboration and future maintenance.
- Sequential Task Execution: Orchestrate the development process by automatically prioritizing tasks based on file timestamps, ensuring a logical and organized rollout of software updates.
| name | develop |
|---|---|
| description | 按照需求文档进行功能开发与记录 |
Develop
本技能用于根据 requirements/todo 目录下的需求文档进行开发,并在开发完成后更新状态与开发日志。
📁 目录结构说明
| 目录 / 文件 | 说明 |
|---|---|
requirements/todo/ |
存放待开发的需求文档 |
requirements/dev_logs/ |
存放每个需求的开发日志 |
requirements/status.json |
记录需求开发完成状态 |
🧾 需求文档规范
位置:
requirements/todo命名规则:
[时间戳]_负责人.md
其中时间戳格式为:YYYYMMDDHHMMSS
示例:
20251102220511_sean.md内容要求:
需求文档应包含功能描述、接口定义、验收标准等信息(可自定义模板)。
⚙️ 开发流程
检查需求状态
打开requirements/status.json,若目标文档对应值为true,表示该需求已完成,无需再次开发。确定开发顺序
按照requirements/todo目录下的文件名**时间顺序(正序)**进行开发。执行开发任务
根据需求文档内容完成相应开发工作。记录开发日志
每个需求文档应在requirements/dev_logs/下创建同名日志文件。
- 命名规则: 与需求文档同名
例如,requirements/todo/20251102220511_sean.md对应的日志文件是:requirements/dev_logs/20251102220511_sean.md - 内容建议包括:
- 开发起止时间
- 开发人员
- 关键进展
- 实现要点
- 问题与解决方案
- 更新开发状态
开发完成后,在requirements/status.json中将对应需求标记为true。
✅ 示例
requirements/status.json
{
"20251102220511_sean.md": true,
"20251102224533_gray.md": false
}