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 simple /project:command-name commands.
-
Install the commands:
git clone https://github.com/qdhenry/Claude-Command-Suite.git cd claude-rules chmod +x install.sh ./install.sh -
Start using commands:
claude code /project:code-review # Review your entire codebase /project:create-feature login # Build a new feature /project:security-audit # Check for security issues
/project:architecture-review- Analyze system architecture and design patterns/project:code-review- Complete code quality and security review/project:security-audit- Security vulnerability assessment/project:performance-audit- Find performance bottlenecks/project:dependency-audit- Check dependency security and updates
/project:create-feature- Complete feature development workflow/project:fix-issue- Structured GitHub issue resolution/project:refactor-code- Safe refactoring with testing/project:debug-error- Systematic debugging approach/project:optimize-build- Build system improvements
/project:init-project [type] [framework]- Initialize new project with industry best practices/project:setup-monorepo [tool]- Configure monorepo structure with workspace management/project:add-package [name] [type]- Add new package/module with proper structure/project:setup-development-environment- Configure development environment and tools/project:migrate-to-typescript- Convert JavaScript project to TypeScript
/project:setup-comprehensive-testing- Set up complete testing stack (unit, integration, e2e, visual)/project:generate-test-cases [file/function]- Auto-generate test cases for existing code
/project:security-hardening- Apply comprehensive security best practices
/project:containerize-application- Create optimal Docker configuration
Commands are available as /project:command-name in Claude Code. Each command follows a structured workflow that Claude executes automatically, ensuring consistent and thorough results across different projects.
Example workflow:
/project:code-reviewanalyzes your entire codebase for quality, security, and performance/project:create-feature dashboardplans, implements, and tests a new dashboard feature/project:fix-issue 123systematically resolves GitHub issue #123 with testing
New Feature Development:
/project:code-review # Assess current state
/project:create-feature user-dashboard # Implement feature
/project:security-audit # Verify securityBug Fixing:
/project:fix-issue 456 # Fix the specific issue
/project:code-review # Verify fix qualityCode Maintenance:
/project:dependency-audit # Check for outdated dependencies
/project:performance-audit # Identify bottlenecks
/project:refactor-code legacy-module # Improve problematic areas- Installation Guide - Detailed installation methods, troubleshooting, and configuration
- Customization Guide - How to modify commands and create new ones
- Development Guide - Contributing, testing, and best practices
This repository exists to collect and share useful slash commands for Claude Code. Contributions are welcome!
- 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
- Fork this repository
- Add or modify commands in
.claude/commands/ - Test your changes thoroughly
- Submit a pull request with a clear description
See Development Guide for detailed contribution guidelines, testing practices, and quality standards.
- Claude Code version 1.0 or later
- Commands work with any programming language or framework
Inspired by Anthropic's Claude Code Best Practices