Definition of done

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Definition of done is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. The ordered finish-line runner for any change in this repo — generators, then the asset-integrity refresh last on its own, then the full gate suite, then commit and push; use before declaring any change finished or whenever the stop hook reports uncommitted or untracked changes.

How to use this skill

Skill file

Definition of Done

Doctrine

The order is load-bearing. The integrity manifest must hash the settled tree, so

asset-integrity:write always runs last, on its own, from the repo root — never folded into a

parallel generator batch, never run from a subdirectory.

Trigger

Input

The list of paths you touched in this change.

Decision matrix

Pick the steps that apply based on what changed — most changes trigger more than one row.

then re-run asset-integrity LAST on its own (the parallel-generator ordering caveat in

CLAUDE.md).

model-policy:check (and model-policy:apply` if the projection changed).

--all-targets -- -D warnings && cargo test`. Return to the repo root afterwards — a

persisted cd has broken integrity runs before.

refresh required.

The invariant sequence

Always, in this order:

  1. Applicable generators from the decision matrix above.
  2. python3 tests/validate-asset-integrity.py --write from the REPO ROOT, last, on its own.
  3. npm run validate — zero failures.
  4. npm run lint:spell and npx --yes markdownlint-cli2 "**/*.md" "#node_modules" — zero

failures.

  1. git status clean after committing with a scoped conventional-commit message.
  2. git push -u origin <branch> (retry with backoff on network errors only).

Footguns

commit, or a clean gate run looks like a failure and blocks you.

silently target a nonexistent path.

Output

The checklist above with pass evidence per step, then the commit hash and push confirmation.

Delegation note

Gate runs may be delegated to a Haiku subagent per agentic-delegation's "Gate run" workflow

template, but the orchestrator reads the results and owns the commit — a delegate's self-report

that gates passed is not verification.

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.