pre-merge

Automate pre-merge checks for linting, testing, documentation, security, and CI/CD status.

68|19|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill pre-merge-bobmatnyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-merge
Source: https://github.com/bobmatnyc/claude-mpm-skills/tree/main/universal/verification/pre-merge
Command: npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill pre-merge-bobmatnyc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive checklist and automated checks to ensure code quality, correctness, and completeness before merging changes into a production branch, preventing bugs and regressions.

Core Features & Use Cases

  • Pre-Commit Checks: Verifies type checking, linting, and local tests pass before committing.
  • Pre-PR Checks: Ensures PR descriptions are complete, includes necessary information like screenshots and ticket references, and covers security and database changes.
  • Pre-Merge Checks: Confirms CI/CD pipeline success, code review approval, and functional verification before final merge.
  • Use Case: Before submitting a pull request for a new feature, you can use this skill to systematically go through all the necessary checks, ensuring that your code is well-tested, documented, and adheres to project standards, thereby streamlining the review process.

Quick Start

Run the pre-merge verification process to ensure all checks pass before submitting your code.

Frequently Asked Questions about pre-merge

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

FAQPage Schema
How do I automate code quality checks before merging to production?

Automating pre-merge code quality checks involves running multi-stage verification for linting, testing, and CI/CD status before integrating changes. This process systematically validates type checking, security, and documentation to prevent regressions in the production branch.

What is included in a pre-pull request verification workflow?

A pre-pull request verification workflow ensures PR descriptions are complete with necessary screenshots and ticket references. It also covers security checks and database changes to ensure code correctness and completeness before submission.

How do I run pre-commit checks for linting and local tests?

Running pre-commit checks for linting and local tests verifies type checking and code formatting before committing changes. This automated step ensures local tests pass, maintaining baseline code quality prior to creating a pull request.

Does this pre-merge verification process work with my existing CI/CD pipeline?

Yes, the pre-merge verification process specifically confirms CI/CD pipeline success as part of its final checks. It integrates with existing software development workflows to validate continuous integration status before the final merge.

What is the best way to ensure code review approval and functional validation before a merge?

The best way to ensure code review approval and functional validation is using a structured pre-merge checklist. This confirms CI/CD success, reviewer approval, and functional verification, streamlining integration and preventing bugs.

Why do I need a multi-stage verification process for git workflow integration?

A multi-stage verification process for git workflow integration is needed to enforce rigorous quality assurance across pre-commit, pre-pull request, and pre-merge stages. This prevents bugs and regressions by systematically checking code correctness before production.