llm-wiki-repo-docs
Skill3 starsChanged 5 months agoMITView on GitHub
Build or maintain an LLM-Wiki for codebase documentation. Use when the user wants agent-readable repo docs, architecture maps, module pages, ADR links, OpenWiki-style output, or AGENTS.md/CLAUDE.md pointer patterns for Claude Code, Codex, Cursor, or other coding agents.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llm-wiki-adr-memorySkill
- llm-wiki-agent-memory-bridgeSkill
- llm-wiki-archiveSkill
- llm-wiki-capture-pipelineSkill
- llm-wiki-chooseSkill
- llm-wiki-claim-anchorsSkill
- llm-wiki-company-flow-auditSkill
- llm-wiki-conflict-resolverSkill
- llm-wiki-critique-auditSkill
- llm-wiki-designSkill
- llm-wiki-doctorSkill
- llm-wiki-domain-packSkill
- llm-wiki-ecosystem-registrySkill
- llm-wiki-evalSkill
- llm-wiki-eval-toolingSkill
- llm-wiki-export-publishSkill
- llm-wiki-faqSkill
- llm-wiki-github-actionSkill
- llm-wiki-gitlab-operating-modelSkill
- llm-wiki-human-first-designSkill
- llm-wiki-implementation-deep-diveSkill
- llm-wiki-ingestion-stackSkill
- llm-wiki-interviewSkill
- llm-wiki-local-first-stackSkill
- llm-wiki-mcp-integrationSkill
- llm-wiki-migration-plannerSkill
- llm-wiki-model-policySkill
- llm-wiki-news-radarSkill
- llm-wiki-obsidian-hardeningSkill
- llm-wiki-orientSkill
- llm-wiki-paf-adoptionSkill
- llm-wiki-privacy-redactorSkill
- llm-wiki-provenanceSkill
- llm-wiki-refactorSkill
- llm-wiki-retrieval-architectSkill
- llm-wiki-security-reviewSkill
- llm-wiki-setupSkill
- llm-wiki-skill-compilerSkill
- llm-wiki-skill-doctorSkill
- llm-wiki-source-refreshSkill
- llm-wiki-team-rolloutSkill
- llm-wiki-threat-modelSkill
- llm-wiki-trust-auditSkill
- llm-wiki-zero-to-working-wikiSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-querySkill
- wiki-triageSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Create or improve a repository LLM-Wiki that helps coding agents understand and modify the codebase safely.
- Distinctive: line 55
Do not mix repo docs with personal second-brain material.
- Distinctive: line 59
Create or update pages for:
- Distinctive: line 72
Keep AGENTS.md/CLAUDE.md short.
- Distinctive: line 108
Do not claim code behavior without checking source files.
- Distinctive: line 109
Do not overwrite hand-written ADRs.
- Distinctive: line 110
Do not put secrets or internal URLs in broadly readable docs.
- Distinctive: line 111
Do not generate direct commits to team repos when PR workflow is expected.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
LLM-Wiki Repo Docs
Goal
Create or improve a repository LLM-Wiki that helps coding agents understand and modify the codebase safely.
When to use
- The user asks for an LLM-Wiki, agent-readable repo docs, or architecture maps for a codebase.
- Setting up or refreshing
AGENTS.md/CLAUDE.mdpointer patterns for Claude Code, Codex, Cursor, or similar coding agents. - Module/package maps or ADR links have gone stale after a major refactor and need a maintenance pass.
- Preparing OpenWiki-style repo documentation for a team repo where changes should land via PR.
Inputs
- Repository path.
- Existing docs, README, ADRs, package manifests and project instructions.
- Target agent(s).
- Desired mode: plan, apply, or PR-ready changes.
Procedure
1. Inspect repository shape
Identify:
- languages and package managers;
- major modules/services/packages;
- tests and build commands;
- existing docs and ADRs;
- current
AGENTS.md/CLAUDE.md; - generated docs folders that should not be edited.
2. Choose output location
Use one of:
wiki/ general LLM-Wiki docs
openwiki/ OpenWiki-style repo docs
_docs/wiki/ if project docs live under docsDo not mix repo docs with personal second-brain material.
3. Generate repo wiki map
Create or update pages for:
- architecture overview;
- module/package index;
- data flow;
- build/test/deploy map;
- common change workflows;
- conventions and gotchas;
- ADR/decision history;
- agent entrypoints.
4. Use pointer pattern
Keep AGENTS.md/CLAUDE.md short. Add pointers to wiki pages instead of embedding large docs.
Example:
For architecture and module maps, read `wiki/index.md` first.5. Add maintenance loop
Recommend:
wiki-lintafter major refactors;- scheduled docs health check;
- PR-based documentation updates;
- CODEOWNERS for important domains;
- stale markers for generated architecture pages.
Output
## Repo docs summary
## Pages created or proposed
## Instruction-file updates
## Architecture gaps
## Maintenance plan
## Next skillSafety gates
- Do not claim code behavior without checking source files.
- Do not overwrite hand-written ADRs.
- Do not put secrets or internal URLs in broadly readable docs.
- Do not generate direct commits to team repos when PR workflow is expected.
- Re-verify architecture and module descriptions against current source files before publishing pages, since generated maps drift quickly after refactors.
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.

