af-pr-preparation

Prepare pull requests by verifying tests, linting, builds, and documentation updates.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-pr-preparation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-pr-preparation
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-pr-preparation
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-pr-preparation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that pull requests meet all necessary requirements for review, including passing automated checks, updating documentation, and adhering to formatting standards, preventing delays and ensuring code quality.

Core Features & Use Cases

  • Pre-submission Checks: Guides users through mandatory checks like tests, linting, and building.
  • Documentation Guidance: Points to essential documentation for PR rules, output requirements, and exit criteria.
  • Workflow Integration: Aligns with the broader delivery process, including handoff to CI/CD.
  • Use Case: Before submitting a feature branch for review, use this Skill to confirm all tests are passing, the README has been updated with new API details, and the branch naming convention is followed.

Quick Start

Use the af-pr-preparation skill to ensure all exit criteria are met before creating a pull request.

Frequently Asked Questions about af-pr-preparation

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

FAQPage Schema
How do I prepare a pull request for code review?

Preparing a pull request involves verifying passing tests, linting, building, and updating documentation to meet defined exit criteria. This ensures code quality and confirms merge readiness before submitting a feature branch for review.

What is the pull request preparation process in CI/CD?

The pull request preparation process in CI/CD validates code against defined exit criteria, including passing tests, linting, and building. It integrates with the delivery workflow to ensure branch readiness before review and handoff.

How do I check if my code meets PR exit criteria before merging?

You check if code meets PR exit criteria by running pre-submission checks that verify passing tests, successful builds, linting compliance, and required documentation updates. This confirms all mandatory review requirements are satisfied.

Do I need to update documentation before submitting a pull request?

Yes, you need to update documentation before submitting a pull request to satisfy exit criteria. Documentation guidance ensures essential updates like README changes for new API details are completed, preventing delays in the review process.

What is the best way to ensure code quality before a pull request?

The best way to ensure code quality before a pull request is to execute mandatory pre-submission checks, including tests, linting, and building. Verifying these automated checks and formatting standards prevents delays and ensures review readiness.

Why does my pull request fail merge readiness checks?

Your pull request fails merge readiness checks when mandatory exit criteria are unmet, such as failing tests, linting errors, build failures, or missing documentation updates. Completing these required checks ensures successful code review submission.