implement-workitem
Installation
SKILL.md
Implement Work Item
Purpose
Own sequencing, approvals, and durable state for one work item. Compose the named model-invoked skills; do not copy their implementation methods. Finish at a pushed branch and verified draft PR unless the user declines publication or a prerequisite blocks it, then finalize any created OpenSpec changes as the last workflow phase. Never merge or complete the PR or close the work item.
Inputs
Accept named inputs in natural language; do not depend on shell positional variables.
| Input | Meaning and default |
|---|---|
work_item_id |
Required Azure DevOps work-item ID. Ask if absent; never invent one. |
base_branch |
Branch to start from and merge back into. For a new work-item branch, default to origin/dev; for a resumed branch, recover the recorded base or ask. |
branch_name |
Optional work branch. Default to the repo convention, otherwise feat/<id>-<slug> or fix/<id>-<slug> for a bug. |
pull_request_url |
Optional existing PR whose feedback is proposed input to this work item's scope. Never silently include comments as approved requirements. |
output_format |
Default to openspec when available, as resolved in references/state-and-artifacts.md; otherwise freeform. Honor an explicit freeform choice unless repository policy requires OpenSpec. |
A Git base ref such as origin/dev maps to remote origin, branch dev. The feature branch is the PR source; the recorded base branch is the PR target. Never pass origin/dev as the ADO target branch name.