Skip to content
Development
Skill

/test

Proves that a code change meets its acceptance criteria. Uses focused automated checks and a real browser for browser-facing work. Use to test or verify a diff, branch, PR, URL, or user flow.

From plugin
blueprint
39410 skills
Install
$ npx -y skills add owainlewis/blueprint --skill test --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/test

Context preview

The summary Claude sees to decide when to auto-load this skill.

Proves that a code change meets its acceptance criteria. Uses focused automated checks and a real browser for browser-facing work. Use to test or verify a diff, branch, PR, URL, or user flow.

SKILL.md

test.SKILL.md
name: test
description: "Proves that a code change meets its acceptance criteria. Uses focused automated checks and a real browser for browser-facing work. Use to test or verify a diff, branch, PR, URL, or user flow."
user-invocable: true
argument-hint: "<task, acceptance criteria, diff, branch, PR, URL, or flow>"

Test

Prove the behavior that matters. A passing build or a source-code reading can support the proof, but neither proves a user-visible flow.

Process

1. Read the task, its source design when present, changed code, existing tests, and repository instructions. Acceptance criteria come from the task or approved design. Preserve their wording and `AC-n` or `INV-n` IDs. Never rewrite criteria to match the code. 2. Map every acceptance criterion, cited invariant, and affected failure path to proof by ID. Test changed behavior and behavior a refactor must preserve. 3. If automated tests cannot exercise the affected behavior, explain why and give other evidence. 4. Add or update focused tests where proof is missing. Assertions should fail when the changed behavior breaks. 5. Assert behavior a user or caller can observe unless the test targets a documented internal contract. Keep setup and assertions no more complex than the scenario. 6. Run the narrowest checks that exercise the changed behavior and affected interfaces. Run wider checks when shared behavior or interfaces changed. 7. When browser-rendered behavior changes, start the documented app and check the required flows and affected failures in a real browser.

  • Check desktop and mobile when layout or responsive styles changed.
  • Check keyboard use when interactions changed.
  • Check console errors and failed requests during every flow.
  • Capture evidence. Reading source is not browser proof.

8. Report each `AC-n`, `INV-n`, or task criterion as pass, fail, or unverified. Include the command, browser flow, or other evidence.

Return

Report each criterion in this shape:

Criterion: <ID or exact wording>
Result: Pass / Fail / Unverified
Evidence: <command, browser flow, or artifact>
Gap: <what remains unknown, or None>

Lead with failures and unverified criteria. Do not hide them below passing checks.

Boundaries

  • Do not weaken assertions to make a change pass.
  • Do not fix unrelated failures.
  • If required browser tooling is unavailable, report the check as blocked unless the user explicitly accepts a manual exception.
Read more
Ships withblueprint

Design. Plan. Build. Validate. Blueprint gives coding agents ten focused skills. They cover understanding existing code, deciding what to build, and delivering reviewed pull requests.

Get the whole plugin
Stats
395
Stars
68
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
6mo ago
Created

Repo: owainlewis/blueprint

Other skills on blueprint.