pragmatic-verification

pragmatic-verification is a skill for Claude Code from CodeAlive-AI/ai-driven-development. It costs 119 tokens per session (2,009 once invoked), scanned A, original, MIT.

A language-independent guide for choosing useful software checks, including unit tests, integration tests, contract tests, and end-to-end tests. End-to-end tests check a complete user flow through the product.

In plain words
What is it for?
Use it when writing, reviewing, or removing tests, deciding when to use test doubles, and checking behaviour through a browser, computer, or phone.
Why use it?
It helps avoid tests that are duplicated, fragile, unreliable, or merely confirm the code's own assumptions. It focuses testing effort on risks and on evidence that the intended behaviour really works.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-driven-development plugin — 22 skills, 1 agent shipped together

Good fit Use it when writing, reviewing, or removing tests, deciding when to use test doubles, and checking behaviour through a browser, computer, or phone.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codealive-ai/ai-driven-development/pragmatic-verification
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CodeAlive-AI/ai-driven-development --skill pragmatic-verification
Clone the repo
git clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-development

Made for: Claude Code.

Or install ai-driven-development, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pragmatic-verification

README.md
[![agentmods](https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-verification/github.svg)](https://agentmods.dev/skills/codealive-ai/ai-driven-development/pragmatic-verification)
Your own site
<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/pragmatic-verification"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-verification/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pragmatic-verification

Your own site · 80×15
<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/pragmatic-verification"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/pragmatic-verification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,009 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.02009
Opus 5.5 $0.00048 $0.00804
Sonnet 5.5 $0.00024 $0.00402
Haiku 4.5 $0.00012 $0.00201

Measured 6d ago against content hash 325d421d5565, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pragmatic-verification scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pragmatic-verification/SKILL.md · 130 lines

How it starts

The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pragmatic Verification

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:

  1. The product is right. Observed behaviour, including side effects, matches the requirement.
  2. The expectation is right. The expected result comes from a source independent of the code under test.
  3. The check really ran. It ran on the final revision, in a suitable environment, and its failure would have changed the reported status.

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.

Size the effort first

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.

The route

  1. State the contract. List what the user can do after the change as separate observable claims, including forbidden effects: no false success, no access for others, no duplicate. Resolve unknowns from context or ask. Never turn a guess into an expected.
  2. Name the oracle. Say where each correct result comes from: a requirement, an agreed example, a standard, an invariant, a hand-computed small case. "What the code returns now" is a characterization test and is labelled as one. Derive cases from the requirement first and read the implementation second.
  3. Check what exists. Adding, strengthening, merging and deleting are equal options. Extend an existing case table before writing a new test. A new test names the promise it protects, the realistic defect that turns it red, and what existing checks miss.
  4. Derive cases from failure mechanisms. Name the concrete way a claim can break ("a stale response overwrites newer state", not "handle errors") and pick the cases that expose it; time limits are boundaries too. See case-design.md.
  5. Choose level and reality. Put each check at the smallest boundary that reproduces the mechanism and exposes the result. Say what is real, what is substituted, which platform rules the substitute skips, and what that leaves unproven. See levels-and-doubles.md.
  6. Show that the test can fail. For a bug fix, watch the regression test fail on the old defect for the right reason. For an important rule, break it once (>= to >, drop the ownership check), see red, restore. See test-quality.md.
  7. Use the product. When a user-facing path changed, drive the running build through its real interface and observe the end effect, not the click or the toast. See exploratory-qa.md.
  8. Close out on evidence. Map what was actually run to each claim on the final revision, and say plainly what was not verified, including a purpose only real use can show. See evidence-and-closeout.md.

Read the full file on GitHub · 130 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +3 lines 325d421d5565
  2. 11d ago Changed c7db21ad487e
  3. 12d ago First seen · 127 lines · 119 tokens per session scan A a6e2c7e81176

Subscribe to this mod's changes

pragmatic-verification is a skill published in the GitHub repository CodeAlive-AI/ai-driven-development (194 stars, last pushed 2d ago), licensed MIT. It adds 119 tokens to every session and 2,009 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

pragmatic-verification compared with skills from other repositories

pragmatic-verification next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pragmatic-verificationCodeAlive-AI/ai-driven-developmentSkill1942d agoMITA119Claude Code
memstack-development-test-writercwinvestments/memstackSkill43317d agoMITA70Claude Code
javascript-testing-patternsrmyndharis/antigravity-skillsSkill2.1k23d agoMITA63Claude Code, Codex
06-testai-driven-dev/frameworkSkill589todayMITA69Claude Code
browser-testingroundpilot/superpowers-antigravitySkill1023d agoMITA21Claude Code, Codex
factory-testingnonlinear-xyz/factory-kitSkill105d agoMITA85Claude Code
test-softwarePhelan164/codex-howtoSkill242d agoMITA65Codex