Skip to content
Back to skills

Plan Tests

ASecurity

List the tests a change needs before any code is written, one per Capability the app must have once it lands, each with its expected result. TRIGGER from /tdd, or when the Architect asks which tests a change needs. DO NOT TRIGGER to write a test; use /write-test.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
testing

Security analysis

A100/100

Scanned September 30, 2026

npx -y skills add heyJordanParker/dotfiles --skill plan-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan Tests?

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

Security grade badge for Plan Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/heyjordanparker-plan-tests/badge)](https://www.skillsdirectory.com/skills/heyjordanparker-plan-tests)

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: plan-tests
description: List the tests a change needs before any code is written, one per Capability the app must have once it lands, each with its expected result. TRIGGER from /tdd, or when the Architect asks which tests a change needs. DO NOT TRIGGER to write a test; use /write-test.
---

# Plan Tests

- The suite states every Capability the app has once the change lands, whether the code exists yet or not.

## 1. Write the Capabilities the change adds
Write what the app must be able to do once the change lands. That is the list. Write one sentence each: "the User can X", "the system can X".

### Split a sentence in two when one half can break while the other still works
Write one sentence when the only difference is the input.

### Stop at what the app does
Never: a sentence about a step inside the app.

## 2. Add the Capabilities the app already has here and must keep
Run `trace structure` on the files the change touches, then `trace callers` on what they expose. Every caller is using a Capability. Write it as a sentence too.

IF the change removes a Capability:
### Leave it out and mark its test for deletion

## 3. Give each sentence a starting state, a call, and an expected result
Write the expected result the app must produce.

IF the code does not exist yet:
### Write the call the change will make

IF the expected result is not settled anywhere:
### Stop and name it

IF a defect reached the User:
### Write the Capability the suite never stated
Never: a test for the one reported input.

## 4. Compare the sentences with the tests already there
A sentence already stated the same way leaves that test alone. A sentence stated differently changes that test. A sentence no test states is a test to write. A test stating a Capability the change removes is deleted.

### Cut a sentence whose test would not lower coverage if deleted
Never: a sentence describing a mistake an Agent made.

## 5. Reply with the tests to write, to change, and to delete

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.

Comments

Loading comments…

Newsletter

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