/swe-skills:swe:security-auditfrom swe-skills
Audits a repository, workspace, or monorepo for dependency vulnerabilities, outdated security-sensitive packages, license issues, and dependency hygiene gaps, then compiles one evidence-backed report. Use when a user says `run a security audit`, `check dependencies and licenses`, `audit this monorepo for vulnerable packages`, or asks for a package-level security review. Do NOT use for a general secure-code review, threat model, or speculative vulnerability hunt without manifests, lockfiles, or package surfaces to inspect.
Ships in swe-skills. 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.
Use this skill to run a dependency- and package-surface-focused security audit across a repository, workspace, or monorepo.
The primary job is to find evidence-backed issues in:
Use this skill when the user wants to:
Do not use this skill for:
Confirm or infer:
Create one session per service or package when the environment supports parallel agent work.
If parallel sessions are unavailable, process the units in local batches and keep the same report shape.
Inspect the repository and group the codebase into the smallest practical independent audit surfaces, such as:
For every unit, determine the ecosystem and package manager in use so the correct scanner or audit command can be chosen.
Run the most appropriate security, dependency, and license checks for each surface. Prefer the package manager and scanners already used by the repo.
This skill is tool agnostic.
Use the strongest available tools for the detected ecosystem, such as:
npm audit, pnpm audit, or yarn auditcargo auditpip-audit, safety, or poetry show --outdatedbundle audit or bundler outdatedgo list -m -u all or govulncheckosv-scannertrivylicense_finderPrefer the package manager and scanner already used by the repository. Do not invent tooling if the environment already has a clear local pattern.
Capture concrete evidence from:
If a check cannot be run, say why and do not guess the result.
If a check cannot be run:
For each audit unit, check:
Do not turn the task into a broad code review unless the dependency issue directly exposes a security concern.
Report only findings that are grounded in evidence.
For outdated dependencies:
For license issues:
Aggregate all findings into one report ranked by severity and confidence.
Call out units with no findings explicitly.
Produce one consolidated report with these sections:
For each finding, include:
For each audited unit, include:
Keep the final report concise and operational.
Prefer short bullets grouped by severity:
Call out the highest-priority remediation items first.
User says: Run a security audit across this monorepo and tell me which package dependencies need urgent attention.
Actions:
Result: The user gets a consolidated dependency-security report with clear next actions.
User says: Check this service for vulnerable or badly outdated dependencies and flag any license problems.
Actions:
Result: The audit stays scoped to one service and avoids unsupported claims.
Call that out as a dependency-hygiene finding when appropriate and explain which checks were blocked as a result.
Use the strongest available alternative, but say exactly which preferred check could not run and how that limits confidence.
Report coverage per audit unit so the user can see which surfaces were fully audited and which ones had partial visibility.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (ckorhonen/swe-skills) — no native marketplace selected
npx claudepluginhub p/ckorhonen-swe-skills17 skills in this plugin
/swe:babysit-prBabysits an open pull request end-to-end by polling every minute, triaging new comments and reviews, handling CI failures, iterating on reviewer scores, and stopping only when the PR is ready to merge. Use when a user says `babysit this PR`, `watch this PR until it's merge-ready`, `handle review feedback on my PR`, or `keep iterating on this PR until reviewers are happy`. Do NOT use for a one-shot PR risk review, merged PR production monitoring, or repo-wide CI debugging with no scoped PR./swe:capture-knowledgeAudits a repository's code and docs to find important conventions, workflows, and architectural decisions that are missing from agent-facing guidance, then drafts review-ready updates. Use when a user says `capture repo knowledge`, `document implicit conventions`, `turn repo patterns into agent rules`, or asks what future agents should remember about a codebase. Do NOT use for a generic repo tour, onboarding walkthrough, or architecture summary that does not need reusable guidance updates./swe:change-validation-plannerPlans the narrowest trustworthy validation path for a scoped code change or diff. Use when a user asks what to run before merging, how to validate a specific change, whether the current checks are enough, or wants a bounded command order from narrow to broad. Do NOT use for writing tests, fixing the code change itself, broad QA sweeps, or generic debugging that needs root cause analysis./swe:create-skillCreates or revises `swe:` skills for this repository using a repeatable authoring workflow: define concrete use cases, tune trigger boundaries, apply progressive disclosure, add matching eval assets, and validate the package. Use when adding a new skill, tightening an existing skill that over- or under-triggers, or distilling an external workflow into a repo-ready skill. Do NOT use for generic documentation edits or for executing the workflow the skill would describe./swe:docs-drift-auditAudits a repository for human-facing or operational documentation that drifted from code, config, interfaces, workflows, or repo structure changes. Use when a user says `check docs drift`, `docs are stale`, `update the runbook after this change`, or `what documentation is missing after this change`. Do NOT use for agent-guidance updates, generic documentation rewrites, or writing docs without evidence that they are stale./swe:incident-followup-auditAudits post-incident engineering follow-through after a sev or incident to verify whether the durable follow-up happened: regression tests, monitors, docs, runbooks, ownership updates, tickets, rollback learnings, and remaining backlog. Use when a user asks whether incident follow-up is complete, what still needs to be done after a postmortem, or how to close the engineering loop. Do NOT use for live incident response, root-cause analysis, or a generic bug hunt unrelated to an incident.