/ai-driven-development:pragmatic-quintfrom ai-driven-development
Uses Quint for bounded formal modeling of application code when testing cannot enumerate combinations of retries, redeliveries, leases, crashes, or concurrent actors. Helps decide if a model is needed and guides model construction.
Ships in ai-driven-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
An executable model answers one kind of question that tests answer badly: can this property be violated by some order of these events? It pays when the answer depends on combinations nobody would enumerate by hand, and it costs a second artifact that can be wrong in its own way. Most questions never need a model, and "no model" is a valid result.
Core rule: model only a question that direct checks cannot answer, model the code as it is, and claim only what was explored. A model result is about the model until a check on the real code says otherwise.
pragmatic-verification decides whether a model is needed at all. The official Quint guides
in upstream/ own how to write and check Quint.
Before any tool, read the code and fill this table for the one behaviour in question.
| Column | Write down |
|---|---|
| Actors | Everything that acts on its own: workers, requests, cron, webhooks, a second tab, a provider's retry |
| Shared state | Each durable value they read or write, and its owner |
| Interruption points | Every place another actor can run in between: an await, the end of a transaction, an external call, a process death |
| Failure outcomes | For each external effect: failed before it, happened but the answer was lost, timed out, repeated |
| Property | What must hold across any sequence, and the source that says so |
Then write the threshold sentence. If it cannot be written, there is nothing to model.
Need to find out whether property X can be violated under events Y. A separate model allows exploring Z, which the selected direct checks do not establish.
Stop here, and say so, when:
Screen each part of a question on its own: one part can end at reading while another goes on.
Go on when three or more kinds of independent events meet around an effect that is costly to get wrong, such as money, messages, deletion or access. Reading reliably finds violations two or three steps long. A checker earns its cost on the longer ones, on a bounded "no, it cannot happen", and on telling which of several suspects is the cause.
| Request | Do | Stop at |
|---|---|---|
| A question handed over, or "is a model worth it here?" | The screen above | Skip with the reason, or the threshold sentence |
| Model this component; what can go wrong in this protocol | Recover an as-is model, check it, triage | Findings with their replay status and what to keep |
| Where would models pay in this codebase | Screen behaviours; three finalists and one pilot at most | A ranked shortlist with the cheaper alternative beside each |
| A counterexample or a model already exists | Replay it on the real code, or check the change against the model | A test that fails for that reason, or a named gap |
Reuse the caller's boundary, property names, evidence and budget, and return the result into its record. Use scratch space for tools and models unless the project already keeps them.
| Read | When |
|---|---|
| recover-model.md | Writing a model from code: what to preserve, where to depart from the official defaults, properties, counterexample triage, Quint pitfalls |
| worked-example.md | The first model, or the whole loop with real commands and output |
| toolchain.md | Installing or running Quint, choosing a checker, costs |
| evidence.md | Stating what a result proves, attributing a finding, comparing with a baseline, keeping or dropping |
| bridge-to-code.md | Replaying a counterexample, conformance, observed histories, a change to a modelled area |
| screen-codebase.md | The whole-codebase route |
| quint-lang/GUIDE.md | Quint syntax, types, operators, a parse or type error. In its guidelines/: cli.md for every flag, constraints.md for the hard limits of the language, simulations.md for reading run output |
| quint-modeling/GUIDE.md | Shaping state, actions and invariants; guidelines/from-code.md and review.md; full specs in examples/. Apply with the departures in recover-model.md |
| quint-verification/GUIDE.md | Planning Apalache, TLC or Veil runs, inductive invariants, Lean proofs |
upstream/ is a pinned, unedited copy of the official Quint agent skills
(UPSTREAM.md). Where it and this skill disagree about application
code, this skill decides.
Append this to the verification record, or to the reply when there is none.
Question: property X under events Y; what direct checks leave open
Code read: revision, entry points
Model: path, what is abstracted away, bounds; or "none" and the stop reason
Properties: name · contract | hypothesis | descriptive · source
Ran: command · simulation | bounded | complete · outcome · samples or states
Findings: first seen by reading | modelling | checker · schedule · real-code replay or "not run"
Kept: regression test, model (one-off | maintained) or nothing, and why
Not established:
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/checker-smoke.qnt (opens in a new tab)assets/example/outbox_lease.qnt (opens in a new tab)assets/example/test_outbox_replay.py (opens in a new tab)assets/icon.svg (opens in a new tab)references/bridge-to-code.md (opens in a new tab)references/evidence.md (opens in a new tab)references/recover-model.md (opens in a new tab)references/screen-codebase.md (opens in a new tab)references/toolchain.md (opens in a new tab)references/worked-example.md (opens in a new tab)scripts/sync_upstream.py (opens in a new tab)upstream/LICENSE (opens in a new tab)upstream/UPSTREAM.md (opens in a new tab)upstream/quint-lang/GUIDE.md (opens in a new tab)upstream/quint-lang/guidelines/choreo.md (opens in a new tab)upstream/quint-lang/guidelines/cli.md (opens in a new tab)upstream/quint-lang/guidelines/constraints.md (opens in a new tab)upstream/quint-lang/guidelines/operators.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
23 skills in this plugin
/agentic-readinessAudit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode. Use when reviewing AGENTS.md or CLAUDE.md quality and discovery, instruction routing in monorepos or meta-repos, agent settings, MCP configuration, skills, subagents, context budgets, or repository organization for coding agents./bug-fix-protocol8-step disciplined bug-fix protocol that treats every production bug as two failures — the code defect itself and the testing system that allowed it through. Use when fixing a production bug, investigating a regression, writing a post-mortem, or auditing a missed defect. Triggers on "fix this bug", "production bug", "regression test", "post-mortem", "test gap", "why did the tests miss this"./npx claudepluginhub codealive-ai/ai-driven-development --plugin ai-driven-developmentOther plugins' skills for the same job