--- name: llm-wiki description: Maintains a persistent markdown wiki from raw sources. Ingests raw notes, compiles structured wiki pages, updates index and log files, and produces question-answer outputs. Use for LLM research notes, knowledge bases, source-to-wiki compilation, topic synthesis, and wiki maintenance. --- # llm-wiki ## Purpose Maintain a persistent, compounding markdown wiki built from raw sources. ## When to use - User wants to organize research sources into a wiki - User asks to compile raw notes into structured knowledge pages - User wants Q&A, comparisons, or summaries based on the wiki - User wants the wiki index or log updated after ingesting sources ## Core workflow 1. Put source material in `raw/`. 2. Read raw sources and integrate them into `wiki/`. 3. Update `index.md` and `log.md`. 4. Write question-based analysis into `outputs/`. ## File layout - `raw/` — immutable source material - `wiki/` — structured knowledge pages - `outputs/` — Q&A and analysis based on the wiki - `index.md` — content-oriented catalog - `log.md` — chronological activity log - `schema.md` — operating conventions and page templates ## Maintenance rules - Keep raw sources unchanged unless explicitly asked to archive or copy. - Prefer modular wiki pages with cross-references. - When sources contradict prior claims, update the wiki and note the conflict. - Mark uncertain claims with `[待验证]`. - Every ingest should update the index and log. ## Output style - Use concise markdown. - Favor source-linked synthesis over generic summaries. - Preserve traceability from wiki pages back to raw sources. ## References - `references/creation-guide.md` — skill creation rationale - `references/skill-structure.md` — optional structure notes - `references/best-practices.md` — writing and maintenance guidance