slash-commands

Create and execute custom slash commands in Claude Code with bash scripts and file references.

3.9k|296|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill slash-commands-parcadei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-commands
Source: https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/slash-commands
Command: npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill slash-commands-parcadei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a streamlined way to create and utilize custom slash commands within Claude Code, enabling quick access to predefined prompts, bash script execution, and file referencing.

Core Features & Use Cases

  • Custom Command Creation: Define project-specific or personal commands for frequent tasks.
  • Bash Script Integration: Execute shell commands directly within commands for dynamic content generation.
  • File Referencing: Easily include content from other files into your commands.
  • Use Case: Quickly generate a semantic commit message by typing /commit feat after staging your changes.

Quick Start

Create a new project command by defining a file at .claude/commands/mycommand.md with your desired prompt.

Frequently Asked Questions about slash-commands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom slash commands in Claude Code?

To create custom slash commands in Claude Code, define a Markdown file at `.claude/commands/mycommand.md` containing your desired prompt. You can then execute the predefined prompt by typing `/mycommand`.

Can I execute bash scripts within a Claude Code slash command?

Yes, you can execute bash scripts within a slash command for dynamic content generation. This allows you to run shell commands directly during prompt generation to fetch or process data on the fly.

How do I include file references in my Claude Code prompts?

You can include file references in your Claude Code prompts by integrating them into your custom slash command definitions. This facilitates pulling external file content directly into the generated prompt context.

What is the best way to automate frequent coding workflows with predefined prompts?

The best way to automate frequent coding workflows is by defining project-specific or personal custom slash commands. This enables quick access to predefined prompts, streamlining repetitive tasks like generating semantic commit messages.

Do I need any external dependencies to use custom slash commands for workflow automation?

No external dependencies are required to use custom slash commands for workflow automation. The Skill operates natively within the Claude Code environment using standard Markdown files and integrated bash execution.