ClaudeMod
Back to browse
Commands

Daniel Rosehill Slash Commands

danielrosehill's practical slash commands for content creators and technical writers — outline generators, SEO optimizers, and document formatter commands.

Daniel Rosehill4 starsAdded 1 months ago

Part of the Daniel Rosehill Index Collection

Claude Slash Commands

Claude Code Claude Code Projects

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

Claude-File-Organiser-Super-Slash

One big slash command for filesystem tidying

GitHub

Claude-Slash-Commands-Home

Home-level slash commands configuration

GitHub

AI-Human-Attribution-Adder

Slash command for AI agents to note who did what

GitHub

Claude-App-Optimiser

System prompt, slash command, and agent for codebase optimization

GitHub

Claude-Document-This

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

GitHub

Claude-MD-Chunk

Slash command for splitting up CLAUDE.md files

GitHub

No-Wheel-Inventions

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

GitHub


Commands In This Repo

Command Organization Visualization

Command Organization Graph

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

DirectoryPurpose
commands350+ slash commands organized by category
scriptsPython automation scripts
refReference documentation
hooksGit hooks for repository automation
inspirationIdeas and inspiration for new commands

Command Categories

CategoryDescriptionExample Commands
Code EditingFormat and modify codeformat-code, remove-comments
DeploymentDeploy to GitHub and Hugging Facemake-private-gh-repo, make-public-gh-repo, hf-dataset, hf-space
DevelopmentDevelopment workflow toolscontainerize, decontainerize, setup-ci-cd, setup-hot-reload, inspect-deployment
DocumentationGenerate and format documentationcreate-readme, update-readme, create-hf-readme, create-changelog, create-reference, document-stack, format-links
EducationalLearning and code analysisanalyze-commits, create-briefing, explain-code, find-learning
Filesystem ManagementOrganize files and directoriesflatten, organise
GitHub WorkflowGitHub repository managementbackup-repo, choose-license, contributor-guide, create-branch, fork-setup
IdeationGenerate ideas and suggestionsdesign-ideas, fresh-perspective, innovative-features, suggest-ideas
Media ManagementProcess and organize media filesprocess-stock, sort-media
OperationsProject management and debuggingcollect-feedback, create-scope, debug-fix, document-blocker, manage-project, refactor-plan, session-summary
Recurrent TasksAutomated recurring tasksindex-repo
Repository OrganizationClean and organize repositoriesclean-repo, set-up-task-mgmt
SecuritySecurity scanning and configurationallow-env, scan-pii
SEO & WebSEO optimization and auditingai-friendly-seo, seo-audit
Development SteersGuide development patternsuse-uv
System AdministrationSystem configuration and managementdocker-help, organize-files, python-env-setup, review-boot, setup-conda
UX DesignUI/UX improvementsimprove-css, optimize-dashboard, optimize-fonts, responsive-audit, standardize-icons, suggest-frameworks
WritingContent writing and editingadd-headings, add-sources, fix-typos, improve-flow, proofread, seo-optimize, uk-english
MiscellaneousUtility commandswrong-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

PackageVersionPurpose
requests>=2.31.0HTTP requests for API interactions
python-dotenv>=1.0.0Environment variable management

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:

  • 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.

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

CommandDescription
multiagentNo description available

Conv Mgmt

Path: commands/public/conv-mgmt

Commands in this category: 1

CommandDescription
give-me-number-optionsNo description available

Development

Path: commands/public/development

Commands in this category: 6

CommandDescription
containerizedocker build -t project-name .
decontainerizeNo description available
dont-reinvent-the-wheelNo description available
inspect-deploymentNo description available
setup-ci-cdNo description available
setup-hot-reloadNo description available

Code Editing

Path: commands/public/development/code-editing

Commands in this category: 2

CommandDescription
format-codeNo description available
remove-commentsNo description available

Github

Path: commands/public/development/deployment/github

Commands in this category: 2

CommandDescription
make-private-gh-repoNo description available
make-public-gh-repoNo description available

Hf

Path: commands/public/development/deployment/hf

Commands in this category: 2

CommandDescription
hf-datasetNo description available
hf-spaceNo description available

Github Workflow

Path: commands/public/development/github-workflow

Commands in this category: 5

CommandDescription
backup-repoNo description available
choose-licenseNo description available
contributor-guideNo description available
create-branchNo description available
fork-setupgit 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

CommandDescription
js-to-pythonNo description available
python-to-jsNo description available

Python

Path: commands/public/development/python

Commands in this category: 4

CommandDescription
add-repo-indexNo description available
add-uv-venvNo description available
migrate-to-uvNo description available
use-condaNo description available

Repo Org

Path: commands/public/development/repo-org

Commands in this category: 2

CommandDescription
clean-repoNo description available
set-up-task-mgmtNo description available

Security

Path: commands/public/development/security

Commands in this category: 2

CommandDescription
allow-envNo 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

CommandDescription
improve-cssNo description available
make-it-prettyNo description available
optimize-dashboardNo description available
optimize-fontsNo description available
responsive-auditNo description available
standardize-iconsNo description available
suggest-frameworksNo description available

Docs

Path: commands/public/docs

Commands in this category: 4

CommandDescription
create-changelogAll notable changes to this project will be documented in this file.
create-referenceNo description available
format-linksNo 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

CommandDescription
add-readmeNo description available
create-readmeBrief description of what this project does.
update-readmeNo description available
create-hf-readmetags: - 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

CommandDescription
analyze-commitsPeriod: Last 30 days Total Commits: 45 - Feature: User authentication system (15 commits) - Refactor: Database layer optimization (8 commits)
create-briefingNo description available
explain-codeNo description available
find-learningNo description available

Filesystem Mgmt

Path: commands/public/filesystem-mgmt

Commands in this category: 2

CommandDescription
flattenNo description available
organiseNo description available

General Purpose

Path: commands/public/general-purpose

Commands in this category: 1

CommandDescription
recursive-spellcheckNo description available

Ideation

Path: commands/public/ideation

Commands in this category: 4

CommandDescription
design-ideasVisual 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-featuresProblem Solved: Users struggle to find relevant content quickly Implementation Approach: - Integrate vector embeddings for semantic search
suggest-ideas1. 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

CommandDescription
process-stockNo description available
sort-mediaNo description available

Misc

Path: commands/public/misc

Commands in this category: 1

CommandDescription
wrong-numberNo description available

Operations

Path: commands/public/operations

Commands in this category: 7

CommandDescription
collect-feedback- Duration: - Tasks completed: - Overall satisfaction: [1-5 stars] - [Bullet points] - [Bullet points]
create-scopeDescription: [Clear, concise description] Goals: - Goal 1 - Goal 2 - [ ] Feature 1: [Description]
debug-fixNo description available
document-blockerDate: [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

CommandDescription
index-repoCreated 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

CommandDescription
ai-friendly-seoNo description available
seo-auditNo description available

Steers

Path: commands/public/steers

Commands in this category: 1

CommandDescription
use-uvNo description available

Sysadmin

Path: commands/public/sysadmin

Commands in this category: 5

CommandDescription
docker-helpdocker logs container_name docker inspect container_name docker stats docker ps -a ``` 3. Address specific issues:
organize-filesNo description available
python-env-setuppython3 -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows conda create -n myenv python=3.11
review-bootNo description available
setup-condaconda 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

CommandDescription
btrfs-snapper-healthNo description available
check-boot-logsNo description available
diagnose-slowdownNo description available
review-startup-servicesNo description available
system-health-checkupNo description available
system-upgradeNo description available

Writing

Path: commands/public/writing

Commands in this category: 7

CommandDescription
add-headingsNo description available
add-sourcesNo description available
fix-typosNo description available
improve-flowNo description available
proofreadNo description available
seo-optimizeNo description available
uk-englishNo description available

License

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

Related Indices

More Commands

Commands

Scopecraft Command

Task-based slash commands for structured feature development — /create-task, /list-tasks, /next-task drive a disciplined workflow from spec to implementation.

task-managementstructuredfeature-development+2
by Scopecraft
GitHub
Commands

artemgetmann Slash Commands

Artemgetmann's slash commands for rapid development — scaffold generators, boilerplate creators, and refactoring helpers for TypeScript and Python projects.

scaffoldboilerplaterefactoring+3
by Artem Getmann
GitHub
Commands

PRD Generator

Slash command that generates a full Product Requirements Document from a short prompt — includes goals, user stories, technical constraints, success metrics, and open questions.

prdproductuser-stories+3
by dredozubov
GitHub

Command Palette

Search for a command to run...