Check Awesome-Claude-Code: https://github.com/hesreallyhim/awesome-claude-code Answer from inventor_black on reddit.com
Claude
code.claude.com › docs › en › slash-commands
Slash commands - Claude Code Docs
Include file contents in commands using the @ prefix to reference files. For example: ... # Reference a specific file Review the implementation in @src/utils/helpers.js # Reference multiple files Compare @src/old-version.js with @src/new-version.js · Slash commands can trigger extended thinking by including extended thinking keywords.
GitHub
github.com › wshobson › commands
GitHub - wshobson/commands: A collection of production-ready slash commands for Claude Code
Available collections include: claude-code-essentials, full-stack-development, security-hardening, data-ml-pipeline, infrastructure-devops, and more. 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
Starred by 1.5K users
Forked by 187 users
Videos
09:26
Claude Code Tips: Slash Commands in Claude Code Explained with ...
r/deeplearning on Reddit: Claude Code Slash Commands | Complete ...
01:21:01
Simple Claude Code Slash Commands: Live Coding with Cursor - YouTube
33:51
Claude Code's Most IMPORTANT FEATURE: Custom Slash Commands (State ...
04:45
Claude Code: Skills vs Custom Slash Commands - YouTube
GitHub
github.com › hesreallyhim › awesome-claude-code
GitHub - hesreallyhim/awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code
A principled, spec-driven workflow ... using Claude Code's specialized sub agents. Includes slash-commands, sub agents, and specialized workflows designed for specific parts of the SDLC. A comprehensive and well-documented collection of agentic patterns from Anthropic docs, with colorful Mermaid diagrams and code examples for each ...
Starred by 18.5K users
Forked by 1.1K users
Languages Python 98.9% | Makefile 1.1%
Reddit
reddit.com › r/claudeai › best custom slash commands for claude code?
r/ClaudeAI on Reddit: Best Custom Slash Commands for Claude Code?
June 23, 2025 -
What custom slash commands are you using?
I've only added one so far which is /build that will:
Build the project and fix any errors you encounter. Once the build is successful, please commit all changes and push the current branch.
It's great for fixing type and linting errors. Any other good ones?
Top answer 1 of 6
5
Check Awesome-Claude-Code: https://github.com/hesreallyhim/awesome-claude-code
2 of 6
5
/rtf read the fucking manual, review CLAUDE.md and @ other_docs for when you see claude clearly ignoring something the rest I have is depending on particular use case, when I find myself repeating something I just create the commad.
Cloud Artisan
cloudartisan.com › personal website of david taylor › posts › tutorials › claude code tips & tricks custom slash commands
Claude Code Tips & Tricks: Custom Slash Commands
April 14, 2025 - Learn how to create custom slash commands in Claude Code to automate repetitive tasks and enhance your workflow when managing a Hugo website.
YouTube
youtube.com › watch
Claude Code Tutorial #6 - Slash Commands - YouTube
In this course, you'll learn how to harness the power of Claude Code within your development workflow, including how to install, setup a new project, add con...
Published August 28, 2025
Htdocs
htdocs.dev › posts › claude-code-best-practices-and-pro-tips
Claude Code: Best Practices and Pro Tips
Define slash commands in .claude/commands Create files in the .claude/commands directory (either in your project root or your global ~/.claude/ directory). Each file represents a slash command. These are essentially prompt templates. Example issue.md for a /issue command: Please analyze and fix the GitHub issue: $ARGUMENTS. Follow these steps: 1. Use 'gh issue view' to get the issue details. 2. Understand the problem described in the issue. 3. Search the codebase for relevant files.
Eesel AI
eesel.ai › blog › slash-commands-claude-code
Your complete guide to slash commands Claude Code - eesel AI
Learn how slash commands in Claude Code boost developer productivity, from custom workflows to dynamic arguments, plus when it makes sense to move to broader AI automation.
Anthropic
anthropic.com › engineering › claude-code-best-practices
Claude Code: Best practices for agentic coding
For repeated workflows—debugging loops, log analysis, etc.—store prompt templates in Markdown files within the .claude/commands folder. These become available through the slash commands menu when you type /. You can check these commands into git to make them available for the rest of your team. Custom slash commands can include the special keyword $ARGUMENTS to pass parameters from command invocation. For example, here’s a slash command that you could use to automatically pull and fix a Github issue:
Claude Docs
platform.claude.com › docs › en › agent-sdk › slash-commands
Slash Commands in the SDK - Claude Docs
OverviewPrompt generatorUse prompt templatesPrompt improverBe clear and directUse examples (multishot prompting)Let Claude think (CoT)Use XML tagsGive Claude a role (system prompts)Prefill Claude's responseChain complex promptsLong context tipsExtended thinking tips ... Reduce hallucinationsIncrease output consistencyMitigate jailbreaksStreaming refusalsReduce prompt leakKeep Claude in character ... Slash commands provide a way to control Claude Code sessions with special commands that start with /. These commands can be sent through the SDK to perform actions like clearing conversation history, compacting messages, or getting help.
GitHub
github.com › qdhenry › Claude-Command-Suite
GitHub - qdhenry/Claude-Command-Suite: Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.
Slash Commands: Namespace-organized commands (/dev:code-review, /test:generate-test-cases, /deploy:prepare-release) for development workflows · AI Agents: Specialized agents for security auditing, test coverage analysis, and cross-platform ...
Starred by 870 users
Forked by 84 users
Languages Shell 36.4% | TypeScript 33.8% | Python 26.7% | JavaScript 3.1%
Claude
docs.claude.com › en › docs › claude-code › sdk › sdk-slash-commands
Slash Commands in the SDK - Claude Docs
This creates the /refactor command that you can use through the SDK. ... --- allowed-tools: Read, Grep, Glob description: Run security vulnerability scan model: claude-3-5-sonnet-20241022 --- Analyze the codebase for security vulnerabilities including: - SQL injection risks - XSS vulnerabilities - Exposed credentials - Insecure configurations
AI Engineer Guide
aiengineerguide.com › blog › claude-code-custom-command
How to Add Custom Slash Commands in Claude Code
July 1, 2025 - # Create a personal command mkdir -p ~/.claude/commands echo "Review this code for security vulnerabilities:" > ~/.claude/commands/security-review.md · Just place the commands in a subdirectories. Organize commands in subdirectories to create namespaced commands. ... For example, a file at .claude/commands/frontend/component.md creates the command /project:frontend:component