- Home
- Skills
- Code Quality & Review
- MergeShield
MergeShield
A systematic pre-merge audit gate for Git diffs that flags security risks, migration locks, and test gaps.
$5
Works with the AI tools you already use
MergeShield
Example session with this skill installed
Review the diff between main and feature/auth-update. Focus on security and migration risks.
- Read your context and instructions
- Compiled the mergeshield
I have audited the diff between main and feature/auth-update. The review identified a critical blocking issue regarding database migration locks and a warning on input validation.
Quality Gate
| Gate | Status | Evidence / Action |
|---|---|---|
| Scope | PASS | Changes are limited to auth-service and migrations/. |
| Correctness | WARN | Token expiration logic uses local system time; may cause drift issues. |
| Security | PASS | Argon2id implementation follows current best practices. |
| Tests | WARN | No unit tests found for the new PasswordValidator class. |
| Migrations | BLOCKED | add_column on users table lacks a default value, risking a long table lock. |
| Compatibility | PASS | Backwards compatible with existing mobile client API versions. |
| Documentation | PASS | README updated with new environment variables. |
Required Before Merge
- Update migration
20231024_add_role.sqlto include a default value or perform the update in batches to avoid locking theuserstable. - Add unit tests for
PasswordValidator.tscovering edge cases for special characters.
Nice to Have
- Refactor
SessionManager.tsto use a centralized NTP-synced time provider instead ofnew Date().
Next steps
- Apply the migration fix to prevent production downtime.
- Generate test stubs for the missing validator coverage.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Manual code reviews are slow, inconsistent, and often miss critical architectural risks. This skill acts as a pre-merge audit gate to catch breaking changes and security vulnerabilities before they reach production.
What it does
- Scope Verification identifies unexpected file changes or scope creep within the diff.
- Risk Assessment flags breaking API changes, concurrency issues, and migration risks.
- Security Auditing checks for input validation gaps, sensitive data exposure, and authz flaws.
- Test Gap Analysis verifies if new logic is covered by unit or integration tests.
- Readiness Reporting generates a structured status table for every pull request.
How it works
- Provide a Git diff, pull request description, or a branch name to be compared.
- The skill inspects the code changes, configuration updates, and database migrations.
- It evaluates the changes against security, performance, and documentation standards.
- You receive a structured "Quality Gate" report with clear PASS/WARN/BLOCKED statuses.
Frameworks & tools
Works with any language or framework visible via git diff. Optimized for teams using GitHub, GitLab, or Bitbucket workflows.
Why this beats prompting it yourself
Generic prompts often miss subtle infrastructure risks like database migration locks or thread-safety issues. This skill uses a systematic multi-step procedure to ensure no category—from authz to documentation—is skipped during the audit.
Use cases
- Audit complex refactors for unintended side effects.
- Verify security posture on PRs touching authentication logic.
- Ensure database migrations follow safe deployment patterns.
- Standardize code review quality across a distributed engineering team.
Known limitations
Does not execute code or run live CI pipelines. It cannot verify external API behavior not present in the diff.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 8 days ago
- Passed all security checks, Safe to install