From 064251f6abb9cb6795a46a1ca3ccb28d23656998 Mon Sep 17 00:00:00 2001 From: Gabriel Santana de Menezes Date: Mon, 18 May 2026 11:03:26 -0400 Subject: [PATCH] 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 --- CLAUDE.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 2b8553d..3bef874 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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/`: