/delivery-record:delivery-record-finalizefrom delivery-record
Finalize a drafted record after review by adding the named reviewer and two checkpoint notes to the draft file. Refuses generic notes, then validates with --strict. Invoke as /delivery-record-finalize <path>.
Ships in delivery-record. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a draft into a signed Delivery Record. The reviewer, or the author with the reviewer's written notes, runs this after the review.
The human checkpoint is mandatory. This skill refuses to sign without a named reviewer and both checkpoint notes. The refusal is the feature.
This skill edits one existing file: the draft at the path given.
After a successful sign-off it also deletes the task's evidence log, if one exists.
It does not create a commit, push, amend the PR description, or post to Teamwork unless the user asks for that step.
Commit and push are the user's to run.
If the user wants a single sign-off commit, print the exact git add and git commit commands and stop.
/delivery-record-finalize [path] [--reviewer <handle>] [--index] [--link-pr]With no path, list docs/delivery-records/*.md files that contain Status: awaiting review and ask which one.
--reviewer pre-fills the reviewer and does not satisfy the checkpoint notes.
--index posts the Teamwork notebook comment.
--link-pr amends the PR description with the record link.
Read the file.
Stop if predicate_type is missing, or if the file has no Status: awaiting review line and reviewed_by is already filled.
In that case the record is already signed: say so, and do not overwrite a signature.
First look for the evidence log for this repo and the record's branch: ~/.claude/delivery-records/logs/<repo>/<branch>.md, resolved as in delivery-record-log.
For a code record, take the branch from the PR (gh pr view <n> --json headRefName), falling back to the current branch.
If the log exists, show its [plan-q], [plan-a], [plan-change], and [plan-approved] entries verbatim as evidence for Checkpoint 1.
A plan approved in plan mode is evidence for that checkpoint, not its note.
The reviewer decides whether to cite them, in their own words.
Ask in plain words, with the reason for each, in one question set:
Use the AskUserQuestion tool where it is available. Do not use the words "automated gates" or "final code approval" in the prompt.
Refuse to proceed if the reviewer is blank, or if either note is blank or generic. A bare "LGTM", "looks good", "approved", or an empty line fails. Checkpoint 2 must say what was actually looked at. Re-prompt up to twice with a short reason for the refusal. On the third blank or generic answer, abort, leave the draft unchanged, and say so.
The notes must come from the user in this conversation.
A --reviewer flag, a PR approval, a PR comment from someone else, or a verbal review the user describes without details does not count.
If you found a PR comment that looks like review evidence, offer it as an option in the question set.
The reviewer decides whether to cite it and states it in their own words.
Edit only these parts of the draft:
sign_off.reviewed_by: "@<reviewer> <YYYY-MM-DD>".sign_off.approved_by, only if the user supplied a client approver and the scope is launch or deliverable.Status: awaiting review. Not a signed record. line.Do not change checks:, subject, or any other body text.
If the review changed a check result, tell the user to edit it in the draft first, then re-run.
Run python3 scripts/delivery_record_verify.py --strict <path>.
Report the output.
Never report the record as signed without validator output.
If validation fails, fix the cause or restore the draft, and say which.
Once --strict passes, delete the evidence log from step 2, if there was one, and say so in one line.
Never delete it when validation failed or the run aborted.
Run these only when the user asked for them:
delivery-record.delivery-record.Otherwise print the file path, the verifier result, and the commit commands the user can run.
| Pressure or rationalization | Correct behavior |
|---|---|
| "The reviewer is busy, just put their name in" | Refuse. A name without notes is a forged signature. |
| "LGTM is close enough for checkpoint 2" | Refuse. The note must say what was looked at. |
| "Sign it now and fix the notes later" | Refuse. Leave the draft as it is. |
| "I am the only developer, skip the review" | Self-review is allowed when the notes say what was read and checked. Ask for those notes. |
| "The user told me to skip the gate" | Abort politely after the third blank or generic answer. |
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/delivery-recordGenerate a Delivery Record for a significant AI-assisted output — code (PR),
FRD, audit, discovery, design-handoff, strategy, client-comm, design, QA,
launch, deployment, devops, project-setup, or ongoing-improvement. Refuses to
write without a named human reviewer and the two
checkpoint notes. Writes to docs/delivery-records/ in a repo or to Drive in
Claude Desktop, and indexes the result in the project's Teamwork "Delivery
Records" notebook. Invoke at the end of a unit of work, after /pr-create for
code, or via /delivery-record.
/delivery-record-draftDraft an unsigned record before any review exists, so a reviewer can read it.
Reviewer and checkpoint notes stay blank, the file is marked awaiting review,
and nothing is committed, pushed, or posted. Fails verification until
finalized. Invoke as /delivery-record-draft.
/delivery-Other plugins' skills for the same job
delivery-record@claude-toolbox is listed by kanopi/claude-toolbox — review the source before installing
npx claudepluginhub kanopi/claude-toolbox --plugin delivery-record