.cursor/rules/git-rules.md
Branch names should follow this structure:
ED-{ticket-number}-{short-description}
ED-21821)add-feature not adds-feature)✅ Good:
ED-21821-variable-validationED-21821-design-system-analysisED-22100-fix-auth-bugED-22200-add-button-component❌ Bad:
feature/design-system (missing ticket number)ED-21821_variable_validation (use hyphens, not underscores)ED-21821-this-is-a-very-long-description-that-explains-everything (too long)ed-21821-Variable-Validation (inconsistent casing)Follow the Elementor commit message convention:
{Type}: {Description} [ED-{ticket-number}]
✅ Good:
Internal: Add variable reuse validation for design system [ED-21821]Fix: Prevent duplicate global class creation [ED-21821]New: Add design system analysis tool [ED-21821]main unless part of a dependent chainmain (or dependent branch)mainmain (squash or merge commit based on team preference)For large features split into multiple phases:
ED-21821-phase-1-validationED-21821-phase-2-analysisED-21821-phase-3-templates