Verify service change

From TryGhost/Ghost · View interactive version

Verify service change is an AI agent skill from the GitHub repository TryGhost/Ghost. Independently verify a service characterization or defineService migration before its pull request is opened or marked ready. Use when checking tests-only characterization or a service migration that someone else wrote.

How to use this skill

Skill file

Verify a service change

Check another author's work from the code and its claims. An author's own results

show what they thought to test, so they cannot show what they missed.

Start here

Use only:

Do not read the author's mutation list, a coordinator's summary or an earlier

review. Ignore them if the brief includes them.

Work in your own checkout of the commit, and restore every mutation. Do not commit,

push or edit the branch: report findings to whoever owns it. Run database suites

one at a time.

Check every change

  1. gx services verify has no fail result.
  2. For each review line, read the diff and decide whether it is still true. A

stale inventory sentence is a finding.

  1. Map every claim to evidence: each inventory sentence added or changed, and each

statement in the PR description and commit messages. "Unchanged" is a claim.

  1. Ask whether this is the simplest way. List anything the change does not need.

Characterization

For each test and inventory sentence, ask: does it do what it says, is it the

simplest way, and is every claim asserted?

Write your own mutations from the production code and run at least one per claim.

Each must fail the test named for that behaviour. Include these variants where

they apply:

the load before the module is first required

Say when fakes hide the risk, such as a test that fakes Express for code whose

regression would only show in a booted app.

Migration

Fill in one row for each dependency, resource and consumer:

| Item | Old: when and how often resolved | New: when and how often resolved | Read by consumers at | On failure |

| ---- | -------------------------------- | -------------------------------- | -------------------- | ---------- |

Every difference needs a reason in the PR description. Look hardest at:

test only covers that boot waits for this root and fails when it fails

Then check the shape of the change:

createLoggingFake().

Note in the report if consumer files changed outnumber the service's own files, or

if the inventory disposition is not migrate. Both can mean the service should not

be migrated this way, so finish the review and raise them for the owner.

Report

| Claim or row | Evidence | Mutation and result | Finding | Severity |

| ------------ | -------- | ------------------- | ------- | -------- |

Use three severities:

Finish with a verdict. Say "ready" when no row is a blocker or an unresolved "should

fix", and list anything you did not run.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.