SKILL.md
proj-work
Model routing
proj-work authors implementation specifications and plans, so its companion agent must run at the invoking main-agent model. Keep model: inherit in the plugin-root agent definition agents/proj-work.md (repository canonical source: packages/skills/agents/proj-work.md; root agents/proj-work.md is a materialized install mirror). Do not pin planning work to sonnet, haiku, or opus. Do not add a model field to this SKILL.md frontmatter.
After plugin install the runtime path is <installed-plugin-root>/agents/proj-work.md (for example ~/.grok/installed-plugins/.../agents/proj-work.md). Refresh a stale Grok install with grok plugin update skillwiki, not skillwiki install.
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 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.
Completion and post-release verification
- Work-item status represents delivery lifecycle. Mark delivery complete when
the approved code, required acceptance checks, release/deployment scope, and completion evidence are finished.
- Required acceptance verification remains part of the completion checklist and
must pass before status: completed.
- Optional verification after delivery uses typed frontmatter:
postreleaseverification.posture: opt-in, plus one or more approved triggers (matching-regression-report, explicit-user-request, or relevant-code-or-release-change).
- Record opt-in post-release checks as prose evidence, not as unchecked completion tasks.
Completed opt-in work stays out of ordinary active rankings until a trigger occurs; a trigger creates new evidence or a follow-up decision rather than silently keeping delivered work in-progress.
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 -> <vault-root>/projects/{slug}/work/YYYY-MM-DD-{work-slug}/spec.md
plan -> <vault-root>/projects/{slug}/work/YYYY-MM-DD-{work-slug}/plan.md
Rules:
- Emit redirect paths as the first output after folder creation, before any spec write.
- After the folder exists, brainstorming writes
spec.mdat the spec redirect. - Do not invoke
writing-plans. Do not git commit from brainstorming. plan.mdis a later explicitproj-workstep, not a Superpowers plan file.- Resolve
<vault-root>viaskillwiki path(never hardcode). - proj-work does NOT invoke brainstorming — it provides paths only.
- If a foreign 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.