Complete reference for all devorch slash commands with detailed usage, examples, and troubleshooting.
Note: For installation, CLI setup, and project configuration, see the Quick Start. For an overview of concepts, start with Core Concepts.
/analyze-tech-stack- Document repository tech stack/train-context- Generate context training/load-context-training- Load context training files into context
/gather-requirements- Research and plan new feature/create-spec- Transform requirements into blueprint/update-spec- Update existing spec with changed requirements/create-tasks- Break down spec into actionable tasks/implement-task- Implement specific tasks/implement-spec- Batch implement all tasks/jira-gather-requirements- Fetch Jira ticket and post clarifying questions (alternative workflow)/jira-create-spec- Generate spec from Jira ticket + answers (alternative workflow)
/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 web design changes from Figma/design-change-rn- Implement React Native design changes from Figma/zest-add-component-web- Add or update Zest components in web repository/zest-add-component-rn- Add or update Zest components in React Native
| Command | Parameters | Primary Purpose | Typical Next Step |
|---|---|---|---|
/analyze-tech-stack |
β | Document tech stack | /train-context |
/train-context |
β (interactive) | Generate context training | devorch install |
/load-context-training |
β | Load context training files | Use as needed |
/gather-requirements |
β (interactive) | Research new feature | /create-spec |
/create-spec |
β | Generate specification | /create-tasks |
/update-spec |
β (interactive) | Update existing spec | /create-tasks |
/create-tasks |
β | Break down into tasks | /implement-task or /implement-spec |
/implement-task |
<task-id> |
Implement specific task | Continue tasks or PR |
/implement-spec |
β | Batch implement all tasks | Commit and PR |
/jira-gather-requirements |
<ticket-key(s)> (optional) |
Fetch Jira ticket, post questions | /jira-create-spec |
/jira-create-spec |
<ticket-key(s)> (optional) |
Generate spec from Jira + answers | /create-tasks |
/zest-check |
β (interactive) | Check Figma for Zest implementability | Fix design or implement |
/a11y-check |
β (interactive) | Audit Figma for accessibility | Fix accessibility issues |
/create-ux-spec-web |
β (interactive) | Generate web dev instructions | Implement or handoff |
/create-ux-spec-rn |
β (interactive) | Generate RN dev instructions | Implement or handoff |
/design-change-web |
β (interactive) | Implement web design from Figma | Verify and PR |
/design-change-rn |
β (interactive) | Implement RN design from Figma | Verify and PR |
/zest-add-component-web |
β (interactive) | Add/update Zest component for web | Test and PR |
/zest-add-component-rn |
β (interactive) | Add/update Zest component for RN | Test and PR |
/worktree |
<branch-name> |
Create isolated workspace | Work in worktree |
/panic |
β | Collect debug context | Create issue |
Purpose: Analyze and document repository's technology stack.
Parameters: None
Usage:
/analyze-tech-stack
What it does:
- Analyzes package.json, dependencies
- Identifies frameworks and libraries
- Documents patterns and conventions
- Creates tech-stack.md
- Prepares for context training
Example Output:
Analyzing technology stack...
β Found: React Native 0.72
β Found: TypeScript 5.0
β Found: Zustand 4.5 (state management)
β Found: React Navigation 6.x
β Found: Jest + React Native Testing Library
Created: devorch/tech-stack.md
Tech Stack Summary:
Platform: React Native (iOS + Android)
Language: TypeScript
State: Zustand
Navigation: React Navigation
Testing: Jest, RNTL
UI: Custom design system (Zest)
Next steps:
1. Review tech-stack.md
2. Run: /train-context
tech-stack.md Example:
# Tech Stack
## Platform
- React Native 0.72.x
- iOS 14+, Android 8+
## Language
- TypeScript 5.0
- Strict mode enabled
## State Management
- Zustand 4.5.x
- Store patterns documented in zustand-patterns skill
## UI
- Custom design system (Zest)
- Component library: src/components/
- Styling: StyleSheet + theme
## Testing
- Jest 29.x
- React Native Testing Library
- E2E: DetoxWhen to use:
- β Before context training - Required prerequisite
- β New project - Document decisions
- β Onboarding - Help new developers
- β Periodic updates - Keep current
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No package.json found" | Not in project root | Navigate to project directory |
| Not in package.json | Manually add to tech-stack.md |
Pro Tips:
- π‘ Required before
/train-context - π‘ Auto-detects most technologies
- π‘ Edit to add manual notes
- π‘ Commit to version control
Related Commands:
/train-context- Next step
Purpose: Generate repository-specific context training from codebase analysis.
Parameters: None (interactive)
Usage:
/train-context
What it does:
- Checks for tech-stack.md (prerequisite)
- Offers generation approaches:
- Analysis-based (PRs, files)
- Minimal setup
- Manual creation
- Analyzes selected sources
- Generates context training files
- Updates configuration
Example Session:
β Found tech-stack.md
How would you like to create context training?
1) Analyze PRs and code files
2) Create minimal structure
3) Use starter template
Your choice: 1
Name for context training: mobile-app
What should we analyze?
[x] Recent PRs (last 20)
[x] Example files from src/
[ ] Specific PRs by number
Analyzing...
β Analyzed 20 PRs
β Analyzed 15 example files
β Extracted patterns
Generated context training:
specification.md - Spec writing guidelines
implementation.md - Implementer/verifier listing
implementers/
ui.md - UI implementation preferences
state.md - State management patterns
api.md - API integration patterns
verifiers/
ui.md - UI verification rules
Skills referenced:
- react-native-core/component-patterns
- zustand-patterns
- zest-design-system
β Updated config with context_training: mobile-app
Next steps:
1. Review generated files
2. Run: devorch install
Generated Structure:
devorch/context-training/mobile-app/
βββ specification.md # How to write specs
βββ implementation.md # Available implementers
βββ implementers/ # Required
β βββ ui.md # UI preferences
β βββ state.md # State patterns
β βββ api.md # API patterns
βββ verifiers/
βββ ui.md # Verification rules
When to use:
- β After tech stack analysis - Required
- β New repository - Establish patterns
- β Inconsistent code - Standardize approaches
- β Team onboarding - Document conventions
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "Tech stack not found" | Missing tech-stack.md | Run /analyze-tech-stack first |
| Few PRs/files | Add more examples or edit manually | |
| Limited analysis | Analyze more PRs or files |
Pro Tips:
- π‘ Run /analyze-tech-stack first
- π‘ Choose PRs that represent your standards
- π‘ Can regenerate to improve
- π‘ Edit files to add company-specific rules
- π‘ Commit to version control for team
Related Commands:
/analyze-tech-stack- Required firstdevorch install- Apply context training/load-context-training- Load context files into conversation
Purpose: Load all context-training files into Claude's context for reference.
Parameters: None
Usage:
/load-context-training
What it does:
- Checks for context-training configuration
- Loads all context training files:
- specification.md (spec guidelines)
- implementation.md (implementation guidelines)
- implementers/*.md (domain patterns)
- verifiers/*.md (verification rules)
- Makes all files available in conversation context
Example Output:
π¦ Loading context training: mobile-app
Location: devorch/context-training/mobile-app/
β
Context training loaded: mobile-app
Files loaded:
- specification.md
- implementation.md
- 3 implementer files:
- ui-components.md
- state-management.md
- api.md
- 2 verifier files:
- ui-components.md
- api.md
Total files in context: 7
β
Context training loaded successfully
Summary:
- Context training: mobile-app
- Total files loaded: 7
- Implementers: 3
- Verifiers: 2
Next steps:
- All context-training files are now available in this conversation
- You can ask questions about patterns, guidelines, or conventions
- Reference specific implementers or verifiers as needed
When to use:
- β Reference patterns - When you need to review conventions
- β Ask questions - Query about implementation approaches
- β Manual review - Inspect generated context training
- β Before custom work - Load patterns before implementing
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No context-training configured" | Missing context training | Run /train-context first |
| β "Directory not found" | Invalid context training | Check config or regenerate |
Pro Tips:
- π‘ Use when JIRA commands call it automatically
- π‘ Files stay in context for the conversation
- π‘ Use to understand your project's patterns
- π‘ Optional files (spec.md) won't cause errors
Related Commands:
/train-context- Generate context training first
Purpose: Initialize a new spec and gather requirements through interactive research.
Parameters: None (interactive)
Usage:
/gather-requirements
What it does:
- Asks clarifying questions about feature
- Collects visual assets (screenshots, designs)
- Identifies similar features in codebase
- Documents requirements
- Creates spec folder structure
Example Session:
What feature are you building?
> User profile page with avatar upload
What's the main user goal?
> Allow users to view and edit their profile information
Are there similar features in the codebase?
> Yes, user settings page
Analyzing similar features...
β Found UserSettingsScreen
β Found similar form patterns
β Found existing avatar handling
Any visual designs to reference?
> [Attach Figma link or screenshots]
Creating specification structure...
β Created specs/2025-10-30-user-profile/
β Documented requirements
β Collected visual assets
β Identified reuse opportunities
Next steps:
1. Review planning/requirements.md
2. Run: /create-spec
Output Structure:
specs/2025-10-30-user-profile/
βββ planning/
βββ requirements.md # Initial requirements
βββ research.md # Discovery notes
βββ assets/ # Screenshots, designs
βββ profile-mockup.png
When to use:
- β Starting new feature - From scratch
- β Requirements unclear - Need discovery
- β Learning codebase - Find existing patterns
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| New codebase | That's okay, document anyway | |
| Unclear description | Provide more detail | |
| π‘ Skip this step? | Requirements already clear | Can create spec folder manually |
Pro Tips:
- π‘ Take time with questions - better input = better output
- π‘ Reference existing features accelerates development
- π‘ Visual assets help verifiers later
- π‘ Can iterate on requirements
Related Commands:
/create-spec- Next step/analyze-tech-stack- Better pattern matching
Purpose: Transform requirements into comprehensive technical specification.
Parameters: None (interactive)
Usage:
/create-spec
What it does:
- Reads requirements from research folder
- Loads all context training and steering
- Writes detailed
spec.md - Verifies completeness
When to use:
- β After research - When requirements are clear
- β Before task planning - Need technical blueprint
- β Complex features - Requiring detailed design
Example Output Structure:
specs/2025-10-30-user-profile/
βββ planning/ # From /gather-requirements
β βββ requirements.md
β βββ research.md
βββ spec.md # Generated by /create-spec
spec.md Example:
# User Profile Feature
## Overview
Allow users to view and edit their profile information...
## Requirements
- [ ] Display user information
- [ ] Edit profile fields
- [ ] Upload avatar image
- [ ] Save changes to database
## Technical Approach
### Components
- ProfileScreen component
- ProfileForm component
- AvatarUpload component
### Data Flow
[Description of data flow]
### API Integration
- GET /api/user/profile
- PUT /api/user/profile
- POST /api/user/avatar
## Testing Strategy
[Testing approach]Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No requirements found" | Missing /gather-requirements step | Run /gather-requirements first |
| Missing context training | Run /train-context | |
| Unclear requirements | Update requirements and run again |
Pro Tips:
- π‘ Iterative - run multiple times to refine
- π‘ Edit spec.md directly if needed
- π‘ Review before creating tasks
- π‘ Spec focuses on "what" not "how"
Related Commands:
/gather-requirements- Must run first/create-tasks- Next step/train-context- Improve quality/update-spec- Update existing spec
Purpose: Update an existing specification based on changed requirements.
Parameters: None (interactive)
Usage:
/update-spec
What it does:
- Selects existing spec (with stale detection)
- Displays current spec summary
- Collects change requests from user
- Confirms proposed changes
- Updates requirements.md in-place
- Regenerates spec.md using spec-writer
- Re-verifies updated specification
Example Session:
Active spec is 'user-profile' (2025-10-30). Which spec would you like to use?
> Continue with 'user-profile'
π Current Specification Summary for user-profile:
Goal: User profile page with avatar upload
Current Functional Requirements:
- Display user information
- Edit profile fields
- Upload avatar image
...
What would you like to update?
> Modify: Change avatar upload to support multiple image formats
> Add: Add bio text field with 500 character limit
π Proposed Changes:
Will be MODIFIED:
- Avatar upload β Support multiple formats (jpg, png, webp)
Will be ADDED:
- Bio text field (500 char max, optional)
Will be PRESERVED (unchanged):
- All display and edit functionality
- Existing form validation
...
Is this change summary correct?
> Yes, proceed with updates
π Updating requirements... Applying your changes one by one. β³
β Modified avatar upload requirement
β Added bio field requirement
π Regenerating specification... Using spec-writer to update spec.md
β Spec updated
β Verification: Passed
β
Specification updated successfully!
Next step: Run /create-tasks if task breakdown needs updating
Output Structure:
specs/2025-10-30-user-profile/
βββ planning/
β βββ requirements.md # Updated in-place
βββ verification/
β βββ spec-verification.md # Regenerated
βββ spec.md # Regenerated
Change Types Supported:
- ADD - New requirements being added
- MODIFY - Existing requirements being changed
- REMOVE - Requirements moved to out of scope
- CLARIFY - Existing requirements needing more detail
When to use:
- β Pre-implementation iteration - Refining spec BEFORE creating tasks
- β Requirements changed - Scope or functionality evolved before implementation
- β After feedback - Stakeholder review requires changes before coding starts
- β Design iterations - Visual assets updated during planning phase
When NOT to use:
- β After tasks created - Use manual edits or create new spec instead
- β During implementation - Changes may invalidate existing work
- β After implementation started - Risks requiring work to be redone
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No spec.md found" | Spec not created yet | Run /create-spec first |
| β "No requirements.md" | Missing requirements | Run /gather-requirements first |
| Tasks already created | Choose: proceed with caution, manual edit, or cancel | |
| Large update | Consider creating new spec |
Pro Tips:
- π‘ Best used before
/create-tasks- For pre-implementation iteration - π‘ Updates requirements.md in-place (no history section)
- π‘ Tracks changes with todo list during update
- π‘ Regenerates spec and verification fresh
- π‘ Preserves unchanged sections automatically
- π‘ Can add new visual assets during update
- π‘ Reuses spec-writer and spec-verifier (no new subagents)
- π‘ Warns if tasks.md exists (implementation may have started)
Related Commands:
/create-spec- Initial spec creation/create-tasks- Update tasks after spec changes/gather-requirements- For major scope changes
Purpose: Create detailed task breakdown with implementer assignments for efficient implementation.
Parameters: None (interactive)
Usage:
/create-tasks
What it does:
- Reads
spec.mdfrom the current spec folder - Discovers available implementers and verifiers
- Breaks down the spec into logical tasks
- Assigns implementers to each task based on specialization
- Creates
tasks.mdwith organized breakdown
Example Output:
β Loaded spec: user-profile
β Discovered implementers: ui-implementer, data-access-implementer, state-implementer
β Created task breakdown with 3 tasks, 12 total subtasks
Task breakdown created successfully!
β
Tasks file: `tasks.md`
β
Tasks: 3 tasks with 12 total subtasks
β
Implementers assigned
π Next steps:
1. Review the task breakdown in `tasks.md`
2. Run `/implement-task [task-id]` to implement specific tasks
3. Or run `/implement-spec` to implement all tasks sequentially
Output Structure:
specs/2025-10-30-user-profile/
βββ planning/
β βββ requirements.md
β βββ research.md
βββ spec.md
βββ tasks.md # NEW: Generated by /create-tasks
tasks.md Example:
# Implementation Tasks: User Profile
## Task 1: UI Components
**Assigned implementer:** ui-implementer
- [ ] 1.1 Create ProfileScreen component
- Acceptance: Component renders with proper layout
- Reuse pattern from: src/screens/UserSettingsScreen.tsx
- [ ] 1.2 Create ProfileForm with validation
- Acceptance: Form validates all required fields
- Reuse pattern from: src/components/forms/SettingsForm.tsx
- [ ] 1.3 Add AvatarUpload component
- Acceptance: Image upload works on iOS and Android
- Reuse pattern from: src/components/media/ImagePicker.tsx
## Task 2: Data Integration
**Assigned implementer:** data-access-implementer
- [ ] 2.1 Implement profile API client
- Acceptance: GET/PUT endpoints working
- Dependencies: 1.1, 1.2
- [ ] 2.2 Add image upload handler
- Acceptance: Images uploaded to S3
- Dependencies: 1.3
## Task 3: Verification
**Assigned implementer:** testing-implementer
- [ ] 3.1 Visual regression tests
- Dependencies: 1.1, 1.2, 1.3
- [ ] 3.2 API integration tests
- Dependencies: 2.1, 2.2When to use:
- β After spec created - Ready to plan implementation
- β Before implementation - Need clear task breakdown
- β Complex features - Multiple areas of responsibility
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No spec found" | Missing /create-spec step | Run /create-spec first |
| No context training | Run /train-context for domain-specific implementers | |
| Overly detailed spec | Simplify spec or group related tasks |
Pro Tips:
- π‘ Tasks automatically organized by domain (UI, State, Data Access, etc.)
- π‘ Pattern references help find reusable code
- π‘ Dependencies tracked to prevent blocked work
- π‘ Can edit tasks.md to adjust task organization
Related Commands:
/create-spec- Must run first/implement-task- Implement specific tasks/implement-spec- Batch implement all tasks/train-context- Get domain-specific implementers
Purpose: Implement a specific task or task from the task breakdown.
Parameters: <task-id> (optional, prompted if not provided)
Usage:
/implement-task [task-id]
Examples:
/implement-task 1- Implements entire task 1/implement-task 1.1- Implements subtask 1.1/implement-task 2.3- Implements subtask 2.3
What it does:
- Parses task ID from user input
- Loads task details from
tasks.md - Delegates to assigned implementer
- Marks task complete with checkbox:
- [x] - Creates implementation report
- Optionally runs verification
Example Session:
User: /implement-task 1.1
Loading task 1.1 from tasks.md...
β Found task in UI Implementation domain
β Task: Create ProfileScreen component
β Acceptance: Component renders with proper layout
Implementing...
β Loaded UI patterns from context training
β Created ProfileScreen.tsx
β Added to navigation
β Styled with design system
β Marked task 1.1 as complete in tasks.md
Task 1.1 implemented successfully! β
**Task:** Create ProfileScreen component
**Implementer:** ui-implementer
**Status:** Completed
**Files changed:** 3 files
π Implementation report: `implementation/task-1.1-report.md`
π Next steps:
- Review the changes
- Continue with next task or run `/implement-spec` for remaining tasks
When to use:
- β Granular control - Implement tasks one at a time
- β Blocked tasks - Skip blocked tasks and come back later
- β Review between tasks - Check work before proceeding
- β Partial implementation - Implement subset of tasks
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "Task not found" | Invalid task ID | Check tasks.md for valid IDs |
| β "No tasks.md" | Missing /create-tasks step | Run /create-tasks first |
| Implementing out of order | Check dependencies noted in tasks.md |
Pro Tips:
- π‘ Use "1" for entire group, "1.1" for specific task
- π‘ Tasks automatically marked complete in tasks.md
- π‘ Dependencies checked before implementation
- π‘ Implementation report created for each task
Related Commands:
/create-tasks- Must run first/implement-spec- Batch mode alternative
Purpose: Batch implementation of all tasks using specialized implementers and verifiers.
Parameters: None (uses current spec)
Usage:
/implement-spec
What it does:
- Reads tasks.md from current spec folder
- Implements all tasks sequentially
- Delegates to specialized implementers
- Marks tasks complete as they're finished
- Optionally runs verification
- Creates implementation summary
Example Output:
β Loaded spec: user-profile
π Found 3 pending tasks with 12 total pending tasks
This will implement all 3 tasks sequentially. This may take significant time. Continue? (yes)
Executing Task 1: UI Components...
β Created ProfileScreen.tsx
β Created ProfileForm.tsx
β Added AvatarUpload component
β
Task 1 completed (1/3 groups done)
Executing Task 2: Data Integration...
β Created profile API client
β Added image upload handler
β
Task 2 completed (2/3 groups done)
Running Verification...
β Component tests passing
β Visual regression clean
β API integration working
Implementation complete! π
β
3 tasks implemented
β
12 tasks completed
β
Verification passed
π Summary: `implementation-summary.md`
π All done! Review the implementation and consider creating a PR.
Output Structure:
specs/2025-10-30-user-profile/
βββ spec.md
βββ tasks.md # Tasks marked complete
βββ implementation/
β βββ task-1-report.md
β βββ task-2-report.md
β βββ task-3-report.md
βββ verification/
β βββ verification-report.md
βββ implementation-summary.md
When to use:
- β Batch mode - Implement all tasks at once
- β After approval - Spec and tasks reviewed
- β With verifiers - Want automated validation
- β Complex features - Benefit from specialized agents
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "No tasks.md" | Missing /create-tasks step | Run /create-tasks first |
| Implementation incomplete | Review and fix issues | |
| Missing tools | Install MCP servers |
Pro Tips:
- π‘ Specialized implementers prevent context overload
- π‘ Can be interrupted and resumed
- π‘ Use
/implement-taskfor granular control instead - π‘ Implementation documented automatically
Related Commands:
/create-tasks- Must run first/implement-task- Granular alternative/train-context- Customize implementers
Purpose: Fetch Jira ticket(s), gather requirements through clarifying questions, and post those questions to the Jira ticket(s) for the team to answer. Alternative workflow to /gather-requirements when starting from Jira tickets.
Parameters: <ticket-key(s)> (optional)
Usage:
/jira-gather-requirements
/jira-gather-requirements PROJ-123
/jira-gather-requirements PROJ-123,PROJ-124
What it does:
- Validates Jira CLI prerequisites
- Fetches ticket(s) from Jira using jira CLI
- Checks for existing devorch questions (prevents duplicates)
- Runs
/gather-requirementswith ticket context - Extracts clarifying questions from spec-researcher
- Posts questions to Jira ticket comments
- Posts summary if no questions needed
Example Session:
Which Jira ticket(s) would you like to gather requirements for?
> BACKEND-123
Fetching ticket BACKEND-123...
β Fetched: Implement user authentication
Checking for existing questions...
β No existing questions found
Gathering requirements...
β Generated 5 clarifying questions
Posting questions to BACKEND-123...
β Posted clarifying questions to Jira ticket
β
Requirements gathering complete!
Next steps:
1. Answer questions in Jira ticket
2. Run: /jira-create-spec BACKEND-123
When to use:
- β Starting from Jira - Ticket already exists
- β Team workflow - Requirements discussed in Jira
- β Async collaboration - Questions answered asynchronously
- β Alternative to /gather-requirements - When source is Jira
Prerequisites:
jiraCLI (ankitpokhrel/jira-cli) - Required- Jira configured:
~/.config/.jira/.config.yml JIRA_API_TOKENenvironment variable
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "jira CLI not found" | jira not installed | Install: brew install jira (macOS) |
| β "jira not configured" | Missing config | Run: jira init |
| β "JIRA_API_TOKEN not set" | Missing token | Export token to ~/.bashrc and ~/.zshrc |
| Previously run | Skip to /jira-create-spec |
Pro Tips:
- π‘ Can process multiple tickets:
PROJ-123, PROJ-124 - π‘ Checks for duplicate questions automatically
- π‘ Posts summary if no questions needed
- π‘ Questions visible to entire Jira team
- π‘ Works with existing Jira workflow
Related Commands:
/jira-create-spec- Next step after answers provided/gather-requirements- Standard workflow alternative
Purpose: Generate specification from Jira ticket and answered questions, then post spec back to ticket. Second step in Jira-based workflow after questions are answered.
Parameters: <ticket-key(s)> (optional)
Usage:
/jira-create-spec
/jira-create-spec PROJ-123
/jira-create-spec PROJ-123,PROJ-124
What it does:
- Validates Jira CLI prerequisites
- Fetches ticket(s) from Jira
- Validates that questions have been answered
- Runs
/create-specwith ticket + answers context - Posts generated spec to Jira ticket
- Creates local spec folder structure
Example Session:
Which Jira ticket(s) would you like to create specs for?
> BACKEND-123
Fetching ticket BACKEND-123...
β Fetched: Implement user authentication
Validating answers...
β Questions answered by team
Creating specification...
β Generated spec.md
Posting spec to BACKEND-123...
β Posted spec to Jira ticket
β
Spec creation complete!
Spec folder: specs/2025-01-21-BACKEND-123-user-auth/
- spec.md (generated)
- jira-ticket.json (ticket data)
Next steps:
1. Review spec.md
2. Run: /create-tasks
When to use:
- β After questions answered - Team provided answers in Jira
- β Jira workflow - Continue from /jira-gather-requirements
- β Team alignment - Spec visible to entire Jira team
- β No questions needed - Can run directly if ticket is clear
Prerequisites:
jiraCLI (ankitpokhrel/jira-cli) - Required- Jira configured:
~/.config/.jira/.config.yml JIRA_API_TOKENenvironment variable
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "jira CLI not found" | jira not installed | Install: brew install jira (macOS) |
| β "Questions not answered" | Missing answers in ticket | Answer questions in Jira first |
| Missing details | Add more info to Jira ticket |
Pro Tips:
- π‘ Can process multiple tickets:
PROJ-123, PROJ-124 - π‘ Validates answers exist before generating spec
- π‘ Spec posted to Jira for team visibility
- π‘ Creates local spec folder for implementation
- π‘ Works even without questions (if ticket is clear)
Related Commands:
/jira-gather-requirements- Usually run first/create-tasks- Next step after spec created/create-spec- Standard workflow alternative
Purpose: Implement visual/styling design changes to web applications based on Figma designs with interactive guidance and verification.
Parameters: None (interactive)
Usage:
/design-change-web
What it does:
- Checks prerequisites (GitHub CLI, Node, Yarn, Chrome DevTools MCP)
- Collects design input (Figma file or description)
- Identifies exact location of changes in codebase
- Analyzes Figma design specifications
- Implements design changes following design system
- Optionally shows changes locally
- Creates PR with GitHub Actions monitoring
Example Session:
Design Change: [Figma link or description]
> https://www.figma.com/design/xyz?node-id=1-123
Change locality: Where should this change be made?
> Main CTA button on the homepage
Ticket number: JIRA ticket for the PR
> EPS-1000
Analyzing Figma design...
β Extracted design tokens
β Identified components
Finding implementation files...
β Located homepage component
β Found CTA button
Implementing changes...
β Updated button styles
β Applied design system tokens
Creating PR: feature/EPS-1000-change-button-size
β PR created
β Monitoring GitHub Actions
β All checks passing
Preview URL: https://preview.example.com/pr-123
When to use:
- β Visual design changes - Colors, spacing, typography, layout
- β Design handoff - Implementing Figma visual designs for web
- β Design updates - Updating styles in existing UI
- β Design system compliance - Ensuring Figma matches design tokens
- β Non-technical designers - Guided implementation workflow
When NOT to use:
- β Adding interactivity - Click handlers, form submissions, etc.
- β State management - Component state or logic changes
- β API integration - Adding or modifying API calls
- β Business logic - Adding effects or complex logic
Prerequisites:
ghCLI (GitHub CLI) - Requirednodeandyarn- Optional but recommended for local preview- Chrome DevTools MCP - Optional for verification
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "GitHub CLI not found" | gh not installed | Install: https://cli.github.com/ |
| β "Chrome DevTools not available" | MCP not configured | Install chrome-devtools MCP |
| Multiple possible locations | Answer clarifying questions |
Pro Tips:
- π‘ Select a specific frame in Figma, not the full file
- π‘ Provide clear change locality to speed up implementation
- π‘ Use with Figma MCP for design token extraction
- π‘ Command monitors GitHub Actions until all checks pass
- π‘ Designed for non-technical designers to create PRs
Related Commands:
/zest-check- Check design implementability before implementation
Purpose: Check Figma design implementability for the Zest design system on both web and React Native platforms.
Parameters: None (interactive)
Usage:
/zest-check
What it does:
- Checks for Figma MCP prerequisite
- Collects Figma file from user (frame-level URL required)
- Runs both web and React Native analysis subagents in parallel
- Extracts design tokens and maps to Zest equivalents
- Generates implementability scores for each platform
- Highlights platform discrepancies
Example Session:
Figma file: Provide Figma design link (select a specific frame)
> https://www.figma.com/design/xyz?node-id=1-123
Running platform analysis...
Zest Implementability Check Complete
| Platform | Score | Status |
|----------------|-------|-----------------------------|
| Web | 9/10 | Fully implementable |
| React Native | 7/10 | Minor custom styling needed |
Platform Discrepancies:
- Gradient backgrounds: Available in web, needs custom in RN
- Shadow blur: Different implementation patterns
Web Analysis:
β 12/15 colors match Zest tokens
β All spacing values match
β Typography styles match
React Native Analysis:
β 12/15 colors map to alias.color tokens
β 2 spacing values need adjustment
β Typography maps to Text types
Recommendations:
- Replace #FF5733 with primary.600
- Use global.spacing.md instead of 18px
When to use:
- β Before implementation - Validate design feasibility
- β Design review - Check design system compliance
- β Cross-platform projects - Verify both web and RN support
- β Design handoff - Identify potential issues early
Prerequisites:
- Figma MCP - Required for design token extraction
JIRA Integration: Use /jira-zest-check [TICKET-KEY] to post results to a Jira ticket.
Related Commands:
/a11y-check- Check accessibility compliance/create-ux-spec-web- Generate web dev instructions/create-ux-spec-rn- Generate RN dev instructions
Purpose: Audit Figma designs for accessibility compliance.
Parameters: None (interactive)
Usage:
/a11y-check
What it does:
- Checks for Figma MCP prerequisite
- Collects Figma file from user
- Analyzes color contrast ratios
- Verifies touch target sizes
- Reviews text readability
- Generates accessibility compliance report
When to use:
- β Accessibility audit - Ensure WCAG compliance
- β Design review - Catch accessibility issues early
- β Before implementation - Avoid accessibility debt
JIRA Integration: Use /jira-a11y-check [TICKET-KEY] to post results to a Jira ticket.
Related Commands:
/zest-check- Check design system compliance
Purpose: Generate detailed web development instructions from a Figma design.
Parameters: None (interactive)
Usage:
/create-ux-spec-web
What it does:
- Extracts all design tokens from Figma
- Maps tokens to Zest web equivalents
- Identifies all components needed
- Generates code snippets for each component
- Creates a markdown spec document
Output: A markdown document saved to .devorch/artifacts/ux-specs/ containing:
- Design token mapping table (Figma β Zest)
- Component breakdown with exact props
- Layout structure (Box hierarchy)
- Code snippets
- Responsive considerations
When to use:
- β Design handoff - Provide clear dev instructions
- β Before implementing - Understand the full scope
- β Documentation - Create implementation reference
Related Commands:
/zest-check- Check design first/design-change-web- Implement the design
Purpose: Generate detailed React Native development instructions from a Figma design.
Parameters: None (interactive)
Usage:
/create-ux-spec-rn
What it does:
- Extracts all design tokens from Figma
- Maps tokens to Zest RN equivalents (global., alias.)
- Identifies all components needed
- Generates useZestStyles code patterns
- Creates a markdown spec document
Output: A markdown document saved to .devorch/artifacts/ux-specs/ containing:
- Design token mapping (Figma β global.spacing., alias.color., etc.)
- Component breakdown with Zest RN components
- useZestStyles patterns with createStylesConfig
- Image handling with ImageCloudinary
- Accessibility requirements (testID, altText)
- Responsive design considerations
When to use:
- β Design handoff - Provide clear RN dev instructions
- β Before implementing - Understand the full scope
- β Documentation - Create implementation reference
Related Commands:
/zest-check- Check design first/design-change-rn- Implement the design
Purpose: Implement visual/styling design changes in React Native modules (shared-mobile-modules) from Figma designs.
Parameters: None (interactive)
Usage:
/design-change-rn
What it does:
- Checks prerequisites (gh CLI, Mobile MCP)
- Collects Figma design and change description
- Identifies target module and screen
- Implements visual changes using Zest RN tokens
- Can verify changes on simulators via Mobile MCP
- Creates pull request with GitHub Actions monitoring
Important Limitations: This command is only for visual/styling changes:
- β Colors, spacing, typography
- β Layout and positioning
- β Component styling
- β Interactivity, state, or business logic
Prerequisites:
- GitHub CLI (
gh) - Figma MCP
- Mobile MCP (optional, for simulator verification)
Related Commands:
/zest-check- Check design first/create-ux-spec-rn- Generate dev instructions/design-change-web- Web equivalent
Purpose: Add or update Zest design system components in the web repository based on Figma designs.
Parameters: None (interactive)
Usage:
/zest-add-component-web
What it does:
- Checks prerequisites (GitHub CLI, node, yarn)
- Collects operation type (NEW or UPDATE existing component)
- Collects Figma design and component details
- Extracts design tokens and component structure from Figma
- Analyzes established patterns from production PRs
- Generates or updates component files in
packages/zest/:- ComponentName.tsx (main component with Figma reference)
- types.ts (TypeScript interfaces with JSDoc)
- styles.ts (design tokens, never hardcoded values)
- variants.ts (variant configurations, if applicable)
- ComponentName.test.tsx (comprehensive tests + snapshots)
- index.ts (exports)
- Creates Storybook documentation
- Optionally runs tests and Storybook locally (if node/yarn available)
- Creates PR with proper templates
- Monitors GitHub Actions and auto-fixes common issues
Example Session (NEW component):
Operation type: Are you adding a NEW component or UPDATING existing?
> New component
Figma file: Provide Figma design for the component
> https://www.figma.com/design/xyz?node-id=1-456
Component name: What should the component be called?
> Badge
Component description: Brief description (1-2 sentences)
> A badge component for displaying status indicators and labels
Ticket number: JIRA ticket for the PR
> ZEST-2426
Analyzing Figma design...
β Extracted design tokens
β Identified component structure
β Determined variants: neutral, brand, success, error
β Determined sizes: sm, md, lg
Following established patterns from production PRs...
β Pattern: Simple Component (single-level)
β Using Zest primitives: Box, Text
Generating component files...
β Created types.ts with JSDoc
β Created styles.ts with design tokens
β Created variants.ts
β Created Badge.tsx with Figma reference
β Created Badge.test.tsx with full coverage
β Created index.ts
β Updated packages/zest/src/index.ts exports
β Created Storybook documentation
Running tests locally...
β All tests passing
Creating PR: feature/ZEST-2426-add-badge-component
β PR created
β Monitoring GitHub Actions
β All checks passing β
Component created successfully!
Location: packages/zest/src/Badge/
Generated Files (NEW component):
packages/zest/src/Badge/
βββ Badge.tsx # Component with Figma reference
βββ types.ts # TypeScript interfaces with JSDoc
βββ styles.ts # Design tokens only
βββ variants.ts # Variant configurations
βββ Badge.test.tsx # Comprehensive tests + snapshots
βββ index.ts # Barrel export
apps/zest-docs/stories/
βββ Badge.stories.tsx # Storybook documentation
When to use:
- β New design system component - Adding to Zest web library
- β Updating existing component - Adding variants, props, or features
- β Design-to-code - Direct Figma-to-component workflow
- β Designers working independently - Follows production patterns exactly
Prerequisites:
ghCLI (GitHub CLI) - Required- Figma access - Required for design extraction
node+yarn- Optional (enables local testing)- Playwright or Chrome DevTools MCP - Optional (enables automated testing)
Key Features:
- β
Follows production patterns - Uses real PR patterns from
zest-components-web-patternsskill - β NEW or UPDATE - Can add new components or update existing ones
- β Design tokens only - Never hardcodes values
- β Full test coverage - Comprehensive tests with snapshots
- β Storybook docs - Auto-generates documentation
- β CI monitoring - Auto-fixes common TypeScript/lint errors
- β Figma traceability - Reference comment in component
Common Issues:
| Issue | Cause | Solution |
|---|---|---|
| β "GitHub CLI not found" | gh not installed | Install: https://cli.github.com/ |
| β "Not in web repository" | Wrong directory | Navigate to web repo |
| Full Figma file provided | Select specific frame in Figma | |
| Trying to create existing | Use "Update existing" operation |
Pro Tips:
- π‘ Select a specific Figma frame, not the entire file
- π‘ Component name should be PascalCase (e.g., Badge, ProgressBar)
- π‘ Command asks if NEW or UPDATE - reads existing files for updates
- π‘ Uses real production patterns from past PRs (Badge, Accordion, Button)
- π‘ Auto-generates comprehensive tests with accessibility checks
- π‘ Can work without local environment - PR created and CI handles validation
- π‘ With node/yarn: runs tests locally and can preview in Storybook
Related Commands:
/zest-check- Check design implementability before creating component/design-change-web- Implement design changes in apps/zest-add-component-rn- React Native equivalent
Purpose: Add or update Zest design system components in the React Native repository based on Figma designs.
Parameters: None (interactive)
Usage:
/zest-add-component-rn
What it does:
- Checks prerequisites (GitHub CLI)
- Collects operation type (NEW or UPDATE existing component)
- Collects Figma design and component details
- Extracts design tokens and component structure from Figma
- Analyzes established patterns from zest-react-native
- Generates or updates component files using Zest RN tokens:
- ComponentName.tsx (main component)
- types.ts (TypeScript interfaces)
- styles.ts (useZestStyles with createStylesConfig)
- ComponentName.test.tsx (tests)
- index.ts (exports)
- Creates PR with proper templates
Example Session:
Operation type: Are you adding a NEW component or UPDATING existing?
> New component
Figma file: Provide Figma design for the component
> https://www.figma.com/design/xyz?node-id=1-456
Component name: What should the component be called?
> Badge
Component description: Brief description (1-2 sentences)
> A badge component for displaying status indicators
Ticket number: JIRA ticket for the PR
> ZEST-2427
Analyzing Figma design...
β Extracted design tokens (mapped to global.*/alias.*)
β Identified component structure
β Determined variants: neutral, brand, success, error
Generating component files...
β Created types.ts
β Created styles.ts with useZestStyles
β Created Badge.tsx
β Created Badge.test.tsx
β Created index.ts
Creating PR: feature/ZEST-2427-add-badge-component
β PR created
Component created successfully!
Key Differences from Web:
- Uses Zest RN tokens (
global.spacing.*,alias.color.*) - Uses
useZestStyleshook withcreateStylesConfig - No Storybook (RN uses different documentation approach)
- Different file structure matching zest-react-native patterns
When to use:
- β New RN design system component - Adding to Zest React Native library
- β Updating existing component - Adding variants, props, or features
- β Design-to-code - Direct Figma-to-component workflow
Related Commands:
/zest-check- Check design implementability before creating component/design-change-rn- Implement design changes in apps/zest-add-component-web- Web equivalent
Purpose: Create git worktree for isolated feature development.
Parameters: <branch-name> (optional)
Usage:
/worktree
/worktree feature/new-feature
What it does:
- Gets branch name from you (if not provided)
- Creates git worktree in
./worktrees/ - Copies local settings (.env, .mcp.json)
- Provides next steps
Example:
Enter branch name: feature/user-profile
Creating worktree...
β Created ./worktrees/feature-user-profile
β Copied .env
β Copied .mcp.json
Next steps:
cd ./worktrees/feature-user-profile
# Work on feature in isolation
When to use:
- β Parallel features - Multiple features simultaneously
- β Experimental work - Try without affecting main
- β Long-running features - Isolate WIP
Pro Tips:
- π‘ Each worktree is independent directory
- π‘ Shares git history, not working files
- π‘ Settings copied automatically
- π‘ Remove with
git worktree remove
Purpose: Collect comprehensive debug context for troubleshooting.
Parameters: None
Usage:
/panic
What it does:
- Verifies git CLI available
- Collects error logs and stack traces
- Gathers system information
- Creates formatted debug report
- Optionally creates GitHub issue
Example Output:
Collecting debug context...
β Git status
β Recent error logs
β Stack traces
β System information
β Recent changes
Created: debug-report-2025-10-30.md
Would you like to create a GitHub issue? [Y/n]
debug-report.md Example:
# Debug Report - 2025-10-30
## Environment
- OS: macOS 14.0
- Node: v20.0.0
- devorch: v2.0.0
## Git Status
Current branch: feature/user-profile
Changes: 5 modified, 2 new
## Error Log
[Recent errors and stack traces]
## Recent Changes
[Last 5 commits]
## Context
[Additional context if provided]When to use:
- β Something broken - Unclear what's wrong
- β Need help - Preparing bug report
- β Investigation - Systematic troubleshooting
Pro Tips:
- π‘ Run when stuck or confused
- π‘ Attach report to issues
- π‘ Includes sensitive info - review before sharing
- π‘ Helps maintainers debug
graph TD
Start([New Repository]) --> AnalyzeTech[analyze-tech-stack]
AnalyzeTech --> TrainContext[train-context]
TrainContext --> Install[devorch install]
Install --> NewSpec[new-spec]
ExistingRepo([Existing Repository<br/>with Context Training]) --> InstallExisting[devorch install]
InstallExisting --> NewSpec
NewDev([New Team Member]) --> Clone[git clone]
Clone --> InstallNew[devorch install]
InstallNew --> NewSpec
NewSpec --> CreateSpec[create-spec]
CreateSpec --> ImplementSpec[implement-spec]
ImplementSpec --> Commit[git commit]
Commit --> PR[Create PR]
AnyTime([Utility Commands]) -.-> Worktree[worktree<br/>Create isolated workspace]
AnyTime -.-> Panic[panic<br/>Debug & troubleshoot]
style Start fill:#e1f5fe
style ExistingRepo fill:#c8e6c9
style NewDev fill:#fff9c4
style AnyTime fill:#fff3e0
style Install fill:#f3e5f5
style InstallExisting fill:#f3e5f5
style InstallNew fill:#f3e5f5
style Worktree fill:#fff3e0
style Panic fill:#fff3e0
# 1. Setup context (once per repository)
/analyze-tech-stack
/train-context
# 2. Research feature
/gather-requirements
# 3. Create specification
/create-spec
# 4. Create task breakdown
/create-tasks
# 5. Implement
/implement-spec
# 5. Commit and PR
git add .
git commit -m "Add user profile feature"
gh pr create# Repository already has context training committed
# Just install and start building
# 1. Install (uses existing context training from repo)
devorch install
# 2. Build feature
/gather-requirements
/create-spec
/create-tasks
/implement-spec
# 3. Commit and PR
git add .
git commit -m "Add new feature"
gh pr create# Joining a project that already uses devorch
# 1. Clone repository
git clone <repo-url>
cd <repo-directory>
# 2. Install (automatically uses team's context training)
devorch install
# 3. Start contributing
/gather-requirements
/create-spec
/create-tasks
/implement-spec- π‘ Run
/analyze-tech-stackand/train-contextfor best results - π‘ Regenerate periodically as codebase evolves
- π‘ Edit files to add company-specific rules
- π‘ Different teams can use different context trainings
- π‘ Start with
/gather-requirementsfor new features - π‘ Use
/create-specto write specifications - π‘ Use
/create-tasksto break down into actionable tasks - π‘ Use
/implement-taskfor granular control or/implement-specfor batch mode - π‘ Review specs and tasks before implementation
- π‘ Specialized implementers prevent context overload
- π‘ Verifiers use MCP servers for automation
- π‘ Implementation documented automatically
- π‘ Can resume if interrupted
- π‘ Use
/worktreefor parallel work - π‘ Run
/panicwhen stuck - π‘ Commit context training to version control
Cause: Installation incomplete
Solution: Restart IDE after running devorch install
Cause: Missing /gather-requirements step Solution: Run /gather-requirements first to create spec folder
Cause: Missing context training Solution: Run /train-context to customize
Cause: Implementation incomplete Solution: Review and fix issues before continuing
Cause: Referenced context training doesn't exist Solution: Run /train-context or fix name in config
Override config fields without modifying committed configuration:
# Override context training
export DEVORCH_CONTEXT_TRAINING=backend-api
# Override multiple fields
export DEVORCH_NAME=my-fork
export DEVORCH_VERSION=v1.2.3
# Then install
devorch installSupported Variables:
DEVORCH_CONTEXT_TRAININGβprofile.context_trainingDEVORCH_NAMEβprofile.nameDEVORCH_VERSIONβprofile.versionDEVORCH_DESCRIPTIONβprofile.description
- Quick Start - Get started with devorch
- Configuration Guide - Detailed config reference
- Context Training Guide - Customization system
- Workflows - When and how to use commands
Last Updated: 2025-01-10 Version: 2.0.0