craft-skills
CLAUDE.md4 starsChanged 6 months agoMITView on GitHub
craft-skills is a Claude Code plugin: a curated collection of agent Skills, not a runnable application. There is no source to compile and no runtime — each skill is a Markdown file (SKILL.md) of instructions an agent loads on demand. "Building" here means keeping the two manifests and the skill files mutually consistent and passing the official plugin validator. The thesis (see README.md): skills for "code you'll have to live with" — targeting legibility and restraint, the parts of code…
In this repository17 other files it gives its agents.
- boyscoutSkill
- delete-thisSkill
- explain-backSkill
- fit-inSkill
- loud-errorsSkill
- name-thingsSkill
- seamsSkill
- why-commentsSkill
- bank-the-suiteSkill
- checkpoint-handoffSkill
- everywhere-elseSkill
- fix-it-nowSkill
- prove-every-numberSkill
- readiness-gateSkill
- smell-the-numbersSkill
- test-like-you-mean-itSkill
- setup-craft-skillsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Every SKILL.md follows the same shape — keep it consistent:
- Very specific: line 68
When adding, renaming, or removing a skill, all of these must hold (a stale one silently breaks /plugin install):
- Very specific: line 80
Keep launch scope small and curated.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo is
craft-skills is a Claude Code plugin: a curated collection of agent Skills, not a runnable application. There is no source to compile and no runtime — each skill is a Markdown file (SKILL.md) of instructions an agent loads on demand. "Building" here means keeping the two manifests and the skill files mutually consistent and passing the official plugin validator.
The thesis (see README.md): skills for "code you'll have to live with" — targeting legibility and restraint, the parts of code quality agents are worst at, deliberately not the typing/refactor lane.
Commands
# Validate the plugin + marketplace manifests (the closest thing to a build/test)
claude plugin validate .There is no test runner, linter, or build step. The validator checks .claude-plugin/marketplace.json; for the plugin itself, correctness is verified by the consistency invariants below.
Architecture
Two manifests in .claude-plugin/ and one directory of skills:
.claude-plugin/plugin.json— the plugin manifest. Theskillsarray lists each skill by its individual directory path (e.g../skills/craft/explain-back), not a parent dir. This explicit form is valid and is how skills get registered; a skill that isn't in this array won't load..claude-plugin/marketplace.json— the marketplace manifest so/plugin marketplace add mikestangdevs/craft-skillsworks. It references this same repo as a single plugin via"source": "./".skills/<bucket>/<name>/SKILL.md— one skill per directory. Buckets (craft/,setup/) are organizational only; Claude Code invokes a skill by its leaf directory name regardless of bucket.
Bucket organization & governance
Skills live in buckets under skills/. Buckets are one of two kinds:
- Shipped buckets (currently
craft/,setup/) — skills that are part of the published plugin. Every skill in a shipped bucket must be referenced in both the top-levelREADME.mdand.claude-plugin/plugin.json. - Staging buckets (
in-progress/,deprecated/,personal/) — not created yet; add one only when you actually have a skill to park there. Skills in a staging bucket must appear in neitherREADME.mdnorplugin.json— staging lets you draft or retire skills in-repo without shipping them.
Conventions:
- Each bucket folder has its own
README.mdlisting every skill in that bucket with a one-line description, with each skill name linked to itsSKILL.md. Staging buckets get a README too (so the folder explains itself), but their skills still stay out of the top-level README andplugin.json. - The top-level
README.mdlinks each skill name to itsSKILL.md. - This repo is deliberately small and curated: roadmap/candidate skills live as prose under
## Roadmapin the top-levelREADME.md, not as empty staging folders. Create a staging bucket only when a real draft needs parking.
How the skills relate (the big picture)
The seven craft/ skills each own exactly one failure mode and are designed to compose:
explain-back— build & confirm a mental model before trusting code (the everyday hero). RoutesUNJUSTIFIEDdead chunks todelete-thisand naming stumbles toname-things.delete-this— prove code is dead, then remove it in revertible stages (the surprising front door).name-things— kill generic names; align to the domain vocabulary.seams— split pure decision from effectful action so logic is testable with no mocks (functional-core / imperative-shell at the function level — deliberately distinct from architectural layering).loud-errors— make swallowed/vague failures loud and specific.why-comments— delete comments that narrate what, keep/sharpen/add the non-obvious why. Hands commented-out code todelete-this; unclear-code-propped-by-comment toname-things.fit-in— read the neighborhood first; match local idiom and reuse existing solutions instead of importing a generic style. Convention never outranks correctness: harmful local patterns are flagged (loud-errors/name-thingswin), not replicated. Style crusades route toboyscout(small) or a separate proposal (big).
boyscout is a meta-skill: small, opportunistic, in-scope cleanup riding along with another change, and it may invoke the others at small scale. The boundary with delete-this matters and is cross-referenced in both files: boyscout = adjacent cleanup while editing; delete-this = a deliberate repo-wide sweep.
setup/setup-craft-skills is a run-once scaffolder that generates an optional CONTEXT.md at a consuming repo's root (domain glossary + Avoid synonym ban-list + relationships + flagged ambiguities + conventions + untouchables). The craft skills read CONTEXT.md if present to match the project; they degrade gracefully when it's absent. Note: the CONTEXT.md it describes lives in the user's repo after they run the skill — it is not committed to this plugin repo.
SKILL.md conventions (match these when adding or editing a skill)
Every SKILL.md follows the same shape — keep it consistent:
- YAML frontmatter with exactly two keys:
name(must equal the directory name) and a sharpdescription. Thedescriptionmust name concrete trigger situations (when to reach for it), not vibes — this is what makes the agent fire it reliably. (Nolicense/metadatablock — licensing lives in the rootLICENSEfile.) - Body sections, in order:
## The failure mode this fixes→## When to Use This Skill(including a bold Don't use when: honest negative) →## Instructions(numbered phases) →## Output format(a fenced block) →## Anti-Patterns(a table of anti-pattern → why it defeats the skill) →## Mental Model(a one-line blockquote). - One thing per skill. If it does two things, it's two skills.
- Model-agnostic, plain instructions, ~2-minute read.
Consistency invariants (verify after any change)
When adding, renaming, or removing a skill, all of these must hold (a stale one silently breaks /plugin install):
- Frontmatter
name== leaf directory name. - A skill in a shipped bucket (
craft/,setup/) is referenced in bothplugin.json'sskillsarray and the top-levelREADME.md(table row + working relative link). A skill in a staging bucket appears in neither. - The skill is listed in its bucket's
README.mdwith a one-line description, name linked to itsSKILL.md. setup-craft-skillsmentions the skill in its "before using" list if it consumesCONTEXT.md.- The release version lives in
plugin.json(version); skills carry no per-file version. claude plugin validate .passes.
Conventions
- Cross-reference sibling skills explicitly when their scopes are adjacent (e.g.
boyscout↔delete-this) so the agent routes to the right one. - Keep launch scope small and curated; new skill ideas are parked under
## RoadmapinREADME.mdrather than shipped half-formed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

