Skip to content

Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.

Notifications You must be signed in to change notification settings

qdhenry/Claude-Command-Suite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

58 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Custom Slash Commands

Version Total Commands GitHub Release License

Inspired by Anthropic's Claude Code Best Practices: These custom commands are designed following the principles and recommendations outlined in Anthropic's Claude Code Best Practices to maximize effectiveness and provide structured workflows for software development.

Custom slash commands for Claude Code that provide structured workflows for common software development tasks. Get comprehensive analysis, feature development, and code maintenance with organized namespace commands like /dev:code-review, /test:generate-test-cases, and /deploy:prepare-release.

πŸ“š Table of Contents

πŸš€ Getting Started ⚑ Commands πŸ’‘ Usage πŸ”§ Development πŸ“– Resources
Quick Start Available Commands How It Works Contributing Requirements
Installation Guide Command Namespaces Common Workflows Release Process Need More Details?
Automated Changelog

Quick Start

Option 1: Direct Installation (Recommended)

Simply add command files directly to your project's .claude/commands/ folder:

# Create the commands directory in your project
mkdir -p .claude/commands

# Download specific commands you need
curl -o .claude/commands/dev/code-review.md https://raw.github.com/qdhenry/Claude-Command-Suite/main/.claude/commands/dev/code-review.md

# Or copy your own custom command files
cp my-custom-command.md .claude/commands/

Option 2: Install All Commands

Use our installation script to set up all commands at once:

git clone https://github.com/qdhenry/Claude-Command-Suite.git
cd Claude-Command-Suite
chmod +x install.sh
./install.sh

Start Using Commands

claude code
/dev:code-review           # Review your entire codebase
/project:create-feature    # Build a new feature
/security:security-audit   # Check for security issues

Available Commands

πŸš€ 109+ Commands Organized by Namespace - Discover the right tool for any task with our namespace organization.

🎯 Quick Navigation to Command Namespaces

Core Development Quality & Testing Deployment Collaboration Advanced
πŸš€ Project πŸ§ͺ Test πŸ“¦ Deploy πŸ‘₯ Team 🎯 Simulation
πŸ’» Dev πŸ”’ Security πŸ“š Docs πŸ”„ Sync
πŸ”§ Setup ⚑ Performance

Command Namespaces

πŸš€ /project:* - Project Management

Initialize, configure, and manage projects. Includes commands for creating new projects, adding packages, tracking milestones, and monitoring project health.

πŸ’» /dev:* - Development Tools

Essential development utilities including code review, debugging, refactoring, and specialized AI modes for enhanced assistance.

πŸ§ͺ /test:* - Testing Suite

Comprehensive testing tools covering unit tests, integration tests, E2E tests, coverage analysis, mutation testing, and visual regression testing.

πŸ”’ /security:* - Security & Compliance

Security auditing, dependency scanning, authentication implementation, and security hardening tools to keep your codebase secure.

⚑ /performance:* - Performance Optimization

Tools for optimizing build times, bundle sizes, database queries, caching strategies, and overall application performance.

πŸ”„ /sync:* - Integration & Synchronization

Bidirectional sync between GitHub Issues and Linear, PR tracking, conflict resolution, and cross-platform task management.

πŸ“¦ /deploy:* - Deployment & Release

Release preparation, automated deployments, rollback capabilities, containerization, and Kubernetes deployment management.

πŸ“š /docs:* - Documentation Generation

Automated documentation tools for APIs, architecture diagrams, onboarding guides, and troubleshooting documentation.

πŸ”§ /setup:* - Configuration & Setup

Initial setup commands for development environments, linting, formatting, monitoring, database schemas, and API design.

πŸ‘₯ /team:* - Team Collaboration

Team workflow tools including standup reports, sprint planning, retrospectives, workload balancing, and knowledge capture.

🎯 /simulation:* - AI Reality Simulators

Inspired by "AI agents at their most under-leveraged point" by AI News & Strategy Daily | Nate B. Jones

Advanced simulation and modeling tools for exponential decision value. Transform from linear execution gains to exponential strategic advantage through systematic scenario exploration, digital twins, and timeline compression.

πŸ“– Comprehensive Examples Guide - Real-world usage patterns, argument templates, and command synergy workflows.

Development tools /dev:prime, /dev:all-tools contributed by IndyDevDan (YouTube: https://www.youtube.com/@indydevdan) / DislerH (GitHub: https://github.com/disler)

How It Works

Claude Code automatically recognizes any markdown file in your project's .claude/commands/ directory as a slash command. No installation or setup required - just add the file and start using it!

Command Structure

Each command file needs:

  • Title: # Command Name
  • Description: Brief overview of what the command does
  • Instructions: ## Instructions section with detailed steps

Example minimal command (my-command.md):

# My Custom Command

Performs a specific task in my project.

## Instructions

1. **First Step**
   - Do this thing
   - Check that thing

2. **Second Step**
   - Execute this action
   - Verify the result

Use it immediately with: /namespace:my-command

Using Commands

Commands are available as /namespace:command-name in Claude Code. Each command follows a structured workflow that Claude executes automatically, ensuring consistent and thorough results across different projects.

Example workflows:

  • /dev:code-review analyzes your entire codebase for quality, security, and performance
  • /project:create-feature dashboard plans, implements, and tests a new dashboard feature
  • /dev:fix-issue 123 systematically resolves GitHub issue #123 with testing
  • /simulation:business-scenario-explorer Evaluate market expansion into Europe models multiple business timelines and outcomes

Common Workflows

New Feature Development:

/dev:code-review                    # Assess current state
/project:create-feature user-dashboard  # Implement feature
/security:security-audit                 # Verify security

Bug Fixing:

/dev:fix-issue 456                  # Fix the specific issue
/dev:code-review                    # Verify fix quality

Code Maintenance:

/security:dependency-audit               # Check for outdated dependencies
/performance:performance-audit              # Identify bottlenecks
/dev:refactor-code legacy-module    # Improve problematic areas

Strategic Decision Making:

/simulation:constraint-modeler              # Map decision constraints
/simulation:business-scenario-explorer      # Explore multiple timelines
/simulation:decision-tree-explorer          # Optimize decision choices

Need More Details?

Contributing

This repository exists to collect and share useful slash commands for Claude Code. Contributions are welcome!

Ways to Contribute

  • Share new commands - Create commands for workflows you find useful
  • Improve existing commands - Enhance commands with better practices
  • Add language-specific variants - Adapt commands for specific tech stacks
  • Fix bugs - Resolve issues with existing commands
  • Improve documentation - Make guides clearer and more helpful

Quick Contribution

  1. Fork this repository
  2. Add or modify commands in .claude/commands/
  3. Test your changes thoroughly
  4. Submit a pull request with a clear description

See Development Guide for detailed contribution guidelines, testing practices, and quality standards.

Automated Changelog

This project features automated changelog generation to track command additions and updates:

πŸ€– Automatic Updates

  • GitHub Actions Integration: Automatically detects when new commands are added
  • Smart Detection: Tracks both new command files and modifications to existing ones
  • Formatted Entries: Generates properly formatted changelog entries with command descriptions
  • PR Comments: Provides summary comments on pull requests with changelog updates

πŸ“ Manual Updates

For manual changelog updates, use the provided script:

./scripts/update-changelog.sh

This script will:

  • Scan all command files in .claude/commands/
  • Extract command names and descriptions
  • Update CHANGELOG.md with categorized command listings
  • Create a backup of the existing changelog

πŸ“Š Changelog Features

  • Command Categorization: Automatically groups commands by type (Analysis, Development, Testing, etc.)
  • Total Count Tracking: Maintains accurate count of total available commands
  • Description Extraction: Pulls descriptions directly from command files
  • Backup Safety: Creates backups before making changes

Release Process

This project uses automated releases powered by Conventional Commits. Every merge to the main branch triggers our release workflow which:

  1. Analyzes commits to determine version bump type
  2. Updates version automatically based on commit types
  3. Generates release notes from commit messages
  4. Creates GitHub releases with downloadable bundles
  5. Updates changelog with categorized changes

Version Bumping Rules

  • fix: commits β†’ Patch release (1.0.0 β†’ 1.0.1)
  • feat: commits β†’ Minor release (1.0.0 β†’ 1.1.0)
  • Breaking changes β†’ Major release (1.0.0 β†’ 2.0.0)

Making Releases

Releases happen automatically when you:

  1. Merge PRs with conventional commit titles
  2. Push directly to main with conventional commits

For details on contributing and commit formats, see CONTRIBUTING.md.

Requirements

  • Claude Code version 1.0 or later
  • Commands work with any programming language or framework

Inspired by Anthropic's Claude Code Best Practices

About

Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages