β οΈ DISCLAIMER: This is a proof-of-concept (POC) repository created for learning and experimentation purposes. These commands are not intended for production use. They serve as examples and starting points for understanding how to create custom Claude slash commands with MCP integrations. Use at your own risk and always test thoroughly in development environments.
A comprehensive collection of custom Claude slash commands designed specifically for software engineers. These commands leverage MCP (Model Context Protocol) integrations with popular development tools to streamline common engineering workflows.
π Project Background: This repository emerged from our team's proof-of-concept exploration into custom Claude Code slash commands. The initiative began with a simple need: consistent session documentation for AI-assisted development workflows. What started as a single
/document-session
command evolved into a comprehensive collection of workflow automation tools. Read the complete story and insights in our POC documentation.
Claude slash commands are reusable prompts that can be invoked with a simple /command-name
syntax in Claude Code. They enable you to:
- Automate repetitive tasks - Turn complex multi-step processes into single commands
- Leverage integrations - Use MCP tools like Jira, GitHub, Confluence, Slack, and more
- Maintain consistency - Standardize workflows across your team
- Save time - Execute complex analyses and operations with simple commands
For more information about Claude slash commands, visit the official documentation.
This repository includes 10 production-ready commands covering major software engineering workflows:
/sprint-setup
- Set up sprints with Jira integration, branch creation, and team notifications/pr-ready
- Comprehensive pre-PR checklist and preparation (coming soon)/deploy-check
- Validate deployment readiness (coming soon)
/error-analysis
- Analyze error patterns from Sentry and suggest fixes/debug-session
- Set up debugging environment with context (coming soon)
/epic-breakdown
- Break down large epics into manageable tasks with estimation/ticket-estimate
- AI-powered story point estimation (coming soon)
/knowledge-share
- Extract and share technical knowledge across platforms/code-handoff
- Create comprehensive knowledge transfer documentation (coming soon)
/design-review
- Create implementation plans from Figma designs/api-design
- Design and document APIs comprehensively (coming soon)
/security-audit
- Comprehensive security analysis of codebase and dependencies/refactor-plan
- Analyze code and create refactoring roadmap (coming soon)
/build-optimize
- Analyze and optimize build process performance/env-sync
- Synchronize environment configurations (coming soon)
/velocity-report
- Generate team velocity and productivity metrics/commit-analysis
- Analyze commit patterns and code ownership (coming soon)
/ci-health
- Monitor and optimize CI/CD pipeline health/workspace-setup
- Set up complete development workspace (coming soon)
/document-session
- Generate structured session documentation with TL;DR summaries
For a complete list of all 34 planned commands with detailed descriptions, see Ideas.md.
These commands are designed to work with the following MCP integrations:
- π« Jira - Project management, sprint planning, ticket tracking
- π» GitHub - Code analysis, repository management, pull requests
- π Confluence - Documentation creation and knowledge management
- π¬ Slack - Team communication and notifications
- ποΈ Google Drive - Document storage and sharing
- π¨ Figma - Design analysis and specifications
- π¦ Maven - Dependency management and build optimization
- π Sentry - Error monitoring and debugging
- βοΈ CircleCI - CI/CD pipeline analysis and optimization
-
Clone this repository:
git clone <repository-url> cd claude-commands
-
Run the installation script:
Interactive Mode (choose all or single command):
./scripts/install-commands.sh
Install All Commands:
./scripts/install-commands.sh # Then select option "0" for all commands
Install Single Command:
./scripts/install-commands.sh sprint-setup # Or use interactive mode and select specific command
-
Follow the prompts to complete installation to
~/.claude/commands
The repository also includes a comprehensive uninstall script:
Interactive Mode (choose what to remove):
./scripts/uninstall-commands.sh
Remove Single Command:
./scripts/uninstall-commands.sh sprint-setup
Uninstall Features:
- β Safety-first: Only removes commands from this repository (protects other custom commands)
- β Remove all repository commands or individual selection
- β Automatic backup before removal
- β Clear summary of what was removed
- β Interactive menu with command descriptions
- β Confirmation prompts for all operations
The installer will:
- β
Create the
~/.claude/commands
directory if it doesn't exist - β Show interactive menu with all available commands and descriptions
- β Allow installation of all commands or individual command selection
- β Handle conflicts with existing commands (with options to overwrite, skip, or rename)
- β Create backups of existing commands before installation
- β Provide detailed feedback on what was installed
Command | Description |
---|---|
./scripts/install-commands.sh |
Interactive mode - shows menu to select all commands or individual commands |
./scripts/install-commands.sh [command-name] |
Direct installation of a specific command (e.g., sprint-setup ) |
Command | Description |
---|---|
./scripts/uninstall-commands.sh |
Interactive mode - shows menu of repository commands available for removal |
./scripts/uninstall-commands.sh [command-name] |
Direct removal of a specific repository command (e.g., sprint-setup ) |
Uninstall Safety Features:
- Repository Commands Only: Only removes commands that originated from this claude-commands repository
- Command Protection: Other custom commands you may have installed remain untouched
- Clear Identification: Shows which commands are from this repo with descriptions
- Backup Protection: Automatic backup created before any removal operation
Interactive Menu Example:
Available commands:
0) Install ALL commands (10 total)
1) /sprint-setup - Set up a new sprint with Jira integration, branch creation, and team notifications
2) /error-analysis - Analyze error patterns from Sentry and suggest fixes based on stack traces and trends
3) /epic-breakdown - Break down large Jira epics into manageable tasks with effort estimation and technical specifications
4) /knowledge-share - Extract technical knowledge from code and create shareable documentation for team collaboration
5) /design-review - Create architecture review checklist from Figma designs and generate technical implementation plans
6) /security-audit - Perform comprehensive security analysis of codebase, dependencies, and runtime errors
7) /build-optimize - Analyze and optimize build process performance, identifying bottlenecks and implementing improvements
8) /velocity-report - Generate comprehensive team velocity and productivity metrics from Jira and GitHub data
9) /ci-health - Monitor and optimize CI/CD pipeline health, identifying failures and performance issues
10) /document-session - Generate structured session documentation with TL;DR summaries
Select option (0-10):
Once installed, use the commands in Claude Code with the /
prefix:
# Set up a new sprint
/sprint-setup SPRINT-2024-Q1
# Analyze recent errors
/error-analysis 7d --severity=high
# Break down an epic
/epic-breakdown PROJ-123 --include-designs
# Generate velocity report
/velocity-report backend-team --period=quarterly
# Perform security audit
/security-audit --scope=all --severity=critical
# Share technical knowledge
/knowledge-share jwt-authentication --format=confluence
# Review design implementation
/design-review https://figma.com/file/abc123
# Optimize build performance
/build-optimize --target=maven --implement-fixes
# Check CI/CD health
/ci-health --timeframe=30d --fix-issues
# Document current session
/document-session debugging-session --path=./sessions
Most commands work out of the box, but you can enhance them by:
- Setting up MCP integrations in your Claude configuration
- Configuring tool access tokens (Jira, GitHub, etc.)
- Customizing command parameters in the command files
claude-commands/
βββ README.md # This file
βββ Ideas.md # Complete list of all command ideas
βββ Instructions.md # Original development instructions
βββ scripts/ # Installation and management scripts
β βββ install-commands.sh # Installation script
β βββ uninstall-commands.sh # Uninstallation script
βββ commands/ # Command definitions (10 commands)
β βββ sprint-setup.md # Development workflow
β βββ error-analysis.md # Debugging & monitoring
β βββ epic-breakdown.md # Project management
β βββ knowledge-share.md # Team collaboration
β βββ design-review.md # Architecture & design
β βββ security-audit.md # Code quality
β βββ build-optimize.md # Build & deployment
β βββ velocity-report.md # Analytics & reporting
β βββ ci-health.md # Integration & automation
β βββ document-session.md # Documentation & session management
βββ templates/ # Command and session templates
β βββ command.md # Template for creating new commands
β βββ session.md # Session template
βββ sessions/ # Session examples
- Create a new
.md
file in thecommands/
directory - Use the template structure from
templates/command.md
- Test the command locally
- Run
./scripts/install-commands.sh
to deploy
- Edit the command file in the
commands/
directory - Re-run the installation script to update your local commands
- The installer will detect changes and offer to update existing commands
We welcome contributions! Here's how you can help:
- Add new commands - See Ideas.md for inspiration
- Improve existing commands - Enhance prompts, add features, fix issues
- Add MCP integrations - Extend commands to use additional tools
- Documentation - Improve README, add examples, create tutorials
- Testing - Try commands with different scenarios and report issues
- Fork the repository
- Create a feature branch:
git checkout -b feature/new-command
- Add or modify commands
- Test your changes locally
- Update documentation if needed
- Submit a pull request
Installing Commands:
# Install everything interactively
./scripts/install-commands.sh
# Install just the sprint-setup command
./scripts/install-commands.sh sprint-setup
# Install multiple specific commands (interactive selection)
./scripts/install-commands.sh # Then choose individual selection
Removing Commands:
# Interactive uninstall menu
./scripts/uninstall-commands.sh
# Remove specific command
./scripts/uninstall-commands.sh error-analysis
# Remove all repository commands (other commands remain safe)
./scripts/uninstall-commands.sh # Then select "Remove ALL repository commands"
/sprint-setup PROJ-SPRINT-15
Output:
- Fetches all assigned Jira tickets
- Creates feature branches for each ticket
- Generates sprint documentation
- Provides next steps and priorities
/error-analysis 7d --severity=high
Output:
- Analysis of error patterns from the last 7 days
- Root cause identification for high-severity issues
- Specific fix recommendations with code examples
- Prioritized action plan
/security-audit --scope=dependencies --severity=critical
Output:
- Comprehensive dependency vulnerability scan
- Critical security issues with CVSS scores
- Specific remediation steps
- Compliance assessment
Q: Do I need special permissions to use these commands? A: You'll need appropriate MCP tool access (Jira, GitHub, etc.) configured in Claude Code.
Q: Can I use these commands without MCP integrations? A: Yes! Commands gracefully fallback to working with local files and user-provided data.
Q: How do I update commands when new versions are released?
A: Simply run ./scripts/install-commands.sh
again. It will detect updates and offer to replace existing commands.
Q: How do I remove commands I no longer need?
A: Use the uninstall script: ./scripts/uninstall-commands.sh
. It safely removes only commands from this repository, protecting any other custom commands you have.
Q: Can I modify commands for my team's specific needs? A: Absolutely! Edit the command files and re-run the installer.
Q: What happens if I accidentally remove commands? A: The uninstall script automatically creates backups before removal. You can restore from the backup location shown in the output.
Q: Are there any security considerations? A: Commands are designed with security in mind and will ask for confirmation before making changes.
- Commands never expose sensitive information in outputs
- Confirmation required for destructive operations
- MCP tool access respects your existing permissions
- Local backups created before any changes
This project is open source and available under the MIT License.
- Issues: Report bugs and request features via GitHub Issues
- Discussions: Ask questions and share ideas in GitHub Discussions
- Documentation: Check the Claude Code documentation
Built with β€οΈ for the software engineering community
Streamline your development workflow with the power of Claude and MCP integrations.