From superpowers-plus
Orchestrates bulk and multi-page documentation projects: reorganizing wiki pages, cross-referencing, publishing coordinated updates. Runs quality pipeline (de-dup, link-verification, secret-scan, slop-detection, fact-check).
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-plus:wiki-orchestratorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Route bulk/multi-page wiki edits through the 7-stage pipeline below. Single-page
Route bulk/multi-page wiki edits through the 7-stage pipeline below. Single-page
edits use tools/wiki-write.sh directly. Wrong skill? Links → link-verification
· Facts → wiki-debunker · Drift → wiki-verify · Secrets → wiki-secret-audit
· Full refactor → wiki-refactor. Background: rationale.md.
document X in wiki, wiki:create, wiki:update, wiki:publish, bulk wiki updatetools/wiki-write.sh. This skill is for multi-page or pipeline-driven writes.link-verification · Facts → wiki-debunker · Drift → wiki-verify · Secrets → wiki-secret-auditsource ~/.codex/.env 2>/dev/null || true
: "${WIKI_PLATFORM:?set WIKI_PLATFORM in ~/.codex/.env (e.g. outline)}"
cat "$HOME/.codex/superpowers-plus/skills/wiki/_adapters/${WIKI_PLATFORM}.md"
If WIKI_PLATFORM is unset and no adapter loads → STOP. Do not write.
| # | Stage | Gate | Command |
|---|---|---|---|
| 1 | De-dup | WARN | tools/wiki-read.sh search "<topic>" --limit 5 |
| 2 | Generate | — | Apply formatting rules below |
| 2.5 | Coherence | ADVISORY | use-skill wiki-content-coherence |
| 3 | Links | BLOCK | use-skill link-verification |
| 4 | Secrets | BLOCK | use-skill wiki-secret-audit |
| 4.5 | Language | BLOCK | node tools/language-scanner.js draft.md (exit 0=PASS, 1=BLOCK, 2=ABORT, 127+=ABORT) |
| 5 | Slop | ADVISORY | use-skill eliminating-ai-slop |
| 5.5 | Structure | BLOCK | node tools/wiki-markdown-validate.js draft.md |
| 6 | Facts | WARN | use-skill wiki-debunker |
| 7 | Publish | — | tools/wiki-write.sh {create|update|move} … |
Stage 4.5 — Language gate contract:
[F-WORD]/[EXPLETIVE]/[REDACTED: reason]), re-run until exit 0MODULE_NOT_FOUND on stderr: ABORT — scanner file missing, not profanity foundnode not on PATH; install Node.js; do NOT infer PASSCombined-invocation note (when implementing as bash): If Stages 4 (secret scan) and 4.5 (language scan) both read from a shared temp file ($WIKI_TMP), run them in a single shell invocation — splitting across two Bash calls destroys $WIKI_TMP via EXIT trap. This applies to bash implementations; the AI skill dispatch (above) is unaffected.
tools/wiki-write.shtools/wiki-write.sh create --parent "$PARENT_UUID" --title "$TITLE" --content draft.md
tools/wiki-write.sh update --doc "$DOC_UUID" --content draft.md
tools/wiki-write.sh move --doc "$DOC_UUID" --parent "$NEW_PARENT_UUID"
Exit: 0 ok+verified · 1 scope · 2 env/arg · 3 API · 4 verify failed.
Never create a root page. On exit 1 stop and ask; do not retry.
| Rule | Action |
|---|---|
| H1 in body | Drop — platform renders title |
Raw HTML / / > [!info] | Remove; breaks API round-trip |
[ ] or in table cells | Use Yes/No or ✓/✗ |
| Code blocks | Always tag language |
4+ H2/H3 outside fences, toc_behavior=manual, no TOC | Insert adapter toc_syntax |
tools/wiki-read.sh search "<title>" --limit 5 (dedupe)tools/wiki-read.sh get "<id-or-slug>" (fetch state / verify parent)node tools/wiki-markdown-validate.js draft.md → exit 0 or fixtools/wiki-write.sh {create|update} … → exit 0 or stopmkdir -p _deleted_backups && tools/wiki-read.sh get "$DOC_ID" \
> "_deleted_backups/$(date +%F)_${DOC_ID}.json" \
|| { echo "backup failed, refusing delete"; exit 1; }
# only now invoke the adapter's delete/archive operation
| Failure | Recovery |
|---|---|
| Pipeline used for single-page edit | Use tools/wiki-write.sh directly |
| Skipped a BLOCK stage | Restart pipeline from that stage |
wiki-write.sh exit 1 | Stop; ask user |
wiki-write.sh exit 4 | Re-run Stage 5.5 on fetched body, fix, retry |
Philosophy, rationalizations, companion-skill list: rationale.md.
npx claudepluginhub bordenet/superpowers-plus --plugin superpowers-plusGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.