Skill creator

From bobmatnyc/claude-mpm · View interactive version

Skill creator is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

How to use this skill

Skill file

Skill Creator

Overview

Create effective skills that extend Claude's capabilities through specialized knowledge, workflows, and tools. Skills are modular packages that transform Claude from a general-purpose agent into a specialized agent with procedural knowledge for specific domains.

This skill exemplifies its own teachings by using progressive disclosure to keep the entry point lean while providing deep detail in reference files.

When to Use This Skill

Activate when:

Core Principles

  1. Example-Driven Design: Start with concrete usage examples, not abstract concepts
  2. Progressive Disclosure: Keep entry point <200 lines (optimal: 140-160), detailed content in references
  3. Reusable Components: Extract scripts for repeated code, references for knowledge, assets for templates
  4. Imperative Voice: Use verb-first instructions throughout (not second person)
  5. Purpose-Built Resources: Each component should solve specific repetitive needs

What Skills Provide

Four Core Capabilities:

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex tasks

Three-Level Loading System:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - When skill triggers (<200 lines, optimal: 140-160)
  3. Bundled resources - As needed by Claude (unlimited)

Quick Start

Six-Step Creation Process

Step 1: Understand with Concrete Examples

Gather 3-5 realistic usage examples. Ask: "What would users say to trigger this skill?" and "What tasks should it accomplish?" → Complete guide

Step 2: Plan Reusable Components

Analyze examples to identify: scripts (repeated code), references (domain knowledge), assets (templates). → Planning guide

Step 3: Initialize Skill

Run scripts/init_skill.py <skill-name> --path <output-directory> to generate template structure. → Initialization details

Step 4: Edit Skill

Implement scripts/references/assets, then update SKILL.md using imperative voice. Apply progressive disclosure if >150 lines. → Editing guide

Step 5: Package and Validate

Run scripts/package_skill.py <path/to/skill-folder> to validate and create distributable zip. → Packaging guide

Step 6: Iterate

Use on real tasks, notice struggles, update skill accordingly. → Iteration guide

Skill Anatomy

skill-name/
├── SKILL.md (required)           # Entry point with frontmatter + markdown
├── scripts/ (optional)           # Executable code (Python/Bash)
├── references/ (optional)        # Documentation loaded as needed
└── assets/ (optional)            # Templates, images, files for output

Component Guidelines:

→ Complete structure guide

Progressive Disclosure Pattern

When to apply: Skills >150 lines total

Implementation:

  1. Add progressive_disclosure frontmatter with summary, when_to_use, quick_start
  2. Reduce entry point to 140-160 lines (core workflow + navigation)
  3. Create 3-5 reference files (150-500 lines each)
  4. Organize by topic: structure, workflow, best practices, examples
  5. Add navigation section linking all references

Benefits:

→ Complete progressive disclosure guide

Meta-example: This skill-creator demonstrates progressive disclosure:

Navigation

Core Concepts

Step-by-Step Process

Design Patterns

Quality Standards

Real-World Examples

Key Reminders

Red Flags - STOP

If you catch yourself:

ALL of these mean: STOP. Review principles and references.

Integration with Other Skills

Meta-Skills:

Development Skills:

Workflow Skills:

Real-World Impact

From skill optimization experience:


Remember: Skills are modular packages that transform Claude into a specialized agent. Apply progressive disclosure for skills >150 lines. This skill demonstrates the pattern it teaches.

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.