Marketplace

writing-skills

Use when creating new skills, editing existing skills, or verifying skills work before deployment

$ 安裝

git clone https://github.com/ReinaMacCredy/maestro /tmp/maestro && cp -r /tmp/maestro/.claude/skills/writing-skills ~/.claude/skills/maestro

// tip: Run this command in your terminal to install the skill


name: writing-skills description: Use when creating new skills, editing existing skills, or verifying skills work before deployment

Writing Skills

Core Principles

  1. Skills ARE TDD for documentation - Write failing test (baseline), write skill, watch pass, refactor
  2. No skill without failing test first - If you didn't watch an agent fail without it, you don't know what to teach
  3. Description = When to Use, NOT What It Does - Summaries create shortcuts agents will take

Quick Reference

PhaseAction
REDRun pressure scenario WITHOUT skill, document rationalizations
GREENWrite minimal skill addressing those failures
REFACTORFind new loopholes, plug them, re-test
Skill TypeTest Focus
TechniqueRecognition + application under pressure
PatternWhen to apply + when NOT to apply
ReferenceCan agent find and use information?

When to Create

Create when: Technique wasn't obvious, applies broadly, others benefit Don't create for: One-offs, standard practices, project-specific (use CLAUDE.md)

Frontmatter

---
name: skill-name-with-hyphens
description: Use when [triggering conditions only, never workflow summary]
---
  • Name: letters, numbers, hyphens only
  • Description: Start "Use when...", max 1024 chars, third person

Anti-Patterns

  • Narrative - "In session 2025-10-03, we found..." (too specific)
  • Multi-language - example-js.js, example-py.py (maintenance burden)
  • Workflow in description - Creates shortcut, agent skips body
  • Batching skills - Test each before moving to next

STOP Before Next Skill

After writing ANY skill, complete deployment before creating another. Untested skills = untested code.

References

Related