codando-io/officina/test

Claude Code and agent skill by codando-io/officina

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Produce test evidence that a change works - the behavior that changed, the test that proves it, the level (unit, integration, e2e), the suites to run, and for UI changes before and after GIFs. Use after implementing, when a bug needs its reproducing test, or when asked whether something is tested. A passing build is never accepted as proof.

Install

npx vskill@latest install codando-io/officina/test

SKILL.md

The same SKILL.md was published earlier as codando-io/officina/test.

Test

Tests are evidence. The question is not "do tests pass?" but "which test would fail if this change were wrong, and did it run?".

Before you start

  • If .engineering/overrides/test.md exists, read it and apply it.
  • Read each active profile's Verification ladder for the stack's test commands,

and AGENTS.md for the project's own.

  • Find how the project already tests similar code: framework, fixtures,

builders, test containers, mocks policy. Follow it.

Procedure

  1. Name the behavior that changed. One line per behavior, from the user's or

caller's point of view (input → observable result), using the feature names in the AGENTS.md feature map. If you cannot name it, you do not know what to test. Then open references/failure-scenarios.md, find the rows whose Mandatory when matches this change (a new consumer, a new editable entity, a migration, a retry policy...), and add each one as a behavior. A triggered scenario you do not test needs a one-line reason.

  1. Pick the level for each behavior with the cheapest level that can fail

for the real reason:

  • unit: pure logic, branching, mapping, validation;
  • integration: anything whose correctness depends on the database, the

framework pipeline (routing, model binding, auth, serialization, DI), messaging, or file system - use real dependencies (e.g. test containers, in-memory host) over mocks where the project allows;

  • e2e: only for critical user journeys that lower levels cannot cover.

Failure scenarios (concurrency, crashes, duplicates, slow dependencies) are usually integration tests against real dependencies.

  1. Write the test so it fails first. For bugs, run it against the unfixed code

and record the failure. For new behavior, make sure the assertion would fail if the feature returned a wrong or empty value.

  1. Assert observable results with literal expected values. Avoid asserting

internal calls unless the interaction is the behavior (e.g. "sends one email").

  1. Run in order of cost: the new tests, then the tests of the touched module,

then the full suite or the CI-equivalent command. Record each command and its result summary.

  1. Run the real system when a behavior depends on wiring that unit and

integration tests cannot see (startup, configuration, the browser, several processes): start it, drive it, and record what it printed (references/runtime-verification.md). A project that needs this often gets a skill for it (references/verification-skill.md).

  1. Check invariants on R2. State each invariant the change must keep in one

sentence and check it with a property-based test, or a model check for concurrency and multi-step protocols (references/invariants.md). Where a bug costs the most and these cannot reach it, offer a verify skill (references/formal-verification.md).

  1. Test the tests on risky logic. For an R1 or R2 change to branching

logic (money, permissions, state machines, parsing), run mutation testing on the changed code only, with the tool in the active profile's references/failure-testing.md. A mutant that survives in changed code is a missing assertion: add it, or say why the mutant is equivalent.

  1. Show what users see. When the diff changes rendered UI, record the same

journey on the base and on the branch as GIFs, read their frames, and keep them for the pull request (references/ui-evidence.md). Identical before and after frames are a finding, not evidence.

  1. Check what is not covered. Name any behavior you could not test and why,

and what manual or runtime check stands in for it.

Rules

  • An existing test changes only when the plan changes that behavior on purpose;

cite the plan line.

  • A flaky test is a finding, not something to retry until green.
  • Snapshot updates need a reason per snapshot.
  • Coverage percentage is not evidence of correctness; the behavior list is.

Output

markdown
## Test evidence: <change>
| Behavior | Test | Level | Failed before? | Result |
|---|---|---|---|---|
| ... | `path::name` | integration | yes (output) | pass |
**Commands run**
-`<command>` -> <summary: N passed, 0 failed, duration>
**Failure scenarios**: triggered catalog rows, each tested or not applicable (why)
**Runtime check**: command or probe and what it printed, or why none
**Invariants** (R2): statement -> check and result
**Before and after**: GIF paths and what each shows, or why there are none (no UI change, capture impossible)
**Not covered**: behavior, why, and what stands in for it
**Verdict**: verified / partially verified / not verified

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/codando-io/officina/test/badge)](https://verified-skill.com/skills/codando-io/officina/test)

Something wrong with this skill or its page? Tell us.