skills/grace/grace-verification/SKILL.md
Design and enforce testing, traces, and log-driven verification for a GRACE project. Use when modules need stronger automated tests, execution-trace checks, or a maintained verification-plan.xml that autonomous and multi-agent workflows can trust.
npx skillsauth add osovv/grace-marketplace grace-verificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Design verification that autonomous agents can trust: deterministic where possible, observable and traceable where equality checks alone are not enough.
docs/development-plan.xml must exist with planned modules or module contractsdocs/verification-plan.xml should exist; if it does not, create it from the GRACE init template before proceedingdocs/operational-packets.xml exists, use its FailurePacket shape for failure handoff outputMODULE_CONTRACT, function contracts, semantic blocks, and existing tests first$grace-plan before building verificationVerification in GRACE is not just "did the final value match?"
It must answer:
Use contracts for expected behavior, semantic blocks for traceability, and tests/logs for evidence.
docs/verification-plan.xml is the canonical place where this evidence model lives.
Read the smallest complete set of artifacts needed for the scope:
docs/requirements.xmldocs/technology.xmldocs/development-plan.xmldocs/verification-plan.xmlWhen operating on one module, prefer that module's plan entry, verification entry, and local tests over rereading the whole repository.
If the optional grace CLI is available, grace module show M-XXX --path <project-root> --with verification is a fast way to read the shared/public module and verification context, and grace file show <path> --path <project-root> --contracts --blocks is a fast way to inspect the local/private contracts and semantic blocks that need evidence.
Read the module contracts, function contracts, and linked flows. Extract:
Turn these into a verification matrix before writing or revising tests. Keep the matrix synced into docs/verification-plan.xml.
For each critical path, define the minimum telemetry needed to debug and verify it.
At a minimum:
[ModuleName][functionName][BLOCK_NAME]Prefer stable structured logs or stable key fields over prose-heavy log lines.
docs/verification-plan.xmlUpdate the verification artifact so it becomes execution-ready.
For each relevant module, define or refresh:
V-M-xxx verification entryAlso refresh project-wide policy when needed:
For each scenario, decide which evidence type to use:
If an exact assert works, use it. Do not replace strong deterministic checks with fuzzy evaluation.
Write tests and harnesses that:
Typical trace checks:
Substantial test files may also use MODULE_CONTRACT, MODULE_MAP, semantic blocks, and CHANGE_SUMMARY if that makes them easier for future agents to navigate.
When strict equality is too weak or too brittle, use bounded semantic checks.
Allowed pattern:
Disallowed pattern:
Match the verification depth to the execution stage.
Do not require full-repository verification after every clean module if the wave and phase gates already cover that risk.
Make these levels explicit in docs/verification-plan.xml so execution packets can reuse them.
When verification fails, produce a concise failure packet:
Use this packet to drive $grace-fix or to hand off the issue to another agent without losing context.
If docs/operational-packets.xml exists, align the handoff to its canonical FailurePacket fields.
If the optional grace CLI is available, you may also use:
grace verification show V-M-XXX --path <project-root> to read the current verification entry directlygrace verification find <query> --path <project-root> to locate verification entries by module, scenario, marker, or commandgrace module health M-XXX --path <project-root> when you need the module-scoped remediation picture alongside the verification recordBefore calling verification complete, give the module or flow a simple autonomy assessment:
If any answer is no, document the gap explicitly in docs/verification-plan.xml or in the verification handoff.
docs/verification-plan.xml synchronized with real test files and commandsgrace lint --profile autonomous as a cheap gate for whether the current verification surface is mature enough for longer autonomous executionWhen using this skill, produce:
docs/verification-plan.xml$grace-execute or $grace-multiagent-execute rundevelopment
Create GRACE subagent presets for the current agent shell. Use when you want GRACE worker and reviewer agent files scaffolded for Claude Code, OpenCode, Codex, or another shell.
development
Execute a GRACE development plan in controller-managed parallel waves with selectable safety profiles, verification-plan excerpts, batched shared-artifact sync, and scoped reviews.
development
Bootstrap GRACE framework structure for a new project. Use when starting a new project with GRACE methodology - creates docs/ directory, AGENTS.md, and XML templates for requirements, technology, development plan, verification plan, knowledge graph, and operational packet contracts.
development
Complete GRACE methodology reference. Use when explaining GRACE to users, onboarding new projects, or when you need to understand the GRACE framework - its principles, semantic markup, knowledge graphs, contracts, testing, and unique tag conventions.