forked from bchanot/claude
feat(commits): follow project convention, else short messages
New lib/commit-message.md looks for a documented convention first. Without one, messages stay under 50 words at medium technical level.
This commit is contained in:
1 parent
eb1cfe55a9
commit
e91dcb3f12
8 files changed
+58
-31
No files matched your search
@@ -223,13 +223,9 @@ Parse the `BUGFIX-EXEC REPORT`:
|
||||
- `skip` → leave changes uncommitted, exit cleanly.
|
||||
- `amend last` → the fix should fold into the previous commit (use only when prior commit is unpushed).
|
||||
|
||||
3. Commit using conventional format (after approval):
|
||||
```
|
||||
fix(<scope>): <root cause description>
|
||||
|
||||
<what was wrong and why>
|
||||
<what the fix does>
|
||||
```
|
||||
3. Commit after approval, message per `$HOME/.claude/lib/commit-message.md`
|
||||
(project convention first, else short: root cause in the subject, at most
|
||||
two sentences of body).
|
||||
4. Print summary:
|
||||
```
|
||||
BUGFIX COMPLETE
|
||||
|
||||
Reference in new issue
Block a user