penpot/.serena/memories/workflow/creating-commits.md
2026-06-08 12:02:28 +02:00

1.1 KiB

Creating Commits

Commit only on explicit request. Before commit: git status; exclude unrelated user changes.

Do not guess or hallucinate git author information (Name or Email). Never include the --author flag in git commands unless specifically instructed by the user for a unique case; assume the local environment is already configured. Allow git commit to automatically pull the identity from the local git config user.name and user.email.

Message Format

:emoji: Subject line (imperative, capitalized, no period, <=70 chars)

Body explaining what changed and why.

Co-authored-by: <You (the LLM)>

Commit Type Emojis

:bug: bug fix · :sparkles: enhancement · :tada: new feature · :recycle: refactor · :lipstick: cosmetic · :ambulance: critical fix · :books: docs · :construction: WIP · :boom: breaking · :wrench: config · :zap: perf · :whale: docker · :paperclip: other · :arrow_up: dep upgrade · :arrow_down: dep downgrade · :fire: removal · :globe_with_meridians: translations · :rocket: epic/highlight