From serena-wiki
This skill should be used when the user asks to "check the wiki", "lint the wiki", "wiki health check", "find stale wiki pages", "audit the wiki", "are there outdated pages", "wiki quality", "fix broken links in the wiki", "wiki maintenance", "wiki lint", "is the wiki accurate", "verify the wiki", or mentions wanting to ensure wiki quality. Performs a comprehensive health check on the wiki stored in Serena memories — finds stale pages, orphans, missing cross-references, and content quality issues.
How this skill is triggered — by the user, by Claude, or both
Slash command
/serena-wiki:wiki-lintThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the wiki (stored as Serena memories) for structural issues, staleness, and quality.
Audit the wiki (stored as Serena memories) for structural issues, staleness, and quality. All checks read from Serena, all fixes write to Serena.
If Serena is NOT available — STOP. Tell the user:
"Serena is required — the wiki is stored as Serena memories. Install it:
/plugin install serena@claude-plugins-official"
Use mcp__plugin_serena_serena__read_memory with memory_name: "wiki/schema".
If it doesn't exist, tell the user to run wiki-setup first.
List all wiki memories:
Use mcp__plugin_serena_serena__list_memories with topic: "wiki" to get every wiki memory.
Index completeness:
mcp__plugin_serena_serena__read_memory on wiki/indexRequired sections:
mcp__plugin_serena_serena__read_memory on each wiki pageBidirectional references:
wiki/{category}/{name} references in Related Pagesmcp__plugin_serena_serena__read_memory on referenced pagesFor each wiki page:
git log -1 --format="%ai" -- <filepath> for each source file's last-modified dateSeverity:
TBD, TODO, FIXME, [placeholder]Use mcp__plugin_serena_serena__list_dir to find all source directories.
Check which have corresponding wiki/modules/{name} pages. Flag undocumented modules.
## Wiki Health Report
**Scan date**: YYYY-MM-DD
**Total pages**: N
### Summary
| Metric | Count | Status |
|--------|-------|--------|
| Healthy pages | N | OK |
| Stale pages | N | [WARN/OK] |
| Orphan memories | N | [WARN/OK] |
| Missing cross-refs | N | [WARN/OK] |
| Empty sections | N | [WARN/OK] |
| Stub pages | N | [WARN/OK] |
| Undocumented modules | N | [INFO/OK] |
### Health Score: N/10
### Issues Found
#### Critical
1. [Issue] — [fix]
#### Warnings
1. [Issue] — [fix]
#### Info
1. [Issue] — [fix]
Offer to fix mechanical issues using Serena:
Can auto-fix (via edit_memory and write_memory):
Cannot auto-fix (require wiki-update):
Ask: "I can auto-fix N mechanical issues. Should I proceed?"
If yes, fix via mcp__plugin_serena_serena__edit_memory, then append to wiki/log.
All prefixed mcp__plugin_serena_serena__:
| Operation | Tool |
|---|---|
| List all wiki pages | list_memories (topic: "wiki") |
| Read wiki page | read_memory |
| Update wiki page | edit_memory |
| List source dirs | list_dir |
| Get module symbols | get_symbols_overview |
npx claudepluginhub snowtumb/karpathy-serena-wiki --plugin serena-wikiAudits markdown wiki for broken links, orphan pages, contradictions, stale claims, missing frontmatter, coverage gaps; generates categorized report with fixes after ingests.
Wiki maintenance — lint broken links, merge near-duplicates, upgrade confidence, flag stale pages via freshness tiers, gap analysis, concept synthesis. Use on: 'wiki maintenance', 'wiki cleanup', 'fix wiki', 'wiki health', 'check wiki', 'consolidate wiki'.
Scans Markdown wiki for structural issues (orphans, broken wikilinks, missing index, stubs), factual contradictions; auto-fixes possible problems, flags rest.