Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.46 KB

File metadata and controls

31 lines (23 loc) · 1.46 KB

Rules for Claude Code

NEVER commit large binary files

  • NEVER use git add -A or git add . — always stage specific files by name
  • NEVER commit PNG, JPG, WEBP, ZIP, or other binary files larger than 200KB without explicit user approval
  • NEVER commit screenshots, debug images, concept mockups, or dev artifacts
  • NEVER commit test fixtures larger than 1MB
  • Before every git commit, run git diff --cached --stat and review what's being staged
  • If any file is larger than 200KB, stop and ask the user before committing

NEVER use rm

  • NEVER use rm, rm -rf, rm -f, or any command that permanently deletes files
  • ALWAYS use gio trash <file> to move files to trash instead
  • This rule has NO exceptions

Git hygiene

  • Maintain a proper .gitignore BEFORE the first commit
  • Test screenshots, debug output, and build artifacts must be gitignored
  • If you accidentally commit something that shouldn't be there, tell the user immediately — don't try to fix it with filter-repo without asking first
  • NEVER force push without explicit user permission
  • NEVER rewrite git history without explicit user permission

This repo

  • The remote is https://github.com/ByteBard97/kicad-unshuffle.git
  • Commits must use author: Byte Bard <11368675+ByteBard97@users.noreply.github.com>
  • NEVER commit with the gwall-ceres or ceresimaging identity
  • Working directory: /home/geoff/projects/ceres/hardware/kicad-unshuffle-remote