Skip to content
Back to skills

Checkpoint Preview

ASecurity

Use after autonomous /workflow execution to walk the diff by concern (not by file) with risk-tagged hot spots — bridges agent autonomy to human judgment before delivery.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgosqlgitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add forbee-dev/ForgeBee --skill checkpoint-preview --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Checkpoint Preview?

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

Security grade badge for Checkpoint Preview
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/forbee-dev-checkpoint-preview/badge)](https://www.skillsdirectory.com/skills/forbee-dev-checkpoint-preview)

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: checkpoint-preview
description: Use after autonomous /workflow execution to walk the diff by concern (not by file) with risk-tagged hot spots — bridges agent autonomy to human judgment before delivery.
version: 1.0.0
---

# Checkpoint Preview

## Objective

Hand autonomous work back to human judgment. Walk the diff **by concern** (cohesive design intent), not by file. Surface 2-5 high-blast-radius spots with risk tags so the reviewer can choose: ship, rework, or dig deeper.

Adapted from BMAD's bmad-checkpoint-preview. A raw `git diff` is in file order, which rarely builds understanding; reviewers then skim and miss, or read every file and lose the thread. You read the diff, spec, and codebase, and present the change in comprehension order.

## When this fires

- After the `/workflow` Review loop and Verify, before Deliver.
- When a user asks to "walk me through this diff" or "review this branch".

Skip when the user passes `--skip-checkpoint` to `/workflow`, or the change is trivial (1-2 files, one concern).

## The 5 Steps

### 1. Orientation
One-line intent plus surface-area stats. The reviewer confirms intent before reading code.
```
Intent: Add user CSV export endpoint with date-range filter.
Stats: 8 files changed, 3 modules touched, 247 lines of logic added, 1 schema migration, 2 new public interfaces.
```

### 2. Walkthrough by Concern
Group by design intent ("API contract", "input validation", "auth integration"). Go top-down: highest-level intent first. The reviewer never meets a reference to something not yet shown.

```markdown
### Concern 1: API contract
Endpoint chosen for X; trade-off Y.
- `src/api/users/export.ts:14-32` — route definition
- `src/api/users/export.types.ts:1-22` — request/response shapes

### Concern 2: Input validation
Runs before DB access; dates are RFC3339.
- `src/api/users/export.ts:34-58` — validators
```

### 3. Detail Pass (hot spots)
2-5 spots where a mistake does the most damage, ordered by worst-case impact, not file position. Tags:

- `[auth]` — middleware, sessions, login, JWTs, passwords
- `[schema]` — migrations, model defs, RLS policies
- `[billing]` — Stripe/Paddle hooks, subscription state, invoices
- `[public API]` — REST routes, GraphQL schema, OpenAPI
- `[security]` — validation, sanitization, uploads, eval/exec
- `[data-loss]` — deletes, irreversible writes, hard-delete migrations
- `[perf]` — query loops, N+1, large allocations

```markdown
### Hot Spots
1. `[public API]` `src/api/users/export.ts:42` — expired token returns 200 with empty CSV, not 401. Worst case: silent data exposure.
2. `[data-loss]` `migrations/2026_05_19_export_log.sql:8` — DROP TABLE in down-migration loses the audit log on rollback. Keep down-migration empty or rename.
```

### 4. Adversarial Findings
Surface what the machine gates left for a human: findings dropped as false positives, `[needs tool]` items, and Skeptic `FLAG` rulings (Critical tier). Not bugs already fixed.

### 5. Verdict Prompt

```markdown
### Verdict
- [ ] Ship — design is sound, hot spots understood, accept the trade-offs
- [ ] Rework — one or more hot spots need to be addressed before ship
- [ ] Dig deeper — request a focused review on a specific area
```

## Output Shape

One message with the 5 sections in order. No file dumps; concerns and hot spots only.

## Never

- Never present changes in file order.
- Never list more than 5 hot spots. The cap forces real prioritization.
- Never report bugs already fixed in the diff.
- Never substitute for review-all. This is a human-handoff layer, not a quality gate.
- Never pick the verdict yourself. The human chooses ship / rework / dig deeper.

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.