command-creator

Create and manage reusable slash commands for Claude Code with frontmatter metadata.

3|1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/cardoso-neto/personal-ai-infra --skill command-creator-cardoso-neto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-creator
Source: https://github.com/cardoso-neto/personal-ai-infra/tree/main/skills/command-creator
Command: npx skills add https://github.com/cardoso-neto/personal-ai-infra --skill command-creator-cardoso-neto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables teams to define and reuse concise slash commands that automate common prompts for AI coding assistants, reducing repetitive setup and ensuring consistent workflows.

Core Features & Use Cases

  • Custom slash commands allow you to define frequently used prompts as Markdown files that Claude Code can execute, organized by project or personal scope.
  • Namespacing and scope supports directory-based namespaces so commands are easy to discover and avoid collisions.
  • Advanced command metadata via frontmatter (description, argument-hint, allowed-tools, model) enables precise control and context for Claude Code.
  • Bash integration and file references let commands perform lightweight automation, run code checks, or reference repository files as part of a command.
  • Plugin commands and MCP integration extend the command surface with community plugins and dynamic server prompts.
  • Use cases include quick templates for code reviews, build steps, or project-specific automation that teams can share across repos.

Quick Start

Create a project command named 'optimize' that analyzes this codebase and suggests performance improvements.

Frequently Asked Questions about command-creator

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

FAQPage Schema
How do I create custom slash commands for AI coding assistants?

You can create custom slash commands by defining them as Markdown files with rich frontmatter metadata like description, argument-hint, allowed-tools, and model, enabling Claude Code to execute reusable prompts.

What is the best way to organize project-specific AI prompts to avoid naming collisions?

Using directory-based namespacing for your custom commands prevents naming collisions and makes them easy to discover, supporting both project-specific and personal scopes for organized AI workflows.

Can I run Bash scripts and reference repository files within Claude Code commands?

Yes, custom commands support Bash execution and file references, allowing you to perform lightweight automation, run code checks, or include repository files directly as part of the command execution.

How does frontmatter metadata control AI coding command behavior?

Frontmatter metadata controls command behavior by defining attributes like description, argument-hint, allowed-tools, and model, providing precise context and execution constraints for the AI coding assistant.

Do slash commands support integration with community plugins and MCP servers?

Yes, slash commands support plugin commands and MCP integration, extending the command surface with community plugins and dynamic server prompts for advanced AI coding automation.

When should I use custom commands instead of manual prompts for code reviews and builds?

You should use custom commands for code reviews, build steps, or project-specific automation when you need to reduce repetitive setup, ensure consistent workflows, and share templates across team repositories.