Skip to content
Skill

Self review

Pre-PR checklist that makes the agent review its own diff against spec, code quality

Self review is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Self review

This skill walks the agent through a three-phase review of the current branch's diff before a pull request is opened. It checks that the spec sections touched still match the code, then reviews clarity, correctness, maintainability and hygiene, and finally runs the verification gates expected for the project's level, such as lint, tests, coverage and audit commands. A verification summary is produced for the PR body, and a red result sends the work back to the relevant phase.

The review checks scale with the project level defined in the project's configuration file, so a lightweight setup gets a shorter list than a spec-heavy one. The skill also defines an optional reviewer setup in the same configuration file, which can add blind, adversarial and refuter subagent reviews with a fixed run order and rules for which findings block the PR.

It expects a git repository with a base branch to diff against and a .ffflow/config.yaml file for level and reviewer settings. The optional subagent reviewers require an agent that can spawn subagents.

When your agent uses it

Pre-PR self-review checklist — spec correctness, implementation quality, test coverage, audit pass. Level-aware. Also the reviewer port — optional blind, adversarial and refuter subagent reviewers set by `review:` in .ffflow/config.yaml.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (12 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the fff plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflow

Or copy only this skill to ~/.claude/skills/self-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/self-review &&
cp -R "$tmp/plugin/skills/self-review" ~/.claude/skills/self-review &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/self-review inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/self-review to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/self-review &&
cp -R "$tmp/plugin/skills/self-review" ~/.agents/skills/self-review &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/self-review inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/self-review to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/self-review &&
cp -R "$tmp/plugin/skills/self-review" ~/.cursor/skills/self-review &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/self-review inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/self-review

Or copy the folder to ~/.gemini/skills/self-review yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/self-review:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/self-review &&
cp -R "$tmp/plugin/skills/self-review" ~/.copilot/skills/self-review &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/self-review inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/zerotechdebt/ffflow.git

Then copy ffflow/plugin/skills/self-review into your agent's skills folder as self-review. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Spec correctness pass
Checks that the spec sections touched by the diff still describe what the code does.
Code quality checklist
Covers naming, edge cases, error paths, duplication and leftover debug code.
Deferred-work enforcement
Requires minor issues to be fixed, given a concrete re-evaluation trigger, or raised as blockers.
Level-aware verification gates
Runs lint, tests, coverage and audit checks that scale with the project's configured level.
Verification summary
Produces a structured summary of spec sections, tests and coverage for the PR body.
Optional subagent reviewers
Configurable blind, adversarial and refuter reviewers with defined inputs and verdicts.

Good for

  • Review my branch before I open the pull request
  • Check that the spec still matches what this change does
  • Run the pre-PR quality gates and summarise the results
  • Find edge cases my diff might have missed
  • Set up a blind reviewer subagent to check the diff against acceptance criteria

Self review FAQ

What does the skill need to run?

A git repository with a base branch to diff against, a .ffflow/config.yaml file for the level and optional review settings, and the task issue body for acceptance criteria.

Does Self review change any files?

It produces a verification summary for the PR body and a pass or fail outcome. The refuter reviewer is required to leave the working tree clean and never commit.

When is the subagent reviewer setup used?

Only when a review block is set in .ffflow/config.yaml. Without it, the skill runs its own checklist as before.

Which tools is Self review tied to?

It is published as a Claude Code plugin in the ffflow marketplace and refers to other ffflow skills and audit commands.

How do I install Self review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/self-review to use it in all your projects, or to .claude/skills/self-review in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.

Does Self review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Self review?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Self review?

The closest alternatives to Self review are Code review, Code review agent, Review, PR review and Project review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from zerotechdebt/ffflow

  1. Onboards a project onto FFFlow: config, stack setup, then a phased roadmap

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Runs keep-honest audits on a project and reports drift, stale docs and tech debt

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Runs another interactive skill unattended, making routine choices from project context

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Lists and validates the adapter cartridges that FFFlow ports load in a project

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Extracts a behavioral spec from an unspecified codebase and plans characterization tests

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Adds GitHub Actions workflows that run FFFlow quality gates on pull requests

    • Open source
    • 6 GitHub stars
    • Developer tools