Get started with a development flow using CommandMate's slash commands and agents for Claude Code.
CommandMate must be installed and running.
# Install (first time only)
npm install -g commandmate
commandmate init --defaults
# Start the server
commandmate start --daemonSee the CLI Setup Guide for details.
Check Issues on GitHub and decide which one to work on.
# List issues
gh issue list
# View a specific issue
gh issue view 123Use the /work-plan command to create a work plan.
/work-plan 123
Output includes:
- Task breakdown
- Dependency diagram
- Quality check items
- Deliverables checklist
Use the /tdd-impl command for test-driven development.
/tdd-impl feature-name
TDD cycle:
- Red: Write a failing test
- Green: Write minimal implementation to pass
- Refactor: Improve the code
Use the /progress-report command to check progress.
/progress-report 123
Use the /create-pr command to automatically create a Pull Request.
/create-pr
Auto-generated content:
- PR title (Conventional Commits format)
- Change description
- Test results
- Checklist
| Command | Description | When to Use |
|---|---|---|
/work-plan |
Create a work plan | When starting an Issue |
/tdd-impl |
TDD implementation | When implementing features |
/progress-report |
Progress report | For regular reports, completion checks |
/create-pr |
Auto-create PR | When implementation is complete |
[Review Issue]
|
v
[/work-plan] --> Work Plan Document
|
v
[Create Branch]
|
v
[/tdd-impl] --> Tests & Implementation
|
v
[/progress-report] --> Progress Check
|
v
[/create-pr] --> Create PR
|
v
[Review & Merge]
Run these commands during development to ensure quality:
# Lint
npm run lint
# Type check
npx tsc --noEmit
# Unit tests
npm run test:unit
# Integration tests
npm run test:integration
# Build
npm run buildCheck that command files exist in the .claude/commands/ directory.
ls -la .claude/commands/- Check the error message
- Review the related test file
- Fix the implementation
- Re-run tests
npm run test:unit -- --verbose- Check for uncommitted changes
- Verify CI checks pass
git status
npm run lint && npx tsc --noEmit && npm run test:unit && npm run build- CLI Setup Guide - Installation and troubleshooting
- Commands Guide - Detailed command usage
- Agents Guide - Sub-agent details
- Workflow Examples - Practical usage examples