docs: add repository instructions for Claude Code - #29
Open
refsz wants to merge 1 commit into
Open
Conversation
This was referenced Aug 19, 2026
Merged
Establishes Conventional Commits for commits and PR titles - squash merges take the PR title, so this is what lands on main and what changelog tooling can rely on - and records the check commands and code conventions. Replaces the team convention that previously leaked in from global tooling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
CLAUDE.mdso the conventions of this repository are stated in the repository instead of leaking in from global tooling.Commits and PR titles use Conventional Commits. The PR title is the part that matters: PRs are squash-merged, so the title becomes the commit on
main— that is what history shows and what changelog tooling (git-cliff, release-please, or GitHub's grouping) can rely on if we ever adopt it. The[TYPE]bracket convention that earlier commits carried came from a team-specific toolchain and is explicitly called out as not applicable here.Also records the verification commands (phpunit, phpstan with the no-ignores rule, cs-fixer, rector, mkdocs strict) and the code conventions that were previously only enforced by review — including the rule from #28's discussion that a behaviour-changing PR updates the CHANGELOG's
Unreleasedsection in the same PR, which is what keeps a curated changelog from going stale.🤖 Generated with Claude Code
https://claude.ai/code/session_018CTvnzcNYmFgm2HQcm821A