converting-commands-to-skills

Convert Claude Code slash commands into Skills format with frontmatter transformation.

1|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/gannonh/kata-agents --skill converting-commands-to-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: converting-commands-to-skills
Source: https://github.com/gannonh/kata-agents/tree/main/skills/converting-commands-to-skills
Command: npx skills add https://github.com/gannonh/kata-agents --skill converting-commands-to-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates converting Claude Code slash commands into the Skills format, enabling migration from ./commands/* to ./skills/*/SKILL.md with proper frontmatter transformation and directory restructuring.

Core Features & Use Cases

  • Automated frontmatter transformation: Rename commands to gerund forms and enhance descriptions for invocation triggers.
  • Directory restructuring: Move from ./commands/... to ./skills/... following the category-prefix convention.
  • Batch processing: Handle multiple command files in one operation, with optional partial updates if a Skill already exists.
  • Use Case: Convert a large set of slash-commands to skills whenever you migrate or standardize your skill library.

Quick Start

To start a batch conversion, instruct the system to "convert all commands in ./commands to skills" and provide any necessary options.

Frequently Asked Questions about converting-commands-to-skills

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

FAQPage Schema
How do I migrate Claude Code slash commands to skills format?

This conversion process transforms frontmatter, directory structures, and content, renaming commands to gerund forms and enhancing descriptions for invocation triggers to standardize your skill library.

Can I batch convert multiple command files at once?

Yes, you can batch convert multiple command files in a single operation, handling migrations from ./commands/... to ./skills/... while applying category-prefix conventions and optional partial updates if a skill already exists.

How does frontmatter transformation work when converting commands?

Frontmatter transformation involves renaming commands to gerund forms and enhancing descriptions for invocation triggers, ensuring the migrated SKILL.md files meet the required skills format validation.

Does the skill conversion process include validation?

Yes, the conversion process validates frontmatter and wires a PostToolUse hook to run validation automatically, ensuring the updated or created SKILL.md files under ./skills maintain structural integrity.

What happens if a skill already exists during a batch migration?

During batch processing, the conversion supports optional partial updates if a skill already exists, allowing you to handle large sets of slash-commands without overwriting existing configurations unnecessarily.