# Antigravity Github

> 在 AntiGravity 連接 GitHub CLI。說「連接 GitHub」「設定 GitHub」時載入。

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

---


# 連接 GitHub（AntiGravity 版）

## 步驟

### 1. 檢查
```bash
gh auth status
```

### 2. 登入
```bash
gh auth login --web --git-protocol https
```

### 3. 設定 Git 使用者
```bash
git config --global user.name "你的名字"
git config --global user.email "your-email@example.com"
```

### 4. 安全規則
- 不把 GitHub token 寫進 Markdown、AGENTS 或 repo
- commit 前先檢查 diff，不無差別 `git add .`

