This project is organized as a Claude AI development template with documentation, configuration, and resources:
claude-template/
├── .claude/ # Claude Code configuration
│ ├── commands/ # Custom Claude commands
│ │ ├── claude_template_setup.md # Template setup guide
│ │ ├── infinite.md # Infinite mode command
│ │ ├── merge_all_approved_pull_requests.md # Auto-merge approved PRs
│ │ ├── prime.md # Prime context command
│ │ ├── prompt_writer.md # Prompt writing assistant
│ │ ├── reflection.md # Project instruction analysis
│ │ ├── respond_to_all_code_reviews.md # Batch PR review responses
│ │ ├── technicalManager.md # Technical manager workflow
│ │ ├── technicalManagerReorganization.md # Tech manager reorganization
│ │ ├── work_on_ticket_engineer.md # Engineer role workflow
│ │ ├── work_on_ticket_parallel.md # Parallel execution workflow
│ │ ├── work_on_ticket_respond_to_pr_comments.md # PR comment workflow
│ │ └── work_on_ticket_support_engineer.md # Support role workflow
│ ├── settings.json # Global Claude settings
│ └── settings.local.json # Local Claude settings override
├── ai_docs/ # AI-related documentation
│ ├── anthropic-tool-use.md # Anthropic tool usage guide
│ ├── jira-and-confluence-tool-use.md # JIRA and Confluence MCP integration
│ ├── react-native.md # React Native development docs
│ └── supabase.md # Supabase integration docs
├── scripts/ # Utility scripts
│ ├── cleanup-worktrees.sh # Clean up git worktrees
│ ├── setup-worktree.sh # Create individual worktree
│ └── setup-worktree-batch.sh # Batch worktree creation
├── specs/ # Project specifications and JIRA MCP integration
│ ├── code-standards.md # Universal code standards and best practices
│ ├── project-management.md # AI-assisted project management system
│ └── project_plan.md # Master project overview with JIRA references
├── .gitignore # Git ignore rules
├── .mcp.json # MCP server configuration (local only)
├── CLAUDE.md # Claude-specific documentation
└── README.md # This file
# Clone the template
git clone git@github.com:alvinycheung/claude-code-template.git
cd claude-code-template
# Open in Cursor
cursor .
# Open in Claude Code in your Cursor Environment Terminal
claude
# Load project context with Claude
# Type: /primeThis will give you:
- A ready-to-use Claude development template
- Pre-configured Claude Code settings
- AI documentation and resources
.claude/settings.json- Global Claude Code settings and permissions.claude/commands/- Custom Claude commands directory:prime.md- Load project context with key files and specsinfinite.md- Infinite mode for continuous task executionclaude_template_setup.md- Template setup and customization guidework_on_ticket_engineer.md- Engineer-focused ticket workflowwork_on_ticket_parallel.md- Parallel execution for complex taskswork_on_ticket_support_engineer.md- Support-focused ticket workflowwork_on_ticket_respond_to_pr_comments.md- Dedicated PR comment response workflowrespond_to_all_code_reviews.md- Batch processing for multiple PR reviewsmerge_all_approved_pull_requests.md- Automatically merge approved PRstechnicalManager.md- Technical manager workflow for strategic decisionstechnicalManagerReorganization.md- Tech manager reorganization workflowprompt_writer.md- Prompt writing assistantreflection.md- Analyze and improve CLAUDE.md instructions
ai_docs/anthropic-tool-use.md- Guide for using Anthropic's tool-calling featuresai_docs/jira-and-confluence-tool-use.md- JIRA and Confluence MCP integration guideai_docs/react-native.md- React Native development documentationai_docs/supabase.md- Supabase integration and usage guide
specs/project_plan.md- Master project overview with JIRA project referencesspecs/code-standards.md- Universal code standards and best practicesspecs/project-management.md- AI-assisted project management system with hierarchical specs- JIRA Issues (via MCP) - Epics, Stories, Tasks, and Sub-tasks managed in JIRA
CLAUDE.md- Main Claude-specific project documentation.mcp.json- MCP (Model Context Protocol) server configuration (local only).gitignore- Comprehensive ignore rules to protect sensitive configs.claude/commands/settings.local.json- Local Claude settings overrides
-
Clone this template:
git clone git@github.com:alvinycheung/claude-code-template.git cd claude-code-template -
Configure MCP servers (optional):
# Copy and customize your MCP configuration # Edit .mcp.json for your specific server setups # This file is ignored by git for security
-
Customize Claude settings:
# Edit .claude/settings.local.json for your preferences # This file contains your personal Claude Code settings
- Use with Claude Code: Open this project in Claude Code to get enhanced AI assistance
- Load project context: Use
/primecommand to quickly load project understanding - Follow project management system: Use hierarchical specs (project → features → tasks)
- Maintain documentation: Keep README.md and specs current during development
- Use proper commit conventions: Follow JIRA-based commit message patterns
This template includes a comprehensive AI-assisted project management system integrated with JIRA:
- JIRA MCP Integration: Direct connection between Claude and JIRA for seamless project management
- Hierarchical Issue Management: Epics → Stories → Tasks/Sub-tasks in JIRA
- Status Tracking: Leverage JIRA's native workflows and status management
- Documentation Maintenance: Built-in workflows for keeping docs and JIRA current
- Query Optimization: Smart loading of JIRA data only when needed
Key Files:
specs/project-management.md- Complete JIRA MCP system documentationai_docs/jira-and-confluence-tool-use.md- JIRA MCP setup and conventionsspecs/project_plan.md- Always loaded by/primecommand with JIRA referencesspecs/code-standards.md- Universal code standards and best practices
This project includes Claude Code configuration for enhanced development experience:
- Custom Commands: Multiple specialized commands for different workflows
- Permissions: Pre-configured permissions for common development tasks (mkdir, mv, ls)
- Project Context: Commands automatically load relevant project files and specs
-
/prime- Load project context- Loads master project plan, project management guidelines, and code standards
- Analyzes git status, recent commits, and available MCP tools
- Essential for starting any development session
-
Work-on-Ticket Commands:
/work_on_ticket_engineer [JIRA-ID]- Engineering-focused approach with deep technical analysis/work_on_ticket_support_engineer [JIRA-ID]- Support-focused with customer impact analysis/work_on_ticket_parallel [JIRA-ID]- Parallel execution for complex multi-step tasks/work_on_ticket_respond_to_pr_comments [PR_URL]- Dedicated PR comment response workflow
-
Management Commands:
/technicalManager- Technical manager workflow for strategic decisions/technicalManagerReorganization- Tech manager reorganization workflow
-
Code Review Commands:
/respond_to_all_code_reviews- Batch process multiple PR reviews/merge_all_approved_pull_requests- Automatically merge approved PRs
-
Utility Commands:
/infinite- Continuous task execution mode for complex implementations/reflection- Analyze and improve CLAUDE.md instructions/prompt_writer- Assistant for writing and refining prompts/claude_template_setup- Guide for setting up and customizing the template
To use with Claude Code:
- Open the project in Claude Code
- Start with
/primeto load project context - Use appropriate command for your task (e.g.,
/work_on_ticket PROJ-123) - Claude will handle the complete workflow including:
- Branch creation and management
- Implementation with proper testing
- Commit with JIRA references
- PR creation when ready
The commands automatically maintain:
- Proper JIRA integration and status updates
- Consistent commit message formatting
- Documentation updates as needed
- Test coverage for new features