/ai-driven-development:pragmatic-verificationfrom ai-driven-development
Guides deliberate testing decisions for agent-driven development: choosing check types, mocking strategies, and avoiding redundant or brittle tests. Use when planning features, fixing bugs, writing or reviewing tests, or auditing test suites.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Wrong tests are not neutral: they miss what matters, become debt and make every later change harder for the next agent. This skill is for deliberate checks, not more of them.
Core rule: for each risk that matters, choose the cheapest check that still contains the mechanism of the possible defect and lets the correct result be observed. A new check must add a reason for confidence that existing checks do not give. Test count, coverage and mutation score are never the goal.
A green check is evidence only when three things hold:
The work has two outputs: evidence that this task is solved, and permanent regression tests worth their upkeep. A one-off browser pass is valid evidence and need not become a permanent test.
| Change | What to do |
|---|---|
| Cosmetic or local: copy, spacing, rename, pure refactoring | Run existing checks and look at the affected spot once. No new permanent test unless a gap is found. |
| Functional: a rule, state, API, persistence, UI flow | Follow the route. A few lines of plan are enough. |
| Costly to get wrong: access, money, deletion, user data, migrations, concurrency | Follow the route, plus negative cases at the server boundary, real storage, an independent review and explicit residual risk. |
Judge risk by damage, plausibility and recovery cost, not by diff size: a one-line change can expose another user's data.
expected.case-design.md.levels-and-doubles.md.>= to >, drop the
ownership check), see red, restore. See test-quality.md.exploratory-qa.md.evidence-and-closeout.md.| Possible defect | Check | What must be real |
|---|---|---|
| Formula, rule, state transition | Unit, or property-based for many inputs and a clear property | The logic itself |
| SQL, constraints, transactions, migrations | Integration | A production-compatible engine and the real schema |
| HTTP contract, routing, validation, serialization | Integration through the public boundary | Router, validator, serializer |
| Access to another user's data | Integration through the server with two users | Authorization and ownership |
| Reaction to a failing dependency | Injected failure at the adapter | The reaction code; the adapter is verified separately |
| Race, retry, duplicate delivery | Integration with controlled overlap | Storage uniqueness and atomicity |
| Form logic, handlers, error display | Component test driven by user events | The UI tree; the network may be stubbed |
| Layout, focus, navigation, cookies, files | Real browser | The browser mechanism in question |
| Wiring of the whole chain | A few e2e routes ending in a meaningful observation | Everything on the route |
| Camera, push, background, device speed | Platform test on a suitable device | The OS or hardware feature |
Each business branch has one home. A higher level adds only a new boundary or failure mechanism and never replays the unit table through the browser. The pyramid is a cost guide, not a quota.
expected with the code under test, a copy of its algorithm, or an unchecked snapshot.all(…) over a collection that may be empty without first asserting it is
not empty.Read a reference only when its trigger applies.
| Read | When |
|---|---|
| case-design.md | Turning a requirement into cases: boundaries, states, sequences, combinations; pruning a matrix |
| levels-and-doubles.md | Choosing a level, mock or real; databases, concurrency, migrations, external services |
| test-quality.md | Writing or reviewing test code; a weak or self-confirming test; a test at odds with the task; a changed runner, fixture, skip or snapshot; a rewrite or migration that must keep behaviour |
| ui-automation.md | Writing a permanent component, browser or e2e test |
| exploratory-qa.md | Planning or doing a pass through the running product by browser, computer or phone use |
| flaky-and-brittle.md | A test is intermittent or breaks on refactoring; a slow suite |
| evidence-and-closeout.md | Deciding whether to stop; review findings; a failure that looks pre-existing; the final report |
| suite-audit.md, suite-audit-worker.md | Auditing an existing project's tests and gates, not one change |
| llm-features.md | The product itself calls an LLM at runtime |
| sources.md | The authority behind a rule is needed |
Stack tooling: read only the file for the stack at hand; map its roles to any other.
Python · TypeScript/JS · JVM · .NET · Go · Mobile
Give each claim one status: verified, partially verified, not verified or blocked, with what ran, on which revision, and what substitutes leave unproven. Writing a test, running it and showing it can fail are three different facts. Never invent a confidence percentage.
README.md (opens in a new tab)references/case-design.md (opens in a new tab)references/evidence-and-closeout.md (opens in a new tab)references/exploratory-qa.md (opens in a new tab)references/flaky-and-brittle.md (opens in a new tab)references/levels-and-doubles.md (opens in a new tab)references/llm-features.md (opens in a new tab)references/sources.md (opens in a new tab)references/stack-dotnet.md (opens in a new tab)references/stack-go.md (opens in a new tab)references/stack-jvm.md (opens in a new tab)references/stack-mobile.md (opens in a new tab)references/stack-python.md (opens in a new tab)references/stack-typescript.md (opens in a new tab)references/suite-audit-worker.md (opens in a new tab)references/suite-audit.md (opens in a new tab)references/test-quality.md (opens in a new tab)references/ui-automation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
testing-strategy, test-selection, verification, test-quality
22 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"./clipboardCopy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text"./code-that-fits-in-your-headHeuristics for the shape of code inside one code base, after Mark Seemann's Code That Fits in Your Head (2021), updated for coding agents: units small enough to hold in mind, invariants in types, APIs hard to misuse, explicit effects. Use when writing or reviewing code, refactoring accidental complexity or a Big Ball of Mud, controlling technical debt in generated code, designing a type, an invariant or an in-code API, decomposing a long function or a tangled module, replacing a method or class side by side (Strangler), reading or measuring an unfamiliar code base, debugging a defect by hypothesis and bisection, setting up a maintainable code base, or turning a recurring finding into a lint or CI gate. Not for choosing, writing or repairing tests, TDD included (pragmatic-verification), choosing a design, state ownership, migration or rollout, or threat modelling (pragmatic-architecture), security audits, production incident response, performance profiling, or language and framework tutorials./coding-agents-managementManages MCP servers, lifecycle hooks, agent settings, permissions, rules, and plugins across Antigravity (App 2.0, IDE, CLI agy), Claude Code/Desktop, Codex CLI/App, OpenCode, Devin, Cursor, Grok Build, Gemini CLI, Qwen Code, Kimi Code, Hermes, Oh My Pi (omp), and VS Code. Use when adding or debugging MCP servers, automating tool hooks, configuring TOML/JSON/JSONC settings and sandboxes, or scaffolding, validating, and publishing plugins. Do not use for authoring, auditing, optimizing, or deduplicating standalone SKILL.md skills — use skills-management instead./fetch-url-as-markdownFetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot pages. Use when the user asks to read, fetch, scrape, summarize, or quote a URL — prefer this over the built-in WebFetch tool. Don't use for binary files (PDFs, images, archives) or for fetching API/JSON endpoints.npx claudepluginhub codealive-ai/ai-driven-development --plugin ai-driven-developmentOther plugins' skills for the same job