/dev-flow:app-verificationfrom dev-flow
Creates and maintains a project-specific manual for proving features on the real app. Scaffolds launch instructions, driving selectors, evidence rules, and cleanup steps. Supports web, Expo, and eve stacks with headless Chrome render probes.
Ships in dev-flow. 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; scripts run unread.
Every time an agent has to show that something works on the running app, it starts from nothing: how to start it, when it is really ready, which user to sign in as, where to look, how to stop without killing the user's own dev server. What it learns is gone at the end of the session, and the next agent guesses — and a guess is how a page that merely rendered becomes "verified".
This skill writes that knowledge down once, inside the project, as a skill Claude Code finds by itself:
.claude/skills/verify-<app>/. The manual is for the next agent, read cold mid-task by someone who has never seen
the app, not for a person.
.claude/skills/verify-<app>/
├── SKILL.md # Launch · Doctor · Drive · Evidence · Cleanup · Isolation
├── features/README.md # baseline preconditions, driving conventions, proof rules, index
├── features/US-N-<slug>.md # one per PRD story: Sub-features · How to get to it · Driving it with · Gotchas
└── scripts/ # only if needed: executable, and named in SKILL.md
What each part holds, with filled examples: references/manual.md. How to drive each stack (web, Expo, eve,
monorepo): references/stack-recipes.md.
Interview the repo, not the user. What a user touches, how it starts (the repo's own scripts first), how it can be driven (an existing Playwright or Maestro setup before a generic recipe), what can be observed, whether two instances can run side by side. Ask the user only what the code cannot tell you.
If the app does not start as it is, say so precisely — the missing env var, the database it cannot reach — before writing a line. A manual written over a broken base teaches wrong steps.
Scaffold.
python3 <skills>/app-verification/scripts/verify_map.py scaffold <project-root>
One manual per surface the project has, found by surfaces.py, the one module that decides what a project
is made of (canonical in dev-flow/scripts/, vendored here). It walks the root, the declared workspaces
(pnpm-workspace.yaml, package.json#workspaces) and apps/* / packages/*:
| Kind | What counts |
|---|---|
web | a route directory (app/, src/app/, pages/) with next |
mobile | Expo |
agent | eve |
api | a non-JS service listed in stack.monorepo.services (the meta.json list monorepo-add-python-service writes) |
cli | a bin, in an app or at the root |
other | an app with a start or dev script |
A shared package in packages/* (a component library, a db package with a migration bin, anything whose dev
is tsc -w) is not a surface unless stack_config.verification_surfaces lists its path. A single app is named
after its kind (verify-web); an app in a workspace is named after its directory (verify-admin), and the agent
it serves becomes verify-admin-agent. Two surfaces never share a name. An agent mounted in the web app
(withEve()) gets a manual whose Launch points to the web's: it never starts on its own.
--app <name> forces one surface, and a name the project does not have is refused with the list of the ones it
has. For a UI surface, scaffold writes one feature file per story in .workflow/PRD.md (- **US-N.** …, *
bullets and sub-numbers like US-3.1 too). A story that does not apply to this surface, such as a web-only story
in verify-mobile, keeps a one-line file saying so. For an agent it writes one file per tool; for an api, cli or
other surface, one journey file to fill.
With docs/wireframes/screen-inventory.md the files arrive with their screens, routes, roles and states
(loading, empty, error, success). Without it, the index lists the surface's own routes and says so. Everything
that needs the code is a <fill: …>. Re-running never overwrites: a filled file is kept, and a new story or tool
gets its file and its line in the index.
Scaffold also writes one instruction into the project's agent file — AGENTS.md, else CLAUDE.md, else a new
AGENTS.md — in a block marked <!-- app-verification:start/end -->: before saying a feature works, prove it
with these manuals. The block is rewritten in place on every run, so it always names the current manuals, and
everything else in the file is left as it was. check reports it if it is missing.
Fill the six sections, the index's baseline, and the first 3–5 features — US-1 first — from the code: the real
command, the real accessible names, the real end state. Add the launch command to the project's .claude/launch.json under the
name the Launch section gives, so Claude Code's preview tools and the manual start the app the same way. ⚠ The
preview tools read the launch.json of the session's root: a session opened in another directory (a skills
repo, a parent folder) needs the same entry there, with a cd into the project — found on fit-coach. Add
.verification/ to the project's .gitignore.
Prove it. Follow the manual as written: launch, doctor, drive one feature end to end, save the evidence, clean up — then check the evidence is still there. Fix what failed, and run the cleanup after every failed attempt too, so a broken try does not strand a process or a port. A manual that was never run is a draft. If you proved it on a stand-in (a local database instead of the real one), list what the stand-in did that the real target will not: those steps are unverified.
Check.
python3 <skills>/app-verification/scripts/verify_map.py check <project-root>
Every surface first: a surface with no manual is a problem of its own (verify-agent: no manual for the agent surface at agent).
It refuses a <fill: …> left anywhere, a missing section, a story without a file, a feature file out of shape or
missing from the index, a script that is not executable or that SKILL.md never names, an evidence directory git
does not ignore. Unfilled features beyond the first few stay as they are and fail the check: say how many remain.
Record the verification block through the contract's lock, then append the run:
python3 <skills>/app-verification/scripts/verify_map.py record <project-root> --json '<the block below>'
python3 dev-flow/scripts/update_meta.py <project-root> append-history --skill app-verification
record refuses a block that is missing any of the contract's keys.
"verification": { "skill": ".claude/skills/verify-web", "features": 12, "source": "routes",
"proven_at": "<ISO-8601 UTC>", "proven_feature": "US-1",
"evidence": ".verification/evidence/<timestamp>/", "maintained_at": null, "maintain_outcome": null }
The app changes; the manual rots. Proposed at feature_complete and after material changes. One pass: index
hygiene, one read-only source reader per feature in parallel, one live session that drives every feature, triage,
and an outcome — clean, changed or blocked. It edits only the manual: a behaviour the manual describes that the
app no longer has is either drift (fix the manual) or a regression (report it to the user, never paper over it).
The full pass, with its three invariants: references/maintain.md.
scripts/render_probe.mjs opens a page in headless Chrome at 1440, 768 and 390 px and measures what no source scan
can see: the page wider than the viewport (and the elements causing it), a heading on more than two lines, text that
stays invisible with reduced motion on, a declared font that never loaded, an image that loaded with no picture, a
sidebar covering a phone, and the page jumping while it loads (cumulative layout shift, with the elements that
moved and the block that pushed them — a skeleton that is not the size of what replaces it). It lists every shadcn
<Skeleton> painted during the load with its box, proof that one was on screen; --delay <url-substring>=<ms>
holds a client fetch so its skeleton is seen (it delays the data, not the network: throttling would let the data
arrive with the page and hide the skeleton).
node <skills>/app-verification/scripts/render_probe.mjs http://localhost:<port>/<route> [--widths 1440,768,390] \
[--out .verification/evidence/<UTC timestamp>/probe] [--json] [--strict]
file:// path for a static page. It serves no files of its own — a probe
that served the working directory would expose .env to every script the page loads./en/... and /it/... — the two-line headline rule is about the longest one.CHROME_PATH). No dependency, a throwaway profile
removed on every exit, nothing written outside --out. Exit 0 (a measurement), 1 with --strict and a FAIL,
2 bad input, 3 the environment (no browser, Node too old — skip, and say so), 4 the page (it would not load
or timed out — a broken run, never a skip). --timeout (default 60 s) leaves room for a cold next dev compile.final_url and a redirected note say which page
was measured.The manual's Evidence section names it for the routes a feature touches (references/manual.md), and
design-md-to-app runs it at its 375 px verification. The idea comes from taste-skill v2's inspector
(Leonxlnx/taste-skill, MIT); the code and the rules are ours.
git rev-parse HEAD at launch and have the doctor fail if it moves: a project in
active development can be merged into or switched under the run (Archi Studio, 2026-10-18: main moved two PRs
mid-run, files vanished, the page reloaded). When it moves, stop, clean up, relaunch — or verify in a separate
git worktree nobody else touches.NEXT_DIST_DIR) makes next dev add it to
tsconfig.json's include: record whether the file was clean at launch and restore it at Cleanup.phase and never blocks a deploy.write-tests — a proven journey, with its recipe, is the best starting point for a Playwright or e2e test that
repeats it in CI. Propose it.wireframe-canvas — its screen inventory is what seeds the feature map; a project with one gets a map that
already knows its screens and states.superpowers:verification-before-completion — asks for proof before "done"; this manual is how that proof is
obtained on this app.spec-review — when it finds behaviour nobody proved, the manual is where the proof comes from.The method is adapted from pstack's create-verification-skill and maintain-verification-skill by Lauren Tan
(MIT, cursor/plugins/pstack, read 2026-10-18), rewritten for dev-flow: the feature map comes from the wireframe
inventory and the PRD stories instead of being reconstructed, the manual lives in .claude/skills/, and nothing is
committed in the user's project.
references/manual.md — the six sections and the feature-file shape, each with a filled example.references/stack-recipes.md — driving and proving on web, Expo, eve and in a monorepo.references/maintain.md — the maintain pass.scripts/render_probe.mjs + scripts/test_render_probe.py (fixtures in scripts/fixtures/probe/) — the render probe.references/contracts.md — the .workflow/ dev-flow contract (vendored).references/contracts.md (opens in a new tab)references/maintain.md (opens in a new tab)references/manual.md (opens in a new tab)references/stack-recipes.md (opens in a new tab)scripts/fixtures/probe/broken.html (opens in a new tab)scripts/fixtures/probe/clean.html (opens in a new tab)scripts/fixtures/probe/fetch-skeleton.html (opens in a new tab)scripts/fixtures/probe/late-shift.html (opens in a new tab)scripts/fixtures/probe/orders.json (opens in a new tab)scripts/fixtures/probe/redirect.html (opens in a new tab)scripts/fixtures/probe/reveal-js.html (opens in a new tab)scripts/fixtures/probe/skeleton-shift.html (opens in a new tab)scripts/fixtures/probe/two-windows.html (opens in a new tab)scripts/meta_io.py (opens in a new tab)scripts/render_probe.mjs (opens in a new tab)scripts/surfaces.py (opens in a new tab)scripts/test_render_probe.py (opens in a new tab)scripts/test_verify_map.py (opens in a new tab)scripts/verify_map.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub lukedj78/dev-flow --plugin dev-flow57 skills in this plugin
/animated-iconsAdd a Motion-animated icon to a Next.js app from a shadcn registry instead of hand-animating an SVG. Two registries, picked from the project's icon set: **heroicons-animated** (316 icons, `shadcn add @heroicons-animated/<name>`) and **hugeicons-animated** (165 icons, `shadcn add @hugeicons-animated/<name>`, which also installs a shared `lib/use-icon-animation.ts`). Both MIT, both on the `motion` runtime, both copied into your repo as source. This skill owns the install plus the two things the raw components lack: a `prefers-reduced-motion` guard and timing aligned to the project motion tokens (`lib/motion/`). Use when the user says "animated icon", "animate this icon", "make the bell/heart/menu icon animate on hover", "aggiungi un'icona animata", or wants an icon micro-interaction. Refuses outside Next.js web — for React Native use `rn-animations-gestures`. Not for: static icons, a whole motion system (`transitions`), or installing the runtime itself (`module-add motion`)./app-securityCheck whether an app's own code can be attacked before it ships — vulnerable dependencies, secrets in the code and in git history, Next.js authorization gaps (Server Actions and route handlers without a session check, queries by id with no owner filter — IDOR), data over-exposure, secrets in public env vars, raw SQL — then read the flagged code against an OWASP checklist, with an opt-in dynamic level (Strix) that proves exploits against the app running locally. The fifth pre-deploy gate, beside compliance-audit, vercel-doctor, shadscan and launch-audit; reports and routes, never blocks. Triggers: "security review", "è sicura l'app?", "controllo di sicurezza prima del deploy", "IDOR", "secrets in the repo", "pentest". Not for: GDPR and legal (compliance-audit), UI quality (shadscan), cost (vercel-doctor), launch readiness (launch-audit), a review of one branch diff (Claude Code's /security-review), third-party registry code (registry-intake)./compliance-auditRun a GDPR + EU AI Act compliance audit on an existing dev-flow project (web / mobile / eve agent) and remediate what it finds. Two modes: Audit (scan the codebase and `meta.json#stack` against a 11-point risk register — DSAR, consent/cookies, EU data residency, retention and PII-scrubbing, AI-transparency Art.50, high-risk Annex III, sub-processors — into a report with severity, evidence and article mapping) and Remediate (apply the safe mechanical mitigations, flag the ones needing a legal decision, never deciding legal basis or high-risk for the user). A pre-deploy gate; run it any time. Triggers: "audit GDPR", "compliance check", "AI Act", "siamo conformi?", "DSAR / cancellazione account / cookie consent / data residency". Not for: the other pre-deploy gates (vercel-doctor, shadscan, launch-audit, app-security), legal advice or DPIA sign-off (a DPO confirms), building features, or writing the PRD (use prd-from-idea)./composition-patterns-guideUse when refactoring React or React Native components that suffer from boolean prop proliferation, missing compound structure, prop drilling, or unclear ownership of state. Codifies the 7 Vercel composition-patterns rules for our web + RN stack — composition or explicit variants over boolean props, compound components with shared context, state lifted into providers, children over render props, React 19 (no forwardRef) — plus our colocation rules (Rule of Three, L0/L1/L2, `_components/`). Triggers on: "refactor this component", "questo componente ha troppi prop booleani", "rendi questo componente più componibile", "compound component", "context provider per X", "design del componente". Not for: scaffolding new components (use design-md-to-app, screenshot-to-page, rn-add-screen), or moving components up the hierarchy (use promote-component)./coss-uiSet up or extend a Next.js web app with Coss/UI — the official Cal.com design system, built on Base UI + Tailwind CSS v4 and installed through the shadcn CLI via the namespaced `@coss/*` registry. Two modes: Init (`shadcn init @coss/style` on a new project) and Add (pull `@coss/ui` primitives, single `@coss/<name>` components, or particles into an existing one). Sets `meta.json#stack.ui = "coss"`. Triggers: "usa Coss/UI", "coss.com/ui", "Cal.com design system", "aggiungi un componente Coss", "init @coss/style", "scaffold con Coss UI", or dev-flow routing when `stack.ui = "coss"`. Requires Tailwind CSS v4 and carries a mixed MIT/AGPLv3 license. Not for: writing the DESIGN.md (use figma-to-design-md / image-to-design-md), the generic Next.js scaffold (design-md-to-app owns it), backend modules (module-add), or React Native (RN uses NativeWind, not Coss)./data-fetchingRead data in a Next.js 16 App Router app the canonical way — async Server Components first, URL `searchParams` for filter state, `use()` + `<Suspense>` when a Client Component needs server data, Route Handlers + SWR/React Query only as a last resort. Server Actions are for mutations, never reads. Use when the user is about to load data via a Server Action, about to add `useEffect` to fetch, about to convert a page to `"use client"` for filter state, or pastes `useState + useEffect + fetch` in a Client Component. Also owns Next.js 16 Cache Components — `cacheComponents`, `use cache`, `cacheLife`, `revalidateTag`, `partialPrefetching`, Instant Navigation — and any question about caching, prefetching or navigation speed. Refuses outside Next.js 16 web. Not for: form persistence (`forms`), local UI state (`state-discipline`), React Native (`rn-data-fetching`), or mutations.