Work unit protocol

From markus41/claude · View interactive version

Work unit protocol is an AI agent skill from the GitHub repository markus41/claude. Use when starting, tracking, or closing a discrete unit of work. Enforces ULTRA §13 reporting contract — what/why/tests/deps/reuse/risks/follow-ups/completion table. Invoke when user says "start work unit", "close work unit", "work unit report", or when a multi-step implementation task begins.

How to use this skill

Skill file

Work Unit Protocol

A work unit is one scope-bounded outcome with a measurable completion criterion. This skill is the rhythm each unit follows — from kickoff through closing report.

Phases

1. Kickoff

2. Plan

3. Execute

4. Verify

5. Close — the report

Produce a Work Unit Report with these sections:

# Work Unit <NN> — <title>

## What was implemented
- `<path>` — one-line purpose
- ...

## Test totals
`<suite>`: N/N PASS
=== TOTAL: N/N PASS (Xs) ===

## Why (ULTRA §13 answers)
- What breaks if this changes?
- What proves this works?
- Can this be reused?
- Can this be simplified?
- Is this observable?
- Is this documented?
- Is this the best long-term design?

## What's COMPLETE (Section 20)
| Artifact | Status | Evidence |
|---|---|---|
| ... | ✅ | path |

## What's INCOMPLETE
- <item> — <time estimate>

## Risks flagged
- ...

## Awaiting decision
- <blocking user decision>

Invocation patterns

| User says | Do |

|---|---|

| "Let's start a work unit for X" | Run phase 1. Produce one-sentence scope + criterion. Confirm before phase 2. |

| "Close work unit" or "work unit report" | Produce phase-5 report from current session artifacts. |

| "Ship it" / "merge it" | Block until phases 4 and 5 are done and green. |

Non-negotiables

Related

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.