repo-docs
Skill1 starsChanged 18 days agoApache-2.0View on GitHub
Repository documentation management. Use this skill whenever you need to work on the codebase — before making changes, find relevant docs first; after making changes, index new knowledge back into docs.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- teacupuk/tpstacktheir own version, first seen Nov 8, 2026
- korya/swd-skillstheir own version, first seen Nov 1, 2026
- certinia/debug-log-analyzer-mcptheir own version, first seen Oct 28, 2026
- bsene/skillstheir own version, first seen Oct 25, 2026
- rohanhong/tmpl.general-repotheir own version, first seen Oct 11, 2026
- OneDro1d/dark-factorytheir own version, first seen Oct 8, 2026
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- YurunChen/repo-docs-skills★ 457same name
- certinia/debug-log-analyzer-mcp★ 36same name
- IndelibleVivi/repo-docs-curator★ 10same name
- phanghonghao/THU-Awesome-Skills★ 8same name
- vbonk/repo-template★ 8same name
- bsene/skills★ 7same name
- OneDro1d/dark-factory★ 4same name
- rohanhong/tmpl.general-repo★ 3same name
- korya/swd-skills★ 2same name
- IsthisLee/agent-context-manager★ 1same name
6 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 repository20 other files it gives its agents.
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- moon-docker-devSkill
- vietqr-quick-linkSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Run the prepare script first.
- Distinctive: line 37
When: Before making any codebase change, answering architecture questions, or onboarding to an unfamiliar area.
- Very specific: line 40
Start from skills/repo-docs/state/index.md, then drill into the relevant category under docs/.
- Distinctive: line 46
When: After a change worth documenting — a new concept, pattern, architecture decision, or workflow.
“Common” is measured: kept by at least 6 in 10 of the 13 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
repo-docs
Keeps the repository's documentation in sync with the codebase through two complementary workflows: Find Docs (read before acting) and Index Docs (write after acting).
Docs Structure
Documentation lives in docs/ at the repository root, split into four categories:
| Folder | Purpose |
concepts/ | Domain concepts, mental models, and terminology |
how-it-works/ | Architecture, internals, data flow, and design decisions |
how-tos/ | Step-by-step guides for common tasks |
conventions/ | Coding standards, naming rules, and patterns to follow |
Setup
Run the prepare script first. It creates any missing docs/ folders and
ensures a documentation index exists at skills/repo-docs/state/index.md:
node skills/repo-docs/scripts/prepare.mjsFind Docs
When: Before making any codebase change, answering architecture questions, or onboarding to an unfamiliar area.
Start from skills/repo-docs/state/index.md, then drill into the relevant
category under docs/. See references/finding-docs.md
for the full procedure.
Index Docs
When: After a change worth documenting — a new concept, pattern, architecture decision, or workflow.
Pick the matching category, prefer updating over duplicating, and update
state/index.md to reflect the docs you changed. See
references/indexing-docs.md for the full procedure
and the doc template.
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.

