A curated collection of custom slash commands for Claude Code CLI, designed to streamline common development workflows and enforce consistent patterns across projects.
Visual representation of slash command organization across categories and subcategories.
This repository provides reusable slash commands that can be invoked within Claude Code sessions to automate repetitive tasks, enforce coding standards, and improve productivity. Commands are organized by category and can be easily integrated into any Claude Code workflow.
| Directory | Purpose |
|---|---|
commands |
350+ slash commands organized by category |
scripts |
Python automation scripts |
ref |
Reference documentation |
hooks |
Git hooks for repository automation |
inspiration |
Ideas and inspiration for new commands |
| Category | Description | Example Commands |
|---|---|---|
| Code Editing | Format and modify code | format-code, remove-comments |
| Deployment | Deploy to GitHub and Hugging Face | make-private-gh-repo, make-public-gh-repo, hf-dataset, hf-space |
| Development | Development workflow tools | containerize, decontainerize, setup-ci-cd, setup-hot-reload, inspect-deployment |
| Documentation | Generate and format documentation | create-readme, update-readme, create-hf-readme, create-changelog, create-reference, document-stack, format-links |
| Educational | Learning and code analysis | analyze-commits, create-briefing, explain-code, find-learning |
| Filesystem Management | Organize files and directories | flatten, organise |
| GitHub Workflow | GitHub repository management | backup-repo, choose-license, contributor-guide, create-branch, fork-setup |
| Ideation | Generate ideas and suggestions | design-ideas, fresh-perspective, innovative-features, suggest-ideas |
| Media Management | Process and organize media files | process-stock, sort-media |
| Operations | Project management and debugging | collect-feedback, create-scope, debug-fix, document-blocker, manage-project, refactor-plan, session-summary |
| Recurrent Tasks | Automated recurring tasks | index-repo |
| Repository Organization | Clean and organize repositories | clean-repo, set-up-task-mgmt |
| Security | Security scanning and configuration | allow-env, scan-pii |
| SEO & Web | SEO optimization and auditing | ai-friendly-seo, seo-audit |
| Development Steers | Guide development patterns | use-uv |
| System Administration | System configuration and management | docker-help, organize-files, python-env-setup, review-boot, setup-conda |
| UX Design | UI/UX improvements | improve-css, optimize-dashboard, optimize-fonts, responsive-audit, standardize-icons, suggest-frameworks |
| Writing | Content writing and editing | add-headings, add-sources, fix-typos, improve-flow, proofread, seo-optimize, uk-english |
| Miscellaneous | Utility commands | wrong-number |
Slash commands are invoked within Claude Code sessions using the / prefix followed by the command name. Commands are stored as markdown files containing prompts that Claude Code executes.
The repository includes a bash wrapper script for managing Python dependencies:
# Setup virtual environment
./run.sh setup
# Run repository info fetcher
./run.sh fetchEach command is a markdown file containing instructions for Claude Code to execute. Commands can:
- Automate documentation generation
- Enforce coding standards
- Perform repository maintenance
- Guide development patterns
| Package | Version | Purpose |
|---|---|---|
requests |
>=2.31.0 | HTTP requests for API interactions |
python-dotenv |
>=1.0.0 | Environment variable management |
Dependencies are managed using uv for fast, reliable Python package installation.
To use these commands in your Claude Code workflow:
- Clone this repository
- Copy desired command files to your project's
.claude/commandsdirectory - Invoke commands using
/command-namewithin Claude Code sessions
The repository includes a pre-push hook that automatically syncs slash commands and regenerates the command index before pushing changes. This ensures the repository stays consistent and the index is always up to date.
To install the pre-push hook in your local repository:
# Copy the hook from the hooks directory
cp hooks/pre-push .git/hooks/pre-push
# Make it executable (if not already)
chmod +x .git/hooks/pre-pushThe pre-push hook:
- Runs
sync-commands.shto sync all slash commands - Runs
scripts/generate_index.pyto regenerate the command index - Checks if INDEX.md or README.md were updated
- If files were updated, stages them and prompts you to commit
- Aborts the push if sync or index generation fails
- Proceeds with push if everything is up to date
This helps maintain consistency by preventing pushes when command synchronization issues exist or when the index is outdated.
Commands follow a consistent structure:
- Clear, actionable instructions
- Specific do/don't guidelines
- Context-aware behavior
- Minimal user intervention required
For a complete, searchable index of all 357 slash commands organized by category, see INDEX.md.
The index provides:
- Commands grouped by category and subcategory
- Descriptions and usage examples
- File paths for easy navigation
- Auto-generated from the repository structure
This index is automatically generated. Do not edit manually.
Total Commands: 87
Path: commands/public/ai-engineering
Commands in this category: 1
| Command | Description |
|---|---|
multiagent |
No description available |
Path: commands/public/conv-mgmt
Commands in this category: 1
| Command | Description |
|---|---|
give-me-number-options |
No description available |
Path: commands/public/development
Commands in this category: 6
| Command | Description |
|---|---|
containerize |
docker build -t project-name . |
decontainerize |
No description available |
dont-reinvent-the-wheel |
No description available |
inspect-deployment |
No description available |
setup-ci-cd |
No description available |
setup-hot-reload |
No description available |
Path: commands/public/development/code-editing
Commands in this category: 2
| Command | Description |
|---|---|
format-code |
No description available |
remove-comments |
No description available |
Path: commands/public/development/deployment/github
Commands in this category: 2
| Command | Description |
|---|---|
make-private-gh-repo |
No description available |
make-public-gh-repo |
No description available |
Path: commands/public/development/deployment/hf
Commands in this category: 2
| Command | Description |
|---|---|
hf-dataset |
No description available |
hf-space |
No description available |
Path: commands/public/development/github-workflow
Commands in this category: 5
| Command | Description |
|---|---|
backup-repo |
No description available |
choose-license |
No description available |
contributor-guide |
No description available |
create-branch |
No description available |
fork-setup |
git clone [your-fork-url] git remote add upstream [original-repo-url] git remote -v git fetch upstream |
Path: commands/public/development/language-refactor
Commands in this category: 2
| Command | Description |
|---|---|
js-to-python |
No description available |
python-to-js |
No description available |
Path: commands/public/development/python
Commands in this category: 4
| Command | Description |
|---|---|
add-repo-index |
No description available |
add-uv-venv |
No description available |
migrate-to-uv |
No description available |
use-conda |
No description available |
Path: commands/public/development/repo-org
Commands in this category: 2
| Command | Description |
|---|---|
clean-repo |
No description available |
set-up-task-mgmt |
No description available |
Path: commands/public/development/security
Commands in this category: 2
| Command | Description |
|---|---|
allow-env |
No description available |
scan-pii |
- File: src/config.js:45 Type: Email address Content: [REDACTED]@company.com Context: Developer email in comment |
Path: commands/public/development/ux-design
Commands in this category: 7
| Command | Description |
|---|---|
improve-css |
No description available |
make-it-pretty |
No description available |
optimize-dashboard |
No description available |
optimize-fonts |
No description available |
responsive-audit |
No description available |
standardize-icons |
No description available |
suggest-frameworks |
No description available |
Path: commands/public/docs
Commands in this category: 4
| Command | Description |
|---|---|
create-changelog |
All notable changes to this project will be documented in this file. |
create-reference |
No description available |
format-links |
No description available |
document-stack |
- Framework: [Name] (version) - UI Library: [Name] (version) - State Management: [Name] (version) - Runtime: [Name] (version) |
Path: commands/public/docs/readme
Commands in this category: 4
| Command | Description |
|---|---|
add-readme |
No description available |
create-readme |
Brief description of what this project does. |
update-readme |
No description available |
create-hf-readme |
tags: - tag1 - tag2 license: mit datasets: - dataset-name language: - en --- Description of the model, dataset, or space. |
Path: commands/public/educational
Commands in this category: 4
| Command | Description |
|---|---|
analyze-commits |
Period: Last 30 days Total Commits: 45 - Feature: User authentication system (15 commits) - Refactor: Database layer optimization (8 commits) |
create-briefing |
No description available |
explain-code |
No description available |
find-learning |
No description available |
Path: commands/public/filesystem-mgmt
Commands in this category: 2
| Command | Description |
|---|---|
flatten |
No description available |
organise |
No description available |
Path: commands/public/general-purpose
Commands in this category: 1
| Command | Description |
|---|---|
recursive-spellcheck |
No description available |
Path: commands/public/ideation
Commands in this category: 4
| Command | Description |
|---|---|
design-ideas |
Visual Style: - Frosted glass effect cards - Soft shadows and blurs - Vibrant gradient backgrounds |
fresh-perspective |
[What was tried and why it failed] Instead of [X], what if we [opposite of X]? - Rationale: [Why this could work] |
innovative-features |
Problem Solved: Users struggle to find relevant content quickly Implementation Approach: - Integrate vector embeddings for semantic search |
suggest-ideas |
1. Add user profile customization 2. Implement dark mode toggle 3. Create export to PDF functionality |
Path: commands/public/media-mgmt
Commands in this category: 2
| Command | Description |
|---|---|
process-stock |
No description available |
sort-media |
No description available |
Path: commands/public/misc
Commands in this category: 1
| Command | Description |
|---|---|
wrong-number |
No description available |
Path: commands/public/operations
Commands in this category: 7
| Command | Description |
|---|---|
collect-feedback |
- Duration: - Tasks completed: - Overall satisfaction: [1-5 stars] - [Bullet points] - [Bullet points] |
create-scope |
Description: [Clear, concise description] Goals: - Goal 1 - Goal 2 - [ ] Feature 1: [Description] |
debug-fix |
No description available |
document-blocker |
Date: [YYYY-MM-DD] Priority: [High/Medium/Low] Status: [Blocked/Investigating/Resolved] [Detailed description] |
manage-project |
- [ ] Task currently being worked on - [ ] High priority task - [ ] Medium priority task - [x] Completed task 1 |
refactor-plan |
- Improve code organization - Reduce technical debt - Enhance maintainability 1. Restructure folders: |
session-summary |
- ✅ Implemented user authentication - ✅ Fixed navbar responsive issues - ✅ Updated API documentation - |
Path: commands/public/recurrent-tasks
Commands in this category: 1
| Command | Description |
|---|---|
index-repo |
Created Description shields.io badge (END TEMPLATE) The shields.io badge should be a Github badge that says View Repo and links to the repository. |
Path: commands/public/seo-web
Commands in this category: 2
| Command | Description |
|---|---|
ai-friendly-seo |
No description available |
seo-audit |
No description available |
Path: commands/public/steers
Commands in this category: 1
| Command | Description |
|---|---|
use-uv |
No description available |
Path: commands/public/sysadmin
Commands in this category: 5
| Command | Description |
|---|---|
docker-help |
docker logs container_name docker inspect container_name docker stats docker ps -a ``` 3. Address specific issues: |
organize-files |
No description available |
python-env-setup |
python3 -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows conda create -n myenv python=3.11 |
review-boot |
No description available |
setup-conda |
conda create -n myenv python=3.11 conda activate myenv conda install numpy pandas scikit-learn conda install pytorch torchvision torchaudio... |
Path: commands/public/sysadmin/shared
Commands in this category: 6
| Command | Description |
|---|---|
btrfs-snapper-health |
No description available |
check-boot-logs |
No description available |
diagnose-slowdown |
No description available |
review-startup-services |
No description available |
system-health-checkup |
No description available |
system-upgrade |
No description available |
Path: commands/public/writing
Commands in this category: 7
| Command | Description |
|---|---|
add-headings |
No description available |
add-sources |
No description available |
fix-typos |
No description available |
improve-flow |
No description available |
proofread |
No description available |
seo-optimize |
No description available |
uk-english |
No description available |
This project is licensed under the MIT License - see the LICENSE file for details.
This repository is part of a collection of Claude Code resources:
- Claude-Code-Repos-Index - Comprehensive index of all Claude Code related repositories
- Claude-Code-Writing-Squad - Specialized writing-focused agents for Claude Code
- Claude-Sub-Agent-Network - Network of sub-agents for complex multi-step tasks
- Smithery-Claude-Code-MCP-Jumpstarter - MCP server configurations and jumpstart guides
- Cool-Claude-Code-Stuff - Collection of interesting Claude Code workflows and patterns
- Non-Code-Claude-Code - Claude Code usage for non-coding tasks
