repo-docs — Repository Understanding Docs Builder
Builds and maintains a Markdown guide that explains a repository through one real, evidence-backed behavior instead of a file-tree tour.
Dev & CodingIntermediate★ 461⑂ 6AI score 10/10Last updated: Jul 12, 2026
What it does
- Forces a reader-first model: pick one real behavior (a request, task, data path, or failure) and walk it end to end before mapping the tree.
- Generates a defined doc package —
README.md,walkthroughs/one-real-run.md,code-map.md,modules/,references/source-evidence.md,glossary.md,change-log.md— with Lite mode for small repos and Seed mode for projects with no code yet. - Requires evidence before claims and records it in a
Claim | Evidence | Confidence | Caveataudit table with two traversal passes. - Adds a sync decision gate (
none/answer-only/foreground patch/background sync) so ordinary repo questions don't trigger noisy doc rewrites. - Ships
scripts/validate_repo_docs.pyto check structure, links, freshness, evidence, and references scope before delivery.
Who it's for
- Tech leads who need real onboarding docs, not a generated file listing
- Developers inheriting an unfamiliar or legacy codebase
- Monorepo owners who want scoped docs for a single subsystem
- Teams whose docs constantly drift from the code
Examples
- "Help me understand this repo — generate repo-docs" → inspects entrypoints, tests, config across two passes, picks a representative behavior, then writes the walkthrough and code map.
- "I refactored the billing module, sync the docs" → runs the decision gate, patches only the owning page, and logs
Synced through <sha>inchange-log.md. - "We only have a design doc so far" → Seed mode with
Confirmed / Planned / Unknownlabels. - "Delete the generated repo docs" → removes the package plus stale root agent-file pointers.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/YurunChen/repo-docs-skills/HEAD/skills/repo-docs/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/repo-docs folder from the GitHub repo YurunChen/repo-docs-skills into my ~/.claude/skills/yurunchen-repo-docs/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/YurunChen/repo-docs-skills.git /tmp/repo-docs-skills && mkdir -p ~/.claude/skills && cp -r /tmp/repo-docs-skills/skills/repo-docs ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/YurunChen/repo-docs-skills.git /tmp/repo-docs-skills - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/repo-docs-skills/skills/repo-docs ~/.claude/skills/(also copyskills/repo-docs-zhif you want the Chinese overlay). - Confirm Python is available with
python3 --version— the validator script needs it. - Restart Claude Code, open your target project directory, and ask: "use repo-docs to document this repository".
- When it finishes, start reading at
repo-docs/README.mdand check the reported validator result.