关于 codex-github
codex-github 是一项供 Codex 使用的 GitHub 连接技能,按步骤检查工具、完成身份验证并设置 Git 用户信息。它还通过创建测试仓库并推送提交来验证配置。
主要功能
- 01检查 git 与 gh 版本
- 02通过网页完成 gh 登录
- 03设置 Git 用户名和邮箱
- 04创建测试仓库并验证推送
- 05汇报版本、登录与测试结果
适用场景
- 01为 Codex 配置 GitHub 访问
- 02确认新环境能否推送仓库
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ mathruffian-dot/ codex-lazy-packs --skill codex-github安装后在 Claude Code 中输入/codex-github确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
連接 GitHub(Codex 版)
git --version && gh --versiongh auth login --web --git-protocol httpsgit config --global user.name "..." && git config --global user.email "..."- 建立測試 repo → commit → gh repo create → push,成功後詢問保留或刪除
回報:版本、登入狀態、使用者資訊、push 測試結果。
评论
支持 Markdown