SKILL.md
wiki-audit
When This Skill Activates
- User asks for a per-page audit or invokes a pre-merge gate.
- A vault is resolvable (see step 0).
Output language
Run skillwiki lang at the start. Generate audit narrative and --human summaries in the resolved language. Frontmatter keys, file names, schema headers, index/log structural lines, citation markers, and wikilink slugs MUST stay English.
Pre-orientation reads
Standard four reads.
Steps
- Resolve vault and language. Run
skillwiki path(fail if NOVAULTCONFIGURED) andskillwiki lang. skillwiki audit <page>. Read the JSON report.- Reason over the report:
- Resolve citations against active raw/, raw/archived/, raw/duplicates/, and append-only relocation history. Legacy archive/raw/ is read-compatible only, not a valid new destination. - For each unresolved marker: distinguish a genuinely missing target from a stale historical path, then suggest ingesting the missing source or correcting maintained-page metadata. - For each unusedsources entry: suggest adding a body marker or removing from sources:. - For each missingfromsources entry: suggest adding to sources:.
- Append one
log.mdentry summarizing the audit and any suggested follow-ups.
Stop conditions
None — audit always completes.
Forbidden
- Auto-applying suggested fixes (audit is observation-only).
- Rewriting raw evidence while repairing an audit finding.