magpie-pre-first-pr-check

Check local branches against contribution guidelines before opening a pull request.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates a pre-flight checklist for new contributors to ensure they follow the necessary guidelines before opening a pull request, streamlining the process and reducing manual reviews.

Core Features & Use Cases

  • Contribution Mechanics: Checks for proper file headers, commit message shapes, AI attribution, and placeholder hygiene.
  • Checklist Generation: Generates a structured checklist report based on the local branch's git state.
  • Use Case: A first-time contributor can use this Skill to ensure their branch is ready before opening a PR, avoiding common mistakes that can delay review.

Quick Start

Run pre-first-pr-check to perform a pre-flight checklist on your local branch before opening a PR.

Frequently Asked Questions about magpie-pre-first-pr-check

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

FAQPage Schema
How do I automate pre-commit checks for new contributor pull requests?

Automating pre-commit checks for new contributor pull requests is done by running a pre-flight checklist that validates file headers, commit message shapes, and placeholder hygiene against contribution guidelines without modifying code.

What is a pre-first PR checklist and how does it work?

A pre-first PR checklist is an automated pre-flight validation that scans your local git branch to generate a structured compliance report, ensuring new contributions meet project setup guidelines before opening a pull request.

How do I check my local branch against contribution guidelines before opening a PR?

To check your local branch against contribution guidelines before opening a PR, run the pre-first-pr-check command to mechanically validate branch consistency, AI attribution, and file headers.

Does the pre-flight checklist modify my code during the PR compliance check?

The pre-flight checklist does not modify your code during the PR compliance check, as it focuses entirely on mechanically validating the local branch state against predefined contribution guidelines.

What common mistakes does an automated PR checklist prevent for first-time contributors?

An automated PR checklist prevents first-time contributors from making common mistakes like improper commit message shapes, missing file headers, and poor placeholder hygiene, streamlining manual reviews.