name: git-commit-message description: Generates git commit messages according to werf conventions. Use after staging changes.
Git Commit Message Generation
Instructions
Read types, scopes, subject rules, and body rules from
CONTRIBUTING.md#conventions.Analyze
git diff --cachedto determine the primary type and scope.Use the following format:
<type>(<scope>): <subject> <body>Follow these rules:
- Header: ≤ 72 characters. Nested scopes are allowed.
- Subject: imperative, lower-case, no trailing period.
- Body: imperative, include motivation for the change, contrast with previous behavior.
Output ONLY the commit message (header + body), with no additional text, quotes, or formatting.