skills
CLAUDE.md19 starsChanged 4 months agoMITView on GitHub
This repo is a collection of agent skills. Each skill is one self-contained folder under skills/<bucket>/<slug>/ with a SKILL.md inside. Skills work with any coding agent that supports the skills.sh installer (Claude Code, Cursor, Codex, Cline, Windsurf, OpenCode). Buckets in use: The two folders are the on-disk split (operates on a codebase vs operates on a process). They do not affect discovery: the agent auto-invokes a skill by reading its description, and skills install by slug. So the folder is…
In this repository25 other files it gives its agents.
- android-composeSkill
- audit-actionsSkill
- codegen-apiSkill
- comment-stinkySkill
- godotSkill
- javascript-ecosystemSkill
- mcp-serverSkill
- odsfSkill
- okfSkill
- proofSkill
- react-compilerSkill
- react-stinkySkill
- storybook-pentestSkill
- tauri-stinkySkill
- test-stinkySkill
- theme-colorsSkill
- trust-cardSkill
- visual-consistencySkill
- ask-uxSkill
- autopilotSkill
- breadcrumbsSkill
- fable-modeSkill
- game-designSkill
- no-slopSkill
- to-storySkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
When you add a new skill, touch five places.
- Very specific: line 75
After adding a skill or editing any description, run pnpm eval:validate.
- Distinctive: line 115
Write triggers in the user's vocabulary, the words a real prompt would contain (file types, tool names, symptoms like "breaks with long …
- Very specific: line 116
No inventory, no mechanism.
- Distinctive: line 119
After any description edit, run the invocation eval (see "Skill-invocation evals").
- Very specific: line 125
When a skill carries substantial reference knowledge (detection catalogs, per-area notes, before/after guidance), that knowledge lives in …
- Very specific: line 138
Every concept file carries YAML frontmatter with a non-empty type (the one hard OKF requirement).
- Distinctive: line 157
Never em or en dashes. Write natural prose with periods, commas, colons, parentheses.
≈ “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
Skills Repo Conventions
This repo is a collection of agent skills. Each skill is one self-contained folder under skills/<bucket>/<slug>/ with a SKILL.md inside. Skills work with any coding agent that supports the skills.sh installer (Claude Code, Cursor, Codex, Cline, Windsurf, OpenCode).
Layout
skills/
engineering/
<slug>/SKILL.md
productivity/
<slug>/SKILL.mdBuckets in use:
engineering/for code-adjacent practice (audits, scaffolds, refactors)productivity/for process and discipline (planning, writing, design)
The two folders are the on-disk split (operates on a codebase vs operates on a process). They do not affect discovery: the agent auto-invokes a skill by reading its description, and skills install by slug. So the folder is just a maintenance home. The root README.md browse view groups skills by domain instead (Frontend/UI/UX, Game, AI & agents, Writing & workflow, Mobile, Security), which is how a human actually looks for one, and each SKILL.md carries a tags: facet (see the format below) for finer slicing. At ~16 skills this shallow tree is deliberate. Do not add domain folders until a cluster reaches roughly five skills sharing a tag; grow a folder from an earned tag cluster, not a guess.
Adding a skill
When you add a new skill, touch five places. Forgetting any of them silently degrades the install experience or leaves the skill untested for invocation.
skills/<bucket>/<slug>/SKILL.mdplusskills/<bucket>/<slug>/permissions.yaml. The skill itself. Every skill folder carries apermissions.yamlcapability manifest (the card'sbomcounts it, so a missing one desyncs the card). For a pure-knowledge skill it is the five-line block used byno-slopandautopilot.model: knowledge,executes: false,network: none,shell: false,filesystem_writes: false. Those stayfalseeven when the skill's guidance has the agent write files, because that is the agent's capability, not the shipped artifact's.README.md. Add a line under the matching domain group in the Skill reference section (the listing groups by domain, not by bucket). Link the slug to its SKILL.md.skills/<bucket>/README.md. Add a line in the bucket index..claude-plugin/plugin.json. Add./skills/<bucket>/<slug>to theskillsarray.evals/cases/<slug>.yaml. Invocation eval cases: a fewshould_fireprompts, a coupleshould_not_fire, androute_to_siblingcases for any skill it overlaps with. See evals/README.md.
Then run pnpm check (which runs node scripts/check-skills.mjs) and pnpm eval:validate. The first enforces every skill rule below (the : and # frontmatter traps, name matching the folder, the 1024-char description cap, plugin.json registration, that every relative link inside the skill resolves, and that any references/ directory is a conformant OKF bundle). The second checks the invocation cases are valid YAML, match the schema, and cover every skill. Both exit non-zero on any failure. Run them before you commit.
The javascript-ecosystem skill is a dated snapshot of a fast-moving ecosystem, so it carries extra anti-staleness machinery: a snapshot date, a per-notes-file **Verified YYYY-MM-DD** stamp, a freshness section in its SKILL.md, and skills/engineering/javascript-ecosystem/MAINTENANCE.md. Run node scripts/check-freshness.mjs to list the oldest entries due for a re-verify against official docs.
Trust cards (re-signing a changed skill)
Most skills carry a CARD.md (a trust-card OKF concept binding the skill's content digest, signature, and capability manifest) plus a rendered CARD.svg. cards.json at the repo root is the aggregate render feed. pnpm cards:check gates CI: it rebuilds every card and fails if any is stale, so a skill whose files changed must have its card regenerated, rebuilt, and re-signed before merge.
The lifecycle when you edit a skill's content, in order (finish all content edits first, since the digest is computed over the bundle):
- Regenerate the card so its
target_digestmatches the new content:
This rewritespython3 skills/engineering/trust-card/scripts/card.py generate skills/<bucket>/<slug> \ --identity did:web:saschb2b.com --expires <YYYY-MM-DD><slug>/CARD.mdand<slug>/CARD.manifest.json. Convention for--expiresis roughly one year out (the existing cards were minted with a 2027-06-29 horizon). - Rebuild the render feed for that skill:
pnpm cards <slug>(updatescards.jsonand<slug>/CARD.svg). Run barepnpm cardsto rebuild all. - Sign the bound digest. This is Sascha's interactive step and cannot be done from an agent session:
Withpython3 skills/engineering/trust-card/scripts/card.py sign skills/<bucket>/<slug>/CARD.mdcosignon PATH this runs the keyless Sigstore + Rekor flow, which opens a browser for OIDC login and writes<slug>/CARD.md.sigstorewith the Rekor entry stapled. Add--key ~/keys/card.keyto use the local ed25519 fallback instead. Card artifacts (CARD.md,CARD.svg,CARD.md.sigstore, hero art) are excluded from the content digest, so signing never re-stales the thing it signs. - Verify and commit the signature separately. Sascha commits it as
chore: sign <slug> changes(a distinct commit before merge, per the git workflow):python3 skills/engineering/trust-card/scripts/card.py verify skills/<bucket>/<slug>/CARD.md \ --bundle skills/<bucket>/<slug> pnpm cards:check # what CI enforces; stays red until the signed card is committed
The full command reference and the layer-by-layer trust model live in skills/engineering/trust-card/SKILL.md and its references/layers.md.
CARD.svg has a permanent per-skill visual identity. Existing cover seeds are
frozen in scripts/card-visual-identity.mjs; never rotate one when the skill's
content or digest changes. New skills derive their seed from the stable slug.
Palette, composition, layout, typography, and base geometry come from that
identity. File count, word count, and heading count may only make the bounded
edition-level adjustments defined there. Keep the palette, style, and font
arrays append-only, then run pnpm cards:test when changing card rendering.
Skill-invocation evals
The description is the only field the agent reads when deciding to auto-invoke a skill, so a reword can silently stop the agent reaching for it, or make it grab a sibling instead. The harness in evals/ is the regression test. Run it on your own whenever you touch a skill:
- After adding a skill or editing any
description, runpnpm eval:validate. It is fast, needs no model and no key, and fails on a broken case file or a skill with no cases. - When a
descriptionchanged, also run the full invocation eval to confirm the model still routes correctly. It needs no API key, because the classification is an agent text run.pnpm evalvalidates and writesevals/results/manifest.json; classify the prompts with a subagent (blind, against a stripped{id, prompt}view so the answers do not leak) writingevals/results/answers.json; thenpnpm eval:scoreprints recall, specificity, disambiguation, and a findings list. Steps are in evals/README.md.
A 100% table means the descriptions separate cleanly under a focused router, not that auto-invocation is guaranteed mid-conversation. Treat the disambiguation column (does the intended sibling win on an overlapping prompt) as the signal that two descriptions have clean boundaries.
SKILL.md format
---
name: <slug>
description: <one or two sentences. Lead with what the skill does, then explicit "Use when ..." triggers. This is the only field the agent reads when deciding to load the skill.>
tags: [<domain>, <task-type>]
date: 2026-05-12
source_post: <blog-slug>
---
# <Display Title>
## <Section>
...Rules:
- Keep the body under ~100 lines. If it grows past that, move the detail into a
references/subdirectory and link to it from SKILL.md. The agent reads SKILL.md eagerly and the reference files only when it needs them. This is "progressive disclosure". Thatreferences/directory is a vendored OKF bundle (see "Vendored knowledge as OKF bundles" below), so it ships in the same install and adds no dependency. - The
descriptionfield is critical and capped at 1024 characters. See "Writing the description" below. - Never put
:(colon followed by a space) inside any frontmatter value. YAML parses it as a key/value separator inside a plain scalar, gray-matter throws, and the skill is silently dropped from the build. Use a period, semicolon, dash, or rephrase. Colons in URLs, code (docker:latest), or compound words without trailing space are fine. - Never put
#(a space followed by#) inside any frontmatter value. YAML treats#as a comment marker when preceded by whitespace; the rest of the line is silently dropped from the parsed value. If you must mention hex codes in a description, do it in the body of SKILL.md instead. namein frontmatter must match the folder name.- The H1 in the body is the human-facing title. The
namein frontmatter is the slug used everywhere else. - Dates are ISO 8601 (
YYYY-MM-DD). source_postis a blog slug undersaschb2b.com/blog/<slug>when the skill was distilled from a post. Optional.tagsis an optional inline list of lowercase-hyphen facets, domain first then task-type (tags: [frontend, react, review]). It is advisory metadata for browsing and for deciding when a cluster has earned its own folder, not something the agent reads to route. Use the inline flow form[a, b, c](a block list of- itemlines also parses, since the frontmatter checker skips indented lines); the:and#traps still apply, so keep tag values plain.
Writing the description
The description's only job is selection. Every skill's description is preloaded into every session (the context window is a public good), and the agent routes from it alone; the body carries the how. Distilled from Anthropic's skill-authoring guidance plus this repo's eval experience:
- Two parts, in order: what the skill does (verb-first, third person, never "I" or "you"), then explicit "Use when ..." triggers. Front-load the key use case; hosts truncate long listings.
- Write triggers in the user's vocabulary, the words a real prompt would contain (file types, tool names, symptoms like "breaks with long text", "too grindy"). A trigger phrase the user would never type is dead weight.
- No inventory, no mechanism. Counts of pillars or axes, internal section names, and the tools the skill drives under the hood ("via index.json and Playwright") do not help routing and cost every session. Put them in the body.
- Name the sibling boundary. Where skills overlap, one sentence says which side this one owns ("defers memoization to react-compiler", "rides alongside godot, which writes the engine code"). Disambiguation is the eval column that breaks first, and the boundary sentence is what wins it.
- Shorter beats fuller even under the 1024 cap, for the same reason: every description loads always. Cut before you compress.
- After any description edit, run the invocation eval (see "Skill-invocation evals"). The eval is the regression test for everything above.
Body-side practice from the same guidance: link every load-bearing reference file directly from SKILL.md rather than only through intermediate files, because the agent may preview nested references instead of reading them fully. The Reference bundle listing at the bottom of each SKILL.md serves exactly this.
Vendored knowledge as OKF bundles
When a skill carries substantial reference knowledge (detection catalogs, per-area notes, before/after guidance), that knowledge lives in <skill>/references/ as a conformant Open Knowledge Format bundle. SKILL.md stays the thin procedure and links into it.
Why a bundle, not loose files. A bundle is just markdown with frontmatter, so it ships inside the skill with no extra install and no dependency. Formatting the knowledge as OKF makes it navigable (progressive disclosure via index.md), portable (any agent or viewer reads it, no SDK), and citable, and it lets the knowledge be promoted to a standalone bundle later without a rewrite. Use it when the reference material is big enough to bloat SKILL.md or is reused; a small skill keeps its knowledge inline.
Always work on a bundle through the okf skill, never freehand. This is a standing instruction for any agent in this repo, covering every references/ bundle and any standalone bundle authored here:
- Creation. New bundle or new concept file: invoke the
okfskill and follow itsinit/addplaybooks (descriptivetype, recommended frontmatter, structural body, the sharpest markdown form per fact). - Enrichment. Growing a bundle from a source or deepening one: run the skill's
enrichflow including the entity pass, so every load-bearing name the documents mention but never explain gets its own linked concept. - Editing. Any edit to an existing bundle triggers the skill's implicit-mode bookkeeping: refresh the concept's
timestamp, append a datedlog.mdentry (heading is the bare ISO date), regenerate the affectedindex.md, and add a link with the relationship named in prose whenever an edit creates one. - Validation. Finish every bundle-touching change with the skill's
validatecommand in strict mode (the producer gate: zero orphans, zero broken links), not just the default conformance check that CI runs.pnpm checkpassing is necessary, not sufficient.
Rules for a references/ bundle:
- Every concept file carries YAML frontmatter with a non-empty
type(the one hard OKF requirement). Recommended:title, a one-sentencedescription,tags, and an ISO 8601timestamp. The:and#frontmatter traps apply here too, so quote any value that needs them. - A root
references/index.mddeclaresokf_version: "0.1"and lists each concept with its description. It is the onlyindex.mdin the bundle allowed frontmatter. - Reserved filenames
index.mdandlog.mdare never concept files. - Cross-link with relative or bundle-absolute (
/foo.md) paths, and name the relationship in the prose, not the link.
Validate one bundle directly with the vendored checker; after producing or editing a bundle, run it with --strict (the producer gate, turning orphans and broken concept links into failures):
node skills/engineering/okf/okf-validate.mjs skills/<bucket>/<slug>/references --strictcheck-skills.mjs runs the non-strict form for every skill that has a references/ directory and fails on a non-conformant bundle, so the hard rule is enforced on every commit; the strict pass is the agent's own bar when touching a bundle.
javascript-ecosystem follows this layout too: its ~90 per-tool notes live under references/<category>/. On top of the OKF bundle it carries the dated-snapshot machinery (a per-note **Verified YYYY-MM-DD** stamp, scripts/check-freshness.mjs, and MAINTENANCE.md), because a fast-moving ecosystem snapshot needs explicit re-verification.
Style
- Tables for decision matrices. Lists for sequential steps. Headings for sections the agent will need to jump to.
- Lead each section with what the agent should do, not background motivation. Background goes after the action.
- Never em or en dashes. Write natural prose with periods, commas, colons, parentheses.
Distribution
The repo is installed via the skills.sh registry:
npx skills@latest add saschb2b/skills
npx skills@latest add saschb2b/skills --skill <slug>It is also registered as a Claude Code plugin via .claude-plugin/plugin.json.
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.

