6.7 KiB
Community Resources
Curated collection of community-created slash commands, patterns, and resources.
Popular Command Collections
Production-Ready Collections
wshobson/commands 57 production-ready commands organized into workflows and tools:
- 15 workflow commands (feature development, TDD, modernization)
- 42 tool commands (testing, security, infrastructure)
- Invocation:
/workflows:command-nameor/tools:command-name
Claude Command Suite Enterprise-scale development toolkit:
- 148+ slash commands
- 54 AI agents
- Namespace organization:
/dev:*,/test:*,/security:*,/deploy:* - Business scenario modeling and GitHub-Linear sync
awesome-claude-code Curated list of commands, CLAUDE.md files, and workflows:
- Git workflows:
/commit,/create-pr,/fix-github-issue - Code quality:
/check,/optimize,/tdd - Documentation:
/create-docs,/update-docs - Project management:
/create-prd,/todo
Starter Collections
claude-code-showcase Comprehensive project configuration example:
- Hooks, skills, agents, commands
- GitHub Actions workflows
- Best practices demonstration
claude-code-guide Setup guide with:
- SKILL.md files
- Agents and commands
- Workflow examples
Standout Commands
Git Workflows
/commit (steadycursor)
Automates git commit with conventional format:
---
description: Create conventional commit from staged changes
allowed-tools: Bash(git *)
---
/create-pr (toyamarinyon)
Full PR workflow: branch, commit, format, submit.
/catchup
Reload work-in-progress after /clear:
---
description: Load uncommitted changes into context
---
!`git diff`
!`git status`
Continue with the above context.
Code Quality
/commit-fast
Selects first commit suggestion automatically:
---
description: Fast commit - auto-select first suggestion
disable-model-invocation: true
---
/security-scan
Vulnerability assessment with OWASP patterns.
/tdd-cycle
Test-driven development orchestration:
- Red: Write failing tests
- Green: Implement to pass
- Refactor: Clean up
Context Management
/context-prime
Initialize project understanding:
---
description: Prime context with project structure and goals
---
!`tree -L 2 -I node_modules`
@README.md
@package.json
/prime
Lightweight context setup via directory visualization.
Command Patterns from Community
Workflow Orchestration
Sequential Pipeline:
/feature-development implement OAuth
-> Backend scaffolding
-> Frontend integration
-> Testing
-> Documentation
Parallel Tools:
/review-suite
-> /security-scan (parallel)
-> /performance-check (parallel)
-> /code-quality (parallel)
Smart Routing
Dynamic Agent Selection (from Claude Command Suite):
---
description: Intelligent problem resolution
---
Based on the issue type, delegate to:
- Security issues -> security agent
- Performance -> optimization agent
- Tests failing -> debugging agent
Resume Capability
Interruptible Workflows:
---
description: Save and resume complex tasks
---
## State
!`cat .claude/workflow-state.json 2>/dev/null || echo "No state"`
## Resume or Start
If state exists, continue. Otherwise, begin fresh.
Community Best Practices
From Production Users
- Namespace by domain (
/git:*,/test:*,/deploy:*) - Include validation in deployment commands
- Use
disable-model-invocationfor destructive operations - Add context sections before task instructions
- Limit bash output to prevent truncation
Common Pitfalls
- Commands too broad (do one thing well)
- Missing
allowed-toolsfor safety - No validation for required arguments
- Excessive bash output hitting char limits
- Forgetting to quote arguments with spaces
Integration Examples
GitHub Integration
---
description: Review PR with full context
argument-hint: <pr-number>
allowed-tools: Bash(gh *), Read, Grep
---
## PR Details
!`gh pr view $1 --json title,body,files`
## Changes
!`gh pr diff $1`
## Checks
!`gh pr checks $1`
Review comprehensively.
Linear Integration
---
description: Create issue from current context
allowed-tools: Bash(linear *), Read
---
!`git diff --stat`
!`git status`
Create Linear issue based on current changes.
Slack Notifications
---
description: Deploy with Slack notification
argument-hint: <environment>
allowed-tools: Bash(*)
---
!`curl -X POST $SLACK_WEBHOOK -d '{"text":"Deploying to $1"}'`
## Deploy
!`./deploy.sh $1`
!`curl -X POST $SLACK_WEBHOOK -d '{"text":"Deployed to $1 successfully"}'`
Learning Resources
Official Documentation
Tutorials
- How I use Claude Code - Practical tips from Builder.io
- Custom Commands Guide - Step-by-step tutorial
- Claude Code Cheatsheet - Configuration and commands
Community Discussions
- GitHub Issues - Bug reports and feature requests
- Discord Community - Real-time discussions
Contributing Commands
Share Your Commands
- Create a GitHub repository with your commands
- Include clear README with examples
- Add to awesome-claude-code list via PR
- Tag with
claude-code-commandstopic
Quality Checklist
Before sharing:
- Commands have clear descriptions
- Arguments are documented with
argument-hint allowed-toolsspecified for safety- Tested in real projects
- README with usage examples
- License included
Staying Updated
Follow Changes
- Watch anthropics/claude-code for updates
- Monitor awesome-claude-code for new entries
- Check platform.claude.com for documentation updates
Version Compatibility
Commands may need updates when:
- Frontmatter schema changes
- New features added (new fields)
- Tool names modified
- SDK breaking changes