llm-wiki-compiler
CLAUDE.md2.2k starsChanged 2 months agoMITView on GitHub
A knowledge compiler CLI. Raw sources in, interlinked wiki out. Before committing any work, and before considering any task complete, you must:
Trending
More talk lately.thin dataabout the whole repository
Who's talking about atomicstrata/llm-wiki-compiler
- ProSkillsMD/proskills“[Candidate] atomicstrata/llm-wiki-compiler/skills/llmwiki - llmwiki”GitHub · Oct 2, 2026
- alfadur7/llm-wiki-newsroom“`npx` install support”GitHub · Sep 4, 2026
- linyinfeng/nur-packages“Automated update”GitHub · Jul 13, 2026
- podhmo/llm-wiki-compiler“ミニマム化”GitHub · May 14, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/CLAUDE.mdCLAUDE.md
- llmwikiSkill
The file
We split this CLAUDE.md into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
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 11
test files must be smaller than 400 lines excluding comments.
- Distinctive: line 19
Avoid Magic Numbers: Replace hard-code values with named constants to give them meaning.
- Distinctive: line 20
Use Descriptive Booleans: Boolean names should state a condition, not just its value.
- Distinctive: line 21
Keep Code DRY: Duplicate code means duplicate bugs.
- Distinctive: line 22
Avoid Deep Nesting: Flatten your code flow to improve clarity and reduce cognitive load.
- Distinctive: line 30
Write clear comments for complex logic
- Distinctive: line 31
Document public APIs and functions
- Distinctive: line 32
Use JSDoc comments for functions
- Distinctive: line 33
Keep comments up-to-date with code changes
- Distinctive: line 34
Document any non-obvious behavior
- Distinctive: line 38
Before committing any work, and before considering any task complete, you must:
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
llmwiki
A knowledge compiler CLI. Raw sources in, interlinked wiki out.
Development Guidelines
Code Style & Standards
- Code files (TypeScript, Python, JavaScript, shell, SQL) must be smaller than 400 lines excluding comments. Once 400 is exceeded, initiate a refactor. Markdown and other prose/config files (
.md,.mdx,.yaml,.json,.toml) are exempt — long planning documents, roadmaps, and reference catalogs are allowed to grow as substance requires. - Functions must be smaller than 40 lines excluding comments and the catch/finally blocks of try/catch sections. If a function exceeds that, refactor it.
- test files must be smaller than 400 lines excluding comments. Once 400 is exceeded, split the tests into multiple files.
- tests must be smaller than 40 lines excluding comments and the catch/finally blocks of try/catch sections. If a test exceeds that, refactor it, or separate it into multiple tests.
clean code rules
- Meaningful Names: Name variables and functions to reveal their purpose, not just their value.
- One Function, One Responsibility: Functions should do one thing.
- Avoid Magic Numbers: Replace hard-code values with named constants to give them meaning.
- Use Descriptive Booleans: Boolean names should state a condition, not just its value.
- Keep Code DRY: Duplicate code means duplicate bugs. Try and reuse logic where it makes sense.
- Avoid Deep Nesting: Flatten your code flow to improve clarity and reduce cognitive load.
- Comment Why, Not What: Explain the intention behind your code, not the obvious mechanics.
- Limit Function Arguments: Too many parameters confuse. Group related data into objects.
- Code Should Be Self-Explanatory: Well-written code needs fewer comments because it reads like a story.
Comments and Documentation
- include a substantial JSDoc comment at the top of each file. For python files, use google style docstrings
- Write clear comments for complex logic
- Document public APIs and functions
- Use JSDoc comments for functions
- Keep comments up-to-date with code changes
- Document any non-obvious behavior
Pre-Commit Checks
Before committing any work, and before considering any task complete, you must:
npx tsc --noEmit— type-check passesnpm run build— build succeedsnpm test— all tests passfallow— run the fallow codebase health analyzer. Fix all issues it reports (dead code, duplication, complexity). Usefallow fix --dry-runto preview auto-fixes, thenfallow fix --yesto apply. Fix any remaining issues manually. Do not commit until fallow reports no issues.
General Rules
- First think through the problem, read the codebase for relevant files.
- Make every task and code change you do as simple as possible. We want to avoid making any massive or complex changes. Every change should impact as little code as possible. Everything is about simplicity.
- Never speculate about code you have not opened. If the user references a specific file, you MUST read the file before answering. Make sure to investigate and read relevant files BEFORE answering questions about the codebase. Never make any claims about code before investigating unless you are certain of the correct answer - give grounded and hallucination-free answers.
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.

