anthropics avatar

Command Development

If you're building custom slash commands for Claude Code, this is the reference you need. It breaks down how to structure commands as Markdown files, configure them with YAML frontmatter, and use dynamic arguments and bash execution to pull in context. The skill covers command organization and namespacing, which matters once you have more than a handful of commands floating around. Note that it includes shell command directives, so review what's actually being executed before you install. Think of this as the manual for turning your repetitive prompts into reusable, parameterized commands instead of copy-pasting the same instructions every session.

GitHub stars
141.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add anthropics/claude-code --skill 'Command Development' --agent claude-code

Installs into .claude/skills of the current project.

Files

If you're building custom slash commands for Claude Code, this is the reference you need. It breaks down how to structure commands as Markdown files, configure them with YAML frontmatter, and use dynamic arguments and bash execution to pull in context. The skill covers command organization and namespacing, which matters once you have more than a handful of commands floating around. Note that it includes shell command directives, so review what's actually being executed before you install. Think of this as the manual for turning your repetitive prompts into reusable, parameterized commands instead of copy-pasting the same instructions every session.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/anthropics/claude-code
Categories
Design & UI/UX, CLI & Terminal
First seen
Jun 3, 2026

More from anthropics/claude-code

All 10
1breaking-brake avatarcc-workflow-ai-editorbreaking-brake/cc-wf-studioAI workflow editor for CC Workflow Studio. Create and edit visual AI agent workflows through interactive conversation using MCP tools (get_workflow_schema, get_0skills.sh installs
2butterbase-ai avatarbuild-appbutterbase-ai/butterbase-skillsThis is the full linear workflow for spinning up a Butterbase backend: provision an app, design and apply a Postgres schema, lock it...0skills.sh installs
3butterbase-ai avatarjourney-schemabutterbase-ai/butterbase-skillsUse as the schema build stage of the Butterbase journey, after journey-plan and journey-preflight. Implements the Tables section of 02-plan.md by delegating to 0skills.sh installs
4cclank avatarkling-promptercclank/lanshu-awesome-ai-video-kit生成符合 Kling 3.0(可灵 3.0,快手)规则的视频提示词。三种写法自适应:4 部分基础公式(短视频)/ 5 层进阶公式(剧情+音频)/ 图生视频专用(只描述运动)。Kling 是 2026 年中文理解最强、原生音画同步、最长 2 分钟、支持角色定向发声、Motion Brush 的电影级模型。用于"用 Kli0skills.sh installs
5chromium avatarchromium docschromium/chromiumSearch and reference official Chromium documentation including design docs, APIs, and development guides0skills.sh installs
6claude-office-skills avatarETL Pipelineclaude-office-skills/skillsDesign and automate Extract, Transform, Load data pipelines for data integration and analytics0skills.sh installs