← ClaudeAtlas

self-reviewlisted

Run a structured pre-flight self-review on local changes before opening a PR. Reads the diff against a configurable base (default: the merge base of HEAD and the upstream default branch), checks correctness, security, and project conventions, and returns a structured report to the developer. No state changes, no PR, no external writes — the report is the output.
apache/magpie · ★ 151 · Code & Development · score 88
Install: claude install-skill apache/magpie
<!-- SPDX-License-Identifier: Apache-2.0 https://www.apache.org/licenses/LICENSE-2.0 --> <!-- Placeholder convention (see ../../AGENTS.md#placeholder-convention-used-in-skill-files): <upstream> → adopter's public source repo (owner/name form) <default-branch> → upstream's default branch (main / master) <project-config> → adopter's project-config directory Substitute these with concrete values from the adopting project's <project-config>/ before running any command below. --> # pairing-self-review <!-- BEGIN MAGPIE PREFLIGHT — generated from tools/dev/preflight-block.md --> ## Pre-flight — is this project set up? Do this **first, before anything else in this skill**, and do it silently. One command answers it and carries its own rules; there is nothing else to read. Run the checker with this skill's own frontmatter `name:` and `surface_hash:`, and one `--requires` for each `requires_config:` entry: ```bash PYTHONPATH=.apache-magpie-local python3 -m setup_preflight \ --skill <name> --hash <surface_hash> [--requires <file>]... ``` - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user asked for and say nothing about pre-flight. This is the ordinary answer. - **`{"verdict": "action", ...}`** → each finding names a section, and `rules` carries that section's text. Follow it. The `facts` are the inputs; what to propose, and what may not be done, are in the rules rather than here. **Act on a finding only th