01
It starts by itself
audit check fails. Runs in GitHub Actions or Claude Code routine.
- ↻ audit check fails
audit-dependencies CI check fails, or weekly schedule
Vulnerable dependencies fixed the simplest way.
Install the Audit Dependencies skill and make it a habit: follow https://gethabit.dev/skills/payloadcms/audit-dependencies.md
127 installs45K starsMIT licenceSource on GitHub ↗

Audit Dependencies
by payloadcms · 127 installs
The skill
The audit dependencies skill helps pnpm monorepo maintainers fix vulnerabilities from pnpm audit the simplest way: direct bump, lockfile update, or a justified override, then a PR with advisory links.
Only when you ask.
The habit
Vulnerable dependencies fixed the simplest way.
↻ Runs by itselfaudit check fails
When does it start? How does it check its work? What does it remember?
Stops after one PR per run; no fixes are applied without your confirmation.
Run ./.github/workflows/audit-dependencies.sh with the severity, default high.
Mark each package direct or transitive and walk up to the nearest one you control.
Prefer a direct bump, then pnpm update --recursive, then a scoped pnpm override.
Present a table of fixes and reasons and wait for your confirmation.
Run pnpm install, re-run the audit script and pnpm run build:core.
Record GHSA ID, CVE ID, severity and a one-line description per fix.
Commit as fix(deps) and open a PR with gh pr create.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Audit Dependencies skill helps.
The skill treats overrides as the last step, used only when a bump or lockfile update cannot work.
The skill falls back to pnpm install --ignore-scripts.
Copy the prompt at the top into your agent. It installs the skill from payloadcms/payload and sets up the habit. Or run npx skills add payloadcms/payload --skill audit-dependencies.
Yes. It is published under MIT. Habit is free too.
Install the Audit Dependencies skill and make it a habit: follow https://gethabit.dev/skills/payloadcms/audit-dependencies.md
All payloadcms skills →More code skills →
Works in
Made by payloadcms, published under MIT. Habit links to the original and never changes it. Is this your skill?