Orchestrates structured feature development in 5 phases (Understand, Clarify, Design, Implement, Complete) using parallel agent delegation via codeagent-wrapper, with optional git worktree isolation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stellarlinkco-myclaude:doThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
An orchestrator for systematic feature development. Invoke agents via `codeagent-wrapper`, never write code directly.
An orchestrator for systematic feature development. Invoke agents via codeagent-wrapper, never write code directly.
When triggered via /do <task>, initialize the task directory immediately without asking about worktree:
python3 "$HOME/.claude/skills/do/scripts/setup-do.py" "<task description>"
This creates a task directory under .claude/do-tasks/ with:
task.md: Single file containing YAML frontmatter (metadata) + Markdown body (requirements/context)Worktree decision is deferred until Phase 4 (Implement). Phases 1-3 are read-only and do not require worktree isolation.
Use task.py to manage task state:
# Update phase
python3 "$HOME/.claude/skills/do/scripts/task.py" update-phase 2
# Check status
python3 "$HOME/.claude/skills/do/scripts/task.py" status
# List all tasks
python3 "$HOME/.claude/skills/do/scripts/task.py" list
The worktree is created only when needed (right before Phase 4: Implement). If the user chooses worktree mode:
Run setup with --worktree flag to create the worktree:
python3 "$HOME/.claude/skills/do/scripts/setup-do.py" --worktree "<task description>"
Use the DO_WORKTREE_DIR environment variable to direct codeagent-wrapper develop agent into the worktree. Do NOT pass --worktree to subsequent calls — that creates a new worktree each time.
# Save the worktree path from setup output, then prefix all develop calls:
DO_WORKTREE_DIR=<worktree_dir> codeagent-wrapper --agent develop - . <<'EOF'
...
EOF
Read-only agents (code-explorer, code-architect, code-reviewer) do NOT need DO_WORKTREE_DIR.
codeagent-wrapper agents.codeagent-wrapper --parallel.task.py update-phase <N>.codeagent-wrapper calls. High-reasoning modes can take a long time.DO_WORKTREE_DIR=<path>. Never pass --worktree after initialization.| Agent | Purpose | Needs --worktree |
|---|---|---|
code-explorer | Trace code, map architecture, find patterns | No (read-only) |
code-architect | Design approaches, file plans, build sequences | No (read-only) |
code-reviewer | Review for bugs, simplicity, conventions | No (read-only) |
develop | Implement code, run tests | Yes — use DO_WORKTREE_DIR env prefix |
Blocking issues (require user input):
Minor issues (auto-fix without asking):
Goal: Understand requirements and map codebase simultaneously.
Actions: Run code-architect and 2-3 code-explorer tasks in parallel.
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: p1_requirements
agent: code-architect
workdir: .
---CONTENT---
Analyze requirements completeness (score 1-10):
1. Extract explicit requirements, constraints, acceptance criteria
2. Identify blocking questions (issues that prevent implementation)
3. Identify minor clarifications (nice-to-have but can proceed without)
Output format:
- Completeness score: X/10
- Requirements: [list]
- Non-goals: [list]
- Blocking questions: [list, if any]
---TASK---
id: p1_similar_features
agent: code-explorer
workdir: .
---CONTENT---
Find 1-3 similar features, trace end-to-end. Return: key files with line numbers, call flow, extension points.
---TASK---
id: p1_architecture
agent: code-explorer
workdir: .
---CONTENT---
Map architecture for relevant subsystem. Return: module map + 5-10 key files.
---TASK---
id: p1_conventions
agent: code-explorer
workdir: .
---CONTENT---
Identify testing patterns, conventions, config. Return: test commands + file locations.
EOF
Goal: Resolve blocking ambiguities only.
Actions:
p1_requirements output for blocking questionsGoal: Produce minimal-change implementation plan.
codeagent-wrapper --agent code-architect - . <<'EOF'
Design minimal-change implementation:
- Reuse existing abstractions
- Minimize new files
- Follow established patterns from Phase 1 exploration
Output:
- File touch list with specific changes
- Build sequence
- Test plan
- Risks and mitigations
EOF
Goal: Build feature and review in one phase.
Step 1: Decide on worktree mode (ONLY NOW)
Use AskUserQuestion to ask:
Develop in a separate worktree? (Isolates changes from main branch)
- Yes (Recommended for larger changes)
- No (Work directly in current directory)
If user chooses worktree:
python3 "$HOME/.claude/skills/do/scripts/setup-do.py" --worktree "<task description>"
# Save the worktree path from output for DO_WORKTREE_DIR
Step 2: Invoke develop agent
For full-stack projects, split into backend/frontend tasks with per-task skills: injection. Use --parallel when tasks can be split; use single agent when the change is small or single-domain.
Single-domain example (prefix with DO_WORKTREE_DIR if worktree enabled):
# With worktree:
DO_WORKTREE_DIR=<worktree_dir> codeagent-wrapper --agent develop --skills golang-base-practices - . <<'EOF'
Implement with minimal change set following the Phase 3 blueprint.
- Follow Phase 1 patterns
- Add/adjust tests per Phase 3 plan
- Run narrowest relevant tests
EOF
# Without worktree:
codeagent-wrapper --agent develop --skills golang-base-practices - . <<'EOF'
Implement with minimal change set following the Phase 3 blueprint.
- Follow Phase 1 patterns
- Add/adjust tests per Phase 3 plan
- Run narrowest relevant tests
EOF
Full-stack parallel example (adapt task IDs, skills, and content based on Phase 3 design):
# With worktree:
DO_WORKTREE_DIR=<worktree_dir> codeagent-wrapper --parallel <<'EOF'
---TASK---
id: p4_backend
agent: develop
workdir: .
skills: golang-base-practices
---CONTENT---
Implement backend changes following Phase 3 blueprint.
- Follow Phase 1 patterns
- Add/adjust tests per Phase 3 plan
---TASK---
id: p4_frontend
agent: develop
workdir: .
skills: frontend-design,vercel-react-best-practices
dependencies: p4_backend
---CONTENT---
Implement frontend changes following Phase 3 blueprint.
- Follow Phase 1 patterns
- Add/adjust tests per Phase 3 plan
EOF
# Without worktree: remove DO_WORKTREE_DIR prefix
Note: Choose which skills to inject based on Phase 3 design output. Only inject skills relevant to each task's domain.
Step 3: Review
Step 3: Review
Run parallel reviews:
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: p4_correctness
agent: code-reviewer
workdir: .
---CONTENT---
Review for correctness, edge cases, failure modes.
Classify each issue as BLOCKING or MINOR.
---TASK---
id: p4_simplicity
agent: code-reviewer
workdir: .
---CONTENT---
Review for KISS: remove bloat, collapse needless abstractions.
Classify each issue as BLOCKING or MINOR.
EOF
Step 4: Handle review results
develop, no user interactionGoal: Document what was built.
codeagent-wrapper --agent code-reviewer - . <<'EOF'
Write completion summary:
- What was built
- Key decisions/tradeoffs
- Files modified (paths)
- How to verify (commands)
- Follow-ups (optional)
EOF
Output the completion signal:
<promise>DO_COMPLETE</promise>
npx claudepluginhub stellarlinkco/myclaudeGuides multi-phase feature development with research, planning, implementation, and review phases. Use for complex features touching >5 files or requiring architecture decisions.
Automates 7-phase feature development workflow using specialized agents for codebase exploration, architecture design, and quality review. Invoke via /feature-dev for multi-file features or ambiguous requirements.
Implements features using parallel subagents with scope control, reflection, and MCP servers for memory/context. Activates on implement/build/create requests in JS/TS projects.