Via GitHub UI:
- Navigate to https://github.com/Ferymad/claude-code-boilerplate
- Click "Use this template" → "Create a new repository"
- Choose name, visibility, and description
- Click "Create repository"
Via GitHub CLI:
gh repo create my-awesome-project --template Ferymad/claude-code-boilerplate# Clone your new repository
git clone https://github.com/your-username/my-awesome-project
cd my-awesome-project
# Run initialization script
./scripts/init-template.sh
# Follow prompts to configure:
# - Repository name
# - GitHub username
# - Repository path# Run setup script
./scripts/setup.sh
# Edit claude.json to add:
# - MCP server configurations
# - API keys (Linear, etc.)
# - Custom server paths# Create empty repository on GitHub: my-awesome-project-thoughts
# Add as submodule
git submodule add https://github.com/your-username/my-awesome-project-thoughts thoughts
# Initialize structure
cd thoughts
mkdir -p shared/{research,plans,tickets}
git add .
git commit -m "Initialize thoughts structure"
git push
cd ..Review and customize:
.claude/agents/- Keep relevant agents, remove others.claude/commands/- Adapt commands to your workflow.claude/settings.json- Configure team settingsREADME.md- Update with project-specific informationCLAUDE.md- Add project-specific MCP guidelines
claudeIf not using Linear:
# Remove Linear MCP from claude.json
# Remove Linear agents
rm .claude/agents/linear-ticket-reader.md
rm .claude/agents/linear-searcher.md
# Remove Linear commands
rm .claude/commands/linear.md
rm .claude/commands/ralph_plan.md// In claude.json
{
"mcpServers": {
"custom-server": {
"command": "node",
"args": ["/path/to/custom-mcp-server/index.js"]
}
}
}Edit .claude/agents/codebase-analyzer.md:
# Add project-specific instructions
When analyzing {{REPO_NAME}} codebase:
- Follow our team's coding standards in docs/STANDARDS.md
- Pay special attention to {domain-specific patterns}
- Reference our architecture docs in docs/architecture/
[... rest of agent prompt ...]When the template receives updates:
# Add template as remote
git remote add template https://github.com/Ferymad/claude-code-boilerplate
# Fetch template changes
git fetch template
# Review changes
git diff template/main
# Merge selectively (review conflicts carefully)
git merge template/main --no-commit
# Resolve conflicts, keeping your customizations
# Commit the merge
git commit -m "Merge template updates"If you discover improvements that benefit all users:
- Test the change in your project
- Genericize the change (replace specific values with placeholders)
- Submit PR to claude-code-boilerplate
- See CONTRIBUTING.md
Issue: Placeholders not replaced
Solution: Run ./scripts/init-template.sh manually
Issue: MCP servers not connecting Solution:
- Check
claude.jsonconfiguration - Verify MCP server installations
- Check server logs in ~/.claude/logs/
Issue: Thoughts submodule not initialized Solution:
git submodule update --init --recursiveQ: Can I use this template for private repositories? A: Yes, create as private repository when using template.
Q: Do I need all MCP servers? A: No, kit-dev and Ref are recommended. Linear is optional.
Q: Can I use without thoughts system? A: Yes, remove thoughts/ directory and related command references.
Q: How do I update my project when template improves? A: See "Syncing Updates from Template" section above.