mcpField
A
antigravity-github

antigravity-github

github.com/mathruffian-dot开发78136 次安装8 周前更新
代码仓库

关于 antigravity-github

为 AntiGravity 用户提供通过 GitHub CLI 连接 GitHub 的配置指南,涵盖身份验证、Git 用户信息设置,以及凭证和提交前的基本安全措施。

主要功能

  1. 01检查 GitHub CLI 身份验证
  2. 02通过网页流程登录
  3. 03设置全局 Git 用户信息
  4. 04避免暴露令牌
  5. 05提交前检查变更

适用场景

  1. 01配置 GitHub CLI 访问
  2. 02设置设备上的 Git 用户身份
  3. 03创建提交前检查变更

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/mathruffian-dot/antigravity-lazy-pack --skill antigravity-github

安装后在 Claude Code 中输入/antigravity-github确认已加载。

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

連接 GitHub(AntiGravity 版)

步驟

1. 檢查
gh auth status
2. 登入
gh auth login --web --git-protocol https
3. 設定 Git 使用者
git config --global user.name "你的名字"
git config --global user.email "[email protected]"
4. 安全規則
  • 不把 GitHub token 寫進 Markdown、AGENTS 或 repo
  • commit 前先檢查 diff,不無差別 git add .

评论

支持 Markdown