Skip to content

Commit b554b44

Browse files
committed
docs(dev): update commit command co-author handling
Simplify workflow by removing breaking change step and update co-author section to use parameterized arguments system.
1 parent cddd451 commit b554b44

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.claude/commands/commit.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ Analyze the git diff of staged files and create a commit message following conve
2929
5. Choose appropriate type and scope based on changes
3030
6. Write concise description (50 chars max for first line)
3131
7. Include body if changes are complex
32-
8. Add breaking change footer if applicable
33-
9. If this is the final commit after extensive Claude assistance with code creation/modification/deletion, add `Co-Authored-By: Claude <noreply@anthropic.com>` at the end of the commit body
34-
10. Commit the staged changes with the generated message
32+
8. Commit the staged changes with the generated message
33+
34+
**Co-authors**
35+
Add the following co-authors: $ARGUMENTS
36+
If the list is empty, do not add any co-authors.
37+
Here is a list of co-authors (name, co-authored-by):
38+
- claude: `Co-Authored-By: Claude <noreply@anthropic.com>`
3539

3640
**Notes**
3741
- Do not include emojis in the commit message.

0 commit comments

Comments
 (0)