1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2026-06-16 20:35:08 -05:00

Add git-safety and PR-review notes to CLAUDE.md files

This commit is contained in:
Kaan Barmore-Genc 2026-06-07 14:22:20 -05:00
parent b27d93727d
commit a812aa29ad
2 changed files with 13 additions and 0 deletions

View file

@ -15,3 +15,11 @@ type = "symbolic"
For directories where programs create new files that should be tracked (e.g., fish's `funcsave` command), use the `ensure_dir_symlink` function in `setup.sh` instead of Dotter. This symlinks the entire directory so dynamically created files are automatically tracked in the repository.
## Git Destructive Operations
Do **not** use destructive git operations like `git checkout <file>` without first confirming you are sure what will be destroyed.
If you made a change to a file and you'd like to revert it, first use `git diff --shortstat <file>` at minimum to confirm the file only has your changes
and no pre-existing uncommitted changes.

View file

@ -8,3 +8,8 @@ The `discord-send` CLI is on my PATH. Use it whenever I ask you to notify me whe
discord-send 'Build finished successfully'
discord-send --attach ./screenshot.png 'Here is the rendered page'
```
## Responding to reviews
When asked to respond to reviews in a PR, check the PR description and all comments. Check out the PR branch. Decide if any changes are required or not, make changes if needed, commit and push once done. Always push the PR branch if responding to a PR, do not push to a different branch.