Skip to content

Commit 9beddbb

Browse files
committed
feat: improve commit message guidelines
1 parent 49dea22 commit 9beddbb

File tree

3 files changed

+3
-61
lines changed

3 files changed

+3
-61
lines changed

.claude/commands/commit.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Handle the complete commit workflow:
2020
2. **Generate commit message** based on changes:
2121
- Use conventional commit format: `<type>: <description>`
2222
- Types: feat, fix, docs, style, refactor, test, chore
23+
- Keep description concise (under 50 chars), focus on purpose/benefit
24+
- Add body only if needed to explain WHY (1-2 sentences max)
25+
- NEVER mention specific files, methods, classes, or implementation details
2326

2427
3. **Handle pre-commit hooks**:
2528
- Attempt commit to trigger lefthook checks

test-commit-msg.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

test-prompts.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)