Skip to content

Commit d038f50

Browse files
committed
docs: add em-dash and AI-vibe pre-commit self-check to CLAUDE.md
1 parent d1a94ba commit d038f50

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ Applies to **everything**: docs, commit messages, CHANGELOG entries, UI strings,
233233
234234
**No em dashes (—).** Anywhere. Use a comma, period, colon, or rewrite the sentence. Hyphens (-) for compound words are fine.
235235
236+
Before any commit that touches user-facing strings, CHANGELOG.md, PR bodies, or files you authored this session, run:
237+
```bash
238+
git diff --cached -U0 | grep -nE '—|seamless|robust|comprehensive|intuitive|effortless|streamlined|leverage|elevate|delve|utilize|facilitate'
239+
```
240+
If anything matches, rewrite before committing.
241+
236242
**No AI-generated filler.** If it sounds like a chatbot wrote it, rewrite it. Banned words: seamless, robust, comprehensive, intuitive, effortless, powerful (as filler), streamlined, leverage, elevate, harness, supercharge, unlock, unleash, dive into, game-changer, empower, delve, utilize, facilitate. No "Absolutely!" / "Ready to dive in?" / "Let's get started!" openers.
237243
238244
**Be specific.** Numbers, tech names, file paths. "Runs in 200ms" beats "runs fast". "Uses `PQexecParams`" beats "uses native binding".

0 commit comments

Comments
 (0)