Skip to content
Back to skills

Closeout Review

ASecurity

Run the final scope-controlled review before committing, pushing, or opening a PR. Use for closeout review, readiness checks, or self-review of a completed branch.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentsswiftbashtestinggitapisecurity

Works with

  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add chr33s/iso --skill closeout-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Closeout Review?

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

Security grade badge for Closeout Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chr33s-closeout-review/badge)](https://www.skillsdirectory.com/skills/chr33s-closeout-review)

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: closeout-review
description: Run the final scope-controlled review before committing, pushing, or opening a PR. Use for closeout review, readiness checks, or self-review of a completed branch.
---

<!--
Derived from trailofbits/coop.
Modified by chr33s: ported/adapted for the Swift implementation.
SPDX-License-Identifier: Apache-2.0
-->


# Closeout Review

This is the final gate for a non-trivial change. Read and apply the repository
[`review`](../review/SKILL.md) skill, then resolve its findings locally. Do not
post review comments.

## Freeze scope first

Before reading findings, record the original request, owner/module boundary,
changed files, and non-generated LOC against the base. This is the baseline;
review must not silently redefine the task.

## Classify every validated finding

- **In-scope blocker:** introduced by this diff, same owner boundary, and
  fixable without reframing the task. Fix now.
- **Follow-up:** real but adjacent, optional, or a separate cleanup/bug class.
  Record it; do not absorb it.
- **Stop and escalate:** requires a new contract, protocol, storage/API change,
  security confirmation, or product/design decision. Ask the user.

When uncertain between blocker and follow-up, use follow-up. Findings are
hypotheses: independently verify them before changing code.

## Converge

Apply only in-scope blockers. Run the narrow test for each fix (`swift test
--filter <name>`), then `swift format lint --strict`, a warning-free `swift
build`, and the applicable broader tests ([`docs/testing.md`](../../../docs/testing.md)).
Use the [`mutation-check`](../mutation-check/SKILL.md) (fault-injection) skill
for security-relevant host behavior and the
[`integration`](../integration/SKILL.md) skill for guest-visible/lifecycle
changes. Re-run the review skill against the complete updated diff, not only the
last fix commit.

Stop after two non-converging review/fix cycles, if the diff grows beyond about
twice the baseline without approval, or when a local fix has become a redesign.

Report what ran, accepted/fixed findings, rejected findings with a one-line
reason, follow-ups, unrun platform gates, and a `clean` or `blocked` verdict.

On a `clean` verdict, record the reviewed commit for the compatibility PR gate:

```bash
COMMON_DIR="$(git rev-parse --git-common-dir)"
case "$COMMON_DIR" in /*) ;; *) COMMON_DIR="$PWD/$COMMON_DIR" ;; esac
COMMON_DIR="$(cd "$COMMON_DIR" && pwd)"
DIR="$COMMON_DIR/closeout-review"
mkdir -p "$DIR"
git rev-parse HEAD > "$DIR/$(git rev-parse --abbrev-ref HEAD | tr '/' '-')"
```

The marker is valid only for the current commit. Never record it for a blocked
verdict or to bypass review.

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.