Works with the AI Agents you already use
CADENCE Adversarial Pre-PR Review Gate
Three-lens pre-PR review combining contract review, a zero-spec Cold Breaker that runs disposable /tmp fault-injection probes across 7 break vectors, and a security/concurrency audit.
$9
CADENCE Adversarial Pre-PR Review Gate
Example session with this skill installed
Audit my feature branch impl/webhook-retries against main before opening a PR.
- Read your context and instructions
- Compiled the cadence adversarial pre-pr
Adversarial Pre-PR Review Gate: impl/webhook-retries
- Overall Verdict: REQUEST_CHANGES
- Lenses: Cold Breaker = BROKEN (1 P2) | Reviewer = Request Changes (1 blocking) | Security Auditor = BLOCKING_ISSUES (1 blocking)
- Probes Executed: 4 disposable /tmp probes run and cleaned up
Blocking Issues
- [P2] src/webhooks/dispatcher.ts:118 (Position 1 + 4, CP-12) -- Post-commit timeout triggers duplicate dispatch on next poller tick
- Reproduction: /tmp probe simulated 200 commit followed by socket reset; retry worker re-dispatched identical event because attempt_id is persisted only after response returns.
- Required Fix: Persist durable pending claim before outbound HTTP call and reconcile in both dispatcher.ts:118 and sibling manualResend.ts:64.
Adversarial Lens Anomaly Disposition
| Anomaly | Location | Disposition | Basis |
|---|---|---|---|
| Unclaimed external dispatch on timeout | src/webhooks/dispatcher.ts:118 | BLOCKING | Reproduced in /tmp probe; no durable pre-call claim |
Connects securely to your tools. The creator never sees your data.
About this skill
Standard AI code reviewers read the PR summary, skim the diff, see green unit tests, and rubber-stamp code that still leaks secrets in inner loggers, duplicates side effects after network timeouts, or breaks sibling callers behind mocked collaborators.
What it does
CADENCE Adversarial Pre-PR Review Gate audits your branch or diff through three distinct, fail-closed lenses before you open or merge a pull request:
- Lens 1: Zero-Spec Cold Breaker (Runs First to Prevent Anchoring)
- Intentionally refuses to read
spec.md, design docs, or PR summaries so it cannot inherit author assumptions. - Creates a disposable scratch directory (
mktemp -d /tmp/cadence-breaker-XXXXXX), writes and executes 3 to 6 targeted fault-injection probes against real code across 7 Mandatory Break Vectors (async cancellation and lock races, 4xx/5xx exception hierarchy conflation, stateful upgrade/rollback drift, input grammar/lexer/quota math, un-mocking stubbed collaborators, whole-lifecycle sweeps, andCP-12/CP-13/CP-14post-commit ambiguity, TTL eviction, and caller reset), then cleans up/tmp. - Reports only empirically proven
[P1]/[P2]breaks orCLEAN.
- Intentionally refuses to read
- Lens 2: Contract & Adversarial Code Reviewer
- Independently executes your test suite and scans test diffs for tautologies (
MOCK_ONLY_ASSERTION,SELF_MOCKED_SUT). - Runs a 7-row Verify-the-Claim matrix against authoritative sources (real configs, sibling writers, un-mocked collaborators) and walks 4 structural positions: inside the diff, upstream callees, downstream callers, and untouched siblings.
- Enforces the Anti-Downgrade Clause (bans downgrading real bugs or races to
[nit]/[observation]or waving them away with eventual-consistency excuses).
- Independently executes your test suite and scans test diffs for tautologies (
- Lens 3: Security & Concurrency Auditor
- Audits AuthN/AuthZ and tenant isolation, inner-logger secret/PII sanitization, injection/path traversal/SSRF, TOCTOU/post-lock re-validation/deadlocks, and fail-open fallbacks.
Fail-Closed Ship Verdict
If any active lens reports a blocking issue, proven break, or security/concurrency flaw, the overall verdict is forced to REQUEST_CHANGES with exact file:line coordinates, reproduction mechanics, and minimal fixes.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Strictly read-only on your repository: reports exact file:line fixes without editing your project files. Fault-injection probes requiring live cloud hardware or inaccessible external services fall back to exact un-mocked source-line proof. Does not replace dedicated SAST/DAST scanners in CI.
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 1 day ago
- Software
Git
Requires Git to inspect branch diffs and shell/terminal access to run existing tests and disposable /tmp breaker probes.
Permissions
File Scopes
Strictly read-only on your repository. Runs git diff, your local test suite, and disposable fault-injection harnesses inside mktemp -d /tmp/cadence-breaker-* (deleted before returning). Zero network calls or environment variable harvesting.