Skip to content

Commit 8a22b77

Browse files
authored
docs: add critical rules and perf/ci commit types (#31)
1 parent 27f4e10 commit 8a22b77

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1313
5. **Branch naming** - Use format: `type/scope/short-description` (e.g., `feat/blog/new-post-script`)
1414
6. **Working an issue** - Always create a new branch from an updated main branch
1515
7. **Check branch status before pushing** - Verify the remote tracking branch still exists. If a PR was merged/deleted, create a new branch from main instead
16-
8. **No co-authors** - Do not add co-author information on commits or pull requests
17-
9. **No "generated by" statements** - Do not add generated-by statements on pull requests
16+
8. **Write tests** - All new/refactored code requires tests where applicable
17+
9. **Run validation before commits** - Run `npm run build` and verify no errors before committing
18+
10. **No co-authors** - Do not add co-author information on commits or pull requests
19+
11. **No "generated by" statements** - Do not add generated-by statements on pull requests
1820

1921
### Conventional Commit Types
2022

@@ -26,6 +28,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
2628
| `refactor` | Code change that neither fixes a bug nor adds a feature |
2729
| `test` | Adding or updating tests |
2830
| `chore` | Maintenance tasks |
31+
| `perf` | Performance improvement |
32+
| `ci` | CI/CD changes |
2933

3034
### GitHub CLI Commands
3135

0 commit comments

Comments
 (0)