When to invoke
- User starts a feature, issue, refactor, or decision inside an existing project.
- User asks to "get work of X" or "run work item Y" to review/execute an existing item.
- Brainstorming or writing-plans skills would otherwise default-write outside the project tree.
- If no project context can be determined, default to the
playgroundslug so redirect paths always emit and the PRD bridge chain works.
Pre-orientation reads
Standard four + project context (project README, last ~5 work logs).
Executing an Existing Work Item
When the user asks to "get work of X" or "run work item Y" for review, you are in EXECUTION mode — not creation mode. Steps:
- Resolve the work folder at
<vault>/projects/{slug}/work/{YYYY-MM-DD-<slug>}/. If the vault root isn't obvious, runskillwiki path. - Read spec.md and tasks.md in full. The spec defines scope; tasks define the review checklist.
- Verify every "DONE" claim against disk. This is critical — previous sessions routinely mark items DONE in the wiki without actually applying the fix. For each claimed-complete task:
- Check file existence, content, config values on disk
- Cross-reference crontab entries, script timeouts, Makefile targets
- Trust nothing in the wiki alone — validate
- Apply missing fixes, then update the work item with accurate post-fix status.
- Set
status: completewhen all fixes are verified.
Creating a New Work Item
- Determine
kind:(feature | issue | refactor | decision) and slug. - Create folder
projects/{slug}/work/YYYY-MM-DD-{work-slug}/. - Override default output paths for any nested skill:
spec.md,plan.md, andlog.mdare written here, not at vault root. - Validate work-item frontmatter via
skillwiki validate <spec.md>. If non-zero, STOP. - Manage status transitions:
planned→in-progress→completed(setcompleted:date) orabandoned. - Append vault
log.mdentry on creation and on each status transition.
Redirect Output
After step 3 (output path override), emit redirect paths for the active PRD skill:
Work item created: projects/{slug}/work/YYYY-MM-DD-{work-slug}/
Redirect paths for PRD skills: spec -> /projects/{slug}/work/YYYY-MM-DD-{work-slug}/spec.md plan -> /projects/{slug}/work/YYYY-MM-DD-{work-slug}/plan.md
Pass these paths to your PRD skill (superpowers:brainstorming, superpowers:writing-plans, CodeStable, or any other). Files land in the vault natively — no separate ingest needed.
Rules:
- Emit redirect paths as the first output after folder creation, before any PRD skill runs.
- Resolve
<vault-root>viaskillwiki path(never hardcode). - proj-work does NOT invoke any PRD skill — it provides paths only.
- If the PRD skill cannot accept custom save paths, fall back to manual
wiki-ingest. - When
spec.mdorplan.mdmentions repo files, followusing-skillwiki→ Portable Source References.
Pitfalls
- Wiki-as-truth fallacy: tasks.md status markers are aspirational claims by previous sessions. They are often wrong. Always audit the actual file system before accepting a "DONE" label.
- Re-marking without doing: do not simply re-write tasks.md to say DONE without applying the corresponding fix. The next session will find the same gap.
Stop conditions
validatenon-zero.- Conflicting work folder name.
Forbidden
- Writing spec/plan files outside the work folder.
- Marking
status: completedwithout acompleted:date. - Accepting tasks.md status labels without independent disk verification.
Managed writes
Use managed SkillWiki commands (skillwiki page publish, skillwiki archive) rather than editing root index.md/log.md directly.