magpie-pairing-self-review

Reviews staged git changes for logic errors, security vulnerabilities, and convention violations.

79|76|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/apache/magpie --skill magpie-pairing-self-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magpie-pairing-self-review
Source: https://github.com/apache/magpie/tree/main/skills/pairing-self-review
Command: npx skills add https://github.com/apache/magpie --skill magpie-pairing-self-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The magpie-pairing-self-review Skill provides developers with a pre-flight self-review for local changes, identifying correctness, security, and project convention issues before opening a PR.

Core Features & Use Cases

  • Pre-flight Self-review: Review local code changes against configurable baselines, ensuring compliance with project standards and security guidelines.
  • Correctness Checks: Detects logic errors, missing error handling, and test coverage gaps.
  • Security Checks: Identifies potential security vulnerabilities like injection risks and credential leaks.
  • Conventions Validation: Ensures adherence to project style guides and formatting conventions.
  • Use Case: Before submitting a pull request, a developer can use this skill to ensure their code is ready and free from common issues.

Quick Start

Run pairing-self-review to automatically review the current set of staged changes against the configured base reference.

Frequently Asked Questions about magpie-pairing-self-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a self-review on local git changes before opening a pull request?

To perform a self-review on local git changes, run `pairing-self-review` to automatically evaluate staged changes against configured baselines for correctness, security, and project conventions before submission.

What does automated pre-flight code review check for in a local repository?

Automated pre-flight code review identifies logic errors, missing error handling, test coverage gaps, security vulnerabilities like injection risks, credential leaks, and project convention violations within local git repositories.

Can I check my staged git changes for security vulnerabilities locally?

Yes, you can check staged git changes locally for security vulnerabilities. The self-review process identifies potential injection risks and credential leaks directly within your local git repository environment.

Do I need external dependencies to validate project conventions against local git changes?

No external dependencies are needed to validate project conventions. The self-review operates entirely within the local git repository, requiring no external setup to check formatting and style guide adherence.

When should I use a pre-flight self-review for code quality checks?

Use a pre-flight self-review for code quality checks before submitting a pull request. This ensures your local changes are free from logic errors and security vulnerabilities, maintaining code quality standards.

Does the self-review process validate test coverage gaps in local git repositories?

Yes, the self-review process validates test coverage gaps in local git repositories. It automatically detects missing error handling and coverage issues as part of its correctness checks during the review.