Skip to content

Commit 5ad50d4

Browse files
committed
docs(agents): remove commit message guidelines from AGENTS.md
- Drop duplicate Conventional Commits section in favor of the commit skill
1 parent 6e045a4 commit 5ad50d4

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

AGENTS.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,3 @@ Dev tooling: symfony/var-dumper, symfony/error-handler, ergebnis/composer-normal
4141
## Coding Style & Formatting
4242

4343
PSR-12 for PHP. Mago for lint/format (`composer lint`, `composer format`). Prettier (`.prettierrc`) for YAML, JSON, Markdown. Add PHPDoc where behavior is non-obvious. Stick to ASCII punctuation in code and docs (e.g. `--` not em dash) so diffs stay predictable. Emojis sparingly.
44-
45-
## Commit Message Guidelines
46-
47-
- Commit messages must follow Conventional Commits
48-
- Write messages so they make sense for commit-by-commit development: each commit describes the actual state change from the previous shipped state. Do not mention intermediate or throwaway steps (e.g. classes created and removed in the same session). Describe what the commit delivers, not the path taken to get there
49-
- Subject format: `<type>(<scope>): <summary>`; use `<type>: <summary>` when scope is omitted
50-
- Allowed `type` values: `feat`, `fix`, `refactor`, `perf`, `docs`, `test`, `build`, `ci`, `chore`, `revert`
51-
- `scope` is optional but recommended when it narrows the area (e.g. `StringValidator`, `FieldValidator`, `AssociativeValidator`)
52-
- Write summary lines in imperative mood, keep them concise (around 72 characters recommended, not strict), and omit trailing periods
53-
- Keep each commit focused on one concern; include related tests or validation updates in the same commit when applicable
54-
- Prefer bullet lists in commit bodies for concrete changes, with one logical change per bullet
55-
- Commit body bullets should start with a capitalized imperative verb and omit trailing periods
56-
- Never artificially break lines anywhere in a commit message; tools wrap naturally
57-
- Avoid unnecessary noise in commit bodies; include only explicit, intentional, non-obvious updates
58-
- Do not call out secondary artifact changes (for example lockfile refreshes) unless they carry non-obvious impact
59-
- Add a short prose paragraph only when extra context is needed (rationale, tradeoffs, migration notes, risks, or non-obvious impact)
60-
- Separate subject, body, and footers with blank lines
61-
- Use optional footers in `Key: Value` format; preferred keys: `Refs`, `Closes`, `Fixes`, `PR`, `BREAKING CHANGE`
62-
- Breaking changes must include a `BREAKING CHANGE:` footer
63-
- Release notes belong in CHANGELOG, not commit body. Tag format: annotated `vX.Y.Z - <headline>`; details in CHANGELOG/releases
64-
- Quick templates: `fix(scope): <imperative summary>` and `feat(scope): <imperative summary>`

0 commit comments

Comments
 (0)