Minimal starter template integrating Coder (self-hosted cloud development) with two AI tools:
- claude - Anthropic's official Claude CLI for direct AI assistance
- claude-flow - Open-source multi-agent AI orchestration framework
- Consistent Environments: Reproducible workspaces with AI assistance
- Multi-Agent AI: Coordinate up to 5 AI agents for complex tasks
- Complete Dev Stack: 30+ pre-installed TypeScript/JavaScript tools
- Quick Setup: One-command deployment with Docker Compose
π‘ Note: Claude Code CLI requires Claude Max subscription ($20/month)
Always run ./scripts/init-project.sh
after cloning! This script:
- β Customizes the template with your project details
- β
Runs
claude-flow init --sparc
to set up AI multi-agent framework - β Configures Git with your information
- β Creates initial commit
- β Prepares your development environment
# GitHub UI: Click "Use this template" β "Create new repository"
# Or via CLI:
gh repo create my-project --template iaminawe/claudeflow-coder-starter
# Clone and initialize (REQUIRED!)
git clone https://github.com/your-username/my-project
cd my-project
./scripts/init-project.sh # β Don't skip this step!
# Clone and deploy
git clone https://github.com/iaminawe/claudeflow-coder-starter
cd claudeflow-coder-starter
# Run initialization (customizes project and sets up SPARC)
./scripts/init-project.sh # β Essential for claude-flow setup!
# Start Coder server
docker compose up -d
# Access Coder UI at http://localhost:7080
- claude (Claude Code CLI): Direct Claude AI assistance from Anthropic (requires subscription)
- Use:
claude "your prompt"
orc "your prompt"
- Special modes:
claude go
andclaude continue
for permission bypass
- Use:
- claude-flow: Open-source multi-agent orchestration with SPARC framework
- Use:
claude-flow <mode> "prompt"
orcf <mode> "prompt"
- Multi-agent:
cf-swarm "complex task"
- Use:
- Languages: TypeScript, Node.js 20, Python 3
- Build Tools: Vite, Webpack, ESBuild, Rollup, Parcel
- Testing: Jest, Vitest, Playwright, Cypress
- Frameworks: React, Next.js, Vue, Angular, Svelte CLIs
- Code Quality: ESLint, Prettier, TypeScript ESLint
- VS Code: 15+ extensions pre-configured
- Coder Workspaces: Browser-based VS Code environments
- DevContainers: VS Code DevContainer support
- Docker Compose: Local Coder server deployment
- Terraform Templates: Customizable workspace configurations
# Install Docker
curl -fsSL https://get.docker.com | sh
# Install Claude Code CLI (requires Claude Max subscription)
npm install -g @anthropic-ai/claude-code
claude auth login # Browser authentication required
# Install Coder CLI
curl -fsSL https://coder.com/install.sh | sh
The template includes .env.example
with all available configuration options:
- Coder Settings: Server URL, ports, database connection
- API Keys: Claude, OpenAI, GitHub tokens (optional)
- Workspace Resources: CPU, memory, disk allocations
- Development Ports: Vite, Next.js, API server ports
The init script automatically creates .env
from .env.example
.
# IMPORTANT: If you haven't run init-project.sh yet, run it first!
# ./scripts/init-project.sh
# Create workspace from template
coder templates create claude-flow template/
coder create my-workspace --template=claude-flow
# Access workspace
coder ssh my-workspace
coder port-forward my-workspace --tcp 3000:3000
# Claude Code (Anthropic's CLI) - Direct AI assistance
claude "analyze my codebase" # Direct Claude interaction
c "debug this function" # Short alias for 'claude'
claude go "review files" # Same as: claude --dangerously-skip-permissions
claude continue "implement the fix" # Same as: claude --continue --dangerously-skip-permissions
# claude-flow (separate tool) - Multi-agent orchestration
claude-flow architect "design microservice" # Single agent mode
cf architect "design microservice" # Short alias
cf-swarm "build REST API with tests" # Multi-agent parallel execution
# Direct Claude assistance (single AI)
claude "explain this complex algorithm"
claude "write unit tests for my UserService class"
c "review this React component for best practices"
# Multi-agent orchestration (claude-flow)
cf-swarm "Create e-commerce cart with:
- React components
- API endpoints
- Database schema
- Unit tests
- Documentation"
# Combining both tools
claude "find bugs in my code" && claude-flow security "implement security fixes"
- Getting Started - Detailed setup guide
- Templates - Customize Coder workspaces
- Pre-installed Packages - Complete tool list
- Troubleshooting - Common issues
.coder/
- Advanced Coder configuration and deployment guides.devcontainer/
- VS Code DevContainer configurationtemplate/
- Coder workspace Terraform templatescripts/
- Setup and initialization scripts
Issues and PRs welcome! Please star β if you find this useful.
MIT License - see LICENSE file.