Umbrella for all wiki work: create a new page in the right place; lint and refactor one page (accuracy, DRY, size, links, format); or prune a subtree (duplicates, orphans, structure). Examples: “add a page for our Q3 roadmap under projects/”; “clean up ideas/foo.md and remove duplication with index”; “prune the notes/ folder—merge duplicates and fix orphans”. Route from the user’s words; do not require structured parameters. If they only need to find where something is mentioned, use normal chat instead of this skill. For multi-source investigation that becomes a durable write-up, prefer /research.
This skill covers creating pages, tidying a single page, and pruning a subtree—same quality bar everywhere: one source of truth, agent-friendly page sizes, working links.
/wiki: The user wants edits or structure on wiki files—new content, refactor, or tree-level cleanup./research: Thorough multi-source investigation synthesized into durable wiki pages (see that skill). Quick one-off lookups stay in chat.Infer the mode from what the user wrote after /wiki:
| Intent | Route to |
|---|---|
| New page, new topic, “add a page”, “document X” |
| Create flow below |
| One page feels messy, wrong, too long, “fix this file” | Tidy flow below |
| Area or folder is messy, duplicates, orphans, “clean up notes/…” | Prune flow below |
If multiple modes apply, do the minimum that satisfies the ask; say what you did in a short closing note.
[[wikilinks]] — drop the .md extension. Use the path relative to the wiki root, e.g. [[me]], [[people/jane-doe]], or [[projects/foo|Foo]] to override the displayed label. Do not use plain markdown [label](path.md) links between wiki pages. External URLs still use standard [label](https://…) markdown.You are adding a module: one clear responsibility per file, wikilinks as “imports,” sizes that fit context.
[[wikilinks]] to related pages (no .md); no orphan: add at least one inbound [[…]] link from an index, parent, or related page.Lint + refactor for prose: truth, deduping, navigation, readable size.
[label](path.md) cross-page links into [[path]] wikilinks; improve headings and scanability.Tree scope: how pages relate—duplicates, orphans, stale or oversized pages. Same DRY/size instincts as tidy.
[[wikilinks]] from indexes/parents; fix paths when wrong; normalize stray markdown [label](path.md) cross-page links to [[path]].