testing

testing is a skill for Claude Code, Codex from MichaelYcJo/SpecSeal. It costs 45 tokens per session (563 once invoked), scanned A, original, MIT.

A guide for choosing the right level and coverage for software tests. It distinguishes unit tests for isolated logic from integration tests for parts working together, and focuses on cases that are easy to miss.

In plain words
What is it for?
Use it to plan test coverage, decide between unit and integration tests, select important edge cases, and review whether a completion claim is actually verified.
Why use it?
A green test suite can still fail to check important behavior if tests are placed at the wrong level or only measure what ran. This helps make tests fail when the relevant behavior breaks.

Skill for Claude CodeCodex

Part of the specseal plugin — 20 skills, 3 agents, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/michaelycjo/specseal/testing
Any agent
npx skills add MichaelYcJo/SpecSeal --skill testing
Clone the repo
git clone --depth 1 https://github.com/MichaelYcJo/SpecSeal

Made for: Claude Code, Codex.

Or install specseal, the plugin that ships this one along with the rest of its 20 skills, 3 agents, 3 hooks.

Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00045 $0.00563
Opus 5 $0.00023 $0.00282
Sonnet 5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured 3d ago against content hash 4461c6c6f4bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/testing/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/specseal:testing — put each test where it can actually fail

Coverage counts what ran, not what was checked, so a suite can be green and prove nothing. Two questions decide the shape: at which level can this break be observed, and would the test fail if the behavior changed.

The pyramid below is general; its middle tier is where projects differ most, so read the examples as one filling. What sits there is whatever this project's parts have to agree on to work — a service's database and request handlers, a client's screens against a fake backend, a CLI's argument parsing through to its exit codes, a library's public surface against a real consumer, a pipeline's stages against fixture data.

Test Pyramid

Unit Tests (base - most tests here)

  • Pure functions, business logic
  • Fast, isolated, no external deps
  • Mock at boundaries only

Integration Tests (middle)

  • Component interactions — the seams this project actually has
  • Real collaborators where the seam is the point (a test database or container, a fake server, a temp filesystem, a simulator)
  • Examples by project kind: database queries and request handlers; a screen driven against a stubbed API; argument parsing through to exit codes; a library exercised the way a caller would

E2E Tests (top - fewest tests here)

  • Critical user flows only
  • Login, checkout, core workflows
  • Slower, run less frequently

Test Quality Checklist

  • Tests have descriptive names (should_X_when_Y)
  • Each test checks ONE thing
  • Tests are independent (no ordering dependency)
  • Tests cover happy path AND edge cases
  • Tests cover error paths
  • No test logic complexity (no if/loops in tests)
  • Assertions are specific (not just "no error")

Rules

  • Write failing test BEFORE fixing bugs
  • Don't test implementation details, test behavior
  • Don't mock what you don't own (wrap it instead)
  • Keep tests fast (seconds, not minutes)
  • Coverage target: focus on critical paths, not percentages

Output

## Test Strategy: [scope]

**Coverage Gaps**: [what's not tested]
**Priority Tests**: [what to add first]
**Test Plan**:
1. [test description] - [type: unit/integration/e2e]
2. ...

[Generated test code if requested]

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 69 lines · 45 tokens per session scan A 4461c6c6f4bd

Subscribe to this mod's changes

testing is a skill published in the GitHub repository MichaelYcJo/SpecSeal (1 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 563 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gsd-audit-milestone

Audit milestone completion against original intent before archiving.

open-gsd/gsd-core · 17 tokens

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

spec-kitty-spdd-reasons

Drive REASONS Canvas authoring and review for Spec Kitty missions that opted in to Structured-Prompt-Driven Development (SPDD) via charter selection. Triggers: "use SPDD", "use REASONS", "generate a REASONS canvas", "apply structured prompt driven development", "make this mission SPDD". Does NOT handle: enforcing SPDD…

Priivacy-ai/spec-kitty · 118 tokens

conductor-implement

Executes the tasks defined in the specified track's plan. Use this to start or continue working on a feature, bug fix, or chore.

gemini-cli-extensions/conductor · 34 tokens

spec-kitty-runtime-review

Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…

Priivacy-ai/spec-kitty · 85 tokens

dependency-upgrade

Plan, batch, and verify dependency upgrades safely. Triages outdated packages into risk tiers, upgrades in order (dev/minor/patch first, runtime majors last), verifies each batch, and produces an auditable commit sequence. Use when asked to "upgrade deps", "bump packages", "update nodemodules", "fix vulnerabilities"…

open-gsd/gsd-pi · 90 tokens