review-preflight — automated code review tools review-preflight, personal-mcp-core, community, automated code review tools, ide skills, Codex CLI integration, review-preflight install, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Code Review Agents needing automated pre-review safety checks for lint, tests, and PR diff context. review-preflight is a canonical execution contract for running automated code reviews with Codex CLI, ensuring a consistent and efficient review process.

Features

Runs a minimal pre-review safety pass using Codex CLI
Checks lint, tests, PR diff context, and obvious risky changes
Supports optional PR number and base branch inputs
Provides a fixed order of checks for consistent results
Generates output that can be pasted into a PR comment

# Core Topics

wakadorimk2 wakadorimk2
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The review-preflight skill by wakadorimk2 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for automated code review tools, Codex CLI integration, review-preflight install.

Ideal Agent Persona

Perfect for Code Review Agents needing automated pre-review safety checks for lint, tests, and PR diff context.

Core Value

Empowers agents to run a minimal pre-review safety pass, checking lint, tests, and PR diff context, providing a consistent review process with tools like Codex CLI, and enabling them to identify obvious risky changes through a fixed order of checks.

Capabilities Granted for review-preflight

Automating code review preflight checks for PRs
Validating lint and test results before in-depth review
Identifying high-risk changes in PR diff context

! Prerequisites & Limits

  • Requires PR number and base branch as optional inputs
  • Default base branch set to 'cu' if not provided
  • Limited to running a fixed order of checks
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

review-preflight

Install review-preflight, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

review-preflight

This is the canonical execution contract for running the review preflight with Codex CLI. The human-facing intent lives in docs/skills/review-preflight.md.

Goal

Run a minimal pre-review safety pass before deeper review work starts. Check lint, tests, PR diff context, and obvious risky changes in a fixed order so the result can be pasted into a PR comment.

Inputs

  • PR number (optional)
  • Base branch (optional, default: current branch upstream or main)
  • Expected commands: ruff check ., pytest, gh pr diff <PR> when PR number is available

If the PR number is missing, skip gh pr diff and use local git diff against the chosen base branch. If the base branch is missing, prefer the current branch upstream; otherwise use main.

Procedure

Run the checks in this order.

  1. Run ruff check .
  2. Run pytest
  3. Collect diff context
    • If PR number is provided: run gh pr diff <PR>
    • Otherwise: inspect local git diff against the chosen base branch
  4. Summarize the diff in 2 to 5 lines
  5. Flag obvious risks
    • destructive file operations
    • wide-scope refactors outside the stated review target
    • dependency, CI, or release-impacting changes
    • missing tests for behavior changes

Output Format

Return Markdown with the sections below in this order.

Summary

  • Overall status: / ⚠️ /
  • One-line summary

Checks

  • ruff: / ⚠️ /
  • pytest: / ⚠️ /
  • diff: / ⚠️ /

Diff Summary

  • 2 to 5 short lines

Risks

  • None if no obvious risk was found
  • Otherwise list each risk in one line

Fix Candidates

  • Minimal, local fixes only
  • None if no fix is needed before review

Next Action

  • One line stating whether review can proceed

Constraints

  • Do not push
  • Do not use external web search or fetch arbitrary remote content
  • Do not perform destructive operations
  • Do not change files unless explicitly asked in the current task
  • Keep recommendations inside the current review scope

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is review-preflight?

Perfect for Code Review Agents needing automated pre-review safety checks for lint, tests, and PR diff context. review-preflight is a canonical execution contract for running automated code reviews with Codex CLI, ensuring a consistent and efficient review process.

How do I install review-preflight?

Run the command: npx killer-skills add wakadorimk2/personal-mcp-core/review-preflight. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for review-preflight?

Key use cases include: Automating code review preflight checks for PRs, Validating lint and test results before in-depth review, Identifying high-risk changes in PR diff context.

Which IDEs are compatible with review-preflight?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for review-preflight?

Requires PR number and base branch as optional inputs. Default base branch set to 'cu' if not provided. Limited to running a fixed order of checks.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add wakadorimk2/personal-mcp-core/review-preflight. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use review-preflight immediately in the current project.

Related Skills

Looking for an alternative to review-preflight or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI