slash-command-builder

Create, refine, and troubleshoot Claude Code slash commands.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/RafalekS/Claude_DB --skill slash-command-builder-rafaleks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-command-builder
Source: https://github.com/RafalekS/Claude_DB/tree/main/config/templates/skills/meta/slash-command-builder-skill
Command: npx skills add https://github.com/RafalekS/Claude_DB --skill slash-command-builder-rafaleks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation, enhancement, and troubleshooting of custom Claude Code slash commands, making it easier to automate frequent tasks.

Core Features & Use Cases

  • Command Creation: Guides users through defining new slash commands with appropriate structure, arguments, and frontmatter.
  • Command Improvement: Offers best practices for refining existing commands, including tool permissions, model selection, and disabling auto-invocation.
  • Troubleshooting: Helps diagnose and fix common issues like commands not being found, arguments not substituting, or tool permission errors.
  • Use Case: A developer needs to create a new command to quickly generate a React component boilerplate. They activate this Skill to get guidance on the command's structure, frontmatter, and how to include argument hints and tool permissions.

Quick Start

Use the slash-command-builder skill to create a new command that generates a React component with a given name.

Frequently Asked Questions about slash-command-builder

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

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

To create custom Claude Code slash commands, define the command structure, arguments, and frontmatter configuration. This provides guidance on setting up tool permissions and model selection to automate frequent developer tasks effectively.

Why are arguments not substituting correctly in my slash command?

Arguments may not substitute correctly in your slash command due to syntax errors in the frontmatter or structure. Troubleshooting involves verifying argument hints and checking the command definition to ensure proper variable mapping.

What are the best practices for configuring tool permissions in slash commands?

Best practices for configuring tool permissions in slash commands involve defining explicit frontmatter rules for model selection and disabling auto-invocation. This refines existing commands to safely execute automation workflows without permission errors.

Can I disable auto-invocation for specific Claude Code commands?

Yes, you can disable auto-invocation for specific Claude Code commands by adjusting the frontmatter configuration. This ensures commands only run when explicitly called, preventing unintended automation triggers during development.

What is the structure needed to generate boilerplate with a slash command?

Generating boilerplate with a slash command requires defining a specific command structure with frontmatter and argument hints. This setup allows passing dynamic variables, like a component name, directly into the automation template.

How do I fix tool permission errors when running custom commands?

Fix tool permission errors by reviewing the command's frontmatter configuration to ensure the necessary tools are explicitly allowed. Troubleshooting these errors involves validating that the command structure matches the required permissions.