ci-review
The scan that the plugin's GitHub Action runs.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install claude-plugins-official-ci-reviewManual setup by platform
Claude Code
~/.claude/skills/claude-plugins-official-ci-review/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
- Signed
Instructions
GitHub Action scan
This door runs unattended in the GitHub Action's job: it scans a pull request's changes or, on any other event (a schedule, a manual run), the checked-out branch, and leaves the report for the job's later steps. Ask no questions at any point. Invoking this skill is the user's "Yes" to the scan's fixed start confirmation, so the scan recipe's step 3 is already answered; and where a recipe would ask, take its "I don't know" default and say what you chose. The scan's effort tier is the effort in the probe's file (step 1). A change_scan_effort of high there is the user's typed --change-scan-effort high.
Git here only reads, typed plainly from the repository root with no -C and nothing set in front of it: the job's environment already carries git's settings, and Claude Code may refuse any other spelling. So wherever a text spells GIT with variables in front or with -C, type the plain form. List files with git ls-files, and read one at a revision with git show <rev>:<path> (not ls-tree). Write nothing through git.
The report directory goes in the folder the probe's file names as reports (step 1), not in the recipes' start folder: wherever this skill or a recipe makes or names the report directory, CLAUDE-SECURITY-<ts> or <report directory>, use the absolute path <reports>/CLAUDE-SECURITY-<ts>. The job shows the report's prose to people, in the review or on the job summary, so write no absolute path of this machine in that prose: name each file from the repository root.
- Read the probe. Read
.git/claude-security-probe.json. If it is not there, stop with one line: this command is for the Claude Security plugin's GitHub Action; to scan here, type/claude-security. Ifbranch_scanistrue, go to step 8. Otherwise, whenpull_request.merge_baseis a sha, that is the scan's base. Iffixes_onlyistrue, the scan is done: its report directory is the one inreportsthat holdsCLAUDE-SECURITY-COMPLETE. Do step 3 on it, then step 7. Skip steps 2, 4, 5 and 6, also where step 3 sends you to step 4. - Scan the changes. Follow the scan-changes recipe from "Resolving the range and sizing it" through "Delivery", as a branch's changes with
--base <merge_base>when the probe gave one and the recipe's default base order otherwise, with<reports>as the first argument of its step 5's command; skip its sub-menu and its kickoff message. If the range has no changed files, say so in one line and stop. Start no later step until its redactor has finished. - Suggest patches β only if the probe's
suggest_patchesistrue, and no finding'scwe_idorother_cwe_idsholds CWE-798, CWE-259, CWE-321 or CWE-671 (with one, the review shows no finding's text and no fix). Otherwise skip to step 4. If both hold and a finding withoutolder_than_the_changesurvived, follow the suggest-patches recipe from "The patches" (its step 0) to the end of its step 5, on the report you just wrote with the selectionall(at achange_scan_effortofhigh, the ids of the findings withoutolder_than_the_changeinstead, as inF1,F3: therealltakes older flaws too), REPO ROOT fromgit rev-parse --show-toplevel, and PATCH BASE the full commit id the scan stamped (revision.commitin the stamp); skip its sub-menu, Preconditions and Interview. Run it in an unclean working tree too: the line thatwrite_scan_meta.pyprints there, and the scan recipe's rule to make no fix offer, are for a session with a user. Where its--prepareprintsunits: [], leave the recipe and go to this skill's step 4. Tell each patch-generator and patch-verifier you dispatch, in the revision round too, what this job lets them run. The project's documented test command is worth one try.<reports>/node_modules(spell the path out), where it exists, is this job's own link to the packages installed in the checkout's top folder: packages that a test run finds through it are the project's own, not borrowed, and need no search for where they come from. A refused command is not retried in another spelling or tool. No ad-hoc probe is run (python3 -c,pip, a hand-written harness). They report what could not run and judge by reading. Hold your turn through every agent it dispatches, as its step 4 says; nothing wakes an unattended session that ends its turn. - Re-check what was reported before. Skip this step, and write no file, when the probe's
previous_findingsis empty or absent, or when the new report'sCLAUDE-SECURITY-RESULTS.jsonlhas, for every entry, a finding with the entry'sclaudeSecurityPluginFindingIdandline. Otherwise, for each entry with no such finding (one id can have several entries, each on a line of its own): read the file at the entry's path and line in this checkout with the Read tool (not a shell command) and judge whether the reported flaw is gone from there. Then writeCLAUDE-SECURITY-PREVIOUS.jsoninto the report directory: a JSON array with one object for each entry that you read,{"claudeSecurityPluginFindingId": "<id>", "line": <the entry's line>, "status": "fixed" | "not_reassessed", "note": "<one sentence>"}βfixedonly when you read the code there and the flaw is gone from it,not_reassessedotherwise (you cannot tell, or the flaw is still there β say which in the note). - Mark the report complete. If the scan rendered a report, Write a file named
CLAUDE-SECURITY-COMPLETE, holdingcomplete, in the report directory. - Explain the findings of the change. Skip when any finding holds one of step 3's CWE ids. Dispatch one
claude-security:finding-explainerfor each line ofCLAUDE-SECURITY-RESULTS.jsonlthat lacksolder_than_the_change, at most eight in one message, each with these five lines and nothing else:id: <the line's "id" value, such as F1>,jsonl: <report directory>/CLAUDE-SECURITY-RESULTS.jsonl,line: <the number of the finding's line in that file>,note: <report directory>/patches/<id>.md(note: noneif step 3 was skipped),out: <report directory>/explanations/<id>.json. Hold your turn until all of a message's agents have replied, then send the next eight. Retry none and mend no file: where an explanation is absent, the review shows the scan's own text. - Report. In a few sentences: what was scanned, how many findings, which got a suggested fix and which did not when fixes were drafted, and what became of previously reported findings; offer nothing further. Stop here.
- Branch scan. Follow the scan-codebase recipe from its step 4 through "Delivery" over the whole repository, unscoped, setting
focusby its size gauge; skip its sub-menu and kickoff message. Once its redactor has finished, if it rendered a report, write step 5's completion mark. Report in a few sentences: what was scanned, how many findings, and the stamped verification status; offer nothing further.
Environment and Paths (substituted at invocation, use verbatim)
- SCRIPTS (helper scripts directory)
- REPORT SPEC (the report's Coverage section)
- PATCH SPEC (the patch products contract)
- PATCH REVIEW BRIEF (what a patch's researcher is asked)
@${CLAUDE_PLUGIN_ROOT}/skills/claude-security/role.md
Security
Reviews (0)
Related skills
Browse all βMore from Claude Plugins (Official)
View source βMore Build skills
Browse category βFrequently asked questions about ci-review
What does the ci-review skill do?
The scan that the plugin's GitHub Action runs. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the ci-review skill?
Run `npx @skills-hub-ai/cli install claude-plugins-official-ci-review` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-plugins-official-ci-review/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does ci-review work with?
ci-review runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the ci-review skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use ci-review after installing it?
In Claude Code, type `/claude-plugins-official-ci-review` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the ci-review skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.