AGCMD

AI Coding Agent Commands & Tips

Always start on a fresh branch

workflowsafetygit
Command
git checkout -b agent/short-task-name
Safety note: Keeping agent changes isolated makes review and rollback easy.

Why it works: branches isolate experimentation and prevent accidental pollution of your main line.

Workflow: create branch → let agent work → run tests → review diff → squash/merge when clean.

Bonus: compare multiple agent attempts by using separate branches.

Template: What it doesWhen to useWhen not to useSafer alternative.