Security Review
CI security lane for a GitHub PR: logic, trust-boundary, and Actions security findings static analysis misses. If built-in security-review resolves in this…
от melodic-software★ 34 звезды на GitHub
Установить Security Review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
CI security review (/review:security-review)
Org-owned security review logic for the claude-security-review reusable
workflow. We treat built-in /security-review as unusable in CI. Pointer: when judging whether it
can run under a CI checkout, fetch
errors: /security-review fails without origin/HEAD
live. Recheck trigger: that entry stops naming CI checkouts, the command gains
a diff base a CI checkout provides, or the command gains a way to post to a PR. This org-authored skill is
the CI path. The lane wrapper supplies REPO /
PR NUMBER / HEAD SHA and installs the inline-comment MCP server via
claude_args; this skill owns what to hunt for.
Boundary, the native security-review command
One native Claude Code surface shares this lane's name, and the two get conflated on any open pull request:
security-review(native command): a developer runs it in their session for a single security pass over the current branch, with no PR target this lane could hand it. Pointer: the first row of reference/bundled-security-review.md carries that record. It cannot run under the Actions checkout (the opening paragraph carries that record).- This skill (marketplace plugin). The security logic the
claude-security-reviewreusable workflow runs in CI. The wrapper supplies the target and owns posting; this skill owns what to hunt for.
Routing. This skill runs in two modes: the CI lane, where the reusable workflow invokes it,
and seat-run mode, where the pull-request skill's ready step or the operator invokes it directly
(the section below). In a session, when the native command resolves, prefer it for an ad-hoc
pass before a pull request exists; the run a repository's mandatory-skill map asks for by name
is this skill, not that command, because the two stamp different names into the skill-usage
ledger a map reads. A deep multi-agent scan or repository monitoring is neither surface: those
are the Claude Security plugin and product (claude-security; Related names two of its jobs).
Mutation gate. In the CI lane this skill posts only through its wrapper's mechanics; in seat-run mode it posts nothing at all. It edits nothing in either mode, so never invoke the native command on this lane's behalf.
Availability is never assumed. Native surfaces are gated by their backing plugin, settings, environment, and host; this section states what to do when one resolves, never that it is present. The four-part records live in reference/bundled-security-review.md.
Seat-run mode
The same criteria run outside CI, on the operator's own session: invoked by the pull-request skill's ready step, or by hand against an open pull request. No wrapper supplies the inputs there, so read them:
gh pr view <n> --json number,headRefOidfor the number and the head SHA. REST serves both, so no checkout with history is needed.gh pr diff <n>for the diff, orgh api repos/{owner}/{repo}/pulls/<n>/files --paginatewhen per-file entries are wanted instead of one patch.
Return the findings in the conversation, in the same severity vocabulary (CRITICAL / IMPORTANT / SUGGESTION) and against the same high-signal bar. Post nothing to GitHub: no review, no comment, no label. The inline-comment MCP server is a wrapper grant the CI lane alone gets, so it is not used here; on the seat the transcript is the report.
Related
- Correctness and maintainability PR review lane: /review:code-review.
- Codify uncovered rules from review summary: /corrections:codify.
- Local single-lens security review: /review:quality-gate.
- Reduce what an attacker can reach, or audit pre-auth reachability: /claude-security:attack-surface-analysis (if enabled); validate another scanner's SARIF findings: /claude-security:claude-security (if enabled).
Gotchas
- This skill's frontmatter does not install the inline-comment MCP server; the action's
claude_argsdoes. Rely on the wrapper grant. Pointer: the keys skill frontmatter accepts are read at skills: frontmatter reference. - The frontmatter's
ghgrants serve seat-run mode and a wrapper that runs with Bash. A lane that runs without Bash cannot use them: there the files the wrapper names ("Inputs" below) are the only source of the diff, and skip-gate items 1 and 3 are the wrapper's job gate and scope step, not yours. - Report security issues only. No style, naming, test-coverage, or general
code-quality commentary (that is
/review:code-review).
Inputs
In the CI lane the wrapper names its files on prompt lines; take each path from its line.
- Diff. The file on the line that starts
FULL DIFF:holds the whole pull request's diff. When a `REVIEW SC
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(gh pr diff:*) - 02
Bash(gh pr view:*) - 03
Bash(gh pr comment:*) - 04
Bash(gh pr review:*) - 05
Read - 06
Glob - 07
Grep
Вложенные файлы
- evals/evals.json
- reference/bundled-security-review.md
FAQ
Что делает скилл Security Review?
CI security lane for a GitHub PR: logic, trust-boundary, and Actions security findings static analysis misses. If built-in security-review resolves in this session, prefer it for a branch pass. Use when: 'CI security review', 'claude-security-review lane', '/review:security-review', or a workflow invokes the org command.
Как установить скилл Security Review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Security Review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…