regression-testing

regression-testing is a skill for Claude Code, Codex from CoffeeCheese/easy-prd-testing. It costs 43 tokens per session (767 once invoked), scanned A, original, MIT.

A regression-testing process for checking that fixed defects and important user flows still work, using existing Playwright Test scripts first. Playwright Test is a tool for automating browser checks.

In plain words
What is it for?
Use it after fixing a defect or when regression verification is requested. It runs related browser tests, checks dependencies and environments, and records the results.
Why use it?
It reduces the chance that a bug fix introduces another problem and keeps test evidence linked to the relevant defect or priority.

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/coffeecheese/easy-prd-testing/regression-testing
Any agent
npx skills add CoffeeCheese/easy-prd-testing --skill regression-testing
Clone the repo
git clone --depth 1 https://github.com/CoffeeCheese/easy-prd-testing

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/coffeecheese/easy-prd-testing/regression-testing.svg)](https://agentmods.dev/skills/coffeecheese/easy-prd-testing/regression-testing)
Your own site
<a href="https://agentmods.dev/skills/coffeecheese/easy-prd-testing/regression-testing"><img src="https://agentmods.dev/badge/skills/coffeecheese/easy-prd-testing/regression-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 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.00043 $0.00767
Opus 5 $0.00022 $0.00383
Sonnet 5 $0.00009 $0.00153
Haiku 4.5 $0.00004 $0.00077

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

Security

Grade A, and why

regression-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/regression-testing/SKILL.md · 63 lines

How it starts

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

Regression Testing

Goal

Verify fixed defects and stable high-value flows with script-first regression while keeping evidence under the owning priority directory.

Required Inputs

  • Confirmed module artifact directory.
  • Existing 06-缺陷记录.md or priority-owned 执行结果/Px/06-缺陷记录.md.
  • Regression target: defect ID, test case ID, priority, or user-confirmed scope.
  • Confirmed environment address, login mode, account handling, and risk boundary.
  • Runtime dependency check result, or permission to rerun scripts/check-deps.sh before script-first regression.

Stop Conditions

Stop and ask only for the earliest missing input when any required input is absent. Do not infer which defect or case should be regressed if the target is unclear.

Execution Order

  1. Read the related defect records and test cases.
  2. Confirm the regression target if it is ambiguous.
  3. Reuse the dependency check result, or rerun scripts/check-deps.sh when the previous result is absent or stale.
  4. Check 执行结果/Px/regression-scripts/ and 执行结果/Px/scripts/ for related Playwright Test scripts.
  5. If scripts exist but Playwright is unavailable, show the suggested install command and ask for explicit user confirmation before installing.
  6. Run available Playwright Test scripts first when dependencies are available.
  7. Record pass, failure, or blocker in 执行结果/Px/07-回归记录.md.
  8. Classify failures as product issue, script drift, environment/data blocker, dependency blocker, or unclear.
  9. Use agent-browser only when the script result is not enough to classify the failure, or when Playwright is unavailable and the user declines installation.
  10. Escalate to Chrome DevTools CLI only when browser evidence is insufficient and the dependency check shows CLI is available.
  11. Escalate to Chrome DevTools MCP only when CLI diagnostics are unavailable or insufficient and MCP is configured.
  12. Update 执行结果/Px/08-回归缺陷状态.md.

Write Boundaries

  • Write only inside the priority directory that owns the regressed case or defect.
  • Do not modify 01-04 planning artifacts.
  • Do not overwrite first-run 05-执行记录.md or 06-缺陷记录.md.
  • Store regression screenshots in regression-screenshots/.
  • Store regression videos in regression-videos/.
  • Store Playwright trace, DevTools trace, HAR files, and trace summaries in regression-traces/.
  • Store regression Playwright Test scripts in regression-scripts/.

Read the full file on GitHub · 63 lines

Files

What ships with it

2 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. 3d ago First seen · 63 lines · 43 tokens per session scan A 7a54b33d2cf8

Subscribe to this mod's changes

regression-testing is a skill published in the GitHub repository CoffeeCheese/easy-prd-testing (2 stars, last pushed 22d ago), licensed MIT. It adds 43 tokens to every session and 767 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.