review-security
Skill0 starsChanged 10 days agoMITView on GitHub
Security review of the branch's diff against this repo's threat model, standards and rules, before a PR or after each phase (AGENTS.md rule 10). Use when asked for a security review, or when the build reaches its review step. Reports findings; never edits code.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- collectiveai-team/boticatheir own version, first seen Nov 29, 2026
- chrisallenlane/claude-swe-workflowstheir own version, first seen Nov 29, 2026
- cbeeswax/code-review-skilltheir own version, first seen Nov 29, 2026
- gtrabanco/agentic-workflowtheir own version, first seen Nov 26, 2026
- The-Urcydo/Agents-Skills-Roles-Orientedtheir own version, first seen Nov 22, 2026
- anhnguyen0905/codex-mcptheir own version, first seen Nov 22, 2026
Used with
Projects with it also use review-perf, review-bugbot and 9 more.
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.
nielsmadanSkillreview-perf
Performance analysis for algorithmic complexity, memory leaks, N+1 queries, and render issues. Use when code feels slow, after adding loops/queries, or before scaling up.
Also in 5 projects that use this
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 4 projects that use this
MrCipherSmithSkillreview-performance
Use when a performance review is requested, checking for N+1 queries, unnecessary re-renders, memory leaks, missing indexes, large bundle imports, and synchronous blocking in changed code. NOT for security, logic correctness, style, or architecture.
Also in 5 projects that use this
Tsumugii24Skillsplit-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
Also in 5 projects that use this
32103210Skillcreate-rule
Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Also in 7 projects that use this
0mlkrizzz655335vSkillrename-chat
重命名当前聊天。按聊天内容改标题。"disable-model-invocation: true
Also in 3 projects that use this
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- pydantic/monty★ 9.2ksame name
- OpenAEV-Platform/openaev★ 1.9ksame name
- gtrabanco/agentic-workflow★ 25same name
- chrisallenlane/claude-swe-workflows★ 21same name
- Phelan164/codex-howto★ 15same name
- collectiveai-team/botica★ 10same name
- amirbena/code-review-skill★ 9same name
- borkweb/skills★ 9same name
- kauffj/agent-config★ 8same name
- mgiovani/ai-arsenal★ 8same name
20 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- deploySkill
- new-projectSkill
- pull-requestSkill
- review-designSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Access: every new endpoint checks authorisation on the server and denies by default (standards 10).
- Distinctive: line 30
Secrets and data: no secret, key or token in code, Terraform, logs, error messages, URLs or test data.
- Distinctive: line 36
Scope: every changed file is in the plan's Files that change.
- Distinctive: line 40
Start with the depth you used and why.
“Common” is measured: kept by at least 6 in 10 of the 28 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
Security review
Review what this branch changes, against the repo's own standards. You report; the agent that wrote the code fixes as the pull-request skill 1 says, then runs this review again until nothing critical or high is left. Run in a fresh context, not the author's.
Scope
- The diff:
git diff origin/main...HEAD, plus any uncommitted changes. Read each changed file around the change, not just the hunk. - The standards, read first:
docs/threat-model.md(its risks and controls),docs/standards.md6 to 10 and 17 to 20,docs/spec.md's Rules, and AGENTS.md rules 14, 16 and 17.<!-- if:production --> - The standards, read first:
docs/standards.md6 to 10 and 17 to 20,docs/spec.md's Rules, and AGENTS.md rules 14, 16 and 17. A prototype has no threat model: judge the risks from the change itself.<!-- if:!production --> - The plan, if there is one (
docs/plan-<name>.md): its Security risks section is what the change promised to control. - The depth, by blast radius: the plan's Review level, or the highest that fits the diff.
- High: auth, money, personal data, IAM, a public endpoint or a new outside service. Every check, every caller of the changed code, and each abuse case in the threat model traced through the code.
- Medium: a new endpoint, data store, package or model call, or other app logic. Every check.
- Low: docs, copy, styles, tests or a refactor that changes no behaviour. Checks 4, 6 and 10.
Check
A prototype with only the starter threat model and no plan skips 1 and 10, and the production-only parts of the standards.
- Threat model: each risk the change touches still has its control, and a new route, data store, outside service or model call has a risk row. A missing row is a finding.
- Access: every new endpoint checks authorisation on the server and denies by default (standards 10); nothing is open because only our code calls it.
- Input and output: input validated against a schema at the boundary, unknown fields rejected (9); each state-changing action emits an audit event (8); model output and uploads treated as untrusted and validated (18); limits and payments enforced in code, not a prompt (17).
- Secrets and data: no secret, key or token in code, Terraform, logs, error messages, URLs or test data; no real personal or financial data in a public repo (rule 17); logs redact at the source (8).
- Failure: security and payment checks fail closed (7); no swallowed error: a
catchorexceptthat ignores it, only logs it, or returns a default hides a failure unless it says why; model calls have an explicit model ID, timeout, token limit and retry cap (19). - Supply chain: each new package is real, maintained, pinned and at least 7 days old (rule 16); new actions pinned by SHA, images by digest; no workflow checks out a PR's code under
pull_request_target, or restores a dependency cache in a job withid-token: write. - Infrastructure: IAM roles carry the project boundary, no wildcards beyond what the profile allows (AGENTS.md rule 4), nothing public that the spec doesn't make public.
- Tests: each risk the change touches has a test; production adds the abuse cases in the threat model (standards 11). Each test proves something: it asserts the result, would fail if the code broke, and doesn't mock the code under test; an empty, skipped or always-passing test is a finding.
- Lessons: the area's entries in
docs/lessons.mdaren't repeated. - Scope: every changed file is in the plan's Files that change; anything else is a finding.
Report
Start with the depth you used and why. Then a list, most severe first; "No findings" if clean; at most five low findings, the ones most worth fixing. Each finding:
- Severity: critical (exploitable now, or a secret exposed), high (a missing control on a real risk), medium (a weak control or missing test), low (hardening).
- Where:
path:line. - What and why: one line, citing the rule, standard or threat-model ID it breaks.
- Fix: one line, at the cause.
End with the threat-model rows to add or change, if any, and anything you couldn't check and why.
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.

