docs: update CLAUDE.md to require branch and PR workflow

Clarify that commits should never go directly to main. All work must go through
feature branches and pull requests for review and traceability.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Gabriel Santana de Menezes 2026-05-18 11:03:26 -04:00
parent f01d72c2bb
commit 064251f6ab

View file

@ -115,6 +115,16 @@ The authenticated email comes from `securityIdentity.getPrincipal().getName()` a
- Don't create files outside the conventional folders.
- Vertical slices first; refactor when a pattern repeats. The backlog is in `backlog.md`.
## Git Workflow
**Never commit directly to `main`.** Always:
1. Create a feature branch: `git checkout -b feature/short-description`
2. Make commits to the branch
3. Create a pull request (GitHub) for review
4. Merge via PR after approval
This ensures code review, clear history, and traceability.
## Skills
Skills do projeto em `.claude/skills/`: