/skill-madness:skill-writerfrom skill-madness
Generates correctly structured SKILL.md files with frontmatter, directory layout, file ownership, references, and triggering tests. Use when creating agent role, meta, workflow, or contract skills.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate correctly structured SKILL.md files for the Claude Code skill ecosystem. Every skill follows the same frontmatter convention and directory structure.
skill-name/
├── SKILL.md # Required — frontmatter + instructions
└── references/ # Optional — loaded on demand
└── detailed-guide.md
Skills use three-level loading:
Keep SKILL.md bodies concise. Move detailed checklists, templates, and reference tables to references/ with clear pointers.
| Type | Directory | Purpose |
|---|---|---|
| Agent role | roles/{name}/ | Implementation agent for orchestrated builds |
| Meta skill | meta/{name}/ | Tools for the skill ecosystem itself |
| Workflow | workflows/{name}/ | Cross-cutting processes |
| Contract | contracts/{name}/ | Integration contract management |
| Orchestrator | orchestrator/ | Lead coordinator (singleton) |
Every SKILL.md starts with YAML frontmatter. See references/frontmatter-spec.md for the complete field reference.
Required fields:
name — kebab-case, max 64 chars. claude-* / anthropic-* prefixes are reserved by Anthropic; use them only as a documented exception when the skill targets the corresponding Anthropic product (e.g., claude-design-brief).version — semver (start at 1.0.0), top-leveldescription — [What] + [When] + [Capabilities] anatomy (≤400 chars target, 1024 hard ceiling)The description is the primary trigger mechanism. Make it specific, not long: what it does, "Use when…", and a few phrases users really say. Claude Code's skill listing has a shared character budget (1% of the context window: about 8,000 chars on 200k), and over it descriptions are cut to the bare skill name, so the longest-winded catalog loses its long tail. Trigger detail beyond that belongs in the body. See references/description-patterns.md for templates and the 3-slot anatomy.
Declare portability explicitly. Set requires_claude_code: false unless the skill genuinely needs Claude-Code machinery (Agent-Teams subagents, the Artifact tool, ~/.claude config). Default to portable — a host-agnostic skill costs nothing extra, while one marked true is skipped entirely when converting for other tools. If the skill is host-specific, say which host in compatibility (e.g. "Claude Code or any host with Bash").
Structure the body around:
Writing craft (the four rules that keep a body short and reliable):
references/patterns.md.For agent role skills, also include:
references/validation-script-pattern.md for how to wire a validation step into the new skill's bodyMove detailed content to references/:
Reference files from the body with guidance on when to read:
For the complete validation procedure, read `references/quick-checklist.md`
before reporting done.
Every skill must carry a concrete triggering test — at least one example user phrasing that MUST activate the skill, and ideally one near-miss that must NOT. This is how you verify the description actually triggers (not just that it reads well). Record it in the skill (e.g. a short "Triggering test" note or a row in references/quick-checklist.md) so reviewers can re-run it.
Work one focused change at a time — make a single edit, re-validate (lint + the triggering test below), then move to the next. Don't sweep many unrelated changes into one pass.
name is kebab-case. If it starts with claude- or anthropic-, that's a documented exception (skill targets the corresponding Anthropic product)< or > anywhere in frontmatterrequires_claude_code is false unless the skill genuinely needs Claude-Code machinery (subagents, Artifact, ~/.claude)~/.claude paths, ANTHROPIC_BASE_URL) unless scoped as host-specificOptionally compare behavior with vs without the skill — a quick baseline eval on one or two representative prompts — to confirm the skill measurably improves the output and earns the tokens it adds to every context. Skip for trivial skills; do it for anything substantial.
references/frontmatter-spec.md §Ownership Resolution Rules).references/frontmatter-spec.md §Resolved Conflicts (v1.0 → v1.1) before declaring ownership of contracts/, .claude/handoffs/, CLAUDE.md, README.md, or tests/performance/.~/.claude paths, or assuming Agent Teams / the Artifact tool exist makes the skill bail on non-Claude hosts. Write capability language, default requires_claude_code to false, and scope any genuinely host-specific step.references/frontmatter-spec.md — Complete field reference with types, rules, and examplesreferences/description-patterns.md — Templates for writing effective trigger descriptionsreferences/body-template.md — Anthropic's recommended SKILL.md body structure, plus per-skill-type deviations (agent roles, meta, orchestrator, workflow)references/patterns.md — Five architectural skill patterns (Sequential Workflow, Multi-MCP Coordination, Iterative Refinement, Context-Aware Tool Selection, Domain-Specific Intelligence)references/quick-checklist.md — Pre-ship checklist: frontmatter, description, body length, triggers, cross-referencesreferences/performance-notes.md — When and how to add a Performance Notes section to combat model lazinessreferences/validation-script-pattern.md — How to author and wire a deterministic validation script for a skillreferences/body-template.md (opens in a new tab)references/description-patterns.md (opens in a new tab)references/frontmatter-spec.md (opens in a new tab)references/patterns.md (opens in a new tab)references/performance-notes.md (opens in a new tab)references/quick-checklist.md (opens in a new tab)references/validation-script-pattern.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/architecture-rescueFind deepening opportunities in a codebase (shallow modules, missing seams, leaky abstractions) and present them as numbered candidates for a grilling session before any interface is proposed. Use when the code feels tangled or hard to test. Trigger on "improve architecture", "rescue this codebase", "find refactoring opportunities", "ball of mud", "shallow modules"./artifact-publishPublish a visual or interactive result as a Claude Code Artifact: a self-contained HTML or Markdown page on a private, shareable claude.ai link instead of a local file. Use when a dashboard, report, chart, diagram or prototype reads better as a page. Not the claude.ai design canvas (claude-design-brief). Trigger on "publish this as an artifact", "make a shareable link", "give me a link to this"./babysitKeep an open PR healthy on a schedule: poll for review activity, auto-address bot and Copilot nits and routine rebases, re-run the gate, until the PR is mergeable. HITL on anything irreversible; never auto-merges. The scheduled loop around git-pr-feedback, run as "/loop 5m /babysit". Trigger on "babysit my PR", "watch this PR", "keep my PR green", "keep the PR rebased"./backend-agentBuild API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it.Other plugins' skills for the same job