Part of the Daniel Rosehill Index Collection
danielrosehill/Index View on GitHubClaude Slash Commands
Claude Code Claude Code Projects
An index of my Claude Code related repos including a wide variety of starter templates for using Claude Code for common and more imaginative purposes!
A curated collection of custom slash commands for Claude Code CLI, designed to streamline common development workflows and enforce consistent patterns across projects. This repo also serves as the index for standalone slash command repositories.
Last updated: 2026-03-25
Standalone Slash Command Repos
Individual slash command repos for specific purposes:
Claude-Code-Linux-Desktop-Slash-Commands
Slash commands for Linux desktop sysadmin with Claude Code (or any other agent)
danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands View on GitHubClaude-File-Organiser-Super-Slash
One big slash command for filesystem tidying
danielrosehill/Claude-File-Organiser-Super-Slash View on GitHubClaude-Slash-Commands-Home
Home-level slash commands configuration
danielrosehill/Claude-Slash-Commands-Home View on GitHubAI-Human-Attribution-Adder
Slash command for AI agents to note who did what
danielrosehill/AI-Human-Attribution-Adder View on GitHubClaude-App-Optimiser
System prompt, slash command, and agent for codebase optimization
danielrosehill/Claude-App-Optimiser View on GitHubClaude-Document-This
Slash command for asking Claude Code to document fixes to various target filesystems
danielrosehill/Claude-Document-This View on GitHubClaude-MD-Chunk
Slash command for splitting up CLAUDE.md files
danielrosehill/Claude-MD-Chunk View on GitHubNo-Wheel-Inventions
Slash command for Claude (and agents) to encourage them to avoid reinventing the wheel
danielrosehill/No-Wheel-Inventions View on GitHubCommands In This Repo
Command Organization Visualization
Visual representation of slash command organization across categories and subcategories.
Overview
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.
Repository Structure
`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
Command Categories
Code Editing — Format and modify code ·
format-code,remove-commentsDeployment — Deploy to GitHub and Hugging Face ·
make-private-gh-repo,make-public-gh-repo,hf-dataset,hf-spaceDevelopment — Development workflow tools ·
containerize,decontainerize,setup-ci-cd,setup-hot-reload,inspect-deploymentDocumentation — Generate and format documentation ·
create-readme,update-readme,create-hf-readme,create-changelog,create-reference,document-stack,format-linksEducational — Learning and code analysis ·
analyze-commits,create-briefing,explain-code,find-learningFilesystem Management — Organize files and directories ·
flatten,organiseGitHub Workflow — GitHub repository management ·
backup-repo,choose-license,contributor-guide,create-branch,fork-setupIdeation — Generate ideas and suggestions ·
design-ideas,fresh-perspective,innovative-features,suggest-ideasMedia Management — Process and organize media files ·
process-stock,sort-mediaOperations — Project management and debugging ·
collect-feedback,create-scope,debug-fix,document-blocker,manage-project,refactor-plan,session-summaryRecurrent Tasks — Automated recurring tasks ·
index-repoRepository Organization — Clean and organize repositories ·
clean-repo,set-up-task-mgmtSecurity — Security scanning and configuration ·
allow-env,scan-piiSEO & Web — SEO optimization and auditing ·
ai-friendly-seo,seo-auditDevelopment Steers — Guide development patterns ·
use-uvSystem Administration — System configuration and management ·
docker-help,organize-files,python-env-setup,review-boot,setup-condaUX Design — UI/UX improvements ·
improve-css,optimize-dashboard,optimize-fonts,responsive-audit,standardize-icons,suggest-frameworksWriting — Content writing and editing ·
add-headings,add-sources,fix-typos,improve-flow,proofread,seo-optimize,uk-englishMiscellaneous — Utility commands ·
wrong-number
Usage
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.
Setup
The repository includes a bash wrapper script for managing Python dependencies:
# Setup virtual environment
./run.sh setup
# Run repository info fetcher
./run.sh fetch
Command Structure
Each 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
Dependencies
requests— >=2.31.0 · HTTP requests for API interactionspython-dotenv— >=1.0.0 · Environment variable management
Dependencies are managed using uv for fast, reliable Python package installation.
Integration
To use these commands in your Claude Code workflow:
Clone this repository
Copy desired command files to your project's
.claude/commandsdirectoryInvoke commands using
/command-namewithin Claude Code sessions
Git Hooks
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.
Installing the Pre-Push Hook
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-push
What the Hook Does
The pre-push hook:
Runs
sync-commands.shto sync all slash commandsRuns
scripts/generate_index.pyto regenerate the command indexChecks 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.
Command Development
Commands follow a consistent structure:
Clear, actionable instructions
Specific do/don't guidelines
Context-aware behavior
Minimal user intervention required
Browsing Available Commands
For a complete, searchable index of all 357 slash commands organized by category, see [INDEX.md](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
Command Index
This index is automatically generated. Do not edit manually.
Total Commands: 87
Ai Engineering
Path: `commands/public/ai-engineering`
Commands in this category: 1
`multiagent` — No description available
Conv Mgmt
Path: `commands/public/conv-mgmt`
Commands in this category: 1
`give-me-number-options` — No description available
Development
Path: `commands/public/development`
Commands in this category: 6
`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
Code Editing
Path: `commands/public/development/code-editing`
Commands in this category: 2
`format-code` — No description available
`remove-comments` — No description available
Github
Path: `commands/public/development/deployment/github`
Commands in this category: 2
`make-private-gh-repo` — No description available
`make-public-gh-repo` — No description available
Hf
Path: `commands/public/development/deployment/hf`
Commands in this category: 2
`hf-dataset` — No description available
`hf-space` — No description available
Github Workflow
Path: `commands/public/development/github-workflow`
Commands in this category: 5
`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
Language Refactor
Path: `commands/public/development/language-refactor`
Commands in this category: 2
`js-to-python` — No description available
`python-to-js` — No description available
Python
Path: `commands/public/development/python`
Commands in this category: 4
`add-repo-index` — No description available
`add-uv-venv` — No description available
`migrate-to-uv` — No description available
`use-conda` — No description available
Repo Org
Path: `commands/public/development/repo-org`
Commands in this category: 2
`clean-repo` — No description available
`set-up-task-mgmt` — No description available
Security
Path: `commands/public/development/security`
Commands in this category: 2
`allow-env` — No description available
`scan-pii` — - File: src/config.js:45 Type: Email address Content: [REDACTED]@company.com Context: Developer email in comment
Ux Design
Path: `commands/public/development/ux-design`
Commands in this category: 7
`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
Docs
Path: `commands/public/docs`
Commands in this category: 4
`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)
Readme
Path: `commands/public/docs/readme`
Commands in this category: 4
`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.
Educational
Path: `commands/public/educational`
Commands in this category: 4
`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
Filesystem Mgmt
Path: `commands/public/filesystem-mgmt`
Commands in this category: 2
`flatten` — No description available
`organise` — No description available
General Purpose
Path: `commands/public/general-purpose`
Commands in this category: 1
`recursive-spellcheck` — No description available
Ideation
Path: `commands/public/ideation`
Commands in this category: 4
`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
Media Mgmt
Path: `commands/public/media-mgmt`
Commands in this category: 2
`process-stock` — No description available
`sort-media` — No description available
Misc
Path: `commands/public/misc`
Commands in this category: 1
`wrong-number` — No description available
Operations
Path: `commands/public/operations`
Commands in this category: 7
`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 - ⚠️ Database migration (90% complete)
Recurrent Tasks
Path: `commands/public/recurrent-tasks`
Commands in this category: 1
`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.
Seo Web
Path: `commands/public/seo-web`
Commands in this category: 2
`ai-friendly-seo` — No description available
`seo-audit` — No description available
Steers
Path: `commands/public/steers`
Commands in this category: 1
`use-uv` — No description available
Sysadmin
Path: `commands/public/sysadmin`
Commands in this category: 5
`docker-help` — docker logs containername docker inspect containername 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...
Shared
Path: `commands/public/sysadmin/shared`
Commands in this category: 6
`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
Writing
Path: `commands/public/writing`
Commands in this category: 7
`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
License
This project is licensed under the MIT License - see the LICENSE file for details.
Related Indices
[Claude Code Projects Index](https://github.com/danielrosehill/Claude-Code-Projects-Index) — Master index of all Claude Code repos
[Claude Code Workspace Templates Index](https://github.com/danielrosehill/Claude-Code-Workspace-Templates-Index) — Workspace templates for domain-specific projects
[Claude Code Sysadmin Workspaces Index](https://github.com/danielrosehill/Claude-Code-Sysadmin-Workspaces-Index) — Workspace templates for systems administration