Dev & Engineering ✓ Anthropic · Official

Claude Code Command Development

Design reusable, interactive slash commands for Claude Code.

46/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Claude Code
Stars
★ 151k
Last updated
11d ago
slash-commandsyaml-frontmatterdynamic-argumentsfile-references
+2bash-executionplugin-development

What does this skill do, and when should you use it?

This skill guides the design and organization of Claude Code slash commands. It covers Markdown command files, YAML frontmatter, argument substitution, file references, and inline Bash execution. It also explains plugin command namespaces, plugin resources, and coordination with agents, skills, and hooks. It fits users who want to turn recurring coding workflows into personal or team commands.

It explains how to create .md slash commands and configure fields such as description, allowed-tools, model, argument-hint, and disable-model-invocation; use $ARGUMENTS, $1, and related variables; reference files with @; gather Git or environment context with inline Bash; organize project, personal, and plugin commands; and add validation and error-handling patterns for arguments, files, plugin resources, and command execution.

Good fit
  • A team wants to share code review, testing, or deployment workflows in `.claude/commands/`.
  • An individual wants reusable workflows available across projects through `~/.claude/commands/`.
  • A plugin developer needs namespaced commands that reference scripts, templates, configuration, or other plugin resources.
  • A developer needs commands to accept dynamic issue, pull request, environment, or file-path arguments.
  • A user wants a command to read specified files or collect repository state with Bash before processing a request.

How do you install this skill?

Before you use it
  • Do not treat Bash(*), deployment, deletion, or rollback patterns in the examples as verified safe defaults; validate permissions, confirmation points, argument escaping, failure states, and recovery paths before production use.
  • Version metadata is inconsistent, and some referenced documents or resources are not included in the supplied material; verify against the target Claude Code version and repository files.
  • Chinese trigger and output conventions are not documented; add localized examples and explicit non-fit boundaries for Chinese users.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • Bash-compatible shell

The skill is located at plugins/plugin-dev/skills/command-development/SKILL.md. The source does not document a standalone installation method for this skill. The README documents Claude Code installation with curl -fsSL https://claude.ai/install.sh | bash on MacOS/Linux or irm https://claude.ai/install.ps1 | iex on Windows, followed by running claude from a project directory.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/anthropics/claude-code.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/plugins/plugin-dev/skills/command-development" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • create a slash command
  • define command arguments.

In Claude Code, ask for command-development help with prompts such as “create a slash command” or “define command arguments.” When implementing one, place commands in .claude/commands/, ~/.claude/commands/, or a plugin’s commands/ directory, then write the Markdown, frontmatter, argument variables, file references, and Bash snippets described by the guide.

What are this skill's strengths and limitations?

Pros
  • Covers command design from basic Markdown files through plugin-oriented workflows.
  • Includes examples for arguments, file references, Bash execution, validation, and error handling.
  • Clearly distinguishes project, personal, and plugin command scopes.
  • Documents integration patterns for agents, skills, hooks, and plugin resources.
Limitations
  • It depends heavily on Claude Code mechanisms such as slash commands, `$ARGUMENTS`, `@` file references, and inline `!` commands.
  • The source does not document standalone installation, version compatibility, or a test suite.
  • Some examples use Git, npm, gh, Node.js, or plugin scripts, which may not exist in every environment.
  • The skill provides development guidance rather than acting as an independent command runner.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Claude Code Command Development this page ✓ Anthropic · Official 46 · Use with care ★ 151k 11d ago —
Claude Code Command Builder ✓ Anthropic · Official 46 · Use with care ★ 38k 11d ago Apache-2.0
Claude Skill Template Example ✓ Anthropic · Official 58 · Recommended ★ 38k 11d ago Apache-2.0
Claude Code Plugin Agent Development ✓ Anthropic · Official 47 · Use with care ★ 151k 11d ago —
Project Plugin Settings Pattern ✓ Anthropic · Official 49 · Use with care ★ 38k 11d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
46/ 100 5-point scale 2.3 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust14 / 25 · 2.8/5

The document recommends allowed-tools scoping and avoiding destructive Bash operations, and explains file references and script execution. However, several examples use Bash(*), deployment, or deletion operations without consistently requiring explicit confirmation, sensitive-data handling, transparent data-flow boundaries, or verifiable rollback. Anthropic provenance is supplied, but the license is unknown, so points are deducted.

2Reliability7 / 20 · 1.8/5

Core structures, arguments, file references, and error-handling patterns are described reasonably well. However, the static material contains no test suite or CI evidence, and some Bash, conditional-syntax, and AskUserQuestion examples may depend on undocumented runtime behavior. The static cap is respected, with further deductions for syntax consistency and incomplete failure paths.

3Adaptability10 / 15 · 3.3/5

Trigger phrases, intended audience, and primary scenarios are clear, covering ordinary commands, plugin commands, arguments, file references, and interactive workflows. Non-fit boundaries, actual version compatibility, missing-argument behavior, and Chinese-language guidance are limited. The core function does not clearly depend on an unreachable overseas service, so no extra mainland-China deduction is applied.

4Convention6 / 15 · 2.0/5

SKILL.md offers a layered entry point, reference-document links, and examples, and includes maintenance advice. However, README version 0.1.0 conflicts with frontmatter version 0.2.0, the status says enhancements remain in progress, licensing and explicit maintenance ownership are absent, and the README claims reference content not present in the supplied evidence.

5Effectiveness6 / 15 · 2.0/5

The material addresses the main task of creating Claude Code slash commands and provides many reusable templates, giving it direct practical value. Several examples nevertheless depend on unverified syntax, external scripts, tool permissions, or plugin resources, so outputs require manual validation and adaptation. The static ceiling of 7 is respected.

6Verifiability3 / 10 · 1.5/5

Concrete code blocks, directory conventions, field tables, and checklists provide limited auditable evidence. There is no committed test suite, CI result, execution log, or independent review, and no example was executed. The assessment therefore relies mainly on internal documentation claims and receives a low score.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 015170d3fd84 Review evidence[1][2][3][4][5][6][7][8][9]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is this skill free?
The source does not state the price of this skill or Claude Code, so this cannot be confirmed from the provided material.
What permissions does it require?
Commands can restrict tool access with `allowed-tools`; file references require file-reading access, and Bash snippets require the relevant Bash permission.
What should I check when a command or its arguments fail?
Check the command directory, `.md` extension, Markdown validity, `$1`-style syntax, and whether `argument-hint` matches usage. The guide also suggests restarting Claude Code when commands do not appear.
Can it be used on platforms other than Claude Code?
Its organizational Markdown ideas may transfer, but slash commands, dynamic Bash, file references, and argument substitution rely on Claude Code behavior and require adaptation elsewhere.

More skills from this repository

All from anthropics/claude-code

Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Agent Development

A practical guide to designing, writing, validating, and testing autonomous agents for Claude Code plugins.

★ 151k FS 47 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Hookify Rule Writer

Guides Claude Code users in writing Hookify rules that warn about or block matching actions.

★ 151k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Structure Guide

A practical guide to organizing, configuring, and troubleshooting Claude Code plugins.

★ 151k FS 50 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Skill Development

A practical guide to creating, organizing, and validating Claude Code plugin skills.

★ 151k FS 46 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Plugin Settings Pattern

Store and read project-specific plugin configuration in local Markdown state files.

★ 151k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code Hook Development (claude-code)

Build controlled, testable event automation for Claude Code plugins.

★ 151k FS 42 Not recommended 11d ago
Dev & Engineering ✓ Anthropic · Official

Claude Code MCP Integration

Configure external MCP services and tools for Claude Code plugins.

★ 151k FS 49 Use with care 11d ago
Dev & Engineering ✓ Anthropic · Official

Opus 4.5 Migration Assistant

Move existing Claude model integrations to Opus 4.5.

★ 151k FS 40 Not recommended 11d ago

Related skills