# Antigravity Workflow

> AntiGravity 開工/收工/新專案初始化流程。說「開工」「收工」「初始化專案」時載入。

- Skill: `mathruffian-dot/antigravity-workflow` (Agent Skill)
- Install (CLI): `npx skillmds@latest add mathruffian-dot/antigravity-workflow`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mathruffian-dot/antigravity-workflow/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: mathruffian-dot (https://skillmd.com/u/mathruffian-dot)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mathruffian-dot/antigravity-workflow

---


# 開工 / 收工 / 新專案初始化

## 開工
1. 讀取 `AGENTS.md`（若有 `ANTIGRAVITY.md`、`handoff.md` 一併讀）
2. 讀取專案筆記重點
3. `git status` + 最近 commit
4. 回報狀態與建議下一步
5. 不自動 pull/commit/push

## 收工
1. 檢查敏感資料（API key、token、學生真名等）
2. 更新專案筆記（完成事項、下一步、踩坑）
3. 只在規則改變時更新 AGENTS.md；進度交接寫 handoff.md
4. 檢查 git status + diff
5. 只 stage 本次相關檔案（不用 `git add .`）
6. 確認後 commit + push
7. 回報同步結果

## 新專案初始化
先問：名稱、用途、資料夾、是否 GitHub repo、公開/私有、是否部署。
建立：AGENTS.md、README.md、.gitignore、Git repo、GitHub repo、專案筆記；`ANTIGRAVITY.md` 只作為指向 AGENTS.md 的精簡入口（AntiGravity 1 舊寫法是把規則全放 ANTIGRAVITY.md）。
若已存在 → 盤點後只補缺口，不覆蓋。

