Feature
Build feature autonomously: research -> plan -> approve -> work -> review -> compound
Claude CodeGeneric
---
description: "Build feature autonomously: research -> plan -> approve -> work -> review -> compound"
category: workflow
version: 1.0.0
argument-hint: "[feature description]"
---
# Build Feature: $ARGUMENTS
Follow the build-feature skill in `.claude/skills/build-feature/SKILL.md` exactly.
## Variables
- `$ARGUMENTS`: Feature description to build
## Phase 0: Resume Detection
**ALWAYS run this first.** Read existing Atlas state files:
```bash
cat .claude/atlas/current-feature.txt 2>/dev/null || echo "(none)"
cat .claude/atlas/STATE.md 2>/dev/null || echo "(none)"
cat .claude/atlas/progress.txt 2>/dev/null || echo "(none)"
If resuming same feature: Present options (continue / re-plan / start fresh) and wait for user choice. If fresh start: Archive any existing progress, then proceed to Phase 1.
Phase 1: Research
Spawn parallel Explore agents to understand the codebase:
- Find similar patterns in src/
- Check git history for related changes
- Review CLAUDE.md and any AGENTS.md files
Synthesize findings into brief context.
Phase 2: Plan
- Setup Atlas files:
- Save feature name to
.claude/atlas/current-feature.txt - Initialize
.claude/atlas/STATE.mdwith position and context - Reset
.claude/atlas/progress.txt
- Save feature name to
- Create TodoWrite task list with detailed acceptance criteria
- Document any architectural decisions needed
Phase 3: Present for Approval
Show the complete plan including:
- Research summary
- Task list with dependencies
- Acceptance criteria
- Risks and mitigations
WAIT for user to say "approved" before continuing.
Phase 4: Work (after approval only)
Execute via Atlas:
- Pick ready tasks from TodoWrite
- Decide: inline (simple) vs sub-agent (complex)
- Implement following project patterns
- Run
echo "Validation passed - shell scripts and markdown"after each task - Update
.claude/atlas/STATE.mdwith position - Append learnings to
.claude/atlas/progress.txt - Commit after each task
- Repeat until all tasks complete
Phase 5: Review
- Run code-reviewer agent on all changes
- For UI changes, use Playwright to verify functionality (if available, skip if not installed)
Phase 6: Compound
Ask: What did we learn?
- Project-wide patterns -> CLAUDE.md
- Folder-specific gotchas -> src/[folder]/AGENTS.md
- Decisions made -> CLAUDE.md Decisions section
Phase 7: Final Summary
Report:
- What was built
- Files changed
- Commits made
- Learnings captured
- Ready for PR
Complete
When this command completes:
- Feature fully implemented and validated
- All tasks complete in TodoWrite
- Code reviewed and functional verification passed (if applicable)
- Learnings captured in CLAUDE.md / AGENTS.md
- Commits made for each task
- Ready for: PR creation or user review
Maintain Feature?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Feature on getagentictools](https://getagentictools.com/loops/jesserathbun-build-feature-arguments?ref=badge)