document-wiki
Skill4 starsChanged 2 months agoMITView on GitHub
Use when a task changes behavior that an existing wiki documents, or when a standalone wiki must be created or refreshed from current source.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- asta-nguyen/kamehadbedited, first seen Oct 16, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- asta-nguyen/kamehadb★ 14100% same
Wrote their own version · 0
None found.
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-skillsSkill
- brainstorm-featureSkill
- context-handoffSkill
- estimate-featureSkill
- implement-taskSkill
- lean-auditSkill
- plan-featureSkill
- read-codebase-contextSkill
- review-and-verifySkill
- setup-codebaseSkill
- setup-openezSkill
- systematic-debuggingSkill
- using-devkitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 6 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Create or refresh the target repository's docs/llm/ from verified source code.
- Distinctive: line 26
When implementation calls this skill for an active task, use this procedure instead of the whole-wiki Workflow below.
- Very specific: line 31
If docs/llm/ is absent, return not-applicable without setup or wiki creation.
- Distinctive: line 42
Read current source and relevant tests and use the evidence matrix and page template for the selected behavior.
- Distinctive: line 49
Ask only for unresolved behavior, conflicting requirements/source, domain boundaries not established by evidence, missing access, or work …
- Very specific: line 53
Update Sources, index links, and retired IDs as applicable and run ## Verify the wiki.
- Distinctive: line 55
Verify each changed claim against source and tests: a validator pass or an Evidence path alone does not prove behavior.
- Distinctive: line 58
Never archive, mark task progress, or change approval here.
- Very specific: line 63
Use this when a design or bug fix must write a delta against a page that still uses ## Business rules.
- Very specific: line 74
Use this only when a delta exists and the code checks pass.
- Distinctive: line 77
Check without editing first.
- Very specific: line 85
Run ## Verify the wiki before final review.
- Very specific: line 103
Read INDEX.md and all existing wiki content pages.
- Very specific: line 104
empty: when it is missing, holds only the setup skeleton, or its pages still contain placeholder text such as Populate this page.
- Very specific: line 128
Create or refresh the baseline map.
- Very specific: line 132
Write the smallest source-grounded page with the repository purpose, major entry points, a domain table, cross-domain dependencies, and ## …
- Very specific: line 151
Update docs/llm/INDEX.md with working links.
- Very specific: line 183
Do not modify application code, install dependencies, or invent architecture.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Document Wiki
Create or refresh the target repository's docs/llm/ from verified source
code. This is the one-stop wiki workflow; do not hand the user off elsewhere.
Completion contract
An inventory of routes, files, or modules is baseline coverage, not deep
feature documentation. A selected feature is complete only when its page
explains current business behavior and its material claims are traceable to
source or tests read in the current run. Mark [ ] an undocumented feature and
[x] a feature verified against that evidence. Use [~] for either a verification limit (checks remain incomplete
or required evidence is inaccessible; the page may be correct, so it is not a
refresh candidate) or a confirmed content gap (completed checks prove a
material omission or a claim that contradicts source; a refresh candidate). State
which one and why; they are not equivalent. Never call unverified coverage
current.
Task updates
When implementation calls this skill for an active task, use this procedure instead of the whole-wiki Workflow below. The task's scope selects its affected behavior automatically; no extra page-selection approval is needed. Standalone wiki requests use the Workflow and its selection gate.
- If
docs/llm/is absent, returnnot-applicablewithout setup or wiki creation. Otherwise apply Workflow step 1's instruction preflight, without its missing-wiki setup, and read the index and relevant pages. Use approved scope, the diff, and the current impact map/caller trace to select changed behavior, including callers outside the diff. Inventory or document no neighboring feature and create no repository-wide overview. - Merge any task delta with
## Merge a task deltabefore other content edits, preserving its exact after-merge blocks. If a delta block itself needs correction, reconcile the delta and wiki together using source and approved decisions; unresolved conflicts stop the update. A merge marker alone never proves the merge is correct. - Read current source and relevant tests and use the evidence matrix and page template for the selected behavior. Refresh stale content and add missing task behavior to the smallest relevant page. If its domain has no page, create a scoped page and register its prefix per Workflow steps 7-8; source-established domain boundaries need no approval. Reuse existing IDs/prefixes, preserve unrelated content, and report unrelated gaps as optional suggestions. A new page documents this task's behavior, not its module's every feature.
- Ask only for unresolved behavior, conflicting requirements/source, domain boundaries not established by evidence, missing access, or work beyond the task's scope. Missing evidence for required task behavior keeps the task incomplete; do not invent it or mark it complete with an open question.
- Update Sources, index links, and retired IDs as applicable and run
## Verify the wiki. Report any legacy-link migration conflict or scope issue. Verify each changed claim against source and tests: a validator pass or an Evidence path alone does not prove behavior. - Return changed pages, covered behavior, checks, and blockers to the caller. Never archive, mark task progress, or change approval here; implementation and final review own those actions.
Convert a legacy target page
Use this when a design or bug fix must write a delta against a page that still
uses ## Business rules. It runs before the delta is written; the task's named
affected page is its selection, and conversion needs no other approval because
it changes format, not behavior. Read references/legacy-conversion.md before
converting. If any existing rule cannot be verified against current source, mark
the page [~] as a verification limit, leave it unchanged, return the exact
missing evidence, and stop; the caller stops too. A rule contradicted by source
is a confirmed content gap: report it and do not silently fix it.
Merge a task delta
Use this only when a delta exists and the code checks pass. Run in the task's
branch before final review. Read references/merge-task-delta.md before merging.
These rules always hold:
- Check without editing first. If any pre-check fails, stop without editing and return the failing item to the caller as a blocker.
- Decide the merge state per block, by content. Apply only blocks still before merge; when every block is already after merge, verify side effects and add the marker, and never apply the whole delta again.
- A
MODIFIEDorREMOVEDwiki block that matches neither itsBaseline:nor its after-merge text was changed by another branch: never overwrite or delete it. Stop, report the exact difference, and inspect decisions and source. - Run
## Verify the wikibefore final review; a failure keeps the change open.
Workflow
- Resolve the target repository from the user's path or the current directory
and read its root
AGENTS.md. Compare its wiki-maintenance rules with this workflow. Ifdocs/llm/exists, read onlydocs/llm/AGENTS.mdnext and compare its active instructions too, before opening other wiki pages. If either file requires reading or writingLOG.md, source commits, hashes, or snapshots, or otherwise conflicts with current-source verification, report the exact conflicting paths and lines. When the user has already explicitly chosen current-source verification without a log for this task, continue: do not read or writeLOG.md, preserve the existing instructions, and report that they need an update. Without that decision, stop before setup, openingLOG.md, or modifying wiki pages, and ask the user to resolve the conflict. Ifdocs/llm/is missing after this preflight, runsetup-codebaseinline and preserve every existing file. Link internal pages relative to the linking file; never link to process artifacts fromdocs/llm/. - Read
INDEX.mdand all existing wiki content pages. Treat the wiki as empty when it is missing, holds only the setup skeleton, or its pages still contain placeholder text such asPopulate this page. Preserve a legacydocs/llm/LOG.mdbyte-for-byte; never open, read, or use it as evidence. In this pass, convert every resolvable legacy[[...]]link indocs/llm/to a relative Markdown link, even on pages not being refreshed. Resolve a target from the nearest ancestor containing.obsidian/, or from thedocs/llm/root, confirm the exact file, and report missing or ambiguous targets; never claim migration complete while one remains. If the repository has no application source, report that no verified behavior exists, preserve the skeleton, and stop; never create pages from proposed specs or plans. - Build a domain map and feature list from behavior, not filenames: inspect
routes, commands, scripts, workers/jobs, public APIs, manifests, tests, and
README instructions, using the tool table in
read-codebase-context. Search results are navigation; direct source is evidence. Group by product domain only when evidence establishes the boundary. Establish each user-visible behavior and entry point; trace end to end only the features selected in step 6. - Determine coverage before writing deep pages: compare every material claim on
each existing page with current source and tests, and mark each feature
[ ],[x], or[~]as## Completion contractdefines. Continue all feasible checks first: an unchecked source or caller is not evidence of a content gap; the working tree, uncommitted changes included, is authoritative; file existence or Git history alone never establishes freshness, and a source change alone does not make an accurate page stale. Readreferences/inventory-and-report.mdfor the inventory format and checks. - Create or refresh the baseline map. If
architecture/overview.mdis missing, create it; refresh an existing one only when completed current-source checks confirm a gap or contradiction. If verification is blocked, keep the content, mark it[~]as averification limit, and report the exact missing evidence. Write the smallest source-grounded page with the repository purpose, major entry points, a domain table, cross-domain dependencies, and## Sources, and link it fromINDEX.mdwith every discovered domain. The map is automatic even for an empty wiki, but it is orientation, not permission to document every feature in depth. - Present
[ ]undocumented features and[~]confirmed content gapfeatures as selectable create/refresh candidates grouped by domain. Separately offer a## Business rulespage as aformat conversioncandidate once a fresh source check confirms it is accurate. Do not offer[~]items whose only cause is averification limitfor rewriting or conversion. If a check is blocked, report the exact missing evidence and ask only for the access or information needed. Do not create or refresh deep pages until the user selects eligible candidates; a generic request to document the repository is not selection, even for an empty wiki. "All" selects every eligible candidate. Record selected and verification-limited items separately. - Group selected behavior into evidence-backed categories (see
references/inventory-and-report.md). When documenting or refreshing a selected feature, readreferences/evidence-matrix-and-page-template.mdbefore continuing. - Update
docs/llm/INDEX.mdwith working links. When a page registers a new domain prefix, create or update the## Requirement prefixestable (Prefix,Domain): reuse the domain's existing prefix, and register a new one only when the table has no row for that domain. When a refresh removes or renames a requirement, append its ID to## Retired requirement IDs; a retired ID is never reused. Each page keeps its business content, requirements, and a## Sourcessection of exact source/test paths. Create no source log or snapshot; updatedocs/llm/FEATURES.mdonly if it already exists.
Verify the wiki
Run
node "<this-skill-directory>/scripts/validate-llm-wiki.mjs" "<target-repository-root>"
with absolute paths after the wiki edits. It checks source paths, links and
anchors, legacy wikilinks, and requirement syntax (unique, sorted IDs, one
SHALL, scenarios, Evidence paths listed in Sources, registered prefixes, retired
IDs); do not repeat those checks by hand. If the script is missing, cannot run, or
reports errors, keep verification incomplete and report the failure. Also run
git diff --check, confirm every index link resolves, and confirm each
Tests: none found claim has a recorded search with no match.
The validator cannot judge these; check them yourself: no two requirements that
share a prefix describe the same behavior, and each requirement's Evidence
actually supports its SHALL statement. Convert a refreshed legacy
## Business rules page per references/evidence-matrix-and-page-template.md
and record any dropped ID as retired. For a confirmed omission or contradiction,
mark [~] as confirmed content gap and report the source evidence. For an
incomplete or blocked check, mark [~] as verification limit, name the exact
missing evidence, and do not offer a rewrite. Never silently repair claims or
report unverified coverage as current. The final report follows
references/inventory-and-report.md's ## Final report.
Do not modify application code, install dependencies, or invent architecture.
docs/llm/ describes only verified current behavior grounded in source and
tests, never proposed specs or plans.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

