Start Work
- Read
AGENTS.md(if there isANTIGRAVITY.md、handoff.md, read it as well) - Read project notes highlights
git status+ recent commit- Report status and suggest next steps
- Do not automatically pull/commit/push
End Work
- Check sensitive data (API key, token, student real names, etc.)
- Update project notes (completed items, next steps, pitfalls)
- Only update AGENTS.md when rules change; write progress handoff in handoff.md
- Check git status + diff
- Only stage files relevant to this session (do not use
git add .) - After confirmation, commit + push
- Report sync results
New Project Initialization
First ask: name, purpose, folder, whether GitHub repo, public/private, whether to deploy.
Create: AGENTS.md, README.md, .gitignore, Git repo, GitHub repo, project notes;ANTIGRAVITY.md serves only as a concise entry point pointing to AGENTS.md (the old AntiGravity 1 approach was to put all rules in ANTIGRAVITY.md).
If it already exists → after taking inventory, only fill the gaps, do not overwrite.