Skip to content

Jorgeural/claude-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Commands for Software Engineers

⚠️ 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.

πŸš€ What are Claude Slash Commands?

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.

πŸ“¦ Available Commands

This repository includes 10 production-ready commands covering major software engineering workflows:

πŸ”§ Development Workflow

  • /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)

πŸ› Debugging & Monitoring

  • /error-analysis - Analyze error patterns from Sentry and suggest fixes
  • /debug-session - Set up debugging environment with context (coming soon)

πŸ“‹ Project Management

  • /epic-breakdown - Break down large epics into manageable tasks with estimation
  • /ticket-estimate - AI-powered story point estimation (coming soon)

🀝 Team Collaboration

  • /knowledge-share - Extract and share technical knowledge across platforms
  • /code-handoff - Create comprehensive knowledge transfer documentation (coming soon)

πŸ—οΈ Architecture & Design

  • /design-review - Create implementation plans from Figma designs
  • /api-design - Design and document APIs comprehensively (coming soon)

πŸ” Code Quality

  • /security-audit - Comprehensive security analysis of codebase and dependencies
  • /refactor-plan - Analyze code and create refactoring roadmap (coming soon)

πŸ“¦ Build & Deployment

  • /build-optimize - Analyze and optimize build process performance
  • /env-sync - Synchronize environment configurations (coming soon)

πŸ“Š Analytics & Reporting

  • /velocity-report - Generate team velocity and productivity metrics
  • /commit-analysis - Analyze commit patterns and code ownership (coming soon)

πŸ”„ Integration & Automation

  • /ci-health - Monitor and optimize CI/CD pipeline health
  • /workspace-setup - Set up complete development workspace (coming soon)

πŸ“ Documentation & Session Management

  • /document-session - Generate structured session documentation with TL;DR summaries

πŸ’‘ All Command Ideas

For a complete list of all 34 planned commands with detailed descriptions, see Ideas.md.

πŸ› οΈ MCP Tool Integrations

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

⚑ Quick Start

Installation

  1. Clone this repository:

    git clone <repository-url>
    cd claude-commands
  2. 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
  3. Follow the prompts to complete installation to ~/.claude/commands

Uninstallation

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

Installation Options

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)

Uninstallation Options

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):

Usage

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

Configuration

Most commands work out of the box, but you can enhance them by:

  1. Setting up MCP integrations in your Claude configuration
  2. Configuring tool access tokens (Jira, GitHub, etc.)
  3. Customizing command parameters in the command files

πŸ“ Repository Structure

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

πŸ”§ Customization

Creating New Commands

  1. Create a new .md file in the commands/ directory
  2. Use the template structure from templates/command.md
  3. Test the command locally
  4. Run ./scripts/install-commands.sh to deploy

Modifying Existing Commands

  1. Edit the command file in the commands/ directory
  2. Re-run the installation script to update your local commands
  3. The installer will detect changes and offer to update existing commands

🀝 Contributing

We welcome contributions! Here's how you can help:

  1. Add new commands - See Ideas.md for inspiration
  2. Improve existing commands - Enhance prompts, add features, fix issues
  3. Add MCP integrations - Extend commands to use additional tools
  4. Documentation - Improve README, add examples, create tutorials
  5. Testing - Try commands with different scenarios and report issues

Development Workflow

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/new-command
  3. Add or modify commands
  4. Test your changes locally
  5. Update documentation if needed
  6. Submit a pull request

πŸ“– Examples

Command Management Examples

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"

Command Usage Examples

Sprint Setup Example

/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 Example

/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 Example

/security-audit --scope=dependencies --severity=critical

Output:

  • Comprehensive dependency vulnerability scan
  • Critical security issues with CVSS scores
  • Specific remediation steps
  • Compliance assessment

❓ FAQ

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.

πŸ›‘οΈ Security

  • 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

πŸ“„ License

This project is open source and available under the MIT License.

πŸ™‹β€β™‚οΈ Support

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages