Package Audit Fixer
Automatically identifies and fixes package vulnerabilities in your Node.js project by running `npm audit` and applying recommended fixes until the audit is c…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Package Audit Fixer" loop.
Goal: Fix package issues
Max iterations: 10
Between iterations run: npm audit
Exit when: Audit clean
I'm starting a package audit fixer loop. Please follow this workflow:
1. Run `npm audit` and show me the results.
2. For each vulnerability found, try to apply fixes with `npm audit fix`.
3. If any fix requires user confirmation (e.g., breaking changes), ask me before proceeding.
4. After applying fixes, run `npm audit` again to verify progress.
5. Repeat steps 1-4 until the audit is clean or we reach 10 iterations.
Start now by running the initial audit.
Self-pace this loop. After each iteration, run `npm audit` and evaluate the output, and only continue if the exit condition is not met (Audit clean). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.