Simplified AI-driven development: Issue-driven features with AI assistance
Quick Start β’ Core Workflow β’ Documentation
COMPREHENSIVE PLANNING: Project setup to production
/project-setup
- Interactive discovery and vision creation/plan:generate
- Generate detailed technical documentation/test:generate
- Create comprehensive test suites (90% coverage from day 1)
SMART IMPLEMENTATION: Right tool for the right job
/create-issue
- Smart routing to Copilot (simple) or Claude (complex)/work
- Full issueβPRβmerge workflow with tracking
FIVE-TIER FRAMEWORK:
- βοΈ Infrastructure - Local DevOps setup (not tracked as issues)
- ποΈ Architecture - System design decisions
- π¨ Design System - UI/UX foundation
- π± Standard Features - Common app functionality
- π― Custom Features - Your unique value (10-20 GitHub issues)
COST-FREE: No paid @claude GitHub App - uses free GitHub Copilot + local Claude Code
UNIFIED: Everything deploys to Vercel (frontend + backend)
# Copy VSCode settings to new project
cp /home/gotime2022/Projects/multi-agent-claude-code/.vscode/settings.json .vscode/
# Copy project-setup command to spec-kit project
cp /home/gotime2022/Projects/multi-agent-claude-code/.claude/commands/project-setup.md .claude/commands/
# Your global Claude settings already have all permissions β
# Located at: ~/.claude/settings.json
# Get the template
git clone https://github.com/vanman2024/multi-agent-claude-code.git my-project
cd my-project
# Make it yours
rm -rf .git && git init
git add . && git commit -m "Initial from template"
git remote add origin https://github.com/YOU/your-repo.git
git push -u origin main
# Required CLIs
brew install gh # GitHub CLI
npm install -g vercel newman # Vercel & Postman
npx playwright install # Browser automation
# FIRST TIME ONLY: Create personal config
./scripts/utilities/setup-personal-config.sh
# Saves to ~/.claude-code/personal-config.json
# FOR EACH PROJECT: Load your keys
./scripts/utilities/load-personal-config.sh
# Creates .env with all your saved keys
# Apply VSCode settings globally (recommended)
./scripts/utilities/vscode-settings-sync.sh --user
# Other options: --profile, --symlink, --copy, --git-template, --extension
# Start Claude Code
claude
# Add essential MCP servers
/add-mcp
# This configures:
# β
GitHub MCP (free, local API access)
# β
Playwright (browser testing)
# β
Supabase (database)
# β
Postman (API testing)
# Step 1: Interactive project discovery and vision
/project-setup
# Creates: docs/PROJECT_PLAN.md (your north star vision)
# Step 2: Generate detailed technical documentation
/plan:generate
# Creates: ARCHITECTURE.md, INFRASTRUCTURE.md, FEATURES.md, DESIGN_SYSTEM.md
# Step 3: Generate comprehensive test suites
/test:generate --all
# Creates: Unit tests, API tests (Postman), E2E tests
# Step 4: Start building
/create-issue "User authentication"
/work #1
Our slash commands use sophisticated patterns for maximum flexibility:
Context Loading with @
:
## Load Context
- @README.md
- @package.json
- @docs/architecture.md
Reusable Variable Blocks:
## <analysis_instructions>
Analyze the request and determine complexity...
</analysis_instructions>
## <implementation_instructions>
Based on analysis, implement the solution...
</implementation_instructions>
Stop Blocks for Workflow Control:
## <worktree_branch_check>
CRITICAL: Must be on main branch unless --worktree flag
</worktree_branch_check>
These patterns make slash commands intelligent prompts that guide Claude Code through complex workflows.
# 1. Interactive project discovery
/project-setup
# Creates PROJECT_PLAN.md with vision & roadmap
# 2. Generate technical documentation
/plan:generate
# Creates detailed docs from vision
# 3. Generate test suites
/test:generate --all
# 90% test coverage before coding!
# Create issues for major features (10-20 total)
/create-issue "Add user authentication"
# Auto-assigns to Copilot if simple, Claude if complex
# Work on features
/work #150
# Creates branch, implements with tests
# Deploy when ready
/deploy
# Everything goes to Vercel
- Infrastructure tasks = Local work (no issues needed)
- Features = GitHub issues (tracked and visible)
- 10-20 issues total = Group related work together
- Tests first = Generate tests before implementation
Automatic Activity Tracking - The framework maintains a continuous work journal that:
- Appends entries every time Claude responds (never overwrites)
- Tracks git state: branch, uncommitted changes, unpushed commits
- Session markers: Special events like session_end are flagged
- History preservation: Keeps last 100 entries for work patterns
- Located at:
.claude/work-journal.json
- Automatic Tracking: TodoWrite usage tracked automatically
- Project Mapping: Links todos to projects via session IDs
- Persistent Storage: Todos in
~/.claude/todos/
, journal in.claude/
- Smart Filtering: Bash scripts map sessions to projects
- Continuous Journal: Hooks update work history on every response
Work on multiple issues simultaneously without disrupting your current work:
# Work on issue in isolated worktree (doesn't affect current directory)
/work #123 --worktree
# Creates worktree at: worktrees/123-feature-name/
# Branches from origin/main automatically
# Your current work remains untouched
Benefits of --worktree flag:
- No branch switching: Stay on your current branch
- Parallel work: Multiple issues in separate directories
- Clean isolation: Each issue gets its own workspace
- Auto-cleanup: Worktrees removed after PR merge
- Safe experimentation: Test changes without affecting main work
Coming Soon: Direct GitHub issue synchronization
- Two-way sync: TodoWrite
βοΈ GitHub Issues - Auto-linking: Todos automatically tied to issue numbers
- PR tracking: See which todos are in PRs
- Status sync: GitHub issue status updates Todo status
- Milestone mapping: Group todos by GitHub milestones
- Team visibility: Share todo progress via GitHub
This will create a unified development experience where local Claude Code work seamlessly integrates with GitHub's project management.
- β Simple implementations (Complexity β€2, Size XS-S)
- β Unit test writing
- β Documentation updates
- β Simple bug fixes
- β Basic refactoring
- β PR code reviews
- π§ Complex features (Complexity β₯3)
- π§ Architecture decisions
- π§ Multi-file refactoring
- π§ Security implementations
- π§ Integration work
- π§ Large tasks (Size M+)
Note: Auto-routing to Copilot requires GitHub Actions to be fully operational (see issue #120)
your-project/
βββ π .github/
β βββ workflows/ # GitHub Actions CI/CD
β βββ ISSUE_TEMPLATE/ # Smart issue templates
βββ π€ .claude/
β βββ commands/ # Core slash commands
β β βββ create-issue.md
β β βββ work.md
β β βββ project-setup.md
β β βββ add-mcp.md
β β βββ deploy.md
β β βββ copilot-review.md
β βββ agents/ # Specialized sub-agents
β βββ hooks/ # Auto-sync & testing
βββ π docs/ # All documentation
βββ π Core Files
β βββ README.md # This file
β βββ CLAUDE.md # AI instructions
Everything deploys to Vercel automatically:
# Quick deploy
/deploy
# Or through work command
/work --deploy
Vercel handles:
- Frontend (React, Next.js, etc.)
- Backend APIs (serverless functions)
- Webhooks endpoints
- Global CDN
- Automatic HTTPS
- Preview deployments for PRs
Python scripts in this framework are TOOLS, not decision-makers:
scripts/utilities/
βββ analyze-complexity.py # Returns complexity score (data)
βββ check-dependencies.py # Lists dependent issues (data)
βββ format-issue-body.py # Formats markdown (transformation)
βββ validate-pr-readiness.py # Checks PR status (validation)
Key Principle: Python scripts are like MCP servers - they provide data/transformations, but Claude Code makes the decisions.
Pattern:
# β
GOOD: Returns data for Claude to decide
def analyze_complexity(description):
return {"score": 3, "factors": ["multi-file", "security"]}
# β BAD: Makes decisions internally
def should_assign_to_copilot(description):
if complexity > 2:
return False # Don't make decisions!
6 essential hooks that fire at workflow boundaries, not every file change:
- SessionStart (
load-context.sh
) - Loads git state, issues, PRs when you start - UserPromptSubmit (
verify-sync-before-claude.sh
) - Warns about unsynced changes before @claude - Stop (
work-checkpoint.sh
) - Commit reminders (5+/15+ changes, 3+ unpushed) - SessionEnd (
save-work-state.sh
) - Saves session state to work journal - PostToolUse:TodoWrite (
TodoWrite-post.sh
) - Auto-registers todo sessions with project - Helper (
register-session.sh
) - Links todo files to projects for proper tracking
- Minimal: Only 6 hooks, all verified working
- Strategic: Fire at natural pauses, not constantly
- Helpful: Gentle reminders to commit and push
- Invisible: JSON output to Claude, not terminal spam
- Auto-sync: Todo persistence fixed automatically
See .claude/hooks/README.md
for configuration details.
Essential guides (consolidated from 84 to ~50 files):
README.md
- Project overview and quick start (this file)CLAUDE.md
- AI assistant configuration and instructionsdocs/SPEC-KIT-INTEGRATION.md
- Spec-kit integration guidedocs/VSCODE-SETTINGS-INHERITANCE.md
- VSCode settings guide
docs/workflows/MAIN-WORKFLOW.md
- Primary development workflowdocs/workflows/WORKTREE-WORKFLOW.md
- Git worktree management (includes safety rules)docs/workflows/MULTI-INSTANCE-WORKFLOW.md
- Multiple instance handling
docs/development/FIVE-TIER-SYSTEM.md
- Understanding the five tiersdocs/development/DOCUMENT-GENERATION-FLOW.md
- Documentation workflowdocs/architecture/INFRASTRUCTURE_GUIDE.md
- Framework automation guide
docs/testing/TESTING-STRATEGY.md
- Comprehensive testing approachdocs/testing/API-MOCK-TESTING.md
- Newman/Postman API testing
docs/development/FLAGS.md
- All command flags referencedocs/development/CICD.md
- CI/CD pipeline configuration
- Issue-Centric: Everything starts with a GitHub issue
- Two Commands:
/create-issue
and/work
handle everything - Smart Routing: AI automatically picks Copilot vs Claude
- Cost-Free: No paid services required (uses free tiers)
- Unified Deploy: Everything goes to Vercel
/project-setup
- Interactive discovery & create vision document/plan:generate
- Generate detailed technical docs from vision/test:generate
- Create comprehensive test suites
/create-issue
- Create any type of work item/work [#issue]
- Implement issues intelligently/work [#issue] --worktree
- Work in isolated git worktree (NEW!)
/add-mcp
- Add MCP servers (GitHub, Supabase, Postman)/deploy
- Quick Vercel deployment/copilot-review
- Request PR review/discussions
- Manage GitHub Discussions
# 1. Project Discovery (once)
/project-setup
> "Building a team collaboration tool"
> B2B SaaS, subscription model
> Creates: PROJECT_PLAN.md
# 2. Generate Documentation (once)
/plan:generate
> Creates: Technical specs from vision
# 3. Generate Tests (once)
/test:generate --all
> Creates: Complete test coverage
# 4. Build Features (ongoing)
/create-issue "User authentication system"
/create-issue "Team workspace management"
/create-issue "Real-time collaboration"
# Creates 10-20 major feature issues
# 5. Implementation
/work #1
> Copilot or Claude implements based on complexity
# 6. Deploy
/deploy
> Everything to Vercel
Share consistent VSCode settings across all projects with multiple options:
# Apply settings globally to ALL projects
./scripts/utilities/vscode-settings-sync.sh --user
- VSCode Profiles (
--profile
) - Switch between different development contexts - Symlink (
--symlink
) - Projects always use latest template settings - Copy (
--copy
) - Independent copy per project - Git Template (
--git-template
) - Auto-add to new git repos - Settings Sync Extension (
--extension
) - Sync across machines via GitHub Gist
See VSCode Settings Guide for details.
- GitHub Copilot: Free with GitHub Pro
- Claude Code: Uses your local API key
- Vercel: Generous free tier
- Supabase: Free tier for database
- GitHub Actions: 2000 free minutes/month
No @claude GitHub App fees!
- Fork the template
- Create issues with
/create-issue
- Implement with
/work
- Submit PRs
- Get Copilot reviews
Built with β€οΈ by developers, for developers
Report Issues β’ Documentation β’ Discord