Understanding devorch's architecture and components.
Composable AI workflow automation for Claude Code. Install exactly the commands, subagents, and skills you need for your project.
devorch CLI
↓
Templates (commands, subagents, skills)
↓
Installed to .claude/ or .claude/
↓
Used by AI agents in your IDE
1. devorch.config.yml (your project config)
↓
2. CLI fetches templates from GitHub release
↓
3. Dependency resolution (auto-resolves subagents and skills)
↓
4. Compilation (applies frontmatter filters, variables)
↓
5. Installation to .claude/ or .claude/
Key insight: Templates are compiled at install-time, customized for Claude Code and configuration.
After installation:
your-project/
├── devorch.config.yml # Your configuration
└── .claude/ # Claude Code installation
├── agents/ # Subagents
│ └── devorch/
│ ├── implementers/
│ └── verifiers/
├── commands/ # Slash commands
│ └── devorch/
│ ├── create-spec.md
│ └── implement-spec.md
└── knowledge/ # Skills (patterns and conventions)
└── devorch/
├── zustand-patterns/
└── zest-design-system/
Slash commands that orchestrate workflows.
Example: /create-spec
# In devorch.config.yml
commands:
- name: /create-spec
enabled: true
# Installs to:
# .claude/commands/devorch/create-spec.mdWhat it does:
- Reads requirements from research folder
- Writes detailed specification
- Breaks down into tasks by specialty
- Assigns implementer roles
- Verifies completeness
Available commands:
Context & Planning:
/analyze-tech-stack- Document repository tech stack/train-context- Generate context training from codebase/load-context-training- Load context training files/update-context- Update context training configuration
Specification Workflow:
/gather-requirements- Research and plan new feature/create-spec- Transform requirements into blueprint/update-spec- Update existing specification/create-tasks- Break down spec into tasks/implement-task- Implement specific tasks/implement-spec- Batch implement all tasks/jira-gather-requirements- Fetch Jira ticket and post questions/jira-create-spec- Generate spec from Jira ticket
Design & UX:
/zest-check- Check Figma design implementability for Zest (web & RN)/a11y-check- Audit Figma designs for accessibility compliance/create-ux-spec-web- Generate web dev instructions from Figma/create-ux-spec-rn- Generate React Native dev instructions from Figma/design-change-web- Implement visual/styling changes in web apps/design-change-rn- Implement visual/styling changes in React Native/zest-add-component-web- Add or update Zest web components/zest-add-component-rn- Add or update Zest React Native components
Utilities:
/worktree- Create git worktree with branch/panic- Debug context collection/help- Show command help
Specialized agents for focused tasks.
Categories:
specification/*- Create specificationsimplementers/*- Implement changesverifiers/*- Verify implementationsresearchers/*- Research patterns
Example: UI Implementer
# Auto-resolved from command dependencies
subagents:
- implementers/ui-implementer
# Installs to:
# .claude/agents/devorch/implementers/ui-implementer.mdWhat it knows:
- UI component patterns
- Styling conventions
- Accessibility requirements
- Testing patterns
- Only relevant skills (no context overload)
Why multiple implementers? Focused agents prevent context overload. Each agent sees only relevant knowledge for their specialty.
Knowledge modules extracted from codebases. Claude Code only.
Example: Zustand Patterns
# Auto-resolved from subagent dependencies
skills:
- zustand-patterns
# Installs to:
# .claude/knowledge/devorch/zustand-patterns/What it contains:
- Store structure patterns from your codebase
- Real code examples
- Best practices
- Anti-patterns (what to avoid)
- Usage guidelines
How it's created: AI analyzes your repository code and extracts patterns automatically. Skills stay synchronized with your codebase through scheduled updates.
Dependencies resolve automatically - you only specify commands.
# You configure:
commands:
- name: /implement-spec
enabled: true
# CLI auto-resolves:
commands:
- name: /implement-spec
enabled: true
subagents:
- name: specification/spec-writer
enabled: true # From implement-spec
- name: implementers/ui-implementer
enabled: true # From implement-spec
skills:
- name: zest-design-system
enabled: true # From ui-implementer
- zustand-patterns # From ui-implementerCommand
├─→ depends on Subagents
│ └─→ depend on Skills
└─→ depends on Skills (optional)
Rules:
- Commands can depend on: subagents, skills
- Subagents can depend on: skills only
- Skills cannot have dependencies (leaf nodes)
- No circular dependencies
# config.yml specifies
commands:
- name: /implement-spec
enabled: true
# implement-spec depends on
dependencies:
subagents:
- specification/spec-writer
- implementers/ui-implementer
# ui-implementer depends on
dependencies:
skills:
- zest-design-system
- zustand-patterns
# Final resolution
commands: [implement-spec]
subagents: [specification/spec-writer, implementers/ui-implementer]
skills: [zest-design-system, zustand-patterns]CLI writes comments in your config showing what was auto-installed:
subagents:
- specification/spec-writer
# Auto-installed as dependency of implement-spec
- implementers/ui-implementerLocated in devorch repository:
templates/
├── commands/
│ └── implement-spec/
│ ├── single-agent/ # Claude Code
│ └── multi-agent/ # Claude Code
├── subagents/
│ └── implementers/
└── skills/
└── zustand-patterns/
Located in your project after installation:
.claude/
├── commands/devorch/
├── agents/devorch/
└── knowledge/devorch/
Compilation applies:
- Frontmatter filtering (agent-specific)
- Template variable substitution
- Dependency resolution
- Path organization
- Commands orchestrate workflows
- Subagents implement focused tasks
- Skills provide codebase-specific knowledge (Claude Code only)
- Dependencies auto-resolve - just specify commands
- Templates compile at install-time for your agent
- Direct file editing for custom assets
- Configuration - Configure your setup
- Workflows - Learn when to use what
- Extending - Create custom commands and subagents
- Skills - Add project knowledge (Claude Code)