shipkit-test-cases

A system for writing test-case specifications tied to the source files they cover. It can notice when code changes make those specifications outdated.

In plain words
What is it for?
Planning test coverage, reviewing what a feature should test, and preparing test instructions before implementation.
Why use it?
Test plans can drift away from the code and leave teams unsure what to check. This creates organized cases that stay connected to the implementation.

Skill for Claude CodeCodex

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/stefan-stepzero/shipkit/shipkit-test-cases
Any agent
npx skills add stefan-stepzero/shipkit --skill shipkit-test-cases
Clone the repo
git clone --depth 1 https://github.com/stefan-stepzero/shipkit

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,331 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.00034 $0.06331
Opus 5 $0.00017 $0.03166
Sonnet 5 $0.00007 $0.01266
Haiku 4.5 $0.00003 $0.00633

Measured yesterday against content hash de61b1e38340, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shipkit-test-cases 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 yesterday.

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.

install/skills/shipkit-test-cases/SKILL.md · 769 lines

How it starts

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

shipkit-test-cases - Code-Anchored Test Case Management

Purpose: Generate and maintain test case specifications anchored to source files, with automatic staleness detection when code changes. Optimized for AI execution during team implementation.


When to Invoke

User triggers:

  • "Generate test cases"
  • "What should we test?"
  • "Set up test coverage"
  • "Create test spec"
  • "Test cases for [feature]"

Workflow position:

  • After specs exist (helpful but not required)
  • Before team implementation (provides execution targets)
  • Can run standalone against existing codebase

Prerequisites

Soft requirements (helpful but not blocking):

  • .shipkit/specs/ — Helps derive cases from requirements
  • .shipkit/product-discovery.json — Helps infer priority from user personas

No hard requirements — Can analyze code directly without specs


Process

Completion Tracking (MANDATORY)

After determining scope (Step 1) and identifying feature areas, create tasks:

  1. For EACH feature area identified: TaskCreate: "Generate cases: {feature-name}"
  2. TaskCreate: "Write STRATEGY.md"
  3. For EACH feature: TaskCreate: "Write cases/{feature}.md"
  4. TaskCreate: "Write coverage.json"
  5. TaskCreate: "Enrich UI test cases with selectors (if applicable)"
  6. TaskCreate: "Archive existing artifact (if exists)"
  7. TaskCreate: "Output summary with metrics"

Rules:

  • Do NOT dispatch test case generation once for all features — generate per feature area
  • TaskUpdate each task to completed only after the file is written to disk
  • STRATEGY.md, cases/*.md, AND coverage.json must ALL be written — any one alone is not "done"
  • Do NOT present the summary until all 3 output types are confirmed written

Step 1: Determine Scope

If user specifies feature/scope:

  • Focus on that feature's source files
  • Read relevant spec if exists

If no scope specified:

  • Scan src/ for code structure
  • Check git diff for recently changed files
  • Prioritize uncovered code

Read the full file on GitHub · 769 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 769 lines · 34 tokens per session scan A de61b1e38340

Subscribe to this mod's changes

shipkit-test-cases is a skill published in the GitHub repository stefan-stepzero/shipkit (1 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 6,331 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.