Dependency Audit Weekly
Weekly loop to check outdated dependencies, propose safe upgrades, and open a summary.
// parameters
// run_this_loop
Copy the kickoff into your agent first. The blueprint below explains how the loop evaluates progress and when it should stop.
Use loop copies the kickoff prompt. Share copies the loop link. Open in Cursor / Claude only pre-fill that prompt — they do not install hook files. Download loop saves the loop as dependency-audit-weekly.md.
/loop 7d Start the "Dependency Audit Weekly" loop.
Goal: deliver a weekly dependency audit summary.
Between iterations run: npm outdated || true
Exit when: summary is posted with recommended upgrades.
Step 1: Run npm outdated, categorize updates, and propose a safe upgrade plan.// blueprint
The loop contract: target outcome, execution sequence, checks, stopping condition, and safety constraints.
deliver a weekly dependency audit summary.
// loop_sequence
Trigger
interval event
Actions block
Feedback gate
Evaluate: state progress
Run the check, read the output, then decide whether the loop is complete.
Check failed
Repeat actions with the latest feedback.
Success
Weekly audit summary delivered
// steps
- 1List outdated packages
Run npm outdated and summarize major vs patch updates.
npm outdated || true - 2Propose upgrades
Recommend safe upgrades. Flag breaking changes and required code changes.
Docs Sync After Edits
After code changes, find affected docs and update README, API references, and inline comments to match.
Knip Until Clean
Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.
Dependency Upgrade One-by-One
Upgrade a single outdated package per iteration, fix breakages, and commit — safer than bulk npm update.