agentleFS
pekralpekral/cursor-rules/skills/composer-update/SKILL.md

composer-update

Skill10 starsChanged 3 months agoMITView on GitHub

Use when analyze composer update results, detect conflicts, and

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use output from composer update if available

    line 27
  2. Distinctive:

    If none: state "No conflicts detected"

    line 39
  3. Very specific:

    Use the template defined in templates/update-report.md.

    line 68
  4. Distinctive:

    Prefer local sources over remote

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Composer Update

Purpose

Analyze dependency updates after composer update, detect conflicts, and summarize relevant changes.


Constraints

  • Apply @rules/php/core-standards.mdc
  • Apply @rules/php/dependency-selection.mdc — this skill primarily bumps existing packages (rule out of scope per its Scope section), but a bump frequently uncovers an upstream that has been archived or marked abandoned. When that happens, re-run the Activity gate + Compatibility gate against the suggested replacement (or against a fresh search if no replacement is documented) before recommending the migration. Never silently keep an archived / abandoned package in the lockfile just because the bump compiles.
  • Output Markdown only

Execution

1. Update Context

  • Use output from composer update if available
  • Otherwise compare current composer.lock with the previous version

2. Detect Updated Packages

  • List all added or changed packages
  • Include version changes: old → new

3. Conflict Detection

  • Identify dependency conflicts from:
    • composer output
    • version constraint mismatches (composer.json vs composer.lock)
  • Summarize conflicts clearly (package → reason)
  • If none: state "No conflicts detected"

4. Changelog Extraction

For each updated package:

  • Prefer:
    • vendor/<package>/CHANGELOG*
  • Fallback:
    • repository releases (GitHub/GitLab)
    • package homepage
  • Extract:
    • breaking changes
    • new features
    • important fixes
  • If unavailable:
    • state "No changelog found"

5. Suggested Follow-up

  • Recommend relevant checks:
    • run tests
    • composer validate
    • composer audit

Output Format

Use the template defined in templates/update-report.md.

Principles

  • Focus on impactful changes, not noise
  • Highlight breaking changes first
  • Prefer local sources over remote
  • Be concise and actionable
  • Highlight security-related changes when present

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.