Reusable phase definitions for devloop workflows. Provides standardized patterns for discovery, implementation, review, and handoff phases. Commands reference these templates instead of duplicating content.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Standardized phase definitions for devloop workflows. Commands invoke this skill to get phase details instead of duplicating content.
/devloop or /devloop:continue insteadGoal: Understand what needs to be built Model: haiku/sonnet
Requirements gathering (if feature is vague):
Requirements confirmation (if requirements are clear):
Use AskUserQuestion:
- question: "Is this understanding correct? [summary]"
- header: "Confirm"
- options:
- Yes, proceed (Continue to exploration)
- Adjust (Let me clarify some points)
- More detail needed (Launch task-planner in requirements mode)
Goal: Deep understanding of existing code and patterns Model: sonnet
Launch 2-3 engineer agents in explore mode in parallel:
Each agent returns 5-10 key files to read
Read all identified files to build deep understanding
Present comprehensive summary of findings
Goal: Design implementation approach with trade-offs Model: sonnet (opus for complex/high-stakes)
Invoke relevant skills:
Skill: architecture-patternsSkill: go-patterns, Skill: react-patterns, etc.Launch 2-3 engineer agents in architect mode in parallel:
Present comparison:
Use AskUserQuestion:
- question: "Which architecture approach?"
- header: "Approach"
- options:
- Minimal (Recommended) (Fast, low risk, extends existing patterns)
- Clean architecture (Better long-term, more work)
- Pragmatic balance (Middle ground)
Goal: Break architecture into actionable tasks Model: sonnet
Launch task-planner agent:
Write tasks to TodoWrite
Save plan to .devloop/plan.md:
# Devloop Plan: [Feature Name]
**Created**: [Date]
**Updated**: [Date]
**Status**: Active
**Current Phase**: Implementation
## Overview
[Feature description]
## Architecture
[Chosen approach]
## Tasks
### Phase 1: [Name]
- [ ] Task 1.1: [Description]
- Acceptance: [Criteria]
- Files: [Expected files]
...
## Progress Log
- [Date]: Plan created
Present plan for approval:
Use AskUserQuestion:
- question: "Implementation plan ready ([N] tasks). Proceed?"
- header: "Plan"
- options:
- Start implementation
- Review plan
- Save and stop
.devloop/plan.mdGoal: Build the feature Model: sonnet
.devloop/plan.mdCheck for parallel tasks:
[parallel:X] markers in plan[depends:N.M] dependenciesIf parallel tasks found:
Use AskUserQuestion:
- question: "Tasks [list] can run in parallel. Execute together?"
- header: "Parallel"
- options:
- Run parallel (Recommended)
- Run sequential
Execute tasks:
Invoke domain skills as needed:
Skill: frontend-design:frontend-designSkill: api-designSkill: database-patternsGoal: Ensure code works correctly Model: haiku/sonnet
Launch qa-engineer agent in generator mode (haiku) if tests needed:
Skill: testing-strategiesLaunch qa-engineer agent in runner mode (haiku):
If tests fail:
Use AskUserQuestion:
- question: "Tests found [N] failures. How to proceed?"
- header: "Tests"
- options:
- Fix all
- Review each
- Skip
Goal: Quality assurance and code review Model: sonnet (opus for critical code)
Launch code-reviewer agents in parallel:
Launch security-scanner agent (haiku):
Consolidate findings by severity
Present results:
Use AskUserQuestion:
- question: "Review found [N] issues. How to proceed?"
- header: "Review"
- options:
- Fix all
- Critical only
- Acknowledge
Goal: Verify all completion criteria are met Model: haiku
Launch task-planner agent in DoD validator mode:
Check .devloop/local.md for project-specific DoD
If validation fails:
Use AskUserQuestion:
- question: "DoD validation: [status]. Proceed?"
- header: "DoD"
- options:
- Fix blockers
- Override (document exceptions)
- Review details
Goal: Commit changes and create PR Model: haiku
Launch engineer agent in git mode:
If PR requested:
gh pr createReference: Skill: git-workflows
Goal: Document completion and handoff Model: haiku
Launch summary-generator agent:
Update plan status to Complete
Update worklog with completion entry
Mark all todos complete
Use after completing any task. Reference: Skill: task-checkpoint
- [ ] → - [x]Use AskUserQuestion:
- question: "Task complete. How to handle commit?"
- header: "Commit"
- options:
- Commit now (Task is self-contained)
- Group with next (Tasks are related)
- Review changes
Use when all tasks in a phase are complete.
**Current Phase**: in planUse AskUserQuestion:
- question: "Plan may be out of sync. How to proceed?"
- header: "Recovery"
- options:
- Backfill entries
- Continue anyway
- Review tasks
Use AskUserQuestion:
- question: "Uncommitted changes detected. How to proceed?"
- header: "Uncommitted"
- options:
- Commit now
- Discard changes
- Continue
| Phase | Model | Rationale |
|---|---|---|
| Discovery | haiku/sonnet | Depends on complexity |
| Exploration | sonnet | Need deep understanding |
| Architecture | sonnet/opus | Depends on stakes |
| Planning | sonnet | Task breakdown needs context |
| Implementation | sonnet | Balanced capability |
| Testing | haiku | Formulaic patterns |
| Review | sonnet/opus | Must catch subtle bugs |
| Validation | haiku | Checklist verification |
| Integration | haiku | Git ops are formulaic |
| Summary | haiku | Simple documentation |
For detailed guidance: Skill: model-selection-guide
Skill: plan-management - Plan file format and proceduresSkill: task-checkpoint - Task completion checklistSkill: worklog-management - Completed work historySkill: model-selection-guide - Model selection guidance