Skip to content
Back to skills

Readback Plan

ASecurity

Use before building any T2 change (auth, payments, security checks, migrations, input parsing, CI/deploy) to write a literal test table first.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentssecurity

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add smrafiz/readback --skill readback-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Readback Plan?

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

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

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: readback-plan
description: Use before building any T2 change (auth, payments, security checks, migrations, input parsing, CI/deploy) to write a literal test table first.
---
# readback-plan

Write the test table before any code. The table is the contract the build and the review are checked against. T2 plans use the stronger model.

## Steps
1. Read the task, the files it touches, and the per-project table (`READBACK.md` at the repo root, or the readback section of CLAUDE.md/AGENTS.md). Confirm the change is T2 (see readback-tier); if not, stop.
2. List every entry point the change reaches: callers, parsers, config, platforms.
3. For each, write rows of literal input and literal expected result. Include hostile input: empty, oversized, malformed, odd encodings, each platform variant you ship to.
4. Add rows for the failure path: what must happen when the check itself errors or times out. State whether it fails open or closed.
5. Mark any row you cannot state exactly as UNKNOWN and resolve it with the user before building.
6. Save the plan to a file (`docs/plans/<change>.md`, or the `Plan folder` row of the per-project table) so it survives compaction and new sessions; re-read it there, not from memory.
7. Hand the file to the builder. The builder adds code to make each row pass; each fix gets a test that fails without it.

## Output format
```
## Plan: <change>
Tier: T2 (trigger: <path or escalation>)
| # | Input (literal) | Expected (literal) | Test location |
|---|---|---|---|
| 1 | ... | ... | ... |
Failure path: <fails open|closed> because <reason>
Unknown rows: <list or none>
```

## Rules
- No row says "works correctly". Expected values are literal.
- Do not build in this step.

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.