context
Analyze and optimize context configuration. Reviews CLAUDE.md, knowledge-core.md, and active context for optimization…
Complete Research → Plan → Implement workflow in one command. Invokes chief-architect to orchestrate all phases with quality gates and self-correction.
How it fires
How this command gets triggered: by you, by Claude, or both.
/workflowContext preview
What this command does when you run it.
Complete Research → Plan → Implement workflow in one command. Invokes chief-architect to orchestrate all phases with quality gates and self-correction.
name: workflow description: Complete Research → Plan → Implement workflow in one command. Invokes chief-architect to orchestrate all phases with quality gates and self-correction.
Execute complete Research → Plan → Implement workflow using chief-architect orchestration.
/workflow <feature description>
**Complete automation of all three phases**:
1. **Research Phase**
2. **Planning Phase**
3. **Implementation Phase**
4. **Knowledge Capture**
/workflow Add Redis caching to product service with TTL /workflow Implement JWT authentication middleware /workflow Create user profile page with avatar upload /workflow Add Stripe payment integration with webhooks /workflow Migrate database from SQLite to PostgreSQL
You'll receive a **complete project report**:
**Research**:
**Planning**:
**Implementation**:
At each phase transition:
**Research → Planning**:
**Planning → Implementation**:
**Implementation → Completion**:
**Manual** (3 commands):
/research [topic] # wait, review /plan [feature] # wait, review /implement # wait, review
**Automatic** (1 command):
/workflow [feature] # orchestrator handles everything
**Benefits**:
**Use `/workflow` when**:
**Use manual commands when**:
Typical completion by feature complexity:
| Complexity | Time | Example | |------------|------|---------| | Simple | 10-15 min | API integration | | Medium | 15-25 min | Caching layer, Auth middleware | | Complex | 25-40 min | Database migration, Payment flow | | Very Complex | 40-60 min | Multi-service integration |
**If research fails**:
**If planning fails**:
**If implementation fails** (after 3 self-corrections):
Chief-architect reports progress throughout:
🏛️ Starting analysis for [feature] 🗺️ Designing multi-agent execution plan... 🤝 Delegating task 'research' to @docs-researcher 📊 Research phase progress: 50%... ✅ ResearchPack complete (score: 85/100) 🤝 Delegating task 'planning' to @implementation-planner 📊 Planning phase progress: 60%... ✅ Implementation Plan complete (score: 88/100) ✅ API matching passed 🤝 Delegating task 'implementation' to @code-implementer 📊 Implementation phase: 3/5 files complete... 🧪 Running tests... ✅ All tests passing 🔄 Synthesizing results... ✅ Project complete: [summary]
If you need to undo the entire workflow:
# Use rollback procedure from ImplementationPlan.md git reset --hard HEAD~[N commits] # Or if not yet committed: git checkout -- [files modified] # Or reset completely: git clean -fd
Each Implementation Plan includes specific rollback instructions.
**Be specific in request**:
**Include constraints**:
**Specify non-functional requirements**:
After `/workflow` completes:
1. **Review all artifacts**
2. *
A small, portable workflow for an agent you already use: research what is uncertain, plan proportionally, act, verify, and retain useful knowledge. Start with INSTALL.md.
Analyze and optimize context configuration. Reviews CLAUDE.md, knowledge-core.md, and active context for optimization…
Quick command to invoke code-implementer to execute implementation with self-correction (up to 3 intelligent retries).
Quick command to invoke implementation-planner to create surgical, reversible implementation plans with rollback procedures.