Periodic upkeep pass that keeps a project's .claude/skills/verify-*/ skill and feature map honest: read-only readers per feature, one live session driving every feature, at most one branch of proven corrections, landed as an ordinary low-risk slice. Use for /maintain-verification-skill or \"audit the verify skill\".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Maintain Verification Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/restierecon-maintain-verification-skill)
---
name: maintain-verification-skill
description: "Periodic upkeep pass that keeps a project's .claude/skills/verify-*/ skill and feature map honest: read-only readers per feature, one live session driving every feature, at most one branch of proven corrections, landed as an ordinary low-risk slice. Use for /maintain-verification-skill or \"audit the verify skill\"."
disable-model-invocation: true
---
# Maintain a verification skill
Adapted from [pstack `skills/maintain-verification-skill`](https://github.com/backnotprop/pstack/tree/main/skills/maintain-verification-skill)
(MIT — see LICENSE).
A feature map rots the moment the app changes. This skill is the upkeep loop for a skill generated by `/create-verification-skill` (or any project-local verification skill with a feature map). The unit of rigor is the feature, not every sentence: cover every feature file from source and exercise every feature live, without terminalising every bullet.
## Outcomes
Pick one, and say which:
- **clean** — every feature got source and live coverage; nothing worth shipping. No branch.
- **changed** — one branch ships proven doc, harness, or map corrections. In a TBV project it is an ordinary low-risk slice, landed with `land-slice.sh` (step 6); without tbv/, one `verify-maint` branch merged the way the repo merges.
- **blocked** — coverage could not finish or a proven fix could not ship safely. Say exactly what blocked it.
## Edit scope
Only edit the verification skill's own directory (its SKILL.md, features/, and any harness scripts it owns). Never edit product code during a run: a behavior the map describes that the app no longer does is either doc drift (fix the map) or a product regression (flag it, don't paper over it in docs).
## Pass
0. **Locate the target.** Find the verification skill to maintain: the project-local skill whose body has launch/drive sections and a feature map (usually `.claude/skills/verify-*/`). Several candidates → ask which one; none → stop and point at `/create-verification-skill` instead of inventing a target.
1. **Index hygiene.** Read the feature map README and glob its sibling files. Fix missing, extra, duplicate, or dead entries. Lightweight; no generated inventory.
2. **Source wave.** One read-only subagent per feature file, launched concurrently in a single message: `Explore` in Claude Code and Cursor; in Copilot in VS Code, a subagent given only read and search tools. Read-only is then enforced by the tool set, not prose. Where no subagent is available, read each feature yourself, one at a time, and keep the same return shape. Each explains "how does this user-facing feature work?" from source, flags likely doc drift with citations, and returns one concise live-verification recipe. Children never drive the app and never edit files. Return shape: feature summary / source entry points / likely drift or none / one recipe.
3. **Reconcile.** Every feature file has a returned summary. Merge overlapping recipes into as few app states as practical. Spot-check cited drift; don't re-prove clean claims. Sweep recent churn (git log since the last verify-skill correction, tbv/stories.md) for user-facing surfaces missing from the map — require a concrete source path before calling one missing.
4. **Live pass.** Required even when source looks clean. The coordinator owns all driving; follow the verification skill's own launch model — one long-lived instance driven serially for servers and UIs, or a fresh isolated session per drive for short-lived CLIs (the skill's Launch section decides, not this one). Exercise every feature at least once, and hold three invariants the whole pass, whatever the failure: (1) never drive an instance you haven't health-checked since it last did something surprising — doctor before first drive, doctor on each fresh session where sessions are the unit, doctor again after any failed drive, and where doctor can't see the failure (a wedged UI state on a healthy process), reset to a known state or relaunch rather than hoping; (2) evidence captured so far survives every cleanup, checked at its named location, not assumed; (3) nothing a drive started outlives that drive's usefulness — failed-iteration residue is cleaned whether the session is stuck, exited, or shared (for a shared instance, clean the residue, not the instance). A doctor failure caused by skill drift is drift: fix it under edit scope and retry once — restart whatever the fix invalidated, nothing more — before calling the pass `blocked`. A feature that can't be reached is `verified-unreachable` only with the concrete prerequisite (auth, entitlement, OS, external state) and the route attempted; if the map omits that prerequisite, that's drift. Any harness fix from triage gets re-driven live before it ships. Final teardown happens after the last drive of the run — including those re-proofs — so nothing outlives the run (evidence stays, per the skill).
5. **Triage.** Wrong or missing user-POV description → doc drift, fix it. Working behavior the harness can't drive → harness gap, fix it; a harness fix follows the same helpers rule as generation (scripts executable, invocation documented in the skill body). App behavior that's actually broken → product gap; append it to tbv/flags/pending-review.md in the 3-line flag format (what / what it affects / cost to reverse, then file:line or the failing drive's evidence path) and keep it out of the branch — it gets grilled and planned like any bug.
6. **Ship or stop.** For clean or blocked: no branch, report the outcome and the coverage honestly. For changed, re-read every changed file first, then:
- **TBV project.** guard.sh and land-slice.sh refuse to land a `slice/<ID>` whose ID isn't in tbv/task-tree.json, so make it one. Write a one-slice draft to tbv/plan-draft.json with the next free slice ID: title `Developer can trust the verify skill's feature map`, `"contract": "none: verification docs and harness only"`, `auditor_triggers: []`, `ui_contract: null`, a low `risk` whose `scope.files` is the verify skill's directory (`.claude/skills/verify-<project>/*`), and acceptance criteria naming the corrections. Run `check-plan.sh`, then `adopt-plan.sh <ID>`. Commit the corrections on `slice/<ID>` (`docs(verify): ... (<ID>)`), run `gate.sh`, dispatch the reviewer, record the gates and land it with `land-slice.sh <ID>` (global protocol → Merge). Harvest it like any slice.
- **No tbv/ folder.** Commit on a `verify-maint` branch and merge it the way the repo merges.
Keep concise run notes (features covered, unreachable prerequisites, confirmed drift, outcome) in a scratch location; don't commit them.