create-command

Create slash command files and initialize plugin structure in Claude plugins.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/blueif16/amazing-claude-code-plugins --skill create-command-blueif16
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-command
Source: https://github.com/blueif16/amazing-claude-code-plugins/tree/main/skillforge/skills/create-command
Command: npx skills add https://github.com/blueif16/amazing-claude-code-plugins --skill create-command-blueif16

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of creating properly formatted slash command files for Claude Code plugins.

Core Features & Use Cases

  • Command Creation: Build slash commands with proper formatting and descriptions.
  • Installation Guidance: Provides clear instructions for testing commands locally before publishing.

Quick Start

Run the create-command skill to create a new '/status' command for your plugin.

Frequently Asked Questions about create-command

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

FAQPage Schema
How do I create a new slash command for my Claude plugin?

Create slash commands by running the create-command Skill, which generates a properly formatted command file at .claude/commands/{command-name}.md with auto-initialized plugin structure. The Skill validates your command name against the format ^[a-z0-9-]+$, collects a description, and provides local testing instructions.

What format and naming rules apply to slash commands in Claude plugins?

Slash command names must be lowercase alphanumeric with hyphens only, matching the pattern ^[a-z0-9-]+$. Slashes in the name are forbidden. The Skill enforces these constraints and generates the command file in the .claude/commands directory with proper template formatting.

Can I quickly set up a plugin structure when creating my first command?

Yes. The create-command Skill auto-initializes the plugin structure if it's missing, so you don't need to manually set up directories or configuration files before creating your first slash command.

How do I test a new slash command locally after creation?

The Skill outputs installation guidance with step-by-step instructions for testing commands locally in the Claude Code environment before publishing or deploying to production.

What does the create-command Skill do differently from manually writing command files?

The Skill removes complexity by automating file creation, template generation, name validation, and plugin initialization. It enforces proper formatting, standardizes command structure, and provides immediate installation steps—eliminating manual setup errors.