Skip to main content

ci-review

The scan that the plugin's GitHub Action runs.

v1.0.0New

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-review
Or get the file:
Browse all CLI commands β†’
Manual setup by platform

Claude Code

~/.claude/skills/claude-plugins-official-ci-review/SKILL.md

Setup guide β†’

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
0Save

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.

  1. 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. If branch_scan is true, go to step 8. Otherwise, when pull_request.merge_base is a sha, that is the scan's base. If fixes_only is true, the scan is done: its report directory is the one in reports that holds CLAUDE-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.
  2. 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.
  3. Suggest patches β€” only if the probe's suggest_patches is true, and no finding's cwe_id or other_cwe_ids holds 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 without older_than_the_change survived, 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 selection all (at a change_scan_effort of high, the ids of the findings without older_than_the_change instead, as in F1,F3: there all takes older flaws too), REPO ROOT from git rev-parse --show-toplevel, and PATCH BASE the full commit id the scan stamped (revision.commit in the stamp); skip its sub-menu, Preconditions and Interview. Run it in an unclean working tree too: the line that write_scan_meta.py prints there, and the scan recipe's rule to make no fix offer, are for a session with a user. Where its --prepare prints units: [], 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.
  4. Re-check what was reported before. Skip this step, and write no file, when the probe's previous_findings is empty or absent, or when the new report's CLAUDE-SECURITY-RESULTS.jsonl has, for every entry, a finding with the entry's claudeSecurityPluginFindingId and line. 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 write CLAUDE-SECURITY-PREVIOUS.json into 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>"} β€” fixed only when you read the code there and the flaw is gone from it, not_reassessed otherwise (you cannot tell, or the flaw is still there β€” say which in the note).
  5. Mark the report complete. If the scan rendered a report, Write a file named CLAUDE-SECURITY-COMPLETE, holding complete, in the report directory.
  6. Explain the findings of the change. Skip when any finding holds one of step 3's CWE ids. Dispatch one claude-security:finding-explainer for each line of CLAUDE-SECURITY-RESULTS.jsonl that lacks older_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: none if 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.
  7. 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.
  8. Branch scan. Follow the scan-codebase recipe from its step 4 through "Delivery" over the whole repository, unscoped, setting focus by 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

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all β†’
configureSet up the Discord channel β€” save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.1 installsmath-olympiadSolve competition math problems (IMO, Putnam, USAMO, AIME) with adversarial verification that catches the errors self-verification misses. Activates when asked to 'solve this IMO problem', 'prove this olympiad inequality', 'verify this competition proof', 'find a counterexample', 'is this proof correct', or for any problem with 'IMO', 'Putnam', 'USAMO', 'olympiad', or 'competition math' in it. Uses pure reasoning (no tools) β€” then a fresh-context adversarial verifier attacks the proof using specific failure patterns, not generic 'check logic'. Outputs calibrated confidence β€” will say 'no confident solution' rather than bluff. If LaTeX is available, produces a clean PDF after verification passes.1 installsbuild-mcp-appThis skill should be used when the user wants to build an "MCP app", add "interactive UI" or "widgets" to an MCP server, "render components in chat", build "MCP UI resources", make a tool that shows a "form", "picker", "dashboard" or "confirmation dialog" inline in the conversation, or mentions "apps SDK" in the context of MCP. Use AFTER the build-mcp-server skill has settled the deployment model, or when the user already knows they want UI widgets.1 installswriting-hookify-rulesThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.0 installsaccessManage Discord channel access β€” approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.0 installsmorning-plant-pulseRuns the overnight chain that has the morning production report waiting before anyone asks for it: joins last night's planning, production and maintenance exports, flags the mismatched keys, then computes output against plan, OEE with its three components, downtime ranked two ways, priced losses and the exceptions needing a decision. Stores a record per production day and keeps one Operations Command Center dashboard per site up to date, with a 14 and 30 day trend. Safe to run unattended. Use when someone says "run the morning pulse," "do the overnight report," "morning plant pulse," "update the operations dashboard," or schedules the daily production run.0 installs

More from Claude Plugins (Official)

View source β†’
frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.3 installsskill-creatorCreate 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 existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.2 installsm5-onboardEnd-to-end onboarding for a freshly-plugged-in M5Stack ESP32 device (Cardputer, Cardputer-Adv, Core, CoreS3, Stick) β€” detect on USB, flash UIFlow 2.0 firmware, and install the Claude Buddy MicroPython app bundle. Use whenever the user plugs in or wants to flash/provision/reset an M5Stack or ESP32 board, or says "m5-onboard go".2 installscommand-developmentThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.1 installsbuild-mcp-serverThis skill should be used when the user asks to "build an MCP server", "create an MCP", "make an MCP integration", "wrap an API for Claude", "expose tools to Claude", "make an MCP app", or discusses building something with the Model Context Protocol. It is the entry point for MCP server development β€” it interrogates the user about their use case, determines the right deployment model (remote HTTP, MCPB, local stdio), picks a tool-design pattern, and hands off to specialized skills.1 installsclaude-securityClaude Security: scan the codebase (the whole repository or a scoped part of it), scan changes (this branch's or a pull request's diff, or one commit), triage existing findings (another scanner's SARIF file or an earlier report, checked against the code), or suggest patches (findings turned into targeted patch files, each analyzed by a panel of agents, that you apply when you choose). Use when the user asks to scan, audit or check code with Claude Security, to scan their changes with Claude Security, to triage, validate or prioritize a SARIF file's or an earlier report's findings with the Claude Security plugin, or to fix or patch the findings of a report that this plugin wrote.1 installs

More Build skills

Browse category β†’
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.635 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.535 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.346 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

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.