All skills
Skillintermediate

Developer Guide

Learn how to create, structure, and package your own Claude skills.

Claude Code Knowledge Pack7/10/2026

Overview

Developer Guide

Learn how to create, structure, and package your own Claude skills.


Getting Started

<div class="grid cards" markdown>
  • :material-puzzle:{ .lg .middle } Skill Anatomy


    Understand the structure of a skill: SKILL.md, references, assets, and how they work together.

  • :material-file-document:{ .lg .middle } Writing SKILL.md


    Best practices for writing effective skill instructions.

  • :material-folder-multiple:{ .lg .middle } References & Assets


    How to use bundled resources for progressive disclosure.

  • :material-package-variant:{ .lg .middle } Building & Packaging


    Package skills for Claude.ai upload.

  • :material-source-branch:{ .lg .middle } Contributing


    Guidelines for contributing to the skills repository.

</div>

Core Principles

Concise is Key

The context window is a public good. Skills share it with everything else Claude needs: system prompt, conversation history, and user requests.

Default assumption: Claude is already very smart. Only add context Claude doesn't already have. Challenge each piece of information:

  • "Does Claude really need this explanation?"
  • "Does this paragraph justify its token cost?"

Prefer concise examples over verbose explanations.

Set Appropriate Degrees of Freedom

Match specificity to the task's fragility and variability:

Freedom LevelWhen to UseExample
HighMultiple approaches valid, context-dependentText-based heuristics
MediumPreferred pattern exists, some variation OKPseudocode with parameters
LowFragile operations, consistency criticalSpecific scripts

Think of Claude as exploring a path: a narrow bridge needs specific guardrails (low freedom), while an open field allows many routes (high freedom).

Progressive Disclosure

Skills use a three-level loading system:

  1. Metadata (name + description) — Always in context (~100 words)
  2. SKILL.md body — When skill triggers (<5k words ideal)
  3. Bundled resources — As needed by Claude (unlimited)

This keeps context lean while making depth available on demand.


Quick Start: Creating a Skill

1. Create the folder structure

my-skill/
├── SKILL.md              # Required
├── references/           # Optional
│   └── detailed-guide.md
└── assets/               # Optional
    └── template.md

2. Write the SKILL.md frontmatter

---
name: my-skill
description:
  A clear description of what this skill does and when to use it. Should be at
  least 20 characters.
---

3. Write the instructions

# My Skill

[Core instructions for Claude]

## Workflow

[Step-by-step guidance]

## References

For detailed information on X, see `references/detailed-guide.md`.

4. Package for Claude.ai

python build.py my-skill

5. Upload

Go to Claude.ai → Settings → Skills → Upload dist/my-skill.skill


What Makes a Good Skill?

QualityDescription
FocusedOne job, done well
ConciseOnly essential information
StructuredClear workflow with defined inputs/outputs
ProgressiveCore in SKILL.md, details in references
TestedValidated with real usage

Next Steps

  1. :octicons-arrow-right-24: Skill Anatomy — Start here to understand structure
  2. :octicons-arrow-right-24: Writing SKILL.md — Best practices for instructions
  3. :octicons-arrow-right-24: References & Assets — Bundling resources
  4. :octicons-arrow-right-24: Building & Packaging — Create .skill files