Maintain Verification Skill
Audit and fix a project's verification skill against the live app, ensuring feature maps align with current source and behavior.
Editor's Note
Before running, locate the verification skill directory (e.g., `.claude/skills/verify-*/`). Ensure the feature map README and sibling files are indexed and cleaned for accuracy.
When to Use It
- Align feature maps with current app behavior
- Detect and flag documentation drift
- Generate live-verification recipes for each feature
- Merge overlapping verification recipes into efficient app states
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
Maintain a verification skill
Other empstack skills live at ../<name>/SKILL.md. Read one to run it.
A feature map rots the moment the app changes. This skill is the upkeep loop for a skill generated by /empstack: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, no PR.
- changed — one branch carries the proven doc, driver, or map corrections.
- 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 driver 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 (report it, don't paper over it in docs).
Pass
-
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/empstack:create-verification-skillinstead of inventing a target. -
Index hygiene. Read the feature map README and glob its sibling files. Fix missing, extra, duplicate, or dead entries. Lightweight; no generated inventory.
-
Source wave. One read-only subagent per feature file (
Switch: feature reader), launched concurrently. Each explains "how does this user-facing feature work?" from source, flags likely doc drift with citations, and returns one concise live-verification recipe. These subagents never drive the app and never edit files. Return shape: feature summary / source entry points / likely drift or none / one recipe. -
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 for user-facing features missing from the map — require a concrete source path before calling one missing.
-
Live pass. Required even when source looks clean. The lead 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 isverified-unreachableonly with the concrete prerequisite (auth, entitlement, OS, external state) and the route attempted; if the map omits that prerequisite, that's drift. Any driver 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). -
Triage. Wrong or missing user-POV description → doc drift, fix it. Working behavior the driver can't reach → driver gap, fix it; a driver fix follows the same helpers rule as generation (scripts executable, invocation documented in the skill body). App behavior that's actually broken → product gap; record it for the user, keep it out of this PR.
-
Ship or stop. For changed: re-read every changed file, commit the proven corrections on one branch, then follow
../empstack/playbooks/opening-a-pr.mdfor whether to open the PR. For clean or blocked: no PR, report the outcome and the coverage honestly.
Keep concise run notes (features covered, unreachable prerequisites, confirmed drift, outcome) in .empstack/verify-maintenance/.
View original Markdown
---
name: maintain-verification-skill
description: Audit and fix a project's verification skill against the live app.
disable-model-invocation: true
---
# Maintain a verification skill
Other empstack skills live at `../<name>/SKILL.md`. Read one to run it.
A feature map rots the moment the app changes. This skill is the upkeep loop for a skill generated by `/empstack: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, no PR.
- **changed** — one branch carries the proven doc, driver, or map corrections.
- **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 driver 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 (report 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 `/empstack: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 (`Switch: feature reader`), launched concurrently. Each explains "how does this user-facing feature work?" from source, flags likely doc drift with citations, and returns one concise live-verification recipe. These subagents 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 for user-facing features missing from the map — require a concrete source path before calling one missing.
4. **Live pass.** Required even when source looks clean. The lead 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 driver 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 driver can't reach → driver gap, fix it; a driver fix follows the same helpers rule as generation (scripts executable, invocation documented in the skill body). App behavior that's actually broken → product gap; record it for the user, keep it out of this PR.
6. **Ship or stop.** For changed: re-read every changed file, commit the proven corrections on one branch, then follow `../empstack/playbooks/opening-a-pr.md` for whether to open the PR. For clean or blocked: no PR, report the outcome and the coverage honestly.
Keep concise run notes (features covered, unreachable prerequisites, confirmed drift, outcome) in `.empstack/verify-maintenance/`.
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.