Production-ready GitHub template for AI-assisted development with Claude Code
This template provides a complete AI-assisted development workflow system featuring:
- 10 specialized MCP-enhanced agents with graceful degradation
- 20+ workflow automation commands for common development tasks
- Git submodule knowledge management for systematic documentation
- Self-reporting error visibility in all agents
Originally adapted from HumanLayer workflow patterns. See ACKNOWLEDGMENTS.md for full attribution.
-
Create repository from template:
# On GitHub: Click "Use this template" button # Or via CLI: gh repo create my-project --template Ferymad/claude-code-boilerplate
-
Initialize the template:
cd my-project ./scripts/init-template.sh -
Complete setup:
./scripts/setup.sh
-
Start Claude Code:
claude
The initialization script replaces these placeholders:
{{REPO_NAME}}→ Your repository name{{GITHUB_USER}}→ Your GitHub username{{REPO_PATH}}→ Your local repository path
These are automatically configured in:
- All agent prompts (
.claude/agents/) - All command prompts (
.claude/commands/) - Documentation (README.md, CLAUDE.md)
- Helper scripts (
hack/)
After initialization, you should customize:
-
MCP Server Configuration (
claude.json):- Add API keys for Linear, if using
- Configure kit-dev paths
- Add any additional MCP servers
-
Team Settings (
.claude/settings.json):- Update team name
- Adjust budget controls
- Configure auto-approved tools
-
Thoughts Submodule:
- Create a separate GitHub repository:
{your-repo}-thoughts - Add as submodule:
git submodule add <url> thoughts - Or use template without thoughts (remove references)
- Create a separate GitHub repository:
-
Project-Specific Agents/Commands:
- Review
.claude/agents/- remove unused agents - Review
.claude/commands/- customize for your workflow - Add project-specific automation
- Review
claude-code-boilerplate/
├── .claude/
│ ├── agents/ # 10 specialized MCP-enhanced agents
│ ├── commands/ # 20+ workflow automation commands
│ └── settings.json # Team configuration
├── .github/
│ ├── workflows/ # Template init & validation
│ └── ISSUE_TEMPLATE/ # Bug reports & feature requests
├── hack/
│ └── spec_metadata.sh # Documentation generation
├── scripts/
│ ├── init-template.sh # Template initialization
│ └── setup.sh # Post-init setup
├── CLAUDE.md # MCP integration guidelines
├── LICENSE # Apache 2.0 with attribution
├── CONTRIBUTING.md # Contribution guidelines
└── README.md # This file
| Agent | Purpose | MCP Tools |
|---|---|---|
| codebase-locator | Find files and components | Kit MCP AST tools |
| codebase-analyzer | Analyze code structure | Kit MCP symbols/deps |
| codebase-pattern-finder | Find code patterns | Kit MCP pattern tools |
| external-doc-researcher | Research documentation | Ref MCP |
| mcp-package-researcher | Deep package research | Kit + Ref MCP |
| codebase-dependency-tracer | Trace dependencies | Kit MCP |
| linear-ticket-reader | Read Linear tickets | Linear MCP |
| linear-searcher | Search Linear tickets | Linear MCP |
| thoughts-locator | Find thoughts documents | Grep/Glob |
| thoughts-analyzer | Analyze thoughts content | Read |
Agents automatically use MCP tools when available, or gracefully degrade to basic tools if not configured.
This template is designed to work seamlessly with:
- Kit MCP - Codebase intelligence and AST analysis
- Ref MCP - External documentation research
- Linear MCP - Ticket management (optional)
See CLAUDE.md for detailed MCP integration guidelines.
See CONTRIBUTING.md for guidelines on improving this template.
See LICENSE for licensing information and attributions.
See ACKNOWLEDGMENTS.md for full attribution of patterns adapted from HumanLayer.