/project-toolkit:pr-quality-security base-branchfrom project-toolkit
Scans a local git diff for vulnerabilities, secret exposure, and OWASP Top 10 anti-patterns, returning a PASS/WARN/CRITICAL_FAIL verdict. Invoked via `security review my changes` or `run the security gate`.
Ships in project-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run the security axis of the quality gate against your working changes, before you push, using the canonical axis criteria.
Migrated from the pr-quality/security command under ADR-064, which makes skills the single user-invocable surface and renames the namespaced sub-command pr-quality/security to pr-quality-security. The command file is gone, so its path is named here in plain text rather than as a citation to something a reader could open.
security review my changes, run the security gate, check this diff for vulnerabilities, pr-quality security
Base branch: the problem statement from the conversation (under Copilot CLI the skill tool takes no argument vector, so state it in your message)
If $ARGUMENTS names a branch, diff against it. Otherwise default to main.
Apply the criteria from: @.github/prompts/pr-quality-gate-security.md
That file is the canonical axis definition and the one definition this skill reads. Do not paraphrase it from memory: read it, then judge the diff against what it says.
git branch --show-current to name the current branch.$ARGUMENTS, defaulting to main. Reject an
empty value or one starting with - (Git parses a leading dash as an
option, not a ref), then resolve it to a commit with
BASE_SHA=$(git rev-parse --verify --quiet "<base_branch>^{commit}"). An
unresolved or rejected ref is a hard stop: report it and do not fall back
to an empty diff. Use $BASE_SHA in every git command below, not the
branch name: the branch can move between this step and a later diff, and
the SHA cannot.git diff "$BASE_SHA" --name-only) plus untracked files
(git ls-files --others --exclude-standard); the local review scope is
uncommitted changes, and a tracked-only diff misses a change set that is
entirely new files. Read each untracked file's full content directly, since
it carries no diff against the base.git diff "$BASE_SHA" to read the full diff of tracked changes.This axis reads the diff for injected input reaching a sink, a credential or token in the diff, a widened authorization boundary, a path built from user data, and a dependency added without provenance.
That list orients the read. The axis file is authoritative when the two differ.
Provide your verdict in EXACTLY this format. Do not add preambles, explanations, or additional text before the verdict:
VERDICT: [PASS|WARN|CRITICAL_FAIL]
MESSAGE: [One sentence summary]
[Detailed findings following prompt structure]
Then emit a fenced JSON block conforming to .agents/schemas/pr-quality-gate-output.schema.json with "agent": "security".
$BASE_SHA, not the base branch name or HEAD~1$BASE_SHA before any git diff"agent": "security"| Avoid | Why | Instead |
|---|---|---|
| Stopping at the first CRITICAL_FAIL | Findings are additive, so an early stop hides the rest and buys the author a second round | Record the verdict and keep judging the remaining criteria |
| Judging from memory of the axis | The criteria change and the recalled version is the one that was true once | Read @.github/prompts/pr-quality-gate-security.md every run |
| A finding with no file and line | The author cannot act on it, so it reads as an opinion and gets skipped | Cite path:line and quote the offending span |
| A preamble before the verdict | The block is parsed by pr-quality-all, so leading prose breaks the merge | Emit VERDICT: first, every time |
| PASS on a diff you could not read | An unread diff is an unmeasured one, and PASS says the opposite | Emit CRITICAL_FAIL and name what blocked the read |
.github/prompts/pr-quality-gate-security.md, which
this skill reads, so there is one definition to keep current.$ARGUMENTS; a project that
merges into something other than main changes that default alone.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
104 skills in this plugin
/adr-generatorCreate comprehensive Architectural Decision Records (ADRs). Researches the destination directory to detect existing template conventions, gathers context, determines next ADR number, generates the ADR, validates completeness, and saves. Supports multiple ADR formats (MADR, Nygard, Alexandrian, project canonical). Use when documenting technical decisions, creating new ADR files, or capturing rationale so future readers can revisit a choice. Use when you say "write an ADR", "document this decision", "document these design choices", "record why we chose this", "capture the rationale", or "for future maintainers", or when creating an ADR-like markdown file under docs/decisions/, docs/adr/, docs/architecture/, architecture/decisions/, or .project-toolkit/architecture/. Do NOT use to debate or review an existing ADR (use adr-review)./adr-reviewMulti-agent debate orchestration for Architecture Decision Records. Automatically triggers on ADR create/edit/delete. Coordinates architect, critic, independent-thinker, security, analyst, and high-level-advisor agents in structured debate rounds until consensus. Use when you say "review this ADR", when an ADR is created/edited/deleted, or when reviewing, accepting, or updating a decision file under .project-toolkit/architecture/, docs/architecture/, docs/decisions/, docs/adr/, or architecture/decisions/, including intent like "review this decision record" or "check this rationale for future maintainers". Do NOT use to author a new ADR (use adr-generator).Generated from the plugin's indexed repository (rjmurillo/ai-agents) — no native marketplace selected
npx claudepluginhub p/rjmurillo-copilot-cli-agents-src-copilot-cliOther plugins' skills for the same job