agentleFS
AlizHarbAlizHarb/agent-skills/skills/debug-composer-conflicts/SKILL.md

debug-composer-conflicts

Skill1 starsChanged 5 months agoMITView on GitHub

Use when Composer cannot install or update because of dependency conflicts, platform requirements, or security advisories.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Run composer why-not or inspect Composer's solver output.

    line 13
  2. Distinctive:

    Check PHP version, Laravel version, package constraints, minimum stability, and plugin allowances.

    line 14
  3. Distinctive:

    Prefer updating constraints honestly over forcing ignored advisories.

    line 16
  4. Distinctive:

    Update docs and CI matrix when support changes.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Debug Composer Conflicts

Workflow

  1. Run composer why-not or inspect Composer's solver output.
  2. Check PHP version, Laravel version, package constraints, minimum stability, and plugin allowances.
  3. Confirm whether security advisories are blocking a version.
  4. Prefer updating constraints honestly over forcing ignored advisories.
  5. Update docs and CI matrix when support changes.
  6. Re-run composer update --dry-run or the intended install/update command.

Verification

  • composer validate passes.
  • The intended composer require or composer update succeeds.

Common Mistakes

  • Pinning an old vulnerable framework version.
  • Adding broad constraints without testing each supported lane.

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.