Initial dotfiles repo for Mac and Linux
This commit is contained in:
28
claude/.claude/CLAUDE.md
Normal file
28
claude/.claude/CLAUDE.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Global Claude Code Instructions
|
||||
|
||||
## Canva Monorepo Workflow
|
||||
|
||||
### Pre-Commit Check (MANDATORY)
|
||||
|
||||
When working in the Canva monorepo (`~/work/canva`), ALWAYS run `taz check` before every `git commit`.
|
||||
|
||||
1. `taz check` (generate, format, lint, and test changed files)
|
||||
2. `git add <files>`
|
||||
3. `git commit`
|
||||
|
||||
Never skip step 1.
|
||||
|
||||
### AI Attribution Policy
|
||||
|
||||
Do NOT add any AI attribution to commits or PRs.
|
||||
|
||||
### Write/Modify Operations - IMPORTANT
|
||||
|
||||
For ANY write or modify operations:
|
||||
1. Show the command first
|
||||
2. Explain what it will do
|
||||
3. Wait for explicit approval before running
|
||||
|
||||
### Additional Instructions
|
||||
|
||||
Rules in `~/.claude/rules/` are auto-generated from `~/.dotfiles/ai-instructions/` at install time.
|
||||
Reference in New Issue
Block a user