command-development

Create Claude Code slash commands with frontmatter, arguments, file references, and bash execution.

16|1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/SocialGouv/iterion --skill command-development-socialgouv
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: command-development
Source: https://github.com/SocialGouv/iterion/tree/main/vendor/github.com/SocialGouv/claw-code-go/internal/tools/bundled_skills/plugin-dev/skills/command-development
Command: npx skills add https://github.com/SocialGouv/iterion --skill command-development-socialgouv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing reusable Claude Code slash commands requires knowing the Markdown file format, YAML frontmatter fields, dynamic argument syntax, and plugin integration rules, which are easy to get wrong without structured guidance. ## Core Features & Use Cases - Command Format Guidance: Covers Markdown command structure, YAML frontmatter fields (description, allowed-tools, model, argument-hint, disable-model-invocation), and command locations for project, personal, and plugin scopes. - Dynamic Features: Explains $ARGUMENTS and positional arguments, @ file references, and inline bash execution for gathering repository context. - Plugin Integration: Documents ${CLAUDE_PLUGIN_ROOT} usage, plugin command discovery, and coordination with plugin agents, skills, and hooks, plus validation and error-handling patterns. - Use Case: When you want to add a /review-pr command that takes a PR number, runs git commands, and reviews changed files, this skill provides the exact frontmatter, argument syntax, and best practices to build it correctly. ## Quick Start Ask the AI to create a slash command for reviewing a pull request by number, using the command-development guidance for frontmatter and arguments.

Frequently Asked Questions about command-development

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

FAQPage Schema
How do I create a slash command in Claude Code?▼

Create a Markdown file in .claude/commands/ for project commands or ~/.claude/commands/ for personal commands. Add optional YAML frontmatter with a description field, then write the prompt as instructions directed at Claude.

How to use dynamic arguments in Claude Code commands?▼

Use $ARGUMENTS to capture all arguments as one string, or $1, $2, $3 for positional arguments. Document expected arguments with the argument-hint frontmatter field so users see them in autocomplete.

What frontmatter fields does a slash command support?▼

Supported fields are description, allowed-tools, model (sonnet, opus, haiku), argument-hint, and disable-model-invocation. All fields are optional, and commands work without any frontmatter.

Can a slash command run bash commands or read files?▼

Yes. Use !`command` syntax to execute bash and include output, and @path/to/file to include file contents. Bash execution requires the allowed-tools field to permit the relevant commands, such as Bash(git:*).

Why is my slash command not appearing in Claude Code?▼

Check that the file is in the correct commands directory, has a .md extension, and contains valid Markdown. Restart Claude Code after adding the file so it can be discovered.

When should I use disable-model-invocation in a command?▼

Use it for manual-only commands such as production approvals or destructive operations that require human judgment. It prevents the SlashCommand tool from invoking the command programmatically while keeping manual invocation available.