A practical guide to using devorch with Claude Code for AI-powered development workflows.
-
Install CLI:
gh api repos/guicheffer/devorch/contents/installer/setup.sh \ --jq '.content' | base64 -d | sh export PATH="$PATH:$HOME/.local/bin"
-
Setup AWS Bedrock (if not already configured):
devorch setup-bedrock
See AWS Bedrock Setup Guide for details and troubleshooting.
-
Setup project:
cd /path/to/your-project devorch install -
Choose context training (during install):
- Use a boilerplate - Quick start with pre-built patterns
- Generate custom (recommended) - Learn from your PR history
See Quick Start Guide for detailed installation.
Choose based on task complexity:
When: Simple, ad-hoc changes How: Direct prompting, no commands needed
You: Change the login button color to brand-primary
Claude: [Makes the change]
When: Targeted work in one domain (UI, state, data, etc.) How: Load context once, make multiple requests
You: /load-context-training
Claude: ✅ Context training loaded
- UI patterns
- State management patterns
- Data access patterns
- Testing patterns
You: Update the login form styling to match the design system
You: Add form validation
You: Add accessibility features
Benefits: Gets your patterns without context overload, faster than full workflow
When: Multi-component work, coordinated changes How: Research → Spec → Tasks → Implement
/gather-requirements → /create-spec → /create-tasks → /implement-spec
Benefits: Consistent implementation, built-in verification, documentation trail
Analyzes dependencies and creates tech-stack.md. Run once per project.
Generates custom context training from your codebase:
- Extracts patterns from merged PRs
- Creates domain-specific guidelines (UI, state, data, testing)
- Activates relevant skills
Alternative: During first install, choose a boilerplate for quick setup.
Loads all context training into conversation. Use this before making changes to get your team's patterns automatically.
For complex features, use the full workflow:
Interactive research phase:
- Clarifying questions
- Similar pattern discovery
- Visual assets collection
- Requirements documentation
Creates: specs/YYYY-MM-DD-feature-name/planning/
Generates detailed specification:
- Overview and requirements
- Technical approach
- Component breakdown
- Tasks organized by domain
Creates: spec.md and tasks.md
Updates an existing specification with changed requirements:
- Displays current spec summary
- Collects change requests (ADD, MODIFY, REMOVE, CLARIFY)
- Updates requirements.md in-place
- Regenerates spec.md and verification
Use BEFORE creating tasks - For iterating on requirements during planning phase. Warns if tasks.md exists - Implementation may have started.
Converts spec into actionable tasks grouped by domain (UI, State, Data Access, Testing).
Granular: /implement-task 1 - Implement one task at a time
Batch: /implement-spec - Implement all tasks automatically
Both include verification and error fixing.
⚠️ Early Stage: Jira commands are currently for testing and experimentation. Full Jira-to-implementation workflow coming soon.
Analyze Jira tickets and generate specs:
/jira-gather-requirements PROJ-123 # Fetches ticket, posts clarifying questions
# (Answer questions in Jira)
/jira-create-spec PROJ-123 # Generates spec from ticket + answers + posts to Jira
What works: Ticket analysis, requirement gathering, spec generation What's coming: Direct implementation from Jira tickets
1. /gather-requirements # Research and plan
2. /create-spec # Generate specification
3. /implement-spec # Implement with verification
4. Review and create PR
# Or if updating an existing spec:
1. /update-spec # Update requirements and regenerate spec
2. /create-tasks # Update task breakdown (if needed)
3. /implement-spec # Implement changes
4. Review and create PR
Time: 30-60 minutes Best for: Multi-component features, team coordination
1. /jira-gather-requirements PROJ-123 # Posts clarifying questions to Jira
2. Answer questions in Jira
3. /jira-create-spec PROJ-123 # Generates spec and posts to Jira
Status: Early stage - for testing and spec generation only Best for: Experimenting with Jira integration, want spec posted back to ticket
Note: Use regular workflows (/gather-requirements → /create-spec) for production work. Full Jira-to-implementation coming soon.
1. /load-context-training
2. Make natural language requests
3. Review and commit
Time: 5-15 minutes Best for: Bug fixes, targeted improvements
Context training customizes devorch for YOUR codebase.
When you run /train-context, it creates:
devorch/context-training/YOUR-APP/
├── specification.md # How to write specs for your project
├── implementation.md # Implementation conventions
└── implementers/
├── ui-implementer.md # UI patterns from your PRs
├── state-implementer.md
├── data-implementer.md
└── testing-implementer.md
- Analyzes your merged PRs - Extracts patterns and conventions
- Generates domain guidelines - Creates implementer patterns
- Activates skills - Enables relevant pattern libraries
- Updates config - References context training automatically
Agentic coding: /load-context-training then make requests
Spec-driven: Automatically used by /create-spec and implementers
Q: Which workflow should I use?
- Quick fix → Vibe coding (tag your files manually)
- Focused work in one area → Agentic coding (
/load-context-training) - Complex multi-component feature → Spec-driven workflow
Q: Do I need context training? Not required, but highly recommended. Without it, you get generic patterns. With it, you get YOUR team's patterns.
Q: Can I mix workflows?
Yes! Start with agentic coding, escalate to spec-driven if needed. Use /clear between workflows to reset context.
Q: What's loaded with /load-context-training?
All your domain patterns: UI conventions, state patterns, data access patterns, testing guidelines, and verification rules.
Q: What are skills and how do I use them?
Skills are pattern libraries (e.g., zustand-patterns, zest-design-system). They're listed in your devorch.config.yml under the skills: section. To activate one, just say: "Activate the zustand-patterns skill" - Claude can enable any skill from your config.
Q: How do I update devorch?
Run devorch update to update CLI and templates.
Q: What if something breaks?
Use /panic to collect debug info, then create an issue with the report.
- Run context training once -
/analyze-tech-stack+/train-contextmakes everything better - Use the right tool - Don't over-engineer simple tasks
- Review changes - AI is good but not perfect
- Ask why - If unexpected, ask "Why did you do it this way?"
- Leverage verification - Built-in checks catch many issues
- Start small - Try agentic coding before full spec-driven
- Document patterns - Good context training = faster future work
- Use skills when needed - Check
devorch.config.ymlfor available skills, ask Claude to "Activate X skill"
- Command help:
/helpin Claude Code - CLI help:
devorch --help - AWS/Bedrock issues:
devorch debug-bedrock- see AWS Bedrock Setup Guide - Debugging:
/panic+ see Contributing as User - Issues/Feedback: Ask in #ai-native-pdlc on Slack
- Quick Start - Installation and first steps
- AWS Bedrock Setup - Setup, troubleshooting, and managing Bedrock access
- Command Reference - Complete command guide
- Workflows - When and how to use commands
- Context Training - Deep dive on customization
- Skills System - Knowledge modules
- Designer's Guide - For designers (Figma workflows, design systems)
- Versioning System - How CLI and template versions work
graph TD
Start([Start Development]) --> Setup{System<br/>Setup Done?}
Setup -->|No| Init[Setup System]
Init --> InstallCLI[Install CLI]
InstallCLI --> SetupProject[Setup Project<br/>devorch install]
SetupProject --> ChooseContext{Context<br/>Training?}
ChooseContext -->|Use Boilerplate| InstallBoilerplate[Use Pre-built Patterns]
ChooseContext -->|Generate Custom| AnalyzeTech["/analyze-tech-stack<br/>(Document Stack)"]
AnalyzeTech --> TrainContext["/train-context<br/>(Learn from PR History)"]
TrainContext --> ContextReady[Context Training Ready]
InstallBoilerplate --> ContextReady
Setup -->|Yes| WorkflowChoice{Choose<br/>Workflow<br/>Style}
ContextReady --> WorkflowChoice
WorkflowChoice -->|1. Vibe Coding<br/>Quick Changes| VibeCoding[Direct Prompting<br/>Simple Ad-hoc Changes]
WorkflowChoice -->|2. Agentic Coding<br/>Focused Work| AgenticCoding["/load-context-training"]
WorkflowChoice -->|3. Spec-Driven<br/>Complex Features| SpecDriven[Spec-Driven Workflow]
AgenticCoding --> LoadContext[Load Patterns:<br/>UI, State, Data, Testing]
LoadContext --> FocusedLoop[Multiple Targeted Requests]
FocusedLoop --> FocusedDone([Review & Commit])
VibeCoding --> VibeDone([Quick Change Done])
SpecDriven --> SpecWorkflow[Specification Workflow]
SpecWorkflow --> GatherReq["/gather-requirements<br/>(Research & Plan)"]
GatherReq --> CreateSpec["/create-spec<br/>(Generate Specification)"]
CreateSpec --> SpecReview{Review<br/>Spec?}
SpecReview -->|Needs Changes<br/>Pre-Implementation| UpdateSpec["/update-spec<br/>(Update Requirements)"]
UpdateSpec --> CreateSpec
SpecReview -->|Approved| CreateTasks["/create-tasks<br/>(Break Down into Tasks)"]
CreateTasks --> ImplChoice{Implementation<br/>Approach?}
ImplChoice -->|Granular Control| ImplTask["/implement-task N<br/>(One Task at a Time)"]
ImplChoice -->|Batch Mode| ImplSpec["/implement-spec<br/>(All Tasks Sequentially)"]
ImplTask --> ImplLoop{More<br/>Tasks?}
ImplLoop -->|Yes| ImplTask
ImplLoop -->|No| ImplDone
ImplSpec --> Implementers[Specialized Implementers]
Implementers --> UIImpl["🎨 ui-implementer<br/>(UI Components)"]
Implementers --> StateImpl["🔄 state-implementer<br/>(State/Logic)"]
Implementers --> APIImpl["🌐 api-implementer<br/>(API/Backend)"]
Implementers --> DataImpl["💾 data-implementer<br/>(Data Layer)"]
UIImpl --> Verifiers
StateImpl --> Verifiers
APIImpl --> Verifiers
DataImpl --> Verifiers
Verifiers[Automated Verification] --> UIVerify["✓ ui-verifier"]
Verifiers --> StateVerify["✓ state-verifier"]
Verifiers --> APIVerify["✓ api-verifier"]
Verifiers --> DataVerify["✓ data-verifier"]
UIVerify --> VerifyPass{All<br/>Verified?}
StateVerify --> VerifyPass
APIVerify --> VerifyPass
DataVerify --> VerifyPass
VerifyPass -->|Issues Found| Implementers
VerifyPass -->|All Pass| ImplDone([Implementation Complete])
ImplDone --> ReviewPR[Review & Create PR]
FocusedDone --> ReviewPR
VibeDone --> ReviewPR
ReviewPR --> Deployed([Deployed to Main])
%% Experimental Jira Path
WorkflowChoice -.->|Experimental<br/>Jira Workflow| JiraPath[Jira Integration]
JiraPath -.-> JiraGather["/jira-gather-requirements<br/>(Fetch & Post Questions)"]
JiraGather -.-> JiraAnswer[Answer Questions in Jira]
JiraAnswer -.-> JiraSpec["/jira-create-spec<br/>(Generate from Ticket)"]
JiraSpec -.-> CreateTasks
%% Utility Commands (Available Anytime)
Utility([Utility Commands<br/>Available Anytime]) -.-> Worktree["/worktree<br/>(Isolated Workspace)"]
Utility -.-> Panic["/panic<br/>(Debug Collection)"]
Utility -.-> LoadContextUtil["/load-context-training<br/>(Reference Patterns)"]
%% Styling
style Start fill:#f5f5f5
style Deployed fill:#90EE90
style Setup fill:#FFE4B5
style WorkflowChoice fill:#E6E6FA
style VibeCoding fill:#FFE4E1
style AgenticCoding fill:#E0F2F7
style SpecDriven fill:#E1F5FE
style GatherReq fill:#E1F5FE
style CreateSpec fill:#E1F5FE
style UpdateSpec fill:#E1F5FE
style CreateTasks fill:#FFF4E1
style ImplTask fill:#E8F5E9
style ImplSpec fill:#E8F5E9
style UIImpl fill:#E8F5E9
style StateImpl fill:#E8F5E9
style APIImpl fill:#E8F5E9
style DataImpl fill:#E8F5E9
style UIVerify fill:#FFF9E1
style StateVerify fill:#FFF9E1
style APIVerify fill:#FFF9E1
style DataVerify fill:#FFF9E1
style JiraPath fill:#F0E68C,stroke-dasharray: 5 5
style JiraGather fill:#F0E68C,stroke-dasharray: 5 5
style JiraSpec fill:#F0E68C,stroke-dasharray: 5 5
style Utility fill:#D3D3D3,stroke-dasharray: 5 5
Workflow Legend:
- 🟦 System Setup - One-time initialization and context training
- 🟪 Workflow Selection - Choose the right development style
- 🔵 Specification Phase - Define what to build (gather-requirements, create-spec, update-spec)
- 🟡 Task Planning - Break down into actionable tasks (create-tasks)
- 🟢 Implementation - Domain-specific implementers and verification
- 🟨 Jira Integration (Experimental) - Alternative workflow from Jira tickets
- ⚪ Utility Commands - Available anytime for support tasks
Three Development Styles:
- Vibe Coding (Pink) - Quick, ad-hoc changes without commands
- Agentic Coding (Light Blue) - Load context once, make focused requests
- Spec-Driven (Blue) - Full workflow with research, spec, tasks, implementation
