From e408771f8f3b46cd600b024548d5b121b7637bdd Mon Sep 17 00:00:00 2001 From: Lorenz Hilpert Date: Thu, 23 Oct 2025 19:00:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20add=20Git=20branch=20nam?= =?UTF-8?q?ing=20convention=20to=20CLAUDE.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add standardized branch naming pattern for features and bugfixes: - Format: feature/{task-id}-{short-description} - Use English kebab-case - Start with task/issue ID - Include example for clarity --- CLAUDE.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 16c6103fe..8a2abbc49 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -230,6 +230,13 @@ isDesktop = breakpoint([Breakpoint.Desktop, Breakpoint.DekstopL, Breakpoint.Deks ### Project Conventions - **Default Branch**: `develop` (not main) - Always create PRs against develop +- **Branch Naming**: When starting work on a new feature or bug, create a branch following this pattern: + - Format: `feature/{task-id}-{short-description}` or `bugfix/{task-id}-{short-description}` + - Use English kebab-case for the description + - Start with the task/issue ID (e.g., `5391`) + - Keep description concise - shorten if the full title is too long + - Example: For task "#5391 Prämie Checkout // Action Card - Versandbestellung" + - Branch: `feature/5391-praemie-checkout-action-card-delivery-order` - **Commit Style**: [Conventional commits](https://www.conventionalcommits.org/) without co-author tags - **Nx Cache**: Always use `--skip-nx-cache` for tests to ensure fresh results - **Testing**: New libraries use Vitest + Angular Testing Utilities; legacy use Jest + Spectator