Complete backlog implementation in feature-driven development. Read backlog requirements, reference implemented features, design approach, implement code, and document. Use when implementing features, changes, bug fixes, or improvements.
This skill implements backlogs through a structured feature-driven approach. As a Software Engineer expert, you'll read backlog requirements, reference existing features, design implementation approach, write code, and create comprehensive documentation for the features knowledge base.
This skill requires:
04-prd/ - Product Requirements Document (business requirements and acceptance criteria)07-tech-specs/ - Engineering standards and constraints10-sprints/ folder with active sprint and backlogsfeatures/ folder with features-index.md (existing features knowledge base)CRITICAL: This skill follows a strict feature-driven approach where feature-name is the index for the entire project:
For Each Backlog:
backlog from 10-sprints/SPRINT-XX-descriptive-name/[BACKLOG_TYPE]-XX-[feature-name]-<sub-feature>.mdfeature-name from the backlog file namefeatures/features-index.md to find the feature filefeatures/[feature-name].md - Feature definition (WHAT/WHY/SCOPE)features/flows/[feature-name].md - User flows and process flows (if exists)features/contracts/[feature-name].md - API/data contracts (if exists)features/impl/[feature-name].md - Implementation notes (if exists){SRC}/ using features/impl/[feature-name].md07-tech-specs/backlog with development notesThis approach ensures AI developers can work on large projects without reading all code at once.
See dev-swarm/docs/general-dev-stage-rule.md for role selection guidance.
See dev-swarm/docs/general-dev-stage-rule.md for the required role announcement format.
Follow these steps in order for coding development:
IMPORTANT: Follow this exact order to efficiently locate all relevant context:
Identify the backlog:
10-sprints/ in order10-sprints/
└── SPRINT-XX-descriptive-name/
└── [BACKLOG_TYPE]-XX-[feature-name]-<sub-feature>.md
10-sprints/SPRINT-XX-descriptive-name/README.md for required progress log updatesRead the backlog file:
feature-name from the file name (CRITICAL)Feature Name in backlog metadata matches the file nameRead source code structure standards:
dev-swarm/docs/source-code-structure.md for general guidelinesRead PRD and tech specs:
04-prd/ (all markdown files) - Product requirements and acceptance criteria for the feature07-tech-specs/ (all markdown files) - Technical specifications and engineering standardsRead feature documentation (using feature-name as index):
features/features-index.md to confirm feature existsfeatures/[feature-name].md - Feature definition (WHAT/WHY/SCOPE)features/flows/[feature-name].md - User flows (if exists)features/contracts/[feature-name].md - API contracts (if exists)features/impl/[feature-name].md - Implementation notes (if exists)Locate existing source code:
features/impl/[feature-name].md to find code locations{SRC}/ directoryUnderstand codebase patterns:
{SRC}/ using locations from features/impl/[feature-name].mdDO NOT read the entire codebase. Use features/impl/[feature-name].md to find only relevant files in {SRC}/.
Before writing code, create the feature design document:
Create/Update file features/{feature-name}.md
feature and the related feature file is not exist, create new feature filechange/bug/improve or the feature file is exist, update existing feature fileCreate/update flow and contract files if it is needed
features/flows/{feature-name}.md - User flows and process flows (when needed)features/contracts/{feature-name}.md - API contracts and interfaces (when needed)Present design to user for approval
Once user approves the design:
Organize code in {SRC}/:
dev-swarm/docs/source-code-structure.md for file organization guidelines{SRC}/Write the code:
Code quality guidelines:
What NOT to do:
For different backlog types:
Feature (new functionality):
Change (modify existing feature):
Bug (fix defect):
Improve (optimize existing code):
After code is complete, create implementation documentation:
Create features/impl/{feature-name}.md
Files Changed:
Implementation Details:
Code Structure:
Key Functions/APIs:
Reference for Developers:
Update features/{feature-name}.md if needed
Update features/features-index.md if needed
Update or create {SRC}/README.md (Project Documentation):
{SRC}/README.md, NOT in the root README.md{SRC}/README.md as the primary technical reference for developersfeatures/ documentation for detailed specsBefore marking complete:
Review backlog test plan:
Self-test (if possible):
Document test status:
CRITICAL: Follow this process to safely commit changes and update tracking:
Update Tracking Files:
backlog.md:
10-sprints/.../README.md:
Request Human Review:
Commit the Code (Content):
git add . to stage all changesgit reset HEAD <path-to-backlog> <path-to-sprint-readme>) to keep metadata separategit commit -m "feat: ..."git rev-parse --short HEADUpdate Backlog with Commit ID:
[commit-id]" to the "Development Notes" in backlog.mdCommit the Backlog (Metadata):
backlog.md and sprint README.mdgit commit -m "docs([feature-name]): update backlog status to In Code Review"Notify user:
This two-step commit process ensures code history is preserved before the backlog is updated with the commit reference.
project-root/
├── 10-sprints/
│ └── SPRINT-XX-descriptive-name/
│ └── [BACKLOG_TYPE]-XX-[feature-name]-<sub-feature>.md # Backlog entry point
│
├── features/ # Features knowledge base
│ ├── features-index.md # Index of all features
│ ├── [feature-name].md # Feature definition (WHAT/WHY/SCOPE)
│ ├── flows/
│ │ └── [feature-name].md # User flows (if needed)
│ ├── contracts/
│ │ └── [feature-name].md # API contracts (if needed)
│ └── impl/
│ └── [feature-name].md # Implementation notes (code locations)
│
└── {SRC}/ # Source code
├── README.md # Project documentation (maintained by developers)
└── [organized per dev-swarm/docs/source-code-structure.md guidelines]
features-index.md# Features Index
- [feature name a](feature-name-a.md)
- [feature name b](feature-name-b.md)
# Title
## Description
[The overview for this feature's implementation, for approval, codeo review, trouble shooting or further development]
## References
The details of this feature's implementation
* [flow](flows/feature-name.md)
* [contract](contracts/feature-name.md)
* [Implement](impl/feature-name.md)
flows/feature-name.md - help to understand the code logic
contracts/feature-name.md - the interface between services, pacakges, workflows
impl/feature-name.md - help to find the code location in the source code file for codeo review, trouble shooting or further development
npx skills add X-School-Academy/dev-swarm-code-development下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer