fix-audit
Installation
SKILL.md
Fix pnpm Audit Vulnerabilities
Fix all vulnerabilities reported by pnpm audit. Follow each phase in order.
Phase 1: Audit and Identify
- Run
pnpm audit --jsonand capture the output. - Parse the JSON to build a list of vulnerabilities with: package name, current version, patched/fixed version, severity, and the path (which top-level dependency pulls it in).
- If there are no vulnerabilities, report that and stop.
- Present a summary table of all findings to the user before proceeding.
Phase 2: Upgrade Packages Directly
For each vulnerability, attempt a direct upgrade first: