feature-pipeline — Claude Code command: what it does, how to install
Executes coding tasks sequentially from a markdown design document and updates checkboxes directly in the file without interruptions.
npx claude-code-templates@latest --command orchestration/feature-pipelineWhat feature-pipeline does
This command takes a path to a markdown design doc such as docs/designs/auth.md. The document outlines tasks as standard markdown checkboxes with target files and acceptance criteria.
Execution runs unattended without asking questions. An internal loop invokes task_manager.py to retrieve pending tasks, modifies code to match existing project conventions, runs applicable tests, and updates checkboxes to completed or failed. At the end, it reports modified files and asks whether to commit changes to git.
Execution requires python3 alongside .claude/skills/task-execution-engine/scripts/task_manager.py. If a task hits a missing dependency or external blocker, the command marks it failed with a reason and moves on immediately.
What it helps with
- implement tasks sequentially from a markdown design spec
- track implementation progress inside the design file via checkboxes
- run multi-step coding changes in an unattended loop
- summarize completed and failed items before staging a git commit
Example prompts for the agent
- /feature-pipeline docs/designs/auth-flow.md
- Implement tasks from spec using /feature-pipeline docs/designs/billing.md
- /feature-pipeline
How to install feature-pipeline
1claude-code-templates
npx claude-code-templates@latest --command orchestration/feature-pipeline2Manually: put the files in place
.claude/commands/feature-pipeline.mdCall it with /feature-pipeline. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/feature-pipeline.mdCall it with /prompts:feature-pipeline. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/feature-pipeline.prompt.mdManually: put the files in place
.gemini/commands/feature-pipeline.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about feature-pipeline
How to install feature-pipeline in Claude Code?
Run npx claude-code-templates@latest --command orchestration/feature-pipeline. You can also place the template manually into .claude/commands/feature-pipeline.md.
What does feature-pipeline do?
It reads implementation steps from a markdown file, edits code to fulfill requirements, and automatically records progress directly in the checkboxes.
What dependencies does this command require?
The command relies on python3 and the script .claude/skills/task-execution-engine/scripts/task_manager.py to manage task queues and update the markdown file.
Source text
feature-pipeline.md · MIT
---
description: Execute implementation tasks from a design document. Tasks are tracked as markdown checkboxes directly in the design file.
argument-hint: <design-file.md>
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, TodoWrite, Task, AskUserQuestion
---
# Feature Pipeline
Execute implementation tasks from a design document using markdown checkboxes.
## Input Detection
`$ARGUMENTS` should be a path to a design markdown file (e.g., `docs/designs/xxx.md`)
If empty or unclear, ask user for the design file path.
## Phase 1: Initialize
1. Read the design file
2. Run `python3 .claude/skills/task-execution-engine/scripts/task_manager.py status --file <design.md>` to show current progress
3. If all tasks completed, report and exit
4. Otherwise, proceed to execution
## Phase 2: Execution Loop
**UNATTENDED MODE - No questions, no stopping**
```
LOOP:
1. RUN: task_manager.py next --file <design.md> --json
2. IF no task available → EXIT to Phase 3
3. READ task details (files, criteria)
4. IMPLEMENT the task
- Create/modify files as specified
- Follow codebase patterns
- Run tests if applicable
5. VERIFY acceptance criteria
6. UPDATE status:
- Success: task_manager.py done --file <design.md> --task "Title"
- Failure: task_manager.py fail --file <design.md> --task "Title" --reason "..."
7. OUTPUT result summary
8. CONTINUE (go to step 1)
```
## Phase 3: Completion
1. Run `task_manager.py status --file <design.md>` to show final summary
2. Report:
- Tasks completed
- Tasks failed (with reasons)
- Files modified
3. Ask if user wants to commit changes to git
## Implementation Guidelines
### For Each Task:
1. **Read files** specified in task's `files:` line
2. **Understand criteria** from the checkbox items
3. **Implement** following existing codebase patterns
4. **Verify** each acceptance criterion is met
5. **Update** the design file with completion status
### Decision Making:
- If unclear about implementation details → use codebase patterns
- If blocked by missing dependency → mark as failed, continue
- If needs external resource → mark as failed with reason, continue
### Status Updates:
```bash
# Mark task completed (updates checkbox to [x] ✅)
python3 .claude/skills/task-execution-engine/scripts/task_manager.py done \
--file <design.md> --task "Task Title"
# Mark task failed (updates checkbox to [x] ❌ with reason)
python3 .claude/skills/task-execution-engine/scripts/task_manager.py fail \
--file <design.md> --task "Task Title" --reason "Error description"
```
## Output Format
After each task:
```
---TASK RESULT---
task: Task Title
status: completed|failed
files: [list of modified files]
notes: Brief description
---END TASK RESULT---
```
## Error Handling
| Error | Action |
|-------|--------|
| Task implementation fails | Mark failed, continue to next |
| Script error | Log error, retry once, then fail task |
| No tasks available | Exit loop, show summary |
| File not found | Ask user for correct path |
## Key Rules
1. **NEVER stop** in the middle of execution loop
2. **NEVER ask** questions during execution
3. **ALWAYS** update task status in design file
4. **Exit only** when no pending tasks remain
© davila7 · MIT · davila7/claude-code-templates