Wi writer

From govctl-org/govctl · View interactive version

Wi writer is an AI agent skill from the GitHub repository govctl-org/govctl. Write durable work items with scoped descriptions, testable categorized acceptance criteria, governing references, and risk-matched guards

How to use this skill

Skill file

Work Item Writer

A Work Item records one durable execution outcome and how to tell it is done.

It is not a specification, a design decision, or a progress journal. This

helper owns field quality; the invoking workflow owns code, lifecycle

transitions, loops, and VCS operations.

Discovery

govctl work list active
govctl work list queue
govctl work show <WI-ID>
govctl guard list
govctl loop list open

Use govctl <resource> --help for current syntax.

Hard Stops

scope. New behavior, validation, storage, compatibility, or lifecycle rules

need an RFC; a design choice needs an ADR, not an explanation in the item.

blockers, hypotheses, or next actions in description or notes.

to the invoking workflow.

Fields

Description

One concise paragraph: what the task accomplishes, why, and its scope. Do not

restate contract language or track progress.

Describe what exists today by its role. Do not name types, functions, fields,

or files that do not exist yet: a reader cannot resolve a forward reference,

and the implementing agent owns those names. Introduce a planned concept by its

role ("a per-clone coordination registry"), not its planned identifier.

Acceptance Criteria

Each criterion is independently testable, describes an observable outcome, and

carries a changelog category: add, fix, change, remove, deprecate,

security, or chore. Use chore for internal outcomes that stay out of the

release changelog. Do not prescribe incidental private structure or planned

symbol names.

To correct a criterion, use

govctl work edit <ID> "acceptance_criteria[N]" --set <value>. A recognized

category prefix updates text and category; other input updates only text;

checklist status is kept. Use the .text child path to keep a recognized

prefix as literal text, and --tick to change status. Quote every path with

brackets. Use --stdin for text containing backticks, $(), or other shell

syntax.

Notes

Only closure-worthy constraints, durable implementation facts, or reasons an

approach should not be retried. A cancelled item records its reason here.

Notes cannot override an RFC or accepted ADR. Transient state belongs in loop

rounds or the final response; progress belongs in criterion status.

References And Dependencies

Reference the RFCs that authorize behavior and the ADRs that constrain the

approach. Use depends_on only for hard execution order; informational links

go in refs.

Create a separate item only for an independently reviewable outcome. Helper

extraction, fixtures, file moves, and formatting stay inside the parent. Use a

multi-item loop only when the batch has several durable outcomes.

Guards

needs.

domains, chosen from the changed surface, references, and criteria.

for cross-cutting changes.

success. A short chore criterion may summarize validation not covered by

guards.

Use guard-writer when a reusable check is missing.

Checklist

exists.

ordering.

The invoking workflow moves the item to done once criteria are complete;

govctl work move <WI-ID> done runs the effective guards, so do not rerun them

just before.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.