Copy-Paste TemplatesYAML FrontmatterVerified Structure

Claude Skills Examples: 4 Production SKILL.md Templates

The fastest way to master Claude Skills is reading clean, working files. Copy any of these four complete SKILL.md templates straight into your `.claude/skills/` directory.

Example 1: Lean Session Closer (Prevent Endless Context Drift)

markdown
---
name: session-closer
description: Activate when a milestone finishes or the user says wrap up. Compacts verified wins, updates handoff notes, and lists clean next steps.
---

# Session Closer

1. Audit what was verified vs. still pending.
2. Save any reusable scripts or decisions into the project repo (never leave them buried in chat).
3. Clean temporary scratch files.
4. Deliver a crisp 4-part summary:
   - Shipped & verified
   - Assets saved
   - Open decisions for the human
   - Exact next command to resume

Example 2: B2B Client Material Digest (Messy Files → Clean JSON)

markdown
---
name: b2b-material-digest
description: Activate when onboarding a B2B client with scattered PDFs, spec sheets, and photos. Converts raw inputs into one structured company-data.json.
---

# B2B Material Digest

1. Inventory every supplied file first; never ask the client for facts already provided.
2. Extract product models, specs, certifications, and target applications into `data/company-data.json`.
3. Mark missing fields as `null` with an explicit source note instead of guessing.
4. Downstream copy, design, and quote agents must read the JSON graph instead of raw PDFs.

Example 3: Anti-Slop Human Writer

markdown
---
name: human-tone-editor
description: Activate when drafting blog posts, landing pages, or outreach emails. Removes AI clichés and enforces concrete, scannable prose.
---

# Human Tone Editor

- Ban hollow openers ("In today's fast-paced world", "Delve into", "Game-changer").
- Lead every section with a concrete verdict, number, or real example.
- Keep paragraphs to 2–3 lines max and replace vague adjectives with specific evidence.
- Match the user's real vocabulary rather than corporate buzzwords.

Example 4: Safe Pre-Deploy Approval Checklist

markdown
---
name: deploy-approval-gate
description: Activate before any git push, merge, production deploy, or paid API call.
---

# Deploy Approval Gate

1. Summarize exact target repo/branch/project and list every modified file.
2. Attach observed build/test output.
3. Ask for explicit single-action human confirmation before executing the irreversible command.

FAQ

What fields are required in SKILL.md YAML frontmatter?

Only two fields are strictly required: name (lowercase hyphenated identifier) and description (clear trigger conditions explaining when the agent should load the skill).

Can a skill include helper Python or shell scripts?

Yes. Put deterministic helper scripts inside a scripts/ subfolder next to SKILL.md and reference their exact CLI commands inside the skill instructions.

Need the Complete B2B & Export AI Skill Pack?

Skip weeks of trial and error. Get 12 field-tested SKILL.md packs (B2B site pipeline, industrial product photo cleanup, SERP audit, and token-saving workflows) or book a 1-on-1 setup.

Get the Pro Pack / Contact

Explore More Skill Guides