explain
Skill23 starsChanged 3 months agoMITView on GitHub
Use when an internal package, module, or shared component has little or no usage documentation and people (or future AI sessions) keep using it wrong: "document this", "write docs for our library", onboarding someone onto an internal API, or handing a package to another team.
58 other projects use a version of this.
Adopted by
Most recently taken up by
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- shortcuts/dotfilestheir own version, first seen Oct 2, 2026
Used with
Projects with it also use doc, rubber-duck and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JetBrainsSkilldoc
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
Also in 5 projects that use this
ElliotJLTSkillrubber-duck
When a user is stuck, frustrated, or describing a problem vaguely, do NOT immediately suggest solutions. First, force structured problem articulation through targeted questions: What did you expect? What happened instead? What have you tried? Only after the problem is clearly defined, propose solutions.
Also in 3 projects that use this
clearsmogSkilltranslate
Multi-format document translation. Supports Typst ↔ Quarto. For Beamer translations, configure at project level.
Also in 3 projects that use this
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 4 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 4 projects that use this
Hugging FaceSkillself-review
Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code) vs what to leave for the actual review. Report-only — does not edit files.
Also in 3 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- crbnos/carbon★ 2.7ksame name
- entireio/skills★ 223same name
- SerhiiKorniienko/bullshit-detector★ 151same name
- kv0906/pm-kit★ 138same name
- penwyp/ClaudePreference★ 136same name
- mbwsims/claude-universe★ 72same name
- hugobowne/show-us-your-agent-skills★ 68same name
- ARYANK-08/agentic-dev-kit★ 41same name
- agentcrew-academy/harness-starter-kit★ 39same name
- oakreader/oakreader★ 39same name
48 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- buildSkill
- clarifySkill
- debugSkill
- deepenSkill
- deprecateSkill
- double-checkSkill
- handoffSkill
- helpSkill
- initSkill
- interviewSkill
- learnSkill
- levelupSkill
- lintSkill
- performanceSkill
- personaSkill
- promptSkill
- prototypeSkill
- qaSkill
- quarantineSkill
- reportSkill
- roadmapSkill
- routeSkill
- signatureSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Discover the public units: Read the package's public entry (index.ts/exports) for the real list, components, exported functions, hooks, …
- Distinctive: line 60
Match the package's existing doc style: if any exists; consistency beats your template.
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document Package: make an internal package self-explaining to any model
Most internal packages ship with no usage docs, so every consumer: a teammate, or an AI: reads the source, guesses the intended usage, and gets the gotchas wrong. This skill fixes that: one colocated usage doc per public unit, capturing the API and the non-obvious rules, so the next reader is correct on the first try. It applies to any package: a UI component kit, a utils library, a services/API layer, a hooks package, an internal SDK.
Why it matters for portability: these docs are the layer that makes your package understandable to any model. If you move from one AI tool to another, the new model still understands your package immediately: the knowledge lives in the repo, not in one model's head.
Ask first: always
This writes files into the user's repo. Confirm before doing anything: "I can generate AI-friendly
usage docs for <package> so any model (and teammate) understands it correctly: one doc per public unit,
with the gotchas. Want me to? (I'll show one sample first.)" Show a sample doc for one unit and get a
thumbs-up before fanning out across the package.
Method
- Discover the public units. Read the package's public entry (
index.ts/exports) for the real list, components, exported functions, hooks, services, classes. Note any existing docs' style and match it. - Never write a line you have not read the source for. For each unit: the implementation, its types, its variants/options, its tests/stories, and one real usage in the codebase. Verify every claim against the code (never document a guess; mark "unverified" or omit).
- Write a colocated doc (a
README.md/doc beside the unit) with a consistent template:- Title + one-line purpose + what it's built on.
- Signature / API: a table: params/props/args · type · default · description; what it returns.
- Quick start: the minimal correct usage (real import path).
- Variants / options / states (where applicable), with a code example each.
- Composition: how it combines with siblings.
- Examples: the handful of real scenarios people actually need.
- Gotchas: the highest-signal section: rules the API doesn't enforce but people get wrong (default values, which state hides what, reserved-but-unimplemented options, ordering constraints).
- Errors / accessibility / TypeScript: as relevant to the unit's kind.
- Prioritize the gotchas. The API table can be inferred from types; the gotchas cannot. That's the value.
Stamp it so drift is detectable. The code is the SSOT; the doc is derived: so record what it was derived from, the way
engineering/ROUTER.mdrecords a hash per node. End each doc with a footer naming the source file(s), the repo commit SHA at generation time, and a short content hash of each source (git rev-parse --short HEAD,git hash-object <file>):<!-- generated-from: src/Button.tsx@a1b2c3d (hash 9f4e21bc) · regenerate if the hash differs -->Detecting drift is then a one-liner anyone (or any model) can run: re-hash the source and compare to the footer,
git hash-object src/Button.tsx, orgit log a1b2c3d..HEAD -- src/Button.tsxto see whether the unit changed since. Mismatch → treat the doc as stale: re-read the source and regenerate that unit before trusting it. No build script required; if the repo already has a docs check or pre-commit hook, wire the same comparison into it rather than inventing a second mechanism.
Guardrails
- Derive from source, never invent. Unconfirmable behavior → "unverified" or omit.
- One doc per unit, colocated: found next to the thing it describes, travels with it.
- Match the package's existing doc style if any exists; consistency beats your template.
- Confirm scope + a sample before mass-generating: the template must fit before you fan out.
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.

