COMPOSER Agent Skills & AI Rules

GitHub

Dependency Manager for PHP

29,600 stars PHP PHP 1 file ยท ~103,087 tokens #composer#dependency-manager#package-manager#packages#php
RAW Rules
15 Discovered Rules โ€ข ~46,952 Estimated Tokens
Quick:
Loading skill content...

AI Agent Protocol & Instructions

AGENTS.md root-instruction ~602 tokens
Raw
# Agent guidance โ€” Prisma Composer

**Before doing any design or implementation work in this repo, read the
guiding principles: [`docs/design/01-principles/`](docs/design/01-principles/).**
They are binding, not advisory. Proposals and code that contradict a recorded
principle are wrong by definition โ€” the principle wins until an ADR supersedes
it. In particular: **we don't bundle the app's code, and we don't guess** โ€” the
framework never bundles/transforms your code, and assembles the deploy artifact
only by documented, deterministic steps (no filename/depth guessing, no tree
laundering; symlinks are preserved as links only when their resolved target
stays inside the bundle, and never dereferenced)
([ADR-0005](docs/design/90-decisions/ADR-0005-users-build-the-framework-assembles.md),
amended by
[ADR-0047](docs/design/90-decisions/ADR-0047-compute-assembly-preserves-safe-runtime-topology.md)).

## Read the design docs before any design discussion

Before your first reply that offers an opinion, a proposal, or an answer to a
design question, read the documentation for that topic. This applies even when
the question looks small or conversational, and again whenever the discussion
moves to a new topic. Read:

1. [`docs/design/01-principles/`](docs/design/01-principles/) and
   [`docs/design/00-purpose/`](docs/design/00-purpose/).
2. The ADR index,
   [`docs/design/90-decisions/README.md`](docs/design/90-decisions/README.md),
   then every ADR it ties to the topic, in full, including the ADRs that amend
   them.
3. The [glossary](docs/design/03-domain-model/glossary.md) entry for every term
   the discussion uses.
4. The domain or architecture doc for the area, under
   [`docs/design/10-domains/`](docs/design/10-domains/) or the target's folder.

In your reply, say what you read. Settled decisions are not relitigated by
accident: when a proposal contradicts a recorded decision, say so plainly and
say what it would reverse. A discussion held without reading these has
repeatedly produced proposals that a recorded decision had already rejected,
renames of terms the glossary defines on purpose, and identity formats the
recorded design contradicts.

Operational rules (naming, casts, build isolation, test idioms) live in
[`.agents/rules/`](.agents/rules/) and load automatically in harnesses that
support `.mdc` rules; if yours doesn't, read that directory's README and the
rules relevant to the files you touch.