regression-design

regression-design is a skill for Claude Code, Codex from GxFn/Wakeflow. It costs 37 tokens per session (735 once invoked), scanned A, original, MIT.

A workflow for designing regression tests: tests that prevent a confirmed bug or required behavior from breaking again. It focuses on what users and systems can observe through public interfaces, not private code details.

In plain words
What is it for?
Use it after reproducing a bug, when a requirement needs behavior-focused coverage, or when checking whether proposed tests protect the right result.
Why use it?
It helps create tests that remain useful after internal implementation changes and that directly cover the behavior at risk.

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/gxfn/wakeflow/regression-design
Any agent
npx skills add GxFn/Wakeflow --skill regression-design
Clone the repo
git clone --depth 1 https://github.com/GxFn/Wakeflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for regression-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/gxfn/wakeflow/regression-design.svg)](https://agentmods.dev/skills/gxfn/wakeflow/regression-design)
Your own site
<a href="https://agentmods.dev/skills/gxfn/wakeflow/regression-design"><img src="https://agentmods.dev/badge/skills/gxfn/wakeflow/regression-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 735 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.00037 $0.00735
Opus 5 $0.00018 $0.00367
Sonnet 5 $0.00007 $0.00147
Haiku 4.5 $0.00004 $0.00073

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

Security

Grade A, and why

regression-design 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 4d 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.

test/fixtures/legacy-origins/claude-code-0.5.3-f6eba08d/static/shared-setup/WakeflowFixture/Test/skills/regression-design/SKILL.md · 109 lines

How it starts

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

Regression Design

Turn a behavior or bug into durable regression coverage guidance. This skill designs tests and evidence; it does not implement product fixes unless a test card explicitly authorizes Test to do so.

Source Skills Used

  • mattpocock/skills/engineering/tdd: public interfaces, behavior over implementation, vertical red-green cycles, no horizontal test dumps, and no refactor while red.
  • diagnose: correct regression seam comes after a real feedback loop and reproduction.
  • Industry basis: test pyramid and behavior-focused testing.

Wakeflow Role

Use this skill when:

  • a bug has been reproduced and needs a regression plan;
  • a requirement needs behavior-first coverage before implementation;
  • a target result claims coverage and Test must judge whether the seam is right;
  • a controller wants to know what evidence would prevent recurrence.

Core Principle

Test observable behavior through a public seam. A good regression survives internal refactors. A bad regression tests private methods, mocks internal collaborators unnecessarily, or verifies implementation shape instead of user or system behavior.

Workflow

  1. Name the behavior.
    • What capability must remain true?
    • Which actor or integration observes it?
  2. Choose the public seam.
    • API endpoint, CLI command, UI flow, public function, daemon job, integration boundary, or documented output.
    • Prefer the highest seam that proves the behavior.
  3. Check the bug pattern.
    • Does the seam exercise the real call chain?
    • Does it cover the failure as observed?
    • If not, state that the architecture lacks a correct seam.
  4. Specify fail-before/pass-after evidence.
    • Expected failing signal before fix or before intended behavior exists.
    • Expected passing signal after implementation.
  5. Design one tracer bullet first.
    • One behavior.
    • One test or observation.
    • Minimal fixture.
    • Clear assertion.
  6. Add further behaviors incrementally.
    • Do not write all tests first.
    • Each new test should reflect learning from the previous cycle.
  7. Return guidance to the controller or owning product window.

Read the full file on GitHub · 109 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. 4d ago First seen · 109 lines · 37 tokens per session scan A 3b8100320e99

Subscribe to this mod's changes

regression-design is a skill published in the GitHub repository GxFn/Wakeflow (5 stars, last pushed 11d ago), licensed MIT. It adds 37 tokens to every session and 735 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

archon

Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across context windows. Use for work that spans multiple sessions and needs persistent state, quality judgment, and strategic decomposition.

SethGammon/Citadel · 54 tokens

fleet

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave in isolated worktrees, collects discoveries, shares context between waves. Use when work decomposes into 3+ independent streams that can run simultaneously.

SethGammon/Citadel · 56 tokens

daemon

Continuous autonomous operation mode. Keeps campaigns running 24/7 by chaining Claude Code sessions via RemoteTrigger. Each session picks up from the campaign's continuation state, works until context runs low or the phase completes, then schedules the next session. Auto-stops on campaign completion or budget…

SethGammon/Citadel · 69 tokens

evolve

Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope. Accumulates a persistent belief model and…

SethGammon/Citadel · 60 tokens

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

setup

First-run experience for the harness. Three modes: Recommended (guided, 3 min), Full Tour (guided + skill walkthrough, 8 min), and Express (zero questions, 30 sec). Installs hooks first, detects stack, configures harness.json, runs a live demo on real code, and prints a reference card.

SethGammon/Citadel · 69 tokens