/software-verification:assess-verificationfrom software-verification
Assesses verification maturity of a codebase by inventorying tests, static analysis, security scanning, contracts, and CI. Produces a verification-report.md with tier, component breakdown, and gap analysis.
Ships in software-verification. 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.
Assess the current verification maturity of a codebase. Produce a verification-report.md with maturity tier, component breakdown, missing oracles, exactness analysis, human review requirements, autonomy candidates, feedback loop completeness, workflow gate assessment, and shift-left positioning.
Search for all verification-related artifacts:
Testing:
*_test.*, *_spec.*, test_*.*, tests/, __tests__/jest.config.*, pytest.ini, pyproject.toml [tool.pytest], vitest.config.*hypothesis, fast-check, proptest, QuickCheckfuzz/, *_fuzz_test.go, cargo-fuzz config, AFL configsmutmut, stryker.conf.*, cargo-mutants configStatic analysis:
.eslintrc*, ruff.toml, .golangci.yml, clippy.tomltsconfig.json, mypy.ini, pyrightconfig.json.semgrep/, codeql-config.ymlpprof, perf, py-spy configurations or scriptsSecurity and supply chain:
.github/dependabot.yml), Renovate, Snyk, npm audit, pip-audit, osv-scanner, govulncheck in CIgitleaks, detect-secrets, trufflehog configs or hookstfsec, checkov, kics, terrascan configs or CI stepsContracts and schemas:
*.schema.json, *.proto, openapi.*, *.graphqlicontract, contracts library imports, invariantpact/, pacts/, Pact broker config, Spring Cloud Contract stubs*.tla, *.cfg (TLC), *.als, *.dfyCI and operational:
.github/workflows/, .gitlab-ci.ymlcodecov.yml, coverage report configsIdentify distinct components or modules. For each, determine:
Load references/decision-framework.md for classification guidance. Load references/method-failure-modes.md to understand risks of current methods and gaps in assurance.
| Property | Options |
|---|---|
| Archetype | Deterministic library, CRUD/API service, Distributed/stateful, Safety/security kernel, ML-backed, Data pipeline, Infrastructure/IaC, Legacy monolith, Agent-written |
| Criticality | High (safety, security, money, core data), Medium (business logic), Low (UI, utilities) |
| Determinism | Deterministic, Concurrent/distributed, Probabilistic/learned |
| Current verification | List which methods are already applied |
Load references/bug-surface-routing.md. For each component from Step 2, assign a primary bug-surface
class (A–E):
| Class | Name | Route formal/sim tools? |
|---|---|---|
| A | Local invariant | Usually no — ceremony risk |
| B | Arithmetic / conservation | Yes — property tests, checked ops, bounded proofs |
| C | Protocol / concurrency | Yes — model check, DST, schedule exploration |
| D | Untrusted input | Yes — fuzz + sanitizers |
| E | Probabilistic / learned | Operational oracles, not unit formal stack |
Record evidence (spec language, domain type, failure modes), recommended verification depth (floor / standard / deep), and ceremony risk when maturity tier 4+ formal-method tools exist on Class A with no gap.
Use bug-surface to calibrate maturity expectations: Class C at maturity tier 2 with no formal path is a critical gap; Class A at maturity tier 4 with full formal stack may be over-investment.
Load references/maturity-model.md and assign a tier (0-5):
Score both the overall codebase and each individual component. Apply Step 3 bug-surface when scoring: Class C/D at maturity tier < 3 → note as under-instrumented in component notes; Class A at maturity tier ≥ 4 with no identified gap → note ceremony risk. The maturity tier column and Bug-Surface section must be consistent — do not assign tier 4 to a Class A counter without documenting why.
For each component, answer: "Can we determine if the output is correct?"
Load references/verification-taxonomy.md for oracle types.
| Oracle type | When applicable |
|---|---|
| Exact expected output | Deterministic, well-specified inputs/outputs |
| Metamorphic relations | Output hard to predict but transformations have known effects |
| Differential oracle | Multiple implementations or versions to compare |
| Contract | API/interface must conform to a schema or protocol |
| Temporal | State transitions or event ordering must follow protocol rules |
| Statistical threshold | Stochastic outputs with bounded distributions |
| Performance envelope | Measurable load/latency/resource bounds that must hold |
| Replay/held-out data | Historical inputs with known-good outputs |
| Behavioral twin | Third-party integrations where interface mocks can't verify real behavior |
| LLM-as-Judge | Non-deterministic output where human review is too slow/costly |
| Human judgment | Ambiguous outputs requiring domain expertise |
For components with third-party integrations, specifically assess:
Flag components with no oracle at all as critical gaps. Flag third-party integrations verified only via interface mocks as oracle weakness — agents can fabricate plausible API behavior that mocks will not catch.
For each oracle that exists, also rate its strength, not just its presence (see the "Oracle
strength" section in references/verification-taxonomy.md):
This matters because autonomy is capped by oracle strength: a component can have an oracle and still be unsafe for autonomous change if that oracle is weak. Flag oracle rot — tests that pass while the requirement has drifted, so the oracle no longer asserts the right thing — as a distinct gap from "no oracle"; it is more dangerous because it gives false confidence.
For each component, determine:
Components that require human review:
Components where AI agents could iterate autonomously:
Evaluate whether verification outputs can be consumed by agents for self-correction.
Load references/feedback-loop-model.md for maturity levels and assessment criteria.
Search for indicators:
For each verification method found in Step 1, classify its feedback loop level (0-3):
| Method | Output format | Routable? | Feedback loop level |
|---|---|---|---|
| ... | ... | ... | ... |
Flag methods at Level 0-1 as gaps: verification exists but agents cannot act on its results.
Identify all human review and approval checkpoints in the development workflow:
Branch protection rules and required-approval counts live in the hosting platform's settings, not
the working tree. Read them with gh api (e.g. gh api repos/{owner}/{repo}/branches/{branch}/protection)
when available; if gh/network is unavailable, mark these "not inspectable from working tree" rather
than assuming they are absent.
For each gate, evaluate:
| Gate | Risk class served | Rejection rate (if estimable) | Could agent pre-review replace? | Produces actionable feedback? |
|---|---|---|---|---|
| ... | ... | ... | ... | ... |
Identify:
git commit --no-verify, push without CI).
A gate that only fires client-side is not enforceable — the authoritative gate must be server-side
(branch protection + required status checks). Flag any check that exists only as a skippable local hook.Evaluate whether checks run at the earliest possible point in the development loop.
Load references/shift-left-model.md for the tier model and indicators.
Search for shift-left indicators:
.pre-commit-config.yaml, .husky/, lefthook.yml, .git/hooks/jest --watch, vitest, cargo-watch, scripts for changed-files-only test runsFor each verification method found in Step 1, classify its current execution tier (T1-T4):
| Check | Current tier | Ideal tier | Shift-left gap? |
|---|---|---|---|
| ... | ... | ... | ... |
Flag checks that run only at T3-T4 but could run at T1-T2 (e.g., type checking only in CI, no pre-commit hooks, no focused test mode).
Evaluate whether documentation stays synchronized with code through automated checks.
Load references/documentation-verification.md for assessment dimensions and maturity levels.
Search for indicators:
protoc-gen-docmarkdown-link-check, linkinator, internal cross-ref checksdoctest (Python/Rust), tested code blocks in Markdown, markdown-execClassify overall documentation verification level (0-3):
Flag Level 0-1 as a risk: stale docs become a fabrication vector for agents relying on them for context.
Evaluate whether verification outputs are observable and measurable at the operational level.
Load references/agentops-telemetry.md and references/agentops-telemetry-assessment.md for telemetry streams and assessment criteria.
Search for indicators of operational visibility into verification:
For each telemetry stream, classify the current level (0-3):
| Stream | Current level | Key gaps | Impact on verification improvement |
|---|---|---|---|
| Trajectory | ... | ... | ... |
| Cost | ... | ... | ... |
| Quality | ... | ... | ... |
| Autonomy compliance | ... | ... | ... |
| Domain | ... | ... | ... |
Flag critical gaps: verification that cannot be improved because there is no measurement of its effectiveness.
Evaluate whether intent traces to evidence: requirement → acceptance criterion → test → code → result.
Load references/traceability-model.md before scoring — it defines the 0-3 maturity levels and the
three RTM properties; do not invent your own scale.
Search for these signals:
docs/requirements/, docs/specs/, EARS-style statements, structured issue templates.feature files and BDD step definitions (Cucumber, Behave, SpecFlow)git log (e.g.
git log --oneline -50) and, if available, gh pr list. A valid link is a closing keyword
(Closes #123, Fixes #123), a bare #123/Refs:, or a tracker key (e.g. PROJ-123). Sample
recent merges and report the fraction lacking any link rather than asserting a number you cannot compute.
If git history or gh is unavailable, mark this signal "not inspectable" rather than guessing.trace, AI-DLCClassify the overall level (0-3). Assess the three RTM properties (scope verification, impact analysis, test sufficiency) and flag the failure each gap allows. Flag Level 0-1 as critical: intent drift is caught only by slow, fully-human review, which cannot keep pace with agents.
Roll up every gap surfaced in Steps 4-14 (missing/weak oracles, oracle rot, feedback-loop gaps, shift-left gaps, doc-verification gaps, telemetry blind spots, traceability gaps) into a single ticketable backlog. This is consolidation, not new analysis — collect findings already made.
For each entry produce: component, debt type, severity, current → required state, and remediation.
One row = one liability = one fileable issue. Severity: High = high-criticality component with
no/weak oracle or a gap that lets silent regressions ship; Medium = business logic with partial
coverage; Low = utilities/cosmetic. Order the backlog by severity. Note that rows can be exported
as issues/Jira tickets with a verification-debt label.
Load references/report-template.md for the output structure.
Write verification-report.md following the template, including all sections assessed in Steps 1-15 (maturity tier through verification debt).
references/agentops-telemetry-assessment.md (opens in a new tab)references/agentops-telemetry.md (opens in a new tab)references/bug-surface-routing.md (opens in a new tab)references/decision-framework.md (opens in a new tab)references/documentation-verification.md (opens in a new tab)references/feedback-loop-model.md (opens in a new tab)references/maturity-model.md (opens in a new tab)references/method-failure-modes.md (opens in a new tab)references/report-template.md (opens in a new tab)references/shift-left-model.md (opens in a new tab)references/traceability-model.md (opens in a new tab)references/verification-taxonomy.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krokoko/cairn --plugin software-verification3 skills in this plugin
/design-strategyDesign a verification strategy for specific components to unlock more autonomy.
Trigger phrases: "design verification strategy", "what verification do I need",
"verification plan", "how to verify this component",
"unlock autonomy for this module", "what tests should I add"
Optional argument: [component-name-or-path] (defaults to full codebase)
/detect-ai-smellsAssess whether a codebase has gates to detect AI-generated code smells and recommend what to add.
Trigger phrases: "detect ai smells", "check for ai slop gates", "ai code quality gates",
"do I have ai smell detection", "ai hygiene checks",
"what checks catch ai slop", "ai quality gates assessment"
Optional argument: [path-to-codebase] (defaults to current directory)
Other plugins' skills for the same job