Skip to content

Commit fc4eeac

Browse files
louis-preclaude
andcommitted
docs: Add semantic naming guideline for commits, branches, and PRs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8da81e4 commit fc4eeac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ npm run validate-redirects # Validate .gitbook.yaml redirects
2222

2323
**Always run `npm run format` before committing.** CI auto-commits formatting fixes on non-main branches, but formatting locally avoids noise.
2424

25+
**Use semantic naming for commits, branches, and PRs.** Prefix commit messages with a type (`feat:`, `fix:`, `docs:`, `chore:`, `ci:`, `refactor:`, `test:`). Use the same style for branch names (e.g., `docs/update-sandbox-credentials`) and PR titles.
26+
2527
Optional external tools used during `npm run generate` for code sample formatting: `ruff` (Python), `shfmt` (shell), `gofmt` (Go), `stree` from `syntax_tree` gem (Ruby).
2628

2729
## Architecture

0 commit comments

Comments
 (0)