Claude Slash Commands

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: 06/04/2026

Part of the Daniel Rosehill Index Collection

danielrosehill/Index View on GitHub

Claude Slash Commands

Claude Code Claude Code Projects

danielrosehill/Claude-Code-Projects-Index ★ 218

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!

Astro29 forksUpdated Apr 2026
claude-codeclaude-code-cliindex-repos

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)

GitHub

danielrosehill/Claude-Code-Linux-Desktop-Slash-Commands View on GitHub

Claude-File-Organiser-Super-Slash

One big slash command for filesystem tidying

GitHub

danielrosehill/Claude-File-Organiser-Super-Slash View on GitHub

Claude-Slash-Commands-Home

Home-level slash commands configuration

GitHub

danielrosehill/Claude-Slash-Commands-Home View on GitHub

AI-Human-Attribution-Adder

Slash command for AI agents to note who did what

GitHub

danielrosehill/AI-Human-Attribution-Adder View on GitHub

Claude-App-Optimiser

System prompt, slash command, and agent for codebase optimization

GitHub

danielrosehill/Claude-App-Optimiser View on GitHub

Claude-Document-This

Slash command for asking Claude Code to document fixes to various target filesystems

GitHub

danielrosehill/Claude-Document-This View on GitHub

Claude-MD-Chunk

Slash command for splitting up CLAUDE.md files

GitHub

danielrosehill/Claude-MD-Chunk View on GitHub

No-Wheel-Inventions

Slash command for Claude (and agents) to encourage them to avoid reinventing the wheel

GitHub

danielrosehill/No-Wheel-Inventions View on GitHub

Commands 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

Command Categories

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:

Dependencies

Dependencies are managed using uv for fast, reliable Python package installation.

Integration

To use these commands in your Claude Code workflow:

  1. Clone this repository

  2. Copy desired command files to your project's .claude/commands directory

  3. Invoke commands using /command-name within 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:

  1. Runs sync-commands.sh to sync all slash commands

  2. Runs scripts/generate_index.py to regenerate the command index

  3. Checks if INDEX.md or README.md were updated

  4. If files were updated, stages them and prompts you to commit

  5. Aborts the push if sync or index generation fails

  6. 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:

Browsing Available Commands

For a complete, searchable index of all 357 slash commands organized by category, see [INDEX.md](INDEX.md).

The index provides:

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

Conv Mgmt

Path: `commands/public/conv-mgmt`

Commands in this category: 1

Development

Path: `commands/public/development`

Commands in this category: 6

Code Editing

Path: `commands/public/development/code-editing`

Commands in this category: 2

Github

Path: `commands/public/development/deployment/github`

Commands in this category: 2

Hf

Path: `commands/public/development/deployment/hf`

Commands in this category: 2

Github Workflow

Path: `commands/public/development/github-workflow`

Commands in this category: 5

Language Refactor

Path: `commands/public/development/language-refactor`

Commands in this category: 2

Python

Path: `commands/public/development/python`

Commands in this category: 4

Repo Org

Path: `commands/public/development/repo-org`

Commands in this category: 2

Security

Path: `commands/public/development/security`

Commands in this category: 2

Ux Design

Path: `commands/public/development/ux-design`

Commands in this category: 7

Docs

Path: `commands/public/docs`

Commands in this category: 4

Readme

Path: `commands/public/docs/readme`

Commands in this category: 4

Educational

Path: `commands/public/educational`

Commands in this category: 4

Filesystem Mgmt

Path: `commands/public/filesystem-mgmt`

Commands in this category: 2

General Purpose

Path: `commands/public/general-purpose`

Commands in this category: 1

Ideation

Path: `commands/public/ideation`

Commands in this category: 4

Media Mgmt

Path: `commands/public/media-mgmt`

Commands in this category: 2

Misc

Path: `commands/public/misc`

Commands in this category: 1

Operations

Path: `commands/public/operations`

Commands in this category: 7

Recurrent Tasks

Path: `commands/public/recurrent-tasks`

Commands in this category: 1

Seo Web

Path: `commands/public/seo-web`

Commands in this category: 2

Steers

Path: `commands/public/steers`

Commands in this category: 1

Sysadmin

Path: `commands/public/sysadmin`

Commands in this category: 5

Shared

Path: `commands/public/sysadmin/shared`

Commands in this category: 6

Writing

Path: `commands/public/writing`

Commands in this category: 7

License

This project is licensed under the MIT License - see the LICENSE file for details.

Related Indices