doc
Skill787 starsChanged 3 months agoMITView on GitHub
Use for ANY operation on a doc under docs/ — creating, updating/editing, changing its status, or querying. Keeps the YAML front matter (title/status/type/updated) correct and regenerates the docs/README.md wiki index. Invoke when the user says 'new doc', 'create a doc/design/RFC', 'start a design doc', 'update the doc', 'edit this doc', 'mark this doc done/in-review', 'change the doc status', or asks 'which docs are done/draft', 'what am I still working on', 'list my docs by status', '新建文档', '建一个设计文档/RFC', '更新文档', '改一下这个文档', '把这个文档标记成完成/评审中', '哪些文档写完了', '我还有哪些没做完的文档', '按状态列出文档'.
34 other projects use a version of this.
Adopted by
Most recently taken up by
- jeremy-farnault/claude-skillstheir own version, first seen Nov 3, 2026
- DataChuLee/Claude-Code-Settingtheir own version, first seen Nov 1, 2026
- satoh-y-0323/claude-code-conductortheir own version, first seen Oct 31, 2026
- hmjBill/skillstheir own version, first seen Oct 29, 2026
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Oct 26, 2026
- gagoar/html-effectivenesstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use test, explain and 8 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.
Microsoft AzureSkilltest
Also in 5 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 4 projects that use this
dazuckSkillinterview
Interview me about a plan to flesh out requirements before implementation. Asks non-obvious questions one at a time until all ambiguities are resolved.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 8 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- boshu2/agentops★ 453same name
- JetBrains/skills★ 386same name
- leanEthereum/leanSpec★ 143same name
- kv0906/pm-kit★ 138same name
- davidhozic/mujoco-rs★ 85same name
- VoDaiLocz/kilo-kit-mcp★ 28same name
- PracticalSwan/agent-skills★ 22same name
- jhy0285/monofield★ 6same name
- Mazalucas/El-DT-Lightweight-Army★ 4same name
- merchsage/workflow-skills★ 4same name
24 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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- animation-vocabularySkill
- apple-designSkill
- app-screenshot-debugSkill
- ascSkill
- bump-versionSkill
- check-ghostty-updateSkill
- code-cleanSkill
- conventional-commitSkill
- dia-source-analysisSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- improve-animationsSkill
- ios-app-analysisSkill
- ios-rebuild-devSkill
- issue-creatorSkill
- macos-rebuild-devSkill
- native-app-profilingSkill
- og-generationSkill
- pick-ui-librarySkill
- prototypeSkill
- review-animationsSkill
- review-copySkill
- Swift Performance Optimization SkillSkill
- performance-auditSkill
- termio-bug-reportSkill
- termioSkill
- testflight-releaseSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every doc under docs/ carries its status in YAML front matter at the very top of the file.
- Very specific: line 48
All docs live somewhere under docs/.
- Very specific: line 53
Ask the user for the title and type if not already clear from the request.
- Very specific: line 54
Default status: draft. Set both created and updated to today.
- Very specific: line 58
Write the file: front matter block first, then a single # <H1> title, then a one-line > blockquote stating the doc's goal.
- Distinctive: line 70
Use this skill for any edit to an existing doc, not just creation — editing its body, advancing its status, renaming it, or changing its …
- Very specific: line 77
If the user is advancing the doc's lifecycle, move status along the line draft → in-review → approved → active → done → archived — don't …
- Very specific: line 80
If you changed status/title/type, regenerate the wiki index (see *Maintain the wiki index*) so docs/README.md matches.
“Common” is measured: kept by at least 6 in 10 of the 26 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
Project docs — create & query
Every doc under docs/ carries its status in YAML front matter at the very
top of the file. That front matter is the single source of truth — there is
no central index/JSON to keep in sync. "What's done?" is answered by scanning
the front matter live (see Query). This skill writes that front matter when
creating a doc, and reads it when querying.
docs/README.md is the human-facing wiki for the folder: it explains the
organization and holds a generated index table between
<!-- BEGIN docs-index --> / <!-- END docs-index --> markers. That table is a
derived view, not a source of truth — regenerate it from front matter (see
Maintain the wiki index); never hand-edit the rows.
Front matter schema
---
title: <free text — the human title>
status: draft # see vocabulary below
type: design # design | rfc | marketing
created: 2026-06-28 # YYYY-MM-DD, only the day the doc was first written
updated: 2026-06-28 # YYYY-MM-DD, bump on every meaningful edit
related: # optional — sibling filenames (YYYYMMDD- prefix under design/)
- 20260719-vibe-island-status.md
---statusvocabulary (a doc moves down this list over its life):draft— being written, nothing committed to.in-review— content complete, awaiting sign-off.approved— signed off, not yet built.active— currently being executed / lived against (e.g. a strategy memo).done— fully delivered; kept for reference.archived— superseded or abandoned; ignore for planning.
typeis just a label on the doc; it does not dictate a subdirectory. The set is small on purpose; add a new type only when a doc genuinely doesn't fit.- Keys are English (tooling/Obsidian compatibility); values may be Chinese where
natural (e.g. a Chinese
title). Quote any value containing:#[].
Create a doc
All docs live somewhere under docs/. The skill does not impose a per-type
folder layout — place the file under docs/ (or whichever existing
docs/ subfolder the user points at), and let type in the front matter, not
the path, carry the category.
- Ask the user for the
titleandtypeif not already clear from the request. Defaultstatus: draft. Set bothcreatedandupdatedto today. - Pick a kebab-case filename derived from the title (ASCII slug; for a
Chinese title, ask for or invent a short English slug — keep the Chinese in
title). Put it underdocs/unless the user names a subfolder. - Write the file: front matter block first, then a single
# <H1>title, then a one-line>blockquote stating the doc's goal. Do not pad with boilerplate sections — let the content grow naturally. - Regenerate the wiki index (see below) so
docs/README.mdreflects the new doc. - Tell the user the path you created.
Also regenerate the index whenever a doc's status/title/type changes, not
only on create — the table is otherwise stale.
Update a doc
Use this skill for any edit to an existing doc, not just creation — editing its body, advancing its status, renaming it, or changing its type. The point is to keep the front matter honest and the wiki in sync after every change.
- Make the requested edit to the doc body and/or front matter.
- Bump
updatedto today on any meaningful change (the whole point of the field). Leavecreatedalone. - If the user is advancing the doc's lifecycle, move
statusalong the linedraft → in-review → approved → active → done → archived— don't skip to a value that doesn't match reality. - If you changed
status/title/type, regenerate the wiki index (see Maintain the wiki index) sodocs/README.mdmatches. - Report what changed (path, old → new status if it moved).
Note: markdownlint's MD025 may warn "multiple top-level headings" because it
treats the front matter title: as an H1. It's a false positive for
front-matter docs and renders fine everywhere; ignore it (or the repo can set
MD025: { front_matter_title: "" } in .markdownlint.json).
Query — "which docs are done / in draft / ...?"
Scan the front matter directly. This reads only the top of each file (the front matter sits at byte 0), so it stays cheap even with many docs:
find docs -name '*.md' -print0 | sort -z | while IFS= read -r -d '' f; do
awk -v file="$f" '
NR==1 && $0!="---" { exit } # no front matter → skip file
NR==1 { next }
/^status:/ { sub(/^status:[ \t]*/,""); status=$0 }
/^type:/ { sub(/^type:[ \t]*/,""); type=$0 }
/^title:/ { sub(/^title:[ \t]*/,""); title=$0 }
NR>1 && $0=="---" { # end of front matter → emit, stop
printf "%-10s %-9s %-40s %s\n", status, type, title, file
exit }
' "$f"
done | sortThe exit on the closing --- is what keeps this fast: awk never reads past the
front matter into the document body. To answer a specific question, filter the
output — e.g. append | grep -E '^(draft|in-review)' for "what's unfinished",
or | grep design to scope to design docs. Report the result grouped by status.
Maintain the wiki index
docs/README.md holds a generated table between <!-- BEGIN docs-index --> and
<!-- END docs-index -->. Regenerate it (don't hand-edit the rows) after
creating a doc or changing any doc's status/title/type. This rebuilds the
table from front matter and splices it back between the markers atomically:
readme=docs/README.md
rows=$(find docs -name '*.md' ! -name 'README.md' -print0 | sort -z |
while IFS= read -r -d '' f; do
awk -v file="$f" '
NR==1 && $0!="---" { exit }
NR==1 { next }
/^status:/ { sub(/^status:[ \t]*/,""); status=$0 }
/^type:/ { sub(/^type:[ \t]*/,""); type=$0 }
/^title:/ { sub(/^title:[ \t]*/,""); title=$0 }
NR>1 && $0=="---" {
rel=file; sub(/^docs\//,"",rel)
printf "| %s | %s | [%s](%s) |\n", status, type, title, rel
exit }
' "$f"
done | sort)
{
printf '| status | type | title |\n| --- | --- | --- |\n'
printf '%s\n' "$rows"
} > /tmp/docs-index.md
awk '
/<!-- BEGIN docs-index -->/ { print; while ((getline l < "/tmp/docs-index.md")>0) print l; skip=1; next }
/<!-- END docs-index -->/ { skip=0 }
!skip { print }
' "$readme" > "$readme.tmp" && mv "$readme.tmp" "$readme" && rm -f /tmp/docs-index.mdThe rows are sorted by status, so draft/in-review (unfinished) float to the
top. The splice only touches lines between the markers — the hand-written wiki
prose above is left alone.
Scale — does this hold at 1000+ docs?
Yes. The work is one open() + a few lines read per file, not a full-content
scan — the early exit above means each file contributes ~200 bytes of reads
regardless of how long the document is. 1000 small files is on the order of tens
of milliseconds on a local SSD; the cost is dominated by file-open syscalls, not
parsing.
It only stops being instant in the tens-of-thousands range, or on a slow/network
filesystem. If that ever happens, the fix is not to make the front matter
non-authoritative — it's to add a derived cache: regenerate docs/.index.json
from the front matter (keyed by file mtime, rebuilt when stale) and read that.
That index is a rebuildable cache, never hand-edited and never the source of
truth. Don't add it preemptively — the live scan is correct and fast for the
foreseeable size of this repo.
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.

