Review:pre Merge
Testing & Qualityreview:pre-mergeReview:pre Merge is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Pre-merge review focusing on correctness, testing, security, refactor safety, and maintainability. Spawns the senior-review-specialist agent for thorough pre-merge analysis.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/review-pre-merge/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/review-pre-merge, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Pre-Merge Code Review
Run a pre-merge review using 5 critical checklists via the senior-review-specialist agent.
Instructions
Spawn the senior-review-specialist agent to perform this review.
Checklists to Apply
Load and apply these review checklists:
commands/review/correctness.md- Logic flaws, broken invariants, edge-case failurescommands/review/testing.md- Test quality, coverage, reliabilitycommands/review/security.md- Vulnerabilities, insecure defaults, missing controlscommands/review/refactor-safety.md- Semantic drift, behavior equivalencecommands/review/maintainability.md- Readability, change amplification
Agent Instructions
The agent should:
- Get working tree changes: Run
git diffto see all changes - For each changed file:
- Read the full file content
- Go through each diff hunk
- Apply the 5 checklists to the changes
- Pay special attention to behavior-changing code
- Cross-reference related files: Follow imports, check callers
- Verify test coverage: Ensure changes are properly tested
- Find ALL issues: This is the last line of defense before merge
Output Format
Generate a pre-merge review report with:
- Critical Issues: Blocking problems (must fix before merge)
- Warnings: Should strongly consider addressing
- Suggestions: Post-merge improvements
- Test Coverage: Assessment of test coverage for changes
- File Summary: Issues per file with counts by severity
- Overall Assessment: Merge/Don't Merge recommendation with clear rationale