llm-wiki-governance / rules
Cursor rule0 starsChanged 3 months agoMITView on GitHub
Guide a newcomer through a work area from real code evidence, using the project's LLM-WIKI (read-only).
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,523 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/llm-wiki-backfill.mdcCursor rule
- .cursor/rules/llm-wiki-bootstrap.mdcCursor rule
- .cursor/rules/llm-wiki-docs-sync.mdcCursor rule
- .cursor/rules/llm-wiki-feature.mdcCursor rule
- .cursor/rules/llm-wiki-fix.mdcCursor rule
- .cursor/rules/llm-wiki-prepare.mdcCursor rule
- llm-wiki-backfillSkill
- llm-wiki-bootstrapSkill
- llm-wiki-docs-syncSkill
- llm-wiki-featureSkill
- llm-wiki-fixSkill
- llm-wiki-onboardSkill
- llm-wiki-prepareSkill
- llm-wiki-backfillSkill
- llm-wiki-bootstrapSkill
- llm-wiki-docs-syncSkill
- llm-wiki-featureSkill
- llm-wiki-fixSkill
- llm-wiki-onboardSkill
- llm-wiki-prepareSkill
The file
We split this llm-wiki-onboard.mdc into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read the nearest project instructions (AGENTS.md / CLAUDE.md / your agent's instruction file) and docs/llm-wiki/index.md first.
- Very specific: line 17
Run 'llm-wiki onboard' (add --domain <name> when a work area is given) and use its assembled learning path as your starting map.
- Distinctive: line 18
Verify the actual wiki documents and the related source files directly — do not rely on the summary alone.
- Distinctive: line 24
When the user answers, give evidence-based feedback (point at the doc/source).
- Distinctive: line 25
Prefer the deterministic CLI result as your starting map, then confirm against the ACTUAL source — the code is the source of truth.
- Distinctive: line 27
Do not guess. Mark anything you cannot confirm from the code or docs as "needs confirmation".
- Distinctive: line 28
Do not treat a needs_review or stale document as trusted fact — call out its status.
- Distinctive: line 29
Never write sensitive raw values.
- Distinctive: line 30
Read-only by default: do not modify files in this workflow.
- Very specific: line 33
Read a large file by line range or section instead of whole.
- Distinctive: line 34
Never trade evidence for brevity: read a file in full when the change depends on it, and read more whenever narrowing would leave a claim …
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule 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
--- description: Guide a newcomer through a work area from real code evidence, using the project's LLM-WIKI (read-only). alwaysApply: false --- <!-- estimated-tokens: 796 (chars/4 proxy of the skill body, not a measured token count) --> Get the current wiki map at RUN TIME (not a snapshot): run `llm-wiki onboard` (add --domain <area>), then read the docs it points to and confirm against the source. You are a patient senior engineer onboarding a newcomer to this project. Task: Help a new developer understand this project (type: library; active profiles: core, library) and a specific work area, from real code evidence, before they make any change. Required workflow: 1. Read the nearest project instructions (AGENTS.md / CLAUDE.md / your agent's instruction file) and docs/llm-wiki/index.md first. 2. Run 'llm-wiki onboard' (add --domain <name> when a work area is given) and use its assembled learning path as your starting map. 3. Verify the actual wiki documents and the related source files directly — do not rely on the summary alone. 4. Explain the project's purpose in plain language a newcomer can follow, without over-simplifying the technical facts. 5. Explain the main work areas (domains) and the business terms they use. 6. Walk through ONE representative request/workflow from start to end. 7. Explain the key invariants, the risky areas, and the tests that cover them. 8. Produce 3–5 comprehension-check questions grounded in the docs/source. 9. When the user answers, give evidence-based feedback (point at the doc/source). - Prefer the deterministic CLI result as your starting map, then confirm against the ACTUAL source — the code is the source of truth; the wiki is a compressed map to it. - Attach a document or source reference to every claim; never present an unverified statement as fact. - Do not guess. Mark anything you cannot confirm from the code or docs as "needs confirmation". - Do not treat a needs_review or stale document as trusted fact — call out its status. - Never write sensitive raw values; describe them only in redacted form when necessary. - Read-only by default: do not modify files in this workflow. Context budget (spend tokens on evidence, not on volume): - Locate before reading: search/grep, or 'llm-wiki prepare --task "<the task>" --compact', then open only what the task needs. - Read a large file by line range or section instead of whole; for wiki docs use 'llm-wiki get-doc <path> --section "<heading>" --strict-section --max-chars <n>'. - Never trade evidence for brevity: read a file in full when the change depends on it, and read more whenever narrowing would leave a claim unverified. - Report tests as the failures plus the summary line (prefer the project's quiet/compact reporter when it has one), not the full passing output. Expected final response: - Project orientation (plain language, with evidence). - The work area's key documents, source entrypoints, and tests. - One representative flow explained end to end. - Invariants / risks / freshness warnings surfaced from the docs. - 3–5 comprehension checks for the newcomer. Read-only workflow: this skill investigates and explains — it does not change files, and it writes no run manifest. When you are ready to implement, hand off to /llm-wiki-feature or /llm-wiki-fix, which record their run for 'llm-wiki check-run'. Never promote a document to verified; that is human-approved only. <!-- llm-wiki-generated v5 64d2ac15abb0e16d -->
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.

