writing-commands

Guide developers in creating reliable Claude Code slash commands with argument handling and tool restrictions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Regis-RCR/rcr-plugin-factory-marketplace --skill writing-commands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-commands
Source: https://github.com/Regis-RCR/rcr-plugin-factory-marketplace/tree/main/skills/writing-commands
Command: npx skills add https://github.com/Regis-RCR/rcr-plugin-factory-marketplace --skill writing-commands

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers in creating reliable Claude Code slash commands, preventing execution failures, unsafe tool access, and discoverability issues due to poor design.

Core Features & Use Cases

  • Arguments Handling: Explains how to use the $ARGUMENTS placeholder for dynamic user input, enabling flexible and powerful command execution.
  • Tool Restrictions: Teaches how to limit tool access for safety and focused execution, preventing unintended file modifications or actions.
  • Namespacing & Discovery: Provides guidance on preventing naming conflicts and ensuring commands are discoverable via /help, enhancing user experience.

Quick Start

Create a new command /generate-component that takes a component name and type as arguments, then generates the component files.