Skip to content
Back to skills

Lean Testing

ASecurity

Find the smallest check that catches the regression that matters for a behavior, a diff or a set of tests - the existing test to keep or extend, or the missing test and the failure it must expose; "existing coverage is sufficient" is a valid answer. Use it whenever you write a Test plan, add, change, review or consolidate tests, add a regression test for a fix, find a test that duplicates or contradicts another, decide what to do with a test a change turned red, decide whether something needs...

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsgotesting

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add bqp007/concord-agent-harness --skill lean-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lean Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lean Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bqp007-lean-testing/badge)](https://www.skillsdirectory.com/skills/bqp007-lean-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: concord:lean-testing
description: Find the smallest check that catches the regression that matters for a behavior, a diff or a set of tests - the existing test to keep or extend, or the missing test and the failure it must expose; "existing coverage is sufficient" is a valid answer. Use it whenever you write a Test plan, add, change, review or consolidate tests, add a regression test for a fix, find a test that duplicates or contradicts another, decide what to do with a test a change turned red, decide whether something needs a test at all, or are about to add a guard or validation check, even when the request only says "add tests" or "make it robust".
argument-hint: <behavior, diff or tests>
---

# Lean testing

A test earns its place when it catches a failure that the rest of the suite would miss, at the point where it must be caught, and passes on every change the spec allows. Read [principles.md](principles.md) before you write a Test plan, a failing test, a test review or a consolidation pass: it holds the principles, what a finished test set shows and how to review tests.

## In a Concord plan

- The Test plan has one row per touched behavior: the behavior, its existing tests, one action and its Home test file. The action is KEEP, EXTEND, MERGE, REPLACE or DELETE, or ADD only when no test covers the behavior.
- Budget: new test cases per touched behavior, by the phase's Risk: low 1, medium 2, high 4. Each case names the one failure it catches that no other case catches. A case beyond the budget states its reason in its row; without one it is cut. Count the cases before you show the plan.
- Failing tests come first where they buy evidence: a changed behavior gets its failing tests in their own run, and the planner checks that each fails for the stated reason before any implementation starts. A routine change (a refactor under characterization checks, a mechanical migration) needs no separate red run. Implementers never edit tests.
- After the last phase, the consolidation pass goes over the tests the ticket touched. Only the planner merges or deletes tests, and it names the remaining test that catches what each removed one caught.

## Result

For each behavior or test, one line: KEEP, EXTEND or ADD with the failure the case must expose and the source of its expected value; MERGE, REPLACE or DELETE with the test that keeps the coverage; or "existing coverage is sufficient" with the test that already catches the failure. Called on its own, it writes and runs nothing unless asked, and records nothing.

Files in this skill

  • SKILL.md2.2 KB
  • principles.md10.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.