Pre-Merge Verification

Guide pre-merge verification with checks for linting, tests, and CI/CD status.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/MacPhobos/research-mind --skill pre-merge-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pre-Merge Verification
Source: https://github.com/MacPhobos/research-mind/tree/main/.claude/skills/universal-verification-pre-merge
Command: npx skills add https://github.com/MacPhobos/research-mind --skill pre-merge-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a comprehensive checklist and guidance to systematically verify code quality, security, and functionality before merging changes into a production branch, preventing bugs and regressions.

Core Features & Use Cases

  • Pre-Commit Checks: Ensures code is linted, type-checked, and tests pass locally before committing.
  • Pre-PR Checks: Guides users to include necessary information in pull requests, such as changeset details, ticket references, screenshots, and security considerations.
  • Pre-Merge Checks: Verifies CI/CD pipeline status, code review approvals, and functional correctness before final merge.
  • Use Case: A developer is about to merge a new feature. They run this skill to ensure all tests pass, the PR description is complete with screenshots and ticket links, and the CI checks are green, guaranteeing a smooth integration.

Quick Start

Run the pre-merge verification checklist to ensure all code is ready for merging.

Frequently Asked Questions about Pre-Merge Verification

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

FAQPage Schema
What is a pre-merge verification checklist for code review?

Pre-merge verification is a multi-stage process ensuring code quality, security, and functionality before merging changes. It systematically checks linting, type safety, testing, and CI/CD pipeline status to prevent regression defects.

How do I verify CI/CD pipeline status and tests before merging a pull request?

To verify CI/CD pipeline status before merging, run through a pre-merge checklist confirming all functional tests pass, code review approvals are obtained, and CI checks are green. This guarantees smooth integration into production.

What checks should I run before committing code to prevent bugs in production?

Before committing code, perform pre-commit checks to ensure your code is properly linted, type-checked, and all local tests pass. This foundational verification reduces the risk of introducing defects early in the git workflow.

What information should a pre-pull request check include for software development?

A pre-pull request check should include changeset details, ticket references, relevant screenshots, and security considerations. Providing this context in your PR ensures comprehensive code review and maintains quality assurance standards.

Can I use pre-merge verification for any git workflow or CI/CD pipeline?

Yes, pre-merge verification applies to any git workflow utilizing CI/CD pipelines. It functions as a comprehensive guide for checking pipeline status, security reviews, and documentation updates regardless of your specific development environment.

Why does my pre-merge verification process fail to catch regressions in production?

Pre-merge verification fails when stages are skipped. To catch regressions, you must execute all multi-stage checks including linting, type checking, testing, and security reviews before final merge, ensuring complete functional correctness.