Writing Slash Commands
CommunityAutomate Claude workflows with custom commands.
Software Engineering#automation#workflow#developer tools#code review#slash commands#custom commands#bash integration
AuthorCaptainCrouton89
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill empowers you to create custom slash commands, transforming repetitive Claude Code interactions into single, reusable prompts. It streamlines your workflow by automating common tasks, reducing manual input, and integrating bash execution and file references directly into your AI assistant.
Core Features & Use Cases
- Custom Command Creation: Define project-scoped or personal commands with arguments and frontmatter.
- Bash Integration: Execute shell commands directly within your prompts to fetch context or perform actions.
- Use Case: Instead of repeatedly typing "Review this code for security vulnerabilities in
src/file.js", create a/security-review [file]command that automatically loads the file and applies your review prompt, saving time and ensuring consistency.
Quick Start
Create a project-scoped command
mkdir -p .claude/commands echo "Analyze this code for performance issues:" > .claude/commands/optimize.md
Invoke the command
/optimize
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Writing Slash Commands Download link: https://github.com/CaptainCrouton89/.claude/archive/main.zip#writing-slash-commands Please download this .zip file, extract it, and install it in the .claude/skills/ directory.