29 lines
705 B
Markdown
29 lines
705 B
Markdown
# 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.
|