- 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 Agents 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.
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.
Cannot execute live code or access external CI logs. Analysis is limited to provided diffs and local repository context.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
- Software
Git
Permissions
No special permissions declared or detected