/nlsmdn:skill-creator <skill name or description>from nlsmdn
Guide for creating or improving Claude skills. Triggers "create a skill", "build a skill", "new skill", "improve this skill", "skill for [use case]".
Ships in nlsmdn. 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.
Concise is key. The context window is shared with system prompts, conversation history, other skills, and the user's request. Only add context Claude doesn't already have. Challenge each piece: "Does this paragraph justify its token cost?" Prefer concise examples over verbose explanations.
Match freedom to fragility. Narrow bridge with cliffs = specific guardrails (exact scripts). Open field = many valid routes (text instructions). See references/patterns.md for detailed guidance.
skill-name/ # kebab-case, must match `name` field
├── SKILL.md # Required (exact case-sensitive spelling)
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation loaded as needed
└── assets/ # Optional: templates, images, fonts for output
name field exactlyFor details on when to use scripts/, references/, and assets/, see references/patterns.md.
The YAML frontmatter controls whether Claude loads the skill. This is the most important part.
---
name: your-skill-name
description: What it does. Use when [specific trigger phrases].
---
Rules:
| Rule | Detail |
|---|---|
name | kebab-case, no spaces/capitals, must match folder name |
description | Must include WHAT it does AND WHEN to use it |
| Description length | Under 1024 characters |
| Trigger phrases | Include specific phrases users would say |
| File types | Mention relevant file types if applicable (e.g., ".csv files", ".docx") |
| No XML tags | No < or > in frontmatter (security restriction) |
| No reserved names | No "claude" or "anthropic" in the name field |
Good descriptions:
# Specific, includes triggers and file types
description: Analyzes Figma design files and generates developer handoff
documentation. Use when user uploads .fig files, asks for "design specs",
"component documentation", or "design-to-code handoff".
# Includes trigger phrases and capabilities
description: Manages Linear project workflows including sprint planning,
task creation, and status tracking. Use when user mentions "sprint",
"Linear tasks", "project planning", or asks to "create tickets".
Bad descriptions:
# Too vague - won't trigger correctly
description: Helps with projects.
# Missing triggers - Claude won't know when to load it
description: Creates sophisticated multi-page documentation systems.
# Too technical, no user-facing triggers
description: Implements the Project entity model with hierarchical relationships.
Put ALL "when to use" information in the description, not in the body. The body only loads after triggering, so "When to Use This Skill" sections in the body do not help Claude decide to load the skill.
Optional fields: license (e.g., MIT), compatibility (environment requirements, 1-500 chars), metadata (author, version, mcp-server).
After the frontmatter, write instructions in Markdown. The recommended structure:
# Skill Name
## Instructions
### Step 1: [First Major Step]
Clear, specific explanation with examples.
### Step 2: [Next Step]
(continue as needed)
## Examples
### Example 1: [common scenario]
User says: "..."
Actions: 1. ... 2. ...
Result: ...
## Troubleshooting
### Error: [Common error]
**Cause:** [Why it happens]
**Solution:** [How to fix]
All three sections are expected: Instructions, Examples, and Troubleshooting. Skills missing Examples or Troubleshooting are incomplete.
Writing guidelines:
Run python scripts/validate.py --input {file} not "Validate the data"references/api-patterns.md for rate limiting guidance"Size limit: Keep SKILL.md under ~5,000 words. If approaching this limit, move reference material to references/ and link to it. See references/patterns.md for progressive disclosure patterns.
description field is scanned for trigger matching — put all trigger phrases there.<, >) in frontmatter silently break skill loading with no error message. Use backticks or natural language instead of <feature> in descriptions./skill-name or $skill-name inside skill bodies — just write skill-name or backtick it as skill-name. Each tool has its own prefix convention and the skill should not assume which one is used.Understand how the skill will be used before writing anything. Ask the user:
Avoid asking too many questions at once. Start with the most important and follow up as needed. Conclude when there is a clear sense of the functionality and trigger scenarios.
Analyze each use case example to identify what reusable resources would help:
scripts/rotate_pdf.py for a PDF skill)references/schema.md for a database skill)assets/template/ for a webapp builder)Create a list of resources to include. Not every skill needs bundled resources — many skills are instructions-only.
Create the skill directory with required SKILL.md and any needed resource directories:
mkdir -p skill-name/{scripts,references,assets} # include only dirs you need
touch skill-name/SKILL.md
Write scripts, references, and assets before SKILL.md. This may require user input (e.g., brand assets, API docs, database schemas). Test all scripts by running them.
Follow the frontmatter rules above. Verify:
Follow the recommended body structure:
Test that the skill loads at the right times:
Should trigger:
- "Help me [primary use case]"
- "[Paraphrased request]"
- "[Domain-specific terminology]"
Should NOT trigger:
- "[Unrelated query]"
- "[Similar but different domain]"
Ask Claude: "When would you use the [skill name] skill?" — Claude will quote the description back, revealing gaps.
Run the skill on real tasks. Verify:
| Signal | Symptom | Fix |
|---|---|---|
| Undertriggering | Skill doesn't load when it should | Add more trigger phrases and keywords to description |
| Overtriggering | Skill loads for unrelated queries | Add specificity or negative triggers ("Do NOT use for...") |
| Execution issues | Inconsistent results or user corrections needed | Improve instructions, add error handling, be more specific |
| Context bloat | Slow responses, degraded quality | Move content to references/, reduce SKILL.md size |
Keep one source directory for skills and render it to each agent's skills directory with the loadout tool, rather than editing per-agent copies — there is no list to register a skill in.
Pick the scope first, because it decides the directory:
| Scope | Lives in | Reaches |
|---|---|---|
| Global | loadout/skills/<name>/ | All four harnesses, every project |
| Project-type | loadout/kits/skills/<name>/ | Only projects selecting a kit that lists the skill |
| This repo only | .claude/skills/<name>/ | sessions in this repo (see below) |
For a project-type skill, add its name to skills in the relevant
loadout/kits/<type>.toml manifest, then sync the projects selecting that kit.
Global skill — write loadout/skills/<name>/SKILL.md, then:
loadout sync --global
That renders it into ~/.claude/skills/, ~/.codex/skills/,
~/.config/opencode/skills/ and ~/.pi/agent/skills/. The directory is the
declaration — nothing else needs editing to wire it up. Supporting files
(references/, scripts/, assets/) are copied byte-for-byte with mode preserved,
so an executable script stays executable; __pycache__ is skipped.
One mandatory hookup: classify the skill in publish/skills.toml — add its name
to one of the README groups under [groups], or to private. Every global skill
must appear in exactly one place; the pre-commit hook rejects an unclassified
skill, and publishable sources must carry no personal strings.
One optional hookup: add a row to loadout/skills/README.md, the human-facing
catalog. Agents read the description: frontmatter instead, so that frontmatter is
what actually has to be good.
Repo-local skill — .claude/skills/<name>/ is outside the loadout pipeline: no
sync, no loadout check coverage, Claude Code picks it up directly. To reach Codex
too, symlink it into this repo's .codex/skills/:
ln -sfn ../../.claude/skills/<name> .codex/skills/<name>
Never hand-edit a rendered output under a harness's skills directory. Each
carries a <!-- GENERATED ... --> banner; loadout check --global reports
drift, and loadout sync refuses to overwrite a hand-edited output rather than
discarding it.
Nothing prunes. Moving a skill between scopes — or deleting one — leaves the already-rendered copies in all four harness directories. Delete those by hand.
Note: any skill body referencing docs/ writes into the target project's
docs/, not this repo — global skills run in arbitrary projects.
Almost no skill needs this — 47 of 49 render identically everywhere. Reach for it
when a skill must genuinely say different things to different agents (e.g.
code-review, whose dispatch instructions differ between the claude/codex/opencode
family and pi).
Mark whole blocks inline:
::: claude
- **Codex** blocks on "Reading additional input from stdin…" unless stdin is closed.
:::
::: codex opencode
- **Claude** runs non-interactively in print mode (`claude -p`).
:::
Constraints: a marker never sits inside a fenced code block (to vary a code example, mark the whole fence twice), and adjacent blocks must have no blank line between them or that line reaches every harness.
Frontmatter is YAML, so ::: there would be data. Per-harness values use a block
keyed by harness, merged over the shared keys and stripped from the output:
name: nono-sandbox
description: Decide whether a failure is actually a nono sandbox denial…
opencode:
description: Diagnose and resolve permission denials when opencode runs…
Before finalizing, verify:
name field--- delimitersname: kebab-case, no spaces/capitalsdescription: includes WHAT and WHEN with trigger phrasesdescription: under 1024 characters< >) in frontmatterloadout/skills/ (global), loadout/kits/skills/ (project-type), or .claude/skills/ (this repo only)publish/skills.toml (a [groups] entry, or private) — the pre-commit hook fails otherwiseloadout sync --global run, and the skill appears under all four harness skills directoriesloadout check --global reports no driftloadout/skills/README.md (the human catalog — agents read the description: frontmatter instead)Step 1 — Understand: User wants a skill that analyzes CSV files, generates summary statistics, and creates visualizations. Triggers: "analyze this CSV", "summarize this data", "chart this spreadsheet".
Step 2 — Plan resources:
scripts/analyze.py — Reusable analysis script with pandasStep 3 — Initialize:
csv-analyzer/
├── SKILL.md
└── scripts/
└── analyze.py
Step 4 — Write:
Frontmatter:
---
name: csv-analyzer
description: Analyze CSV files with summary statistics and visualizations.
Use when user uploads .csv files, asks to "analyze data", "summarize this
CSV", "chart this spreadsheet", or wants statistical insights from tabular data.
---
Body includes: step-by-step workflow (load CSV, validate, analyze, visualize, present), an example showing a user asking "Summarize sales.csv" with the expected output, and troubleshooting for common issues (malformed CSV, missing columns, large files).
Step 5 — Test: Verify it triggers on "analyze this CSV" and "give me stats on this data file" but not on "help me write a CSV parser" (that's a coding task, not an analysis task).
Cause: Description is too vague or missing trigger phrases. Solution: Add specific phrases users would say. Include file types if relevant. Test with: "When would you use the [skill name] skill?"
Cause: Description is too broad. Solution: Be more specific. Add negative triggers:
description: Processes PDF legal documents for contract review.
Do NOT use for general PDF editing or non-legal documents.
Cause: Instructions are too verbose, ambiguous, or buried. Solutions:
references/Cause: SKILL.md is too large or too many skills enabled simultaneously.
Solution: Move detailed docs to references/, keep SKILL.md under ~5,000 words. Link to references instead of inlining content.
For advanced patterns (progressive disclosure, resource organization, domain-specific splitting), see references/patterns.md.
What SKILL.md sets; muted values are Claude Code's defaults
highOther plugins' skills for the same job
65 skills in this plugin
/blind-spotsSurface consequential decisions a plan, design, or research brief left silently assumed, by interviewing the user in dependency order. Use when the user says "blind spots", "grill me", "stress-test this plan", "poke holes in this", "what am I missing", "interrogate this design", "what haven't I decided", or needs a loose idea or research brief clarified before work begins. Do NOT use for a clear factual lookup, to explain a previous reply in more detail (use `huh`), to generate ideas when it is unclear what to build (use `ideation`), or to review an already-written plan with agents (use `review-plan`)./brainstormWork out how to solve a problem the user can already name — interview them with `blind-spots` to understand it, generate structurally different approaches, validate each with an independent critic, then present the survivors with trade-offs and a recommendation. Use when the user says "brainstorm", "brainstorm approaches", "how should we solve/approach/tackle X", "what are our options", "compare approaches", "think this through with me", or wants solutions weighed before committing. Works on any topic, with codebase recon when a repo is involved; `--debate` adds external advisors for high-stakes calls. Do NOT use when stuck on what to build or what the problem is (use `ideation`), to probe an already-chosen plan (use `blind-spots`), or to pick a library or service (use `evaluate-tech`)./check-agent-logsSearch past Claude Code, Codex, Cursor CLI, Devin CLI, Droid, and Pi session logs to recover context from earlier work across the current project and sibling checkouts. Use when a bug, topic, or decision was handled in a previous session but its agent or checkout is unknown; when the user says "we fixed/discussed this before", "find the session where", "recover prior context", "check agent logs", "check Claude projects", "search past sessions/transcripts", or "which checkout was that in". Do not use for aggregate failure-pattern analysis; use review-logs for that./codebase-reviewReview a whole codebase aspect by aspect, with aspects fitted to the project type (mobile, desktop, web frontend, static site, CLI, backend, library) — docs truth-check, architecture, tests, security, the type's foundations, feature deep dives, consistency, roadmap — writing a doc per aspect and a verified findings ledger that doubles as the TODO. Plans first (recon, `blind-spots`, `review-plan`, plan approval), then walks the plan with the user aspect by aspect — agents review and verify in the background, the user confirms rulings and decides judgment calls one at a time. `--auto` runs independently after the gate, with decision waves at the end. `--fix` hands settled findings through `crew` to worker sessions, integrated locally, never pushed. Use for "codebase review", "review the whole codebase", "onboard me to this repo", "deep dive this app", "audit the code base", "review and fix everything". Not for a diff or PR (code-review), a CLI release pass (release-review), or building a feature (longshot)./codebase-review-typescriptSupply TypeScript and JavaScript structural evidence to codebase-review using dependency-cruiser, ESLint complexity, and Git churn. Use for whole-codebase import-cycle and complexity-hotspot investigation, or when discovered as a project-local codebase-review extension. Does not replace review-typescript's type-design checks or review a diff./code-guideCoach the user through writing a feature themselves, one small step at a time, the way an experienced developer would build it. Each step comes with the code to type and a checkpoint that proves it works, such as logging the endpoint's response shape before typing it, or rendering a hardcoded value before wiring the real one. After each step the agent reads the user's diff and verifies it. The happy path comes first and edge cases come last. Use when the user says "code-guide", "guide me to write", "help me write this myself", "I want to code it myself", "coach me through implementing", "walk me through building this feature", "don't write it for me", or wants to learn by typing the code. Do NOT use for console or dashboard setup (use guide), explaining existing code (use code-tour), or when the agent should implement the change itself (use plan or longshot).npx claudepluginhub nielsmadan/skills --plugin nlsmdn