commands

by wshobsonVerified

A collection of production-ready slash commands for Claude Code

2,619
Stars
290
Forks
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/wshobson/commands

Getting Started

Guides for using skills like commands.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Claude Code Slash Commands

A comprehensive collection of production-ready slash commands for Claude Code that provides intelligent automation and multi-agent orchestration capabilities for modern software development.

Overview

This repository provides 57 production-ready slash commands (15 workflows, 42 tools) that extend Claude Code's capabilities through:

  • Workflows: Multi-agent orchestration systems that coordinate complex, multi-step operations across different domains
  • Tools: Specialized single-purpose utilities for focused development tasks

System Requirements

  • Claude Code installed and configured
  • Git for repository management

Installation

Note: This repository uses the slash commands pattern. For a more modern approach, consider the Plugin Marketplace which provides similar functionality through a cleaner plugin architecture.

Slash Commands (This Repository)

# Navigate to Claude configuration directory
cd ~/.claude

# Clone the commands repository
git clone https://github.com/wshobson/commands.git

Plugin Marketplace (Alternative)

# Add the plugin marketplace
/plugin marketplace add https://github.com/wshobson/agents

# Install plugin collections
/plugin install claude-code-essentials

Available collections include: claude-code-essentials, full-stack-development, security-hardening, data-ml-pipeline, infrastructure-devops, and more.

Command Invocation

Commands are organized in tools/ and workflows/ directories and invoked using directory prefixes:

# Workflow invocation
/workflows:feature-development implement OAuth2 authentication

# Tool invocation
/tools:security-scan perform vulnerability assessment

# Multiple argument example
/tools:api-scaffold create user management endpoints with RBAC

Alternative Setup (No Prefixes)

To invoke commands without directory prefixes, copy files to the root directory:

cp tools/*.md .
cp workflows/*.md .

# Then invoke directly
/api-scaffold create REST endpoints
/feature-development implement payment system

Command Architecture

Workflows (15 commands)

Workflows implement multi-agent orchestration patterns for complex, cross-domain tasks. Each workflow analyzes requirements, delegates to specialized agents, and coordinates execution across multiple subsystems.

Core Development Workflows

CommandPurposeAgent Coordination
feature-developmentEnd-to-end feature implementationBackend, frontend, testing, deployment
full-reviewMulti-perspective code analysisArchitecture, security, performance, quality
smart-fixIntelligent problem resolutionDynamic agent selection based on issue type
tdd-cycleTest-driven development orchestrationTest writer, implementer, refactoring specialist

Process Automation Workflows

CommandPurposeScope
git-workflowVersion control process automationBranching strategies, commit standards, PR templates
improve-agentAgent optimizationPrompt engineering, performance tuning
legacy-modernizeCodebase modernizationArchitecture migration, dependency updates, pattern refactoring
multi-platformCross-platform developmentWeb, mobile, desktop coordination
workflow-automateCI/CD pipeline automationBuild, test, deploy, monitor

Advanced Orchestration Workflows

CommandPrimary FocusSpecialized Agents
full-stack-featureMulti-tier implementationBackend API, frontend UI, mobile, database
security-hardeningSecurity-first developmentThreat modeling, vulnerability assessment, remediation
data-driven-featureML-powered functionalityData science, feature engineering, model deployment
performance-optimizationSystem-wide optimizationProfiling, caching, query optimization, load testing
incident-responseProduction issue resolutionDiagnostics, root cause analysis, hotfix deployment

Tools (42 commands)

Tools provide focused, single-purpose utilities for specific development operations. Each tool is optimized for its domain with production-ready implementations.

AI and Machine Learning (4 tools)

CommandFunctionalityKey Features
ai-assistantAI assistant implementationLLM integration, conversation management, context handling
ai-reviewML code reviewModel architecture validation, training pipeline review
langchain-agentLangChain agent creationRAG patterns, tool integration, memory management
prompt-optimizePrompt engineeringPerformance testing, cost optimization, quality metrics

Agent Collaboration (3 tools)

CommandFocusHighlights
multi-agent-reviewMulti-perspective code reviewsArchitecture, security, and quality assessments
multi-agent-optimizeCoordinated performance optimizationDatabase, application, and frontend tuning
smart-debugAssisted debuggingRoot-cause analysis with performance-aware escalation

Architecture and Code Quality (4 tools)

CommandPurposeCapabilities
code-explainCode documentationAST analysis, complexity metrics, flow diagrams
code-migrateMigration automationFramework upgrades, language porting, API migrations
refactor-cleanCode improvementPattern detection, dead code removal, structure optimization
tech-debtDebt assessmentComplexity analysis, risk scoring, remediation planning

Data and Database (3 tools)

CommandFocus AreaTechnologies
data-pipelineETL/ELT architectureApache Spark, Airflow, dbt, streaming platforms
data-validationData qualitySchema validation, anomaly detection, constraint checking
db-migrateDatabase migrationsSchema versioning, zero-downtime strategies, rollback plans

DevOps and Infrastructure (5 tools)

CommandDomainImplementation
deploy-checklistDeployment preparationPre-flight checks, rollback procedures, monitoring setup
docker-optimizeContainer optimizationMulti-stage builds, layer caching, size reduction
k8s-manifestKubernetes configurationDeployments, services, ingress, autoscaling, security policies
monitor-setupObservabilityMetrics, logging, tracing, alerting rules
slo-implementSLO/SLI definitionError budgets, monitoring, automated responses

Testing and Development (6 tools)

CommandTesting FocusFramework Support
api-mockMock generationREST, GraphQL, gRPC, WebSocket
api-scaffoldEndpoint creationCRUD operations, authentication, validation
test-harnessTest suite generationUnit, integration, e2e, performance
tdd-redTest-first developmentFailing test creation, edge case coverage
tdd-greenImplementationMinimal code to pass tests
tdd-refactorCode improvementOptimization while maintaining green tests

Security and Compliance (3 tools)

CommandSecurity DomainStandards
accessibility-auditWCAG complianceARIA, keyboard navigation, screen reader support
compliance-checkRegulatory complianceGDPR, HIPAA, SOC2, PCI-DSS
security-scanVulnerability assessmentOWASP, CVE scanning, dependency audits

Debugging and Analysis (4 tools)

CommandAnalysis TypeOutput
debug-traceRuntime analysisStack traces, memory profiles, execution paths
error-analysisError patternsRoot cause analysis, frequency analysis, impact assessment
error-traceProduction debuggingLog correlation, distributed tracing, error reproduction
issueIssue trackingStandardized templates, reproduction steps, acceptance criteria

Dependency and Configuration Management (3 tools)

CommandManagement AreaFeatures
config-validateConfiguration managementSchema validation, environment variables, secrets handling
deps-auditDependency analysisSecurity vulnerabilities, license compliance, version conflicts
deps-upgradeVersion managementBreaking change detection, compatibility testing, rollback support

Documentation and Collaboration (3 tools)

CommandDocumentation TypeFormat
doc-generateAPI documentationOpenAPI, JSDoc, TypeDoc, Sphinx
pr-enhancePull request optimizationDescription generation, checklist creation, review suggestions
standup-notesStatus reportingProgress tracking, blocker identification, next steps

Operations and Context (4 tools)

CommandOperational FocusUse Case
cost-optimizeResource optimizationCloud spend analysis, right-sizing, reserved capacity
onboardEnvironment setupDevelopment tools, access configuration, documentation
context-saveState persistenceArchitecture decisions, configuration snapshots
context-restoreState recoveryContext reload, decision history, configuration restore

Usage Patterns

Common Development Scenarios

Feature Implementation

# Complete feature with multi-agent orchestration
/workflows:feature-development OAuth2 authentication with JWT tokens

# API-first development
/tools:api-scaffold REST endpoints for user management with RBAC

# Test-driven approach
/workflows:tdd-cycle shopping cart with discount calculation logic

Debugging and Performance

# Intelligent issue resolution
/workflows:smart-fix high memory consumption in production workers

# Targeted error analysis
/tools:error-trace investigate Redis connection timeouts

# Performance optimization
/workflows:performance-optimization optimize database query performance

Security and Compliance

# Security assessment
/tools:security-scan OWASP Top 10 vulnerability scan

# Compliance verification
/tools:compliance-check GDPR data handling requirements

# Security hardening workflow
/workflows:security-hardening implement zero-trust architecture

Test-Driven Development

Standard TDD Flow

# Complete TDD cycle with orchestration
/workflows:tdd-cycle payment processing with Stripe integration

# Manual TDD phases for granular control
/tools:tdd-red create failing tests for order validation
/tools:tdd-green implement minimal order validation logic
/tools:tdd-refactor optimize validation performance

Command Composition Strategies

Sequential Execution Pattern

# Feature implementation pipeline
/workflows:feature-development real-time notifications with WebSockets
/tools:security-scan WebSocket implementation vulnerabilities
/workflows:performance-optimization WebSocket connection handling
/tools:deploy-checklist notification service deployment requirements
/tools:k8s-manifest WebSocket service with session affinity

Modernization Pipeline

# Legacy system upgrade
/workflows:legacy-modernize migrate monolith to microservices
/tools:deps-audit check dependency vulnerabilities
/tools:deps-upgrade update to latest stable versions
/tools:refactor-clean remove deprecated patterns
/tools:test-harness generate comprehensive test coverage
/tools:docker-optimize create optimized container images
/tools:k8s-manifest deploy with rolling update strategy

Command Selection Guidelines

Workflow vs Tool Decision Matrix

CriteriaUse WorkflowsUse Tools
Problem ComplexityMulti-domain, cross-cutting concernsSingle domain, focused scope
Solution ClarityExploratory, undefined approachClear implementation path
Agent CoordinationMultiple specialists requiredSingle expertise sufficient
Implementation ScopeEnd-to-end featuresSpecific components
Control LevelAutomated orchestration preferredManual control required

Workflow Selection Examples

RequirementRecommended WorkflowRationale
"Build complete authentication system"/workflows:feature-developmentMulti-tier implementation required
"Debug production performance issues"/workflows:smart-fixUnknown root cause, needs analysis
"Modernize legacy application"/workflows:legacy-modernizeComplex refactoring across stack
"Implement ML-powered feature"/workflows:data-driven-featureRequires data science expertise

Tool Selection Examples

TaskRecommended ToolOutput
"Generate Kubernetes configs"/tools:k8s-manifestYAML manifests with best practices
"Audit security vulnerabilities"/tools:security-scanVulnerability report with fixes
"Create API documentation"/tools:doc-generateOpenAPI/Swagger specifications
"Optimize Docker images"/tools:docker-optimizeMulti-stage Dockerfile

Execution Best Practices

Context Optimization

  1. Technology Stack Specification: Include framework versions, database systems, deployment targets
  2. Constraint Definition: Specify performance requirements, security standards, compliance needs
  3. Integration Requirements: Define external services, APIs, authentication methods
  4. Output Preferences: Indicate coding standards, testing frameworks, documentation formats

Command Chaining Strategies

  1. Progressive Enhancement: Start with workflows for foundation, refine with tools
  2. Pipeline Construction: Chain commands in logical sequence for complete solutions
  3. Iterative Refinement: Use tool outputs as inputs for subsequent commands
  4. Parallel Execution: Run independent tools simultaneously when possible

Performance Considerations

  • Workflows typically require 30-90 seconds for complete orchestration
  • Tools execute in 5-30 seconds for focused operations
  • Provide detailed requirements upfront to minimize iteration cycles
  • Use saved context (context-save/context-restore) for multi-session projects

Technical Architecture

Command Structure

Each slash command is a markdown file with the following characteristics:

ComponentDescriptionExample
FilenameDetermines command nameapi-scaffold.md/tools:api-scaffold
ContentExecution instructionsAgent prompts and orchestration logic
Variables$ARGUMENTS placeholderCaptures and processes user input
DirectoryCommand categorytools/ for utilities, workflows/ for orchestration

File Organization

~/.claude/commands/
├── workflows/          # Multi-agent orchestration commands
│   ├── feature-development.md
│   ├── smart-fix.md
│   └── ...
├── tools/             # Single-purpose utility commands
│   ├── api-scaffold.md
│   ├── security-scan.md
│   └── ...
└── README.md          # This documentation

Development Guidelines

Creating New Commands

Workflow Development

  1. File Creation: Place in workflows/ directory with descriptive naming
  2. Agent Orchestration: Define delegation logic for multiple specialists
  3. Error Handling: Include fallback strategies and error recovery
  4. Output Coordination: Specify how agent outputs should be combined

Tool Development

  1. File Creation: Place in tools/ directory with single-purpose naming
  2. Implementation: Provide complete, production-ready code generation
  3. Framework Detection: Auto-detect and adapt to project stack
  4. Best Practices: Include security, performance, and scalability considerations

Naming Conventions

  • Use lowercase with hyphens: feature-name.md
  • Be descriptive but concise: security-scan not scan
  • Indicate action clearly: deps-upgrade not dependencies
  • Maintain consistency with existing commands

Troubleshooting Guide

Diagnostic Steps

IssueCauseResolution
Command not recognizedFile missing or misnamedVerify file exists in correct directory
Slow executionNormal workflow behaviorWorkflows coordinate multiple agents (30-90s typical)
Incomplete outputInsufficient contextProvide technology stack and requirements
Integration failuresPath or configuration issuesCheck file paths and dependencies

Performance Optimization

  1. Context Caching: Use context-save for multi-session projects
  2. Batch Operations: Combine related tasks in single workflow
  3. Tool Selection: Use tools for known problems, workflows for exploration
  4. Requirement Clarity: Detailed specifications reduce iteration cycles

Featured Command Implementations

Test-Driven Development Suite

CommandTypeCapabilities
tdd-cycleWorkflowComplete red-green-refactor orchestration with test coverage analysis
tdd-redToolFailing test generation with edge case coverage and mocking
tdd-greenToolMinimal implementation to achieve test passage
tdd-refactorToolCode optimization while maintaining test integrity

Framework Support: Jest, Mocha, PyTest, RSpec, JUnit, Go testing, Rust tests

Security and Infrastructure

CommandSpecializationKey Features
security-scanVulnerability detectionSAST/DAST analysis, dependency scanning, secret detection
docker-optimizeContainer optimizationMulti-stage builds, layer caching, size reduction (50-90% typical)
k8s-manifestKubernetes deploymentHPA, NetworkPolicy, PodSecurityPolicy, service mesh ready
monitor-setupObservabilityPrometheus metrics, Grafana dashboards, alert rules

Security Tools Integration: Bandit, Safety, Trivy, Semgrep, Snyk, GitGuardian

Data and Database Operations

CommandDatabase SupportMigration Strategies
db-migratePostgreSQL, MySQL, MongoDB, DynamoDBBlue-green, expand-contract, versioned schemas
data-pipelineBatch and streamingApache Spark, Kafka, Airflow, dbt integration
data-validationSchema and qualityGreat Expectations, Pandera, custom validators

Zero-Downtime Patterns: Rolling migrations, feature flags, dual writes, backfill strategies

Performance and Optimization

CommandAnalysis TypeOptimization Techniques
performance-optimizationFull-stack profilingQuery optimization, caching strategies, CDN configuration
cost-optimizeCloud resource analysisRight-sizing, spot instances, reserved capacity planning
docker-optimizeContainer performanceBuild cache optimization, minimal base images, layer reduction

Additional Resources

Documentation

Source Repositories

Integration Examples

# Complete feature development pipeline
/workflows:feature-development user authentication system
/tools:security-scan authentication implementation
/tools:test-harness authentication test suite
/tools:docker-optimize authentication service
/tools:k8s-manifest authentication deployment
/tools:monitor-setup authentication metrics

License

MIT License - See LICENSE file for complete terms.

Support and Contribution

  • Issues: GitHub Issues
  • Contributions: Pull requests welcome following the development guidelines
  • Questions: Open a discussion in the repository

Frequently Asked Questions

What is commands?

commands is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by wshobson. A collection of production-ready slash commands for Claude Code. It has 2,619 GitHub stars.

Is commands safe to use?

Yes. commands passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install commands?

Clone the repository with "git clone https://github.com/wshobson/commands" and add it to your Claude Code skills directory (see the Installation section above).

Are there alternatives to commands?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh commands against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details