review-gate
Skill2 starsChanged 2 months agoMITView on GitHub
Run an independent semantic review gate before merging non-trivial work, alongside CI and any configured automated code review tool.
20 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- jame-hv/brse-toolkittheir own version, first seen Nov 8, 2026
- XuHo-IT/Content-Agent-Kittheir own version, first seen Nov 8, 2026
- DonaldMurillo/gofastrtheir own version, first seen Nov 8, 2026
- weedmo/skillstheir own version, first seen Nov 8, 2026
- s977043/PlanGatetheir own version, first seen Nov 2, 2026
- 0xUrsanomics/utopia-ostheir own version, first seen Nov 1, 2026
Used with
Projects with it also use security-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 4 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- wakqasahmed/skills★ 279% same
Wrote their own version · 19
- KerberosClaw/kc_ai_skills★ 79same name
- vanillagreencom/kendex★ 76same name
- DonaldMurillo/gofastr★ 24same name
- usk6666/yorishiro-proxy★ 19same name
- s977043/PlanGate★ 3same name
- toverux/cantrips★ 3same name
- XuHo-IT/Content-Agent-Kit★ 3same name
- 0xUrsanomics/utopia-os★ 2same name
- 17-sss/agent-skills★ 2same name
- Adnova-Group/muster★ 2same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-agent-pr-metadataSkill
- changesets-releaseSkill
- clarify-workSkill
- decompose-to-issuesSkill
- define-doneSkill
- design-composition-checkSkill
- diagnoseSkill
- docker-db-guardrailsSkill
- docker-volume-guardrailsSkill
- external-campaign-triageSkill
- external-pr-styleSkill
- external-pr-viabilitySkill
- git-guardrails-claude-codeSkill
- git-identity-guardSkill
- hitl-blockerSkill
- open-code-review-setupSkill
- release-gateSkill
- resolving-merge-conflictsSkill
- subagent-pipelineSkill
- tmux-orphaned-socketSkill
- to-prdSkill
- vps-cleanupSkill
- wizardSkill
- workflow-routerSkill
- write-prompt-guideSkill
- writing-for-agentsSkill
- cavemanSkill
- handoverSkill
- roastSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this after implementation and before merge.
- Very specific: line 21
Check business logic and edge cases, regressions and compatibility, security and authorization, API/database/queue/integration contracts, …
- Distinctive: line 33
Rule: Never cross-rerank findings across the two axes.
- Distinctive: line 37
Use these 12 smells as semantic heuristics during review.
- Distinctive: line 61
Medium Risk: Check for obvious algorithmic regressions (e.g.
- Distinctive: line 62
High Risk: Check concurrency limits, network timeouts and retries on external calls, queue payload sizes, lock contention/slow migrations, …
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Gate
Use this after implementation and before merge.
Division of Labor
- Mechanical checks — owned by automated review (e.g. Alibaba Code Review) and CI: linting, formatting, conventional style, and straightforward static-analysis findings. When automated review tools like Alibaba Code Review are configured, their output is recorded via
ai-agent-pr-metadata. - Semantic review — owned by this gate: requirements compliance, correctness, regressions, security/authorization, contract/integration risk, and acceptance-test adequacy — everything mechanical tooling can't judge.
Workflow
- Confirm linked issue and acceptance criteria.
- Confirm verification commands and results.
- Read Alibaba Code Review's findings and the GitHub CI/check results on the PR before starting the independent review — don't re-derive what's already there. If no automated code review tool is configured on the repository, rely on CI check results and proceed directly with independent semantic review.
- Review spec compliance before code style.
- Check business logic and edge cases, regressions and compatibility, security and authorization, API/database/queue/integration contracts, and test adequacy including missing acceptance tests (see canonical reviewer scope checklist, which already covers backwards-compatibility explicitly).
- Revisit an Alibaba Code Review or CI finding only when it indicates an unresolved correctness, security, data-loss, configuration, or acceptance-criteria issue — not to relitigate style or formatting.
- Post concrete findings or explicitly state no blocking issues. Do not repeat resolved lint, formatting, conventional-style, or straightforward static-analysis findings already covered by CI or automated review.
- Apply review findings before merge.
Two-Axis Review Structure
Review along two independent axes and report findings under separate headers:
- Spec Compliance Axis: Does the diff satisfy every acceptance criterion and expected behavior without scope creep or missed edge cases?
- Standards & Code Quality Axis: Does the code adhere to this repository's conventions, architecture patterns, and semantic quality standards?
Rule: Never cross-rerank findings across the two axes. A change can cleanly follow conventions yet fail the spec, or satisfy the spec while violating architectural standards. Evaluate both independently.
Semantic Smell Baseline (12 Fowler Smells)
Use these 12 smells as semantic heuristics during review. Documented repository standards always override these heuristics, and mechanical checks owned by CI/OCR must be skipped:
- Mysterious Name: Unclear variable, function, or class name → rename to reflect intent and domain concepts.
- Duplicated Code: Identical or near-identical logic in multiple places → extract helper or shared abstraction.
- Feature Envy: Function queries another object's data more than its own → move behavior closer to data.
- Data Clumps: Same group of primitives repeatedly passed together → group into a value object or struct.
- Primitive Obsession: Raw strings/ints used for rich domain concepts → encapsulate in small value objects.
- Repeated Switches: Same
switchormatchon type codes scattered across files → use polymorphism or strategy pattern. - Shotgun Surgery: One change forces many small edits across multiple files → consolidate related responsibilities.
- Divergent Change: One class changes for multiple unrelated reasons → split into cohesive classes with single responsibilities.
- Speculative Generality: Hooks, parameters, or abstractions built for hypothetical future needs → delete unused generic machinery.
- Message Chains: Client navigates long chains (
a.b().c().d()) → hide delegation or extract query. - Middle Man: Class merely delegates without adding value → remove delegate and call target directly.
- Refused Bequest: Subclass rejects inherited methods/data → replace inheritance with composition.
Reviewer Contract
The reviewer should read the issue, acceptance criteria, automated review output (if present), CI results, and the PR diff first. Pull more context only when needed.
Proportional Performance & Reliability Checks
Scale the depth of performance review to the PR's Risk Level (do not prematurely optimize; do not ignore an obvious regression):
- Low Risk: Skip dedicated performance checks unless the diff introduces an obvious infinite loop or severe memory leak.
- Medium Risk: Check for obvious algorithmic regressions (e.g. $O(N^2)$ loops where $O(N)$ was standard), N+1 queries in modified routes/queries, missing caching where an existing project pattern supplies it, and resource cleanup.
- High Risk: Check concurrency limits, network timeouts and retries on external calls, queue payload sizes, lock contention/slow migrations, and deterministic failure-path resource cleanup.
Merge Rule
CI remains a hard merge gate; this review does not replace it and is not the place to rerun or restate lint/static-analysis automation. Do not merge non-trivial work without a review record. If an automated or subagent reviewer stalls, post a manual expert review that states residual risk.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

