Home
cd ../playbooks
Developer ToolsAdvanced

Skill Creator

Create modular skills that extend Claude's capabilities with specialized knowledge, workflows, and tool integrations.

20 minutes
By ComposioSource
#skills#claude#extension#workflow#tools#development

You keep writing the same CLAUDE.md instructions over and over for different projects. This playbook helps you create modular, reusable skills that extend Claude Code with specialized knowledge, custom workflows, and tool integrations — packaged for sharing across projects and teams.

Who it's for: developers building reusable Claude Code skill packages for their team, platform engineers creating standardized Claude Code workflows for organization-wide use, open source contributors packaging domain expertise as shareable Claude skills, DevOps engineers encapsulating infrastructure automation as Claude Code skills, technical leads standardizing development workflows through custom Claude capabilities

Example

"Create a reusable skill for database migration workflows" → Skill creator pipeline: skill template scaffolding with proper CLAUDE.md structure, specialized instruction writing for database migration patterns, tool integration configuration for SQL and ORM commands, test scenario creation validating skill behavior, and packaging with documentation for team distribution

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# Skill Creator

Guide for developing skills that extend Claude's capabilities through specialized knowledge, workflows, and tool integrations.

## What Workflows Are

Workflows are modular, self-contained packages that extend Claude's capabilities by providing:

- **Specialized Workflows**: Domain-specific procedures and processes
- **Tool Integrations**: Support for file formats and APIs
- **Domain Expertise**: Company-specific or technical knowledge
- **Bundled Resources**: Scripts, references, and asset templates

## Skill Structure

```
skill-name/
├── SKILL.md              # Required: Core skill definition
├── scripts/              # Optional: Executable code
│   └── helper.py
├── references/           # Optional: Documentation for context
│   └── api-docs.md
└── assets/               # Optional: Output templates
    └── template.md
```

### SKILL.md (Required)

The core skill definition with frontmatter metadata:

```markdown
---
name: "Skill Name"
description: "Brief description of what this skill does"
triggers: ["keyword1", "keyword2", "phrase"]
version: "1.0.0"
---

## Purpose
What this skill accomplishes and when it activates.

## Workflow
Step-by-step procedures for using this skill.

## Commands
Available actions and their syntax.

## Examples
Concrete usage examples.
```

## Six-Step Creation Process

### Step 1: Understanding with Examples

Gather concrete use cases:
- What problems does this skill solve?
- What are typical user requests?
- What outputs are expected?
- What edge cases exist?

### Step 2: Planning Contents

Identify necessary components:
- Scripts needed for automation
- Reference documentation for context
- Asset templates for outputs
- Dependencies and requirements

### Step 3: Initializing

Generate template structure:
```bash
python init_skill.py --name "my-skill"
```

Creates directory with SKILL.md template and folder structure.

### Step 4: Editing

Develop SKILL.md and bundle resources:
- Use imperative writing style ("Do X", not "You should do X")
- Keep core procedures in SKILL.md
- Move detailed information to references
- Avoid duplication between files

### Step 5: Packaging

Validate and create distributable:
```bash
python package_skill.py --skill "my-skill"
```

Checks structure, validates metadata, creates zip file.

### Step 6: Iterating

Refine based on real-world testing:
- Test with actual use cases
- Gather feedback on usability
- Identify missing functionality
- Update and re-package

## Key Principles

### Progressive Disclosure

Context management through staged loading:
1. **First**: Load metadata (triggers, name, description)
2. **Then**: Load SKILL.md body when skill activates
3. **Finally**: Load resources as specifically needed

This preserves context efficiency and avoids overwhelming Claude with unnecessary information.

### Avoid Duplication

- Core procedures belong in SKILL.md
- Detailed technical information goes in references
- Never repeat content between files
- Reference files by name, don't copy content

### Imperative Writing Style

Use command form throughout:
- "Create the file" not "You should create the file"
- "Run the script" not "The script should be run"
- Direct, actionable instructions

## Skill Activation

Workflows activate based on frontmatter metadata:
- **triggers**: Keywords and phrases that activate the skill
- **name**: Identifier for direct invocation
- **description**: Context for relevance matching

## Example SKILL.md

```markdown
---
name: "Docker Deployment"
description: "Manage Docker container deployments"
triggers: ["docker", "container", "deploy", "dockerfile"]
version: "1.0.0"
---

## Purpose
Assist with Docker container creation, configuration, and deployment workflows.

## Workflow

### Creating Containers
1. Analyze application requirements
2. Generate Dockerfile
3. Build and test locally
4. Push to registry

### Deployment
1. Pull latest image
2. Stop existing container
3. Start new container
4. Verify health checks

## Commands

- `docker:build` - Build container from Dockerfile
- `docker:deploy` - Deploy to target environment
- `docker:logs` - View container logs
- `docker:status` - Check container health

## Examples

"Deploy the API to production"
"Create a Dockerfile for this Node.js app"
"Check the status of the web container"
```

## Best Practices

1. **Start with concrete examples** - Use cases guide design
2. **Keep SKILL.md focused** - Core workflows only
3. **Use references for details** - Technical docs, API specs
4. **Test iteratively** - Real usage reveals gaps
5. **Version your skills** - Track changes over time
6. **Document triggers clearly** - Ensure proper activation
README.md

What This Does

Create modular, self-contained skills that extend Claude's capabilities. Workflows provide specialized knowledge, domain-specific workflows, and tool integrations that activate based on context.


Quick Start

Step 1: Create a Workflows Development Folder

mkdir -p ~/Projects/my-skills

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Projects/my-skills/

Step 3: Start Creating

cd ~/Projects/my-skills
claude

Then say: "Help me create a skill for [use case]"


What Workflows Provide

Component Purpose
Specialized Workflows Domain-specific procedures
Tool Integrations File formats and APIs
Domain Expertise Company-specific knowledge
Bundled Resources Scripts, references, assets

Skill Structure

my-skill/
├── SKILL.md          # Required: Core skill definition
├── scripts/          # Optional: Executable code
├── references/       # Optional: Context documentation
└── assets/           # Optional: Templates, outputs

Six-Step Creation Process

Step Action
1. Understand Gather concrete examples and use cases
2. Plan Identify necessary scripts and resources
3. Initialize Generate template structure
4. Edit Develop SKILL.md with imperative style
5. Package Validate and create distributable zip
6. Iterate Refine based on real-world testing

SKILL.md Format

---
name: "My Skill Name"
description: "What this skill does"
triggers: ["keyword1", "keyword2"]
---

## Purpose
Brief explanation of skill functionality

## Workflow
Step-by-step procedures

## Commands
Available actions and syntax

Key Principles

Progressive Disclosure

  • Load metadata first
  • Then SKILL.md body
  • Resources loaded as needed
  • Preserves context efficiency

Avoid Duplication

  • Core procedures in SKILL.md
  • Detailed info in references
  • No redundancy between files

Imperative Writing

  • Use command form: "Do X"
  • Clear, actionable instructions
  • Direct procedural steps

Example Prompts

  • "Create a skill for code review workflows"
  • "Build a skill for managing Docker deployments"
  • "Design a skill for API documentation"
  • "Develop a skill for database migrations"

Tips

  • Start with examples: Concrete use cases guide design
  • Keep SKILL.md focused: Move details to references
  • Use imperative voice: Clear commands work best
  • Test iteratively: Real usage reveals improvements
  • Package properly: Validate before distribution

$Related Playbooks