From llm-wiki
Searches QMD-indexed project and cross-project wikis for past patterns, decisions, solutions, and pitfalls before planning or implementation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-wiki:researchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search the project wiki and main cross-project wiki before planning or implementation. Produce a concise Past Knowledge section that downstream planning or coding can use.
Search the project wiki and main cross-project wiki before planning or implementation. Produce a concise Past Knowledge section that downstream planning or coding can use.
Determine:
basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"dirname "$(git rev-parse --show-toplevel)"wiki/ exists in the repo..llm-wiki/config.json exists and contains main_wiki_path.~/wikis/master/wiki/ exists.~/wikis/main/wiki/ exists.<parent-of-project>/wikis/master/wiki/ exists.<parent-of-project>/wikis/main/wiki/ exists.qmd CLI, or only rg are available.If no main cross-project wiki exists, say that explicitly. Ask the user for a main wiki folder when cross-project context is important, or suggest running bootstrap to create <parent-of-project>/wikis/master/wiki/.
Use at most two QMD MCP query calls. Do not fire many QMD calls in parallel; combine related searches into the searches array.
Project search:
{
"searches": [
{ "type": "lex", "query": "<3-5 key terms>" },
{ "type": "vec", "query": "<natural-language task question>" }
],
"collections": ["<current-project-name>"],
"limit": 10
}
Main cross-project search:
{
"searches": [
{ "type": "lex", "query": "<key terms>" },
{ "type": "vec", "query": "patterns for <feature domain>" }
],
"collections": ["master"],
"limit": 10
}
Use the master QMD collection for the main cross-project wiki when available. If the environment uses a main collection instead, query main.
Read the top 3-5 relevant pages with QMD get or multi-get.
qmd query "<topic>" --collection "<current-project-name>"
qmd query "<topic>" --collection master
# or, if the cross-project wiki is indexed as main:
qmd query "<topic>" --collection main
rg "<key terms>" wiki/ --type md -C 2
rg "<key terms>" "<main_wiki_path from .llm-wiki/config.json>" --type md -C 2
rg "<key terms>" ~/wikis/master/wiki/ --type md -C 2
rg "<key terms>" ~/wikis/main/wiki/ --type md -C 2
rg "<key terms>" ../wikis/master/wiki/ --type md -C 2
rg "<key terms>" ../wikis/main/wiki/ --type md -C 2
Skip missing directories gracefully.
Prioritize:
wiki/decisions.mdwiki/technical-debt.mdwiki/gaps.mdwiki/architecture.md<main_wiki_path from .llm-wiki/config.json>/patterns.md<main_wiki_path from .llm-wiki/config.json>/learnings.md~/wikis/master/wiki/patterns.md~/wikis/master/wiki/learnings.md~/wikis/main/wiki/patterns.md~/wikis/main/wiki/learnings.md<parent-of-project>/wikis/master/wiki/patterns.md<parent-of-project>/wikis/master/wiki/learnings.md<parent-of-project>/wikis/main/wiki/patterns.md<parent-of-project>/wikis/main/wiki/learnings.mdOnly cite or summarize pages actually read.
Return this structure:
### Past Knowledge
**Relevant wiki pages:**
- ...
**Applicable patterns:**
- ...
**Past decisions that constrain this work:**
- ...
**Known pitfalls:**
- ...
**Reusable components:**
- ...
**Gaps this work could fill:**
- ...
If no wiki exists, say that explicitly and suggest running bootstrap.
npx claudepluginhub ivankuznetsov/llm-wikiGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.