27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
---
|
||
name: llm-wiki-ask
|
||
description: "Answer an LLM-Wiki question with wiki-first retrieval. Use for ask commands and questions about a stage."
|
||
argument-hint: "Stage and question"
|
||
---
|
||
|
||
# Ask With Wiki-First Retrieval
|
||
|
||
You are running `ask`.
|
||
|
||
`<stage>` and `<question>` are required. If either is missing or empty, stop
|
||
immediately without reading or writing any stage file. Reply with:
|
||
|
||
`Please input stage and question,e.g. ask <stage> "What is discussed in this stage?"`
|
||
|
||
1. Read the stage's `wiki/index.md` first.
|
||
2. Read the most relevant `wiki/*.md` pages.
|
||
3. Read raw files only for evidence, missing details, or conflict checking.
|
||
4. Save the answer to `output/ask-<short-question-slug>.md`.
|
||
5. Include the question, retrieval path separated into wiki hits and raw
|
||
evidence, concise answer, source references, human-check notes, and whether
|
||
anything should later be promoted into the wiki.
|
||
6. Never edit `raw/`.
|
||
7. Do not edit `wiki/` unless explicitly asked to maintain the wiki.
|
||
|
||
In the final response, report the output path, wiki pages used, raw evidence
|
||
used, and any follow-up maintenance suggestion. |