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
🌐
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%
🌐
BioErrorLog
en.bioerrorlog.work › top › ai
How to Create Custom Slash Commands in Claude Code - BioErrorLog Tech Blog
September 18, 2025 - Now let’s look at some concrete examples of how to create custom slash commands. To make a simple slash command, just create a Markdown file with the command name in .claude/commands/ and write the prompt inside. ... Analyze this code and explain the architecture.
🌐
Medium
alirezarezvani.medium.com › 10-claude-code-commands-that-cut-my-dev-time-60-a-practical-guide-60036faed17f
10 Claude Code Commands That Cut My Dev Time 60%: A Practical Guide
1 month ago - 10 Custom Claude Code slash commands, subagents, and automation workflows that transformes team's productivity—with copy-paste templates you can use today.
🌐
Creator Economy
creatoreconomy.so › p › claude-code-tutorial-build-a-youtube-research-agent-in-15-min
Claude Code Tutorial: Build a YouTube Research Agent using Slash Commands
September 10, 2025 - Let’s create a /youtube slash command that analyzes any channel to get the 10 best recent videos and insights on what’s working. Here's the analysis for my channel: ... I’ll assume that you already have Claude Code installed.
🌐
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.
Find elsewhere
🌐
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.
🌐
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.
🌐
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%
🌐
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.
🌐
Builder.io
builder.io › blog › claude-code
How I use Claude Code (+ my best tips)
September 29, 2025 - Every time I open Claude Code, I hit Command+C and run claude --dangerously-skip-permissions. It's not as dangerous as it sounds — think of it as Cursor's old yolo mode. Could a rogue agent theoretically run a destructive command?
🌐
Medium
medium.com › @luongnv89 › discovering-claude-code-slash-commands-cdc17f0dfb29
Discovering Claude Code: Slash Commands | by Luong NGUYEN | Nov, 2025 | Medium
November 8, 2025 - A slash command is just a Markdown file with YAML frontmatter: --- name: Code Optimization description: Analyze code for performance issues tags: performance, analysis --- # Code Optimization Review the provided code for: 1.
🌐
Aiengineering
aiengineering.report › p › claude-code-custom-commands-3-practical
Claude Code Custom Commands: 3 Practical Examples + When to (Not) Use Them
November 6, 2025 - Claude Code has many builtin slash commands such as /clear to empty the conversation, /context to view the context usage, /init to set up a CLAUDE.md, and /agents for managing subagents.
🌐
Shipyard
shipyard.build › blog › claude-code-cheat-sheet
Shipyard | Claude Code CLI Cheatsheet: config, commands, prompts, + best practices
You can create your own CC slash commands. This is a good “shortcut” for pulling up a common prompt. Again, the more context the better (but also keep these abstract so they can be widely applied). Define them in Markdown files: ... # Create a project-specific command mkdir -p .claude/commands echo "Analyze this code for performance issues and suggest optimizations:" > .claude/commands/optimize.md