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
playground slug 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, run skillwiki 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: complete when 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, and log.md are 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 (set completed: date) or abandoned.
- Append vault
log.md entry 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:
post_release_verification.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 -> /projects/{slug}/work/YYYY-MM-DD-{work-slug}/spec.md
plan -> /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.md at the spec redirect.
- Do not invoke
writing-plans. Do not git commit from brainstorming.
plan.md is a later explicit proj-work step, not a Superpowers plan file.
- Resolve
<vault-root> via skillwiki 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.md or plan.md mentions repo files, follow using-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
validate non-zero.
- Conflicting work folder name.
Forbidden
- Writing spec/plan files outside the work folder.
- Marking
status: completed without a completed: 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.
1---2name: proj-work3description: Open or run a work item under projects/{slug}/work/YYYY-MM-DD-{slug}/. Redirects brainstorming spec/plan output paths.4---56# proj-work78## Model routing910`proj-work` authors implementation specifications and plans, so its companion11agent must run at the invoking main-agent model. Keep `model: inherit` in the12plugin-root agent definition `agents/proj-work.md` (repository canonical source:13`packages/skills/agents/proj-work.md`; root `agents/proj-work.md` is a14materialized install mirror). Do not pin planning work to `sonnet`, `haiku`, or15`opus`. Do not add a `model` field to this `SKILL.md` frontmatter.1617After plugin install the runtime path is18`<installed-plugin-root>/agents/proj-work.md` (for example19`~/.grok/installed-plugins/.../agents/proj-work.md`). Refresh a stale Grok20install with `grok plugin update skillwiki`, not `skillwiki install`.2122## When to invoke23- User starts a feature, issue, refactor, or decision inside an existing project.24- User asks to "get work of X" or "run work item Y" to review/execute an existing item.25- Brainstorming would otherwise default-write outside the project tree.26- If no project context can be determined, default to the `playground` slug so redirect paths always emit and the PRD bridge chain works.2728## Pre-orientation reads29Standard four + project context (project README, last ~5 work logs).3031## Executing an Existing Work Item3233When the user asks to "get work of X" or "run work item Y" for review, you are in EXECUTION mode — not creation mode. Steps:34351. **Resolve the work folder** at `<vault>/projects/{slug}/work/{YYYY-MM-DD-<slug>}/`. If the vault root isn't obvious, run `skillwiki path`.362. **Read spec.md and tasks.md** in full. The spec defines scope; tasks define the review checklist.373. **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:38 - Check file existence, content, config values on disk39 - Cross-reference crontab entries, script timeouts, Makefile targets40 - Trust nothing in the wiki alone — validate414. **Apply missing fixes**, then update the work item with accurate post-fix status.425. **Set `status: complete`** when all fixes are verified.4344## Creating a New Work Item451. Determine `kind:` (feature | issue | refactor | decision) and slug.462. Create folder `projects/{slug}/work/YYYY-MM-DD-{work-slug}/`.473. Override default output paths for any nested skill: `spec.md`, `plan.md`, and `log.md` are written here, not at vault root.484. Validate work-item frontmatter via `skillwiki validate <spec.md>`. If non-zero, STOP.495. Manage status transitions: `planned` → `in-progress` → `completed` (set `completed:` date) or `abandoned`.506. Append vault `log.md` entry on creation and on each status transition.5152### Completion and post-release verification5354- Work-item status represents delivery lifecycle. Mark delivery complete when55 the approved code, required acceptance checks, release/deployment scope, and56 completion evidence are finished.57- Required acceptance verification remains part of the completion checklist and58 must pass before `status: completed`.59- Optional verification after delivery uses typed frontmatter:60 `post_release_verification.posture: opt-in`, plus one or more approved61 `triggers` (`matching-regression-report`, `explicit-user-request`, or62 `relevant-code-or-release-change`).63- Record opt-in post-release checks as prose evidence, not as unchecked completion tasks.64 Completed opt-in work stays out of ordinary active rankings until a trigger65 occurs; a trigger creates new evidence or a follow-up decision rather than66 silently keeping delivered work `in-progress`.6768## Redirect Output6970After step 3 (output path override), emit redirect paths for the active PRD skill:7172> Work item created: projects/{slug}/work/YYYY-MM-DD-{work-slug}/73>74> Redirect paths for PRD skills:75> spec -> <vault-root>/projects/{slug}/work/YYYY-MM-DD-{work-slug}/spec.md76> plan -> <vault-root>/projects/{slug}/work/YYYY-MM-DD-{work-slug}/plan.md77>78Rules:79- Emit redirect paths as the first output after folder creation, before any spec write.80- After the folder exists, brainstorming writes `spec.md` at the spec redirect.81- Do not invoke `writing-plans`. Do not git commit from brainstorming.82- `plan.md` is a later explicit `proj-work` step, not a Superpowers plan file.83- Resolve `<vault-root>` via `skillwiki path` (never hardcode).84- proj-work does NOT invoke brainstorming — it provides paths only.85- If a foreign PRD skill cannot accept custom save paths, fall back to manual `wiki-ingest`.86- When `spec.md` or `plan.md` mentions repo files, follow `using-skillwiki` → Portable Source References.8788## Pitfalls89- **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.90- **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.9192## Stop conditions93- `validate` non-zero.94- Conflicting work folder name.9596## Forbidden97- Writing spec/plan files outside the work folder.98- Marking `status: completed` without a `completed:` date.99- Accepting tasks.md status labels without independent disk verification.100## Managed writes101102Use managed SkillWiki commands (`skillwiki page publish`, `skillwiki archive`) rather than editing root index.md/log.md directly.