@@ -18,7 +18,7 @@ description: |
1818 Generates commit messages with:
1919 - Proper type (feat, fix, refactor, docs, test, chore, perf, ci, build, revert)
2020 - Optional scope (component/module affected)
21- - Concise summary (imperative mood, ≤72 chars)
21+ - Concise summary (imperative mood, ≤70 chars)
2222 - Detailed body for complex changes (multi-paragraph support)
2323 - Breaking change notation (!) and BREAKING CHANGE footer
2424 - Additional footers (issue refs, co-authors)
@@ -98,26 +98,27 @@ blocks:
9898 type :
9999 type : string
100100 enum : [feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert]
101- description : " Commit type following Conventional Commits"
101+ description : " (Required) Commit type following Conventional Commits"
102102 scope :
103103 type : string
104104 default : " "
105- description : " Component/module affected (optional, e.g., 'api', 'auth', 'config')"
105+ description : " (Optional) Component/module affected (optional, e.g., 'api', 'auth', 'config')"
106106 summary :
107107 type : string
108- maxLength : 72
109- description : " Brief summary in imperative mood, lowercase, no period"
108+ maxLength : 70
109+ description : " (Required) Brief summary in imperative mood, lowercase, no period"
110110 body :
111111 type : string
112112 default : " "
113- description : " Detailed explanation of what changed and why (use for complex changes, multiple paragraphs allowed) "
113+ description : " (Optional) Concise explanation of what changed and why"
114114 is_breaking :
115115 type : boolean
116- description : " Whether this commit introduces breaking changes"
116+ default : false
117+ description : " (Optional) Does this commit introduce breaking changes?(true/false)"
117118 breaking_description :
118119 type : string
119120 default : " "
120- description : " Description of breaking change and migration steps (required if is_breaking=true, empty string if false) "
121+ description : " (Optional) In case of breaking changes write the details here "
121122 prompt : |
122123 Analyze the following git changes:
123124
@@ -138,7 +139,7 @@ blocks:
138139 - Configuration: new required fields, renamed/removed fields, schema changes
139140 - Database/migrations: schema changes requiring data migration
140141
141- If ANY breaking change detected, set is_breaking=true and provide breaking_description with:
142+ If ANY breaking change detected, set is_breaking=true and only include breaking_description with:
142143 1. What breaks and why
143144 2. Migration steps for users
144145 3. Alternative approaches if available
@@ -161,12 +162,12 @@ blocks:
161162
162163 summary: Imperative mood, lowercase, no period, max 70 chars. Focus on WHAT changed.
163164
164- body: Explain WHAT changed and WHY (not HOW - code shows that). Use body when:
165+ body: Explain concisely WHAT changed and WHY (not HOW - code shows that).
166+ Use body when:
165167 - Multiple files/components changed
166168 - Non-obvious design decisions made
167169 - Performance/security implications exist
168170 - Complex refactoring requiring context
169- Multiple paragraphs allowed. Use actual newlines (not \n).
170171 IMPORTANT: Do NOT include "BREAKING CHANGE" text in body - use is_breaking and breaking_description fields instead.
171172 condition : " {{blocks.analyze_changes.outputs.has_changes and inputs.commit_message == ''}}"
172173 depends_on :
0 commit comments