Verify changes
This skill verifies changes; it does not authorize publishing, merging, deployment,
or task-tracker mutations. Execute requested checks under the project contract
and return the final evidence report; no separate plan-approval pause is required.
Resolve the project contract
Read applicable AGENTS.md instructions and follow the Verification runbook
pointer. The path is project-defined. Direct project instructions or explicit
user inputs can supply the same contract. Obtain required checks, authoritative
command/configuration sources, test-writing conventions when relevant, and build
resource/worktree policies. Validate commands against the current repository.
If a required input is absent or conflicts with current configuration, state the
specific missing decision and pause the dependent check. Continue safe diff and
configuration inspection. Do not guess commands, budgets, or treat absent
instructions as permission to skip required checks.
Worktree lifecycle
Inspect refs/history/diffs without creating a checkout. Reuse an existing suitable
checkout only when clean, free and compatible with task ownership. When separate
files are needed for execution, create a temporary worktree at the project/machine
permitted location; a temporary path does not replace explicit removal. Do not
make a long-lived checkout depend on temporary dependencies or configuration.
A reused checkout is borrowed, not disposable: preserve its original state and
restore any temporary checkout selection after the operation without discarding
concurrent changes. Remove only temporary worktrees created by this operation.
Creating a temporary worktree includes cleaning it up in this operation, without
a separate approval for the agent's own disposable artifacts once useful work is
retained or reproducible. Remove it before the final report using Git worktree
removal without force, or the runtime's supported managed-worktree lifecycle.
Move to a surviving directory first. On failure/interruption, remove reproducible
temporary artifacts when possible; preserve irreplaceable work and report the
specific reason and location of any remainder. Never silently discard valuable
files or bypass a removal refusal. No background cleanup is implied.
Procedure
- Pin the baseline and candidate SHA/tree, or explicitly describe uncommitted
changes being checked. Inspect the actual diff and affected consumers. Identify
the behaviors and integration risks that require evidence.
- Select the smallest sufficient checks satisfying the project contract: relevant
unit tests, types/lint, and affected integration or UI scenarios. Read the
project's test-writing instructions before adding/editing tests. Avoid tests
that merely mirror implementation. Documentation-only changes normally need
links/format/registry checks rather than application builds.
- Execute focused checks first. Expand for required project gates, changed shared
behavior, failures, explicit requests, or unresolved risk. Resolve executable
commands from the documented source, such as package scripts or build targets.
Do not assume a command named
verify includes a production build. A required
delivery preflight is a separate obligation handled by deliver-to.
- Before a heavy local build, resolve applicable project/machine resource policy
and enforce its limits on the actual build workers. If required enforcement is
unavailable, stop that build and report the blocker. Apply limits and concurrency
rules to their declared scope; a build-only rule does not automatically apply
to tests, lint, or typecheck. Do not invent a company-wide memory budget.
- Distinguish regressions from baseline failures by reproducing the same command
under equivalent conditions on the pinned baseline when attribution matters.
Use a temporary isolated worktree only when needed under the lifecycle above;
preserve existing dirty work.
Do not label failures pre-existing based only on unchanged filenames. Baseline
failures that prevent validating affected behavior remain an evidence gap.
- Record command/job, revision, outcome, and limitations. Reuse evidence only
when relevant content, dependencies, configuration and environment still match.
Passing source tests do not automatically cover a different integration tree.
- Report passed, failed, and unrun checks separately. State whether essential
risks and required gates are covered, explain any blocker, and stop once
sufficient evidence is obtained. Verification success is not proof of
deployment or product acceptance.
1---2name: verify-changes3description: Choose and execute proportionate verification for a code diff or integration candidate, distinguish regressions from baseline failures, and report evidence tied to the checked revision. Use when asked to verify changes, run checks, or establish implementation readiness.4metadata:5 source: https://skillmd.com/skills/gertyhiler/verify-changes6---78# Verify changes910This skill verifies changes; it does not authorize publishing, merging, deployment,11or task-tracker mutations. Execute requested checks under the project contract12and return the final evidence report; no separate plan-approval pause is required.1314## Resolve the project contract1516Read applicable `AGENTS.md` instructions and follow the **Verification** runbook17pointer. The path is project-defined. Direct project instructions or explicit18user inputs can supply the same contract. Obtain required checks, authoritative19command/configuration sources, test-writing conventions when relevant, and build20resource/worktree policies. Validate commands against the current repository.2122If a required input is absent or conflicts with current configuration, state the23specific missing decision and pause the dependent check. Continue safe diff and24configuration inspection. Do not guess commands, budgets, or treat absent25instructions as permission to skip required checks.2627## Worktree lifecycle2829Inspect refs/history/diffs without creating a checkout. Reuse an existing suitable30checkout only when clean, free and compatible with task ownership. When separate31files are needed for execution, create a temporary worktree at the project/machine32permitted location; a temporary path does not replace explicit removal. Do not33make a long-lived checkout depend on temporary dependencies or configuration.34A reused checkout is borrowed, not disposable: preserve its original state and35restore any temporary checkout selection after the operation without discarding36concurrent changes. Remove only temporary worktrees created by this operation.3738Creating a temporary worktree includes cleaning it up in this operation, without39a separate approval for the agent's own disposable artifacts once useful work is40retained or reproducible. Remove it before the final report using Git worktree41removal without force, or the runtime's supported managed-worktree lifecycle.42Move to a surviving directory first. On failure/interruption, remove reproducible43temporary artifacts when possible; preserve irreplaceable work and report the44specific reason and location of any remainder. Never silently discard valuable45files or bypass a removal refusal. No background cleanup is implied.4647## Procedure48491. Pin the baseline and candidate SHA/tree, or explicitly describe uncommitted50 changes being checked. Inspect the actual diff and affected consumers. Identify51 the behaviors and integration risks that require evidence.522. Select the smallest sufficient checks satisfying the project contract: relevant53 unit tests, types/lint, and affected integration or UI scenarios. Read the54 project's test-writing instructions before adding/editing tests. Avoid tests55 that merely mirror implementation. Documentation-only changes normally need56 links/format/registry checks rather than application builds.573. Execute focused checks first. Expand for required project gates, changed shared58 behavior, failures, explicit requests, or unresolved risk. Resolve executable59 commands from the documented source, such as package scripts or build targets.60 Do not assume a command named `verify` includes a production build. A required61 delivery preflight is a separate obligation handled by deliver-to.624. Before a heavy local build, resolve applicable project/machine resource policy63 and enforce its limits on the actual build workers. If required enforcement is64 unavailable, stop that build and report the blocker. Apply limits and concurrency65 rules to their declared scope; a build-only rule does not automatically apply66 to tests, lint, or typecheck. Do not invent a company-wide memory budget.675. Distinguish regressions from baseline failures by reproducing the same command68 under equivalent conditions on the pinned baseline when attribution matters.69 Use a temporary isolated worktree only when needed under the lifecycle above;70 preserve existing dirty work.71 Do not label failures pre-existing based only on unchanged filenames. Baseline72 failures that prevent validating affected behavior remain an evidence gap.736. Record command/job, revision, outcome, and limitations. Reuse evidence only74 when relevant content, dependencies, configuration and environment still match.75 Passing source tests do not automatically cover a different integration tree.767. Report passed, failed, and unrun checks separately. State whether essential77 risks and required gates are covered, explain any blocker, and stop once78 sufficient evidence is obtained. Verification success is not proof of79 deployment or product acceptance.