Skip to content
@claude-commands

claude-commands

Claude Commands

Slash commands for Claude Code - Anthropic's CLI coding assistant.

Philosophy

We hate typing. We hate confirming. We want AI that thinks like us and executes like it's us.

These commands exist to make Claude Code as automated as possible. Instead of explaining what you want step-by-step, just tell it what to do and let it run. The goal: Claude should know how you think and execute with the full power of AI.

Less prompting. More doing.

Getting Started

Install the /claude-commands manager, then use it to discover and install everything else:

# Clone to your preferred location
git clone git@github.com:claude-commands/command-claude-commands.git <clone-path>/command-claude-commands

# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-claude-commands/claude-commands.md ~/.claude/commands/claude-commands.md

Then run /claude-commands in Claude Code.

Why Start Here?

The /claude-commands manager:

  • Discovers all available commands from this org automatically
  • Installs commands with proper symlinks in one step
  • Updates all your installed commands at once
  • Removes commands cleanly when you're done

No need to manually track repos or remember installation steps for each command.

Managing Commands

/claude-commands              # Interactive menu
/claude-commands install      # Install all or select specific commands
/claude-commands add <name>   # Add a single command
/claude-commands remove <name># Remove a command
/claude-commands update       # Update all installed commands
/claude-commands list         # Show what's installed vs available
/claude-commands move <name>  # Move between user and project levels

Installation Scopes:

Scope Flag Location Availability
User --user ~/.claude/commands/ All projects (default)
Project --project ./.claude/commands/ Current project only

Commands are cloned once and symlinked to user or project level. Updates apply everywhere.

Create Your Own Commands

Want to build a command for your workflow? Use /create-command to scaffold it interactively:

/create-command

The wizard will:

  1. Ask what you're building - Choose from presets (Git Workflow, Code Analysis, etc.) or go custom
  2. Gather details - Name, description, arguments, integrations needed
  3. Research best practices - Searches the web for current patterns in your domain
  4. Generate files - Creates properly structured command-{name}/ with all the right patterns
  5. Help you publish - Optionally init git, push to GitHub, and create a PR to add it here

Your command becomes available to everyone in the org. See the Command Writing Guidelines for the full reference.

Available Commands (48)

Issue & Git Workflow

Command Description
/start-issue Create git worktrees for GitHub issues
/add-feature Implement features from issues with tests and PR
/fix-issue Fix bugs using TDD workflow
/prune-worktree Clean up merged worktrees
/branch-cleanup Clean stale and merged git branches
/merge-ready Find and merge PRs that are approved and passing CI
/rebase-all Rebase multiple branches onto a target branch
/cherry-pick-prs Cherry-pick commits from PRs to other branches
/hotfix Create and manage hotfix branches with release workflow
/sync-fork Sync forked repository with upstream changes

Daily Workflow

Command Description
/standup Generate standup notes from git commits
/pr-summary Generate PR description from branch changes
/weekly-summary Generate weekly work summary from git activity
/review-prs Review PRs with AI-generated suggestions
/my-prs Check status of your open PRs across repos
/git-stats Git repository statistics and insights
/suggest-reviewers Suggest reviewers based on code ownership and expertise

Code Quality & Analysis

Command Description
/explain Deep-dive code explanation with Mermaid diagrams
/tech-debt Analyze codebase for technical debt and complexity
/refactor AI-guided refactoring with safety checks
/dead-code Find unused code, exports, and dependencies
/profile Performance profiling and optimization suggestions
/explain-diff Explain changes between commits, branches, or files
/lint-fix Auto-fix linting issues across the codebase
/todo-scan Find and track TODO/FIXME comments in codebase

Testing

Command Description
/test-gen Generate comprehensive tests with edge cases
/test-coverage Analyze test coverage and generate missing tests
/failing-tests Debug and fix failing tests
/mock-data Generate realistic test data from types or schemas

Code Generation

Command Description
/scaffold Generate project scaffolding following existing patterns
/convert Convert between formats, languages, and data structures
/migration Database migration helper with schema analysis

Documentation

Command Description
/api-docs Generate API documentation from code
/doc-sync Keep documentation in sync with code changes

Releases & Changelog

Command Description
/changelog Generate changelog from commits (Keep a Changelog format)
/release Prepare release with version bump and changelog

Security & Dependencies

Command Description
/security-scan Security vulnerability assessment and secrets detection
/deps-check Security, outdated, and unused dependency analysis
/deps-upgrade Intelligent dependency upgrades with breaking change analysis

Debugging & Environment

Command Description
/debug Intelligent error analysis and resolution
/env-check Verify development environment setup
/logs Analyze log files for issues and patterns

Onboarding & Context

Command Description
/onboard Quick project onboarding and architecture overview
/context-dump Save and restore working context for later sessions

Project Setup

Command Description
/init-project Initialize new project with best practices
/add-ci Add CI/CD configuration to existing project

AI Delegation

Command Description
/codex Delegate tasks to OpenAI Codex CLI

Command Development

Command Description
/create-command Interactively create new slash commands with best practices

Requirements

Manual Installation

Prefer to install commands individually? Each repo includes installation instructions:

# Clone to your preferred location
git clone git@github.com:claude-commands/command-standup.git <clone-path>/command-standup

# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-standup/standup.md ~/.claude/commands/standup.md

Contributing

Recommended: Use /create-command to scaffold new commands interactively. It will:

  • Guide you through naming, description, and tool selection
  • Research best practices for your command type
  • Generate properly structured files following org patterns
  • Optionally set up git and push to GitHub
/create-command    # Start the interactive wizard

Or create manually following the pattern:

  • Repo: command-{name}
  • Main file: {name}.md with frontmatter
  • Include: README.md with usage docs
  • Model: Always use claude-opus-4-5-20251101

See the Command Writing Guidelines for best practices.


Made with Claude Code


Disclaimer: This project is not affiliated with, endorsed by, or sponsored by Anthropic. We're just developers who love Claude Code and want to make it even more powerful. All trademarks belong to their respective owners.

Popular repositories Loading

  1. .github .github Public

  2. command-add-feature command-add-feature Public

  3. command-fix-issue command-fix-issue Public

  4. command-start-issue command-start-issue Public

  5. command-prune-worktree command-prune-worktree Public

    Shell

  6. command-codex command-codex Public

Repositories

Showing 10 of 50 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…