Skill creator

From FlorianBruniaux/claude-code-plugins · View interactive version

Skill creator is an AI agent skill from the GitHub repository FlorianBruniaux/claude-code-plugins. Scaffold a new Claude Code skill with SKILL.md, frontmatter, and bundled resources. Use when creating a custom skill, standardizing skill structure across a team, or packaging a skill for distribution.

How to use this skill

Skill file

Skill creator

Generate new Claude Code skills with correct directory structure, YAML frontmatter, and optional bundled resources.

When to use

Skill directory structure

skill-name/
├── SKILL.md          # Required: Main skill file with YAML frontmatter
├── scripts/          # Optional: Executable code for deterministic tasks
├── references/       # Optional: Documentation loaded contextually
└── assets/           # Optional: Templates, images, boilerplate (not loaded into context)

Workflow

1. Create the skill

Create a new skill called "my-skill-name" in ~/.claude/skills/

Or with a specific purpose:

Create a skill for generating release notes from git commits,
with templates for CHANGELOG.md and Slack announcements

Or via the initialization script:

python3 ${CLAUDE_SKILL_DIR}/scripts/init_skill.py <skill-name> --path <output-directory>

2. Generated SKILL.md template

The created SKILL.md follows this structure:

---
name: skill-name
description: "What the skill does. Use when [trigger conditions]."
effort: medium
# add disable-model-invocation: true for workflows with side effects
---

# Skill Name

## When to Use
- Trigger condition 1
- Trigger condition 2

## What This Skill Does
1. **Step 1**: Description
2. **Step 2**: Description

## How to Use
[Usage examples]

## Example
**User**: "Example prompt"
**Output**: [Example output]

3. Validate the skill

After creation, verify:

  1. Frontmatter: name is kebab-case and equals the directory name; description is a quoted string with a "Use when" clause, key use case first; only documented keys; argument-hint if the body uses \$ARGUMENTS
  2. Content: Has "When to Use" section with trigger conditions and at least one usage example
  3. Structure: SKILL.md is under 5000 words; references and assets are in correct subdirectories
  4. Test: Invoke the skill with a real use case and confirm expected output

4. Package for distribution (optional)

python3 ${CLAUDE_SKILL_DIR}/scripts/package_skill.py <path/to/skill-folder> [output-directory]

Organizational patterns

| Pattern | Best For | Structure |

|---------|----------|-----------|

| Workflow-Based | Sequential procedures | Step-by-step instructions |

| Task-Based | Multiple operations | Collection of tasks |

| Reference/Guidelines | Standards, specs | Rules and examples |

| Capabilities-Based | Interrelated features | Feature descriptions |

Example: Creating a release notes skill

User: "Create a skill for generating release notes with 3 output formats"

Steps:

  1. Initialize: init_skill.py release-notes-generator --path ~/.claude/skills/
  2. Add templates to assets/: changelog-template.md, pr-release-template.md, slack-template.md
  3. Add rules to references/: tech-to-product-mappings.md
  4. Complete SKILL.md with usage instructions
  5. Validate: check frontmatter, test with a real commit range
  6. Package: package_skill.py ~/.claude/skills/release-notes-generator

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.