Weekly composer dependency audit
Skill leek/agent-skills/skills/weekly-composer-dependency-audit
Run a weekly Composer dependency audit for PHP projects. Use this when the user asks for a Composer dependency audit, PHP dependency review, composer outdated package summary, composer audit, Laravel package upgrade plan, or a safe PHP dependency upgrade summary.From its SKILL.md
npx -y skills add leek/agent-skills --skill weekly-composer-dependency-auditAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 2 commands, including `composer outdated --direct || true` and 1 more.
SKILL.md
2.1 KB, 354 tokens by cl100k_base, as published. Nobody here has run it
Composer Dependency Audit Weekly
Goal
Deliver a weekly Composer dependency audit summary.
Loop
Kickoff prompt:
/loop 7d Start the "Composer Dependency Audit Weekly" loop.
Goal: deliver a weekly Composer dependency audit summary.
Between iterations run: composer outdated --direct || true
Exit when: summary is posted with recommended upgrades.
Step 1: Run composer outdated and composer audit, categorize updates, and propose a safe upgrade plan.
Run this in the target project:
composer outdated --direct || true
Also run the Composer security audit:
composer audit || true
If there is no composer.json, stop and report that the current directory is not a Composer/PHP project.
Report
Summarize the result with:
- Current package manager evidence, such as
composer.json,composer.lock, and framework hints like Laravel packages. - Outdated direct dependencies grouped by patch, minor, and major updates.
- Security advisories from
composer audit, grouped by severity, if audit output is available. - Recommended safe upgrade order, starting with low-risk patch and minor updates.
- Breaking-change risks, required code changes, PHP version constraints, or framework compatibility concerns for major updates.
- Exact verification commands the project should run after upgrades.
Keep the report direct. Do not apply upgrades unless the user asks you to do the upgrade work.
Guardrails
- Do not modify the check command or exit criteria to force success.
- Do not skip, disable, or bypass checks to make the audit look clean.
- If package metadata is missing, dependency resolution fails, or audit output is blocked by registry/authentication issues, stop and report the blocker.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.