Llm wiki design
Design a custom LLM-Wiki implementation, CLI, Obsidian plugin, repo-docs agent, team workflow, or product architecture. Use when the user wants to build their own system and needs data model, retrieval tier, provenance, storage, sync, review, agent integration, or MVP planning.From its SKILL.md
npx -y skills add po4yka/llm-wiki-skills --skill llm-wiki-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.9 KB, 761 tokens by cl100k_base, as published. Nobody here has run it
LLM-Wiki Design
Goal
Design a custom LLM-Wiki system that starts thin, stays inspectable and has explicit trust controls.
When to use
- The user wants to build their own LLM-Wiki implementation, CLI, Obsidian plugin, repo-docs agent, or team workflow rather than adopt an existing tool.
- A product decision is needed on data model, retrieval tier, provenance, storage, sync, review or agent integration before any code is written.
- The user asks for an MVP plan, architecture sketch, or build-vs-buy justification for a wiki/knowledge-base system.
- Do not use this skill to answer questions from an already-built wiki (route to a query skill instead) or to pick between existing off-the-shelf tools (route to
llm-wiki-choose).
Inputs
- Product/workflow goal.
- User type: personal, team, company, plugin, CLI, SaaS, research tool.
- Corpus type and scale.
- Local-first/privacy constraints.
- Target agents and editors.
- Required integrations.
Procedure
1. Frame the build-vs-buy reason
Custom build is justified when at least one is true:
- claim-level provenance is required;
- existing tools do not preserve human edits;
- local-first/offline operation is mandatory;
- team governance or permission model is specific;
- product UX is the main differentiator;
- corpus shape is unusual;
- integration with a workflow/repo/editor is central.
If none apply, recommend llm-wiki-choose again and prefer a ready-made path.
2. Define the domain model
Start with:
raw source -> source page -> entity/concept/comparison/synthesis/query pages
Define page types, lifecycle states, source hashes, claim types, review gates and protected sections.
3. Pick retrieval tier
Use the smallest sufficient tier:
| Tier | Use when |
|---|---|
| index + grep | first 50-100 sources or strong filenames/wikilinks |
| hybrid lexical + semantic | conceptual recall fails or corpus grows |
| graph-aware retrieval | relationships, provenance and multi-hop questions dominate |
| custom storage | product requirements demand concurrency, permissions or scale |
4. Design ingest pipeline
Prefer two-step ingest:
- analyze source into structured claims/entities/concepts without writing final pages;
- generate or patch wiki pages from the analysis;
- run lint and review.
Add confidence and rejection feedback before adding complex graph UI.
5. Design write safety
Specify:
- raw source immutability;
- git/PR/dry-run workflow;
- protected human sections;
- schema validation;
- low-confidence staging;
- rollback;
- prompt-injection defense;
- sensitive data policy.
6. Plan MVP
A good MVP usually includes:
- Markdown output;
- source preservation;
index.mdandlog.md;- one ingest command;
- one query command;
- one lint report;
- git diff review;
- frontmatter schema;
- no vector DB until there is a measured retrieval problem.
Output
## Product/workflow thesis
## Build-vs-buy justification
## Architecture
## Data model
## Ingest/query/lint flows
## Trust model
## Storage and retrieval choices
## MVP milestones
## Risks
## Open questions
Safety gates
- Do not start with graph visualization as the core deliverable.
- Do not hide generated memory in a black box if users need trust.
- Do not recommend current dependency versions or licenses without browsing.
- Do not design direct-write team systems without review ownership.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.