kooleklabs

Self Review — Security skill for Claude Code

Security community

Run a full self-review-and-fix loop on the current changes.

How to install Self Review

Installs to ~/.claude/commands/kooleklabs-agentic-setup-self-review.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/kooleklabs/agentic-setup/HEAD/.claude/commands/self-review.md -o ~/.claude/commands/kooleklabs-agentic-setup-self-review.md

Restart Claude Code, or start a new session, for it to be picked up.

What Self Review does


description: Run a full self-review-and-fix loop on the current changes. Checks tests, lint, and security — fixing each issue before moving to the next. Run before every commit or PR.

Run a self-review-and-fix loop on the current working changes:

Step 1 — Tests

  1. Detect and run the project test suite (check package.json, go.mod, Cargo.toml, pytest)
  2. If tests fail:
    • Read each failure carefully
    • Fix the root cause (not the test)
    • Re-run until all pass
  3. If no test suit

Alternatives in Security

  • Skill Coverage Audit — Trace codepaths in diffs, map against tests, auto-generate missing coverage — use before shipping PRs 2.8k ★
  • Brooks Audit — Run a Brooks-Lint architecture audit 1.5k ★
  • Engage.Threatmodel — Materialize, lint, and drift-check the engagement threat model 348 ★

Full documentation available on GitHub

View Source Repository