·github
</>

github

使用 GITHUB_TOKEN 環境變數和 GitHub CLI 與 GitHub 儲存庫、拉取請求、問題和工作流程進行互動。在使用 GitHub 上託管的程式碼或管理 GitHub 資源時使用。

9安裝·0熱度·@openhands

安裝

$npx skills add https://github.com/openhands/extensions --skill github

如何安裝 github

透過命令列快速安裝 github AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/openhands/extensions --skill github
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:openhands/extensions。

SKILL.md

查看原文

You have access to an environment variable, GITHUBTOKEN, which allows you to interact with the GitHub API.

You can use curl with the GITHUBTOKEN to interact with GitHub's API. ALWAYS use the GitHub API for operations instead of a web browser. ALWAYS use the createpr tool to open a pull request If the user asks you to check GitHub Actions status, first try to use gh to work with workflows, and only fallback to basic API calls if that fails.

If you encounter authentication issues when pushing to GitHub (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: git remote set-url origin https://${GITHUBTOKEN}@github.com/username/repo.git

使用 GITHUB_TOKEN 環境變數和 GitHub CLI 與 GitHub 儲存庫、拉取請求、問題和工作流程進行互動。在使用 GitHub 上託管的程式碼或管理 GitHub 資源時使用。 來源:openhands/extensions。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/openhands/extensions --skill github
分類
</>開發工具
認證
收錄時間
2026-03-10
更新時間
2026-03-11

Browse more skills from openhands/extensions

快速解答

什麼是 github?

使用 GITHUB_TOKEN 環境變數和 GitHub CLI 與 GitHub 儲存庫、拉取請求、問題和工作流程進行互動。在使用 GitHub 上託管的程式碼或管理 GitHub 資源時使用。 來源:openhands/extensions。

如何安裝 github?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/openhands/extensions --skill github 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/openhands/extensions

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-03-10