docs-review
Skill1.2k starsChanged 19 days agoMITView on GitHub
Review LeafWiki's documentation (README.md, docs/, CONTRIBUTING.md, .env.example) against the actual code — flags/env vars/defaults vs `leafwiki --help`, broken links and anchors, stale language lists, UI labels the docs mention, and features that exist in frontend/backend but are documented nowhere. Reports findings and proposes fixes; asks before documenting new features. Use when the user wants to "go over the docs", "check the documentation", before a minor release (the `release` skill calls it), or after adding/renaming flags.
- Reads credentials
25 other projects use a version of this.
Trending
Less talk lately.thin dataabout the whole repository
Most recently taken up by
- mintlify/docstheir own version, first seen Nov 9, 2026
- langchain-ai/docstheir own version, first seen Nov 2, 2026
- mindroom-ai/mindroomtheir own version, first seen Nov 1, 2026
- NathanForster/claude-commandstheir own version, first seen Nov 1, 2026
- T0mSIlver/skillstheir own version, first seen Nov 1, 2026
- microsoft/nacelletheir own version, first seen Nov 1, 2026
Who's talking about perber/leafwiki
- @chrisshort.net“perber/leafwiki: LeafWiki - Self-hosted wiki. Single Go binary, SQLite, Markdown on disk. No external …”Bluesky · Jul 11, 2026 · 2 likes
- YunoHost-Apps/leafwiki_ynh“Upgrade to v0.14.2”GitHub · Oct 22, 2026
- YunoHost-Apps/leafwiki_ynh“Upgrade to v0.14.1”GitHub · Oct 9, 2026
- shukiv/jabali-panel“More docker apps suggest”GitHub · Jun 14, 2026
- kuaizhongqiang/AgentRouter“[P2] 集成 LeafWiki 作为内置 Wiki:静默子进程 + MCP 工具,不 Fork 源码”GitHub · Jun 4, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- storybookjs/storybook★ 91ksame name
- metabase/metabase★ 50ksame name
- grafana/tempo★ 5.6ksame name
- graphistry/pygraphistry★ 2.6ksame name
- jtenniswood/espcontrol★ 1.2ksame name
- Harry-kp/vortix★ 757same name
- getsentry/sentry-rust★ 754same name
- mintlify/docs★ 465same name
- getsentry/sentry-docs★ 449same name
- langchain-ai/docs★ 445same name
15 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- developSkill
- runSkill
- tidy-testsSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
0
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 54
Language lists: must match ui/leafwiki-ui/src/locales/*/: README features + contributing line, --default-language row in reference.md, the …
“Common” is measured: kept by at least 6 in 10 of the 24 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
Docs review
Docs live in the repo, not on a separate site (decided 2026-10-09): README.md is a short entry
point (~170 lines), everything else is under docs/ (see docs/README.md for the index). Docs
change in the same PR as the code they describe.
Layout:
| Path | Holds |
README.md | intro, quick start, features, good fit, install table, access modes, docs index, support, contributing |
docs/install/ | docker, kubernetes, linux-installer, binary, nginx, raspberry |
docs/configuration/reference.md | every flag + env var + default + since, grouped like --help |
docs/configuration/*.md | access-modes, reverse-proxy-auth, git-backup, email, unix-socket, customization |
docs/operations/ | admin-commands (reset password, offline restore, defaults), resync |
docs/usage/ | keyboard-shortcuts, links, sorting-pages |
docs/development/ | dev-setup, i18n, architecture, source-map, processes, adr/ |
Rules: a flag's table row exists only in reference.md; topic pages explain and link there instead
of repeating tables. No hand-written table of contents in README. Work in a separate worktree when
another session might be using the main checkout.
1. Automated checks (run all, from the repo root)
S=<scratchpad>
go run ./cmd/leafwiki --help > $S/help.txt 2>&1
python3 .claude/skills/docs-review/scripts/check_flags.py $S/help.txt README.md docs/*.md docs/*/*.md
python3 .claude/skills/docs-review/scripts/check_links.py README.md CONTRIBUTING.md docs/*.md docs/*/*.mdcheck_flags.py: flags/env vars in the binary but missing from the docs, documented names that no longer exist, table defaults that differ from--help.check_links.py: relative links and#anchors(GitHub slug rules; inline code is skipped)..env.examplevs code: everyLEAFWIKI_*from--helpshould appear (commented is fine;LEAFWIKI_ARCH/LEAFWIKI_VERSIONare installer-only, the deprecatedLEAFWIKI_HTTP_REMOTE_USER_LOGOUT_URLmay be omitted):grep -oE '\[\$LEAFWIKI_[A-Z_]+\]' $S/help.txt | tr -d '[]$' | sort -u > $S/code-env.txt grep -oE '^#? ?LEAFWIKI_[A-Z_]+' .env.example | sed 's/^# *//' | sort -u > $S/envex.txt comm -23 $S/code-env.txt $S/envex.txt- New flag without a "Since" version: find it with
git log --reverse --format=%H -S'"<flag-name>"' -- cmd internal | head -1andgit tag --contains <sha> --sort=v:refname | head -1.
2. Manual checks
- Language lists must match
ui/leafwiki-ui/src/locales/*/: README features + contributing line,--default-languagerow inreference.md, the table indocs/development/i18n.md(native names from each locale'scommon.jsonselfName). - UI labels quoted in docs (bold names like Full Backup, Git Content Backup,
Refresh, Force Push, Sort Section Children) must exist in
ui/leafwiki-ui/src/locales/en/*.json. - Code locations named in docs (e.g.
allowedLanguagesininternal/usersettings/language.go,ui/leafwiki-ui/src/lib/dateLocale.ts) still exist. - Behaviour claims for whatever changed since the last tag (
git log v<prev>..HEAD): read the code before trusting the doc. Example from the first run: git backup settings-mode only applies when--git-backupis nottrue(buildBackupManagerincmd/leafwiki/main.go). - Developer docs and ADRs (
docs/development/,AGENTS.md): file paths, function names and commands they mention still exist; an ADR whose decision was reversed is marked superseded. - Rules in one place: rules live only in
docs/development/rules.md(details inconventions.md). Flag rule statements restated elsewhere (AGENTS.md,CONTRIBUTING.md,.github/PULL_REQUEST_TEMPLATE.md,.claude/agents/,.claude/skills/), e.g. limits like "400–500", "must"/"never" sentences, or a second wording of a rule; propose a link instead. Checklists in roles may name what to check, but quote the rule by number, not a new wording. - Dates/offers that go stale: time-limited offers and beta wording, "Since" columns, version-pinned commands
(
git switch --detach vX.Y.Zindocs/install/binary.md→ latest tag).
3. Undocumented features — ask, don't write
Compare ui/leafwiki-ui/src/features/* and the backend domains in internal/wiki/* with the docs.
Known gaps at the first run (2026-10-09), unless documented since: Markdown syntax ([[Title]]
wikilinks, ==highlight==, callouts, collapsible blocks, image sizing, PDF embed), tags and
properties frontmatter, .leafwikiignore, favorites/pins, 2FA setup, user settings
(language, date format, avatar, autosave), Markdown import, Prometheus metrics, API keys.
List the gaps and ask the maintainer which to document before writing new pages. New pages go into
the matching docs/ folder and get a line in docs/README.md (and the README docs list if
they're user-facing).
4. Report
Short list per category: fixed automatically (factual drift), proposed (needs a decision), undocumented features (question). Fix factual drift directly; anything that adds or removes user-facing statements needs the maintainer's OK. Commit/push only after asking.
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.

