audit-dependencies
Skill1 starsChanged 2 months agoMITView on GitHub
Run the dependency audit for a repo's stack, triage the findings by reachability and severity, and update packages safely — lockfile regenerated, changelog noted, tests green. Covers npm audit / npm outdated, govulncheck / gosec / go list -u, pip-audit / poetry show --outdated. Use when asked to "audit dependencies", "update packages", "check for CVEs", "bump the lockfile", or on a schedule.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- krzysztofsurdy/code-virtuosotheir own version, first seen Nov 1, 2026
- mia-cx/skillstheir own version, first seen Oct 16, 2026
- Peter537/peter537-agent-plugintheir own version, first seen Oct 11, 2026
- payloadcms/payloadtheir own version, first seen Oct 8, 2026
- BerryKuipers/claude-code-toolkittheir own version, first seen Nov 20, 2025
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- payloadcms/payload★ 46ksame name
- krzysztofsurdy/code-virtuoso★ 36same name
- BerryKuipers/claude-code-toolkit★ 7same name
- mia-cx/skills★ 4same name
- Peter537/peter537-agent-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bigquery-analyticsSkill
- cache-invalidationSkill
- mongo-aggregationSkill
- mongo-modelingSkill
- postgres-aggregationSkill
- postgres-indexingSkill
- redis-coordinationSkill
- redis-patternsSkill
- review-querySkill
- code-migrationSkill
- cut-releaseSkill
- data-migrationSkill
- deploy-serviceSkill
- hotfixSkill
- rollbackSkill
- design-endpointSkill
- design-eventSkill
- design-schemaSkill
- evolve-contractSkill
- scaffold-nestjs-moduleSkill
- scaffold-projectSkill
- incident-responseSkill
- investigate-bugSkill
- on-callSkill
- postmortemSkill
- audit-skillsSkill
- distill-review-styleSkill
- write-skillSkill
- debug-with-tracesSkill
- define-alertsSkill
- instrument-serviceSkill
- evaluate-dependencySkill
- grillSkill
- handoffSkill
- orientSkill
- phased-deliverySkill
- spikeSkill
- to-questionnaireSkill
- write-adrSkill
- write-prdSkill
- devops-pr-reviewSkill
- go-backend-pr-reviewSkill
- nestjs-backend-pr-reviewSkill
- python-backend-pr-reviewSkill
- react-frontend-pr-reviewSkill
- bisectSkill
- break-couplingSkill
- dead-code-sweepSkill
- deslopifySkill
- extract-moduleSkill
- rebase-cleanSkill
- resolve-merge-conflictsSkill
- split-commitSkill
- tddSkill
- wait-whatSkill
- wide-renameSkill
- bullmqSkill
- kafkaSkill
- sqs-consumerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
no fix → is there a maintained fork, a config mitigation, or a way to drop the dependency?
- Distinctive: line 39
Prefer the smallest version jump that clears the advisory over "latest".
- Distinctive: line 40
Run the full test suite + typecheck + lint.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit & update dependencies
1. Run the audit
| Stack | Vulnerabilities | Outdated |
| Node | npm audit --audit-level=low | npm outdated |
| Go | govulncheck ./... · gosec ./... | go list -m -u all |
| Python | pip-audit · safety check | poetry show --outdated |
Match the tool to what the repo's CI already runs (the security-audit.yml
workflows use npm audit --audit-level=low, gosec + govulncheck, safety).
2. Triage each finding
For every advisory, in order:
- Reachable?
govulnchecksays so directly. For npm/pip, is the vulnerable package a runtime dependency or dev/build-only, and is the vulnerable function actually called? A critical CVE in an unreachable dev tool is⚪, not urgent. - Severity + exploitability — CVSS, and whether the exploit needs conditions this service doesn't have (a public endpoint, a specific input path).
- Fix path:
- patch available in a compatible range → bump, lowest version that clears it
- fix only in a major version → separate PR, check the changelog for breaks
- no fix → is there a maintained fork, a config mitigation, or a way to drop the dependency? Otherwise document the accepted risk with an expiry date.
3. Update safely
- One concern per PR: security bumps separate from feature-driven bumps.
- Bump the manifest and regenerate the lockfile (
npm install,poetry lock,go mod tidy) — commit both. - Prefer the smallest version jump that clears the advisory over "latest".
- Run the full test suite + typecheck + lint. For a transitive-only bump with no behaviour change, say so in the PR.
- Note it: conventional-commit
fix(deps): bump <pkg> to <version> (CVE-…)orchore(deps): …; add aCHANGELOG.mdline if the repo keeps one. - Toolchain bumps (Go / Node major) → confirm CI matrix, Dockerfile base image, and runtime base all move together.
4. Verify
- Re-run the audit — the advisory is gone, no new ones introduced.
- CI
security-auditjob is green.
Anti-patterns
- ❌
npm audit fix --forceblind — it happily makes breaking major bumps. - ❌ Bumping to
latestwhen a patch release clears it. - ❌ Manifest bumped, lockfile not regenerated.
- ❌ Mixing a security bump with unrelated dependency churn in one PR.
- ❌ Closing a "no fix available" advisory with no documented decision.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

