Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

githubGitHub 代码协作

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

196

周安装

8

GitHub Stars

公开资料未说明

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github(GitHub 代码协作)
来源仓库:https://github.com/michaelfisher1997/opencode-config
仓库路径:skills/github
安装命令:
npx skills add michaelfisher1997/opencode-config --skill "github"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add michaelfisher1997/opencode-config --skill "github"

简介

围绕 GitHub 仓库、Issue 和 PR 提供代码协作辅助能力。

  • 适用于项目管理、代码审查和变更跟踪场景。
  • 支持仓库查询、分支管理和 Issue 自动化处理。
  • 使用前需配置 GitHub Token 并限定仓库访问范围。
  • 涉及写操作时应开启二次确认防止误提交。github 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

GitHub

  • Prefer using gh CLI commands for all GitHub operations including viewing issues, PRs, repos, and discussions.
  • Use gh issue view, gh pr view, gh repo view to inspect GitHub resources instead of web search.
  • When given a GitHub URL (e.g., https://github.com/user/repo/issues/123), extract the info and use gh to fetch the issue/PR data.
  • Use gh api for advanced GitHub API interactions that are not natively supported by gh commands.
  • Always assume GitHub URLs may refer to private repositories and use gh for authentication.
  • Use git for all local git operations (clone, branch, commit, push, etc.).

When to Use gh CLI

Use gh for:

  • Viewing issues: gh issue view <number> --repo owner/repo
  • Viewing PRs: gh pr view <number> --repo owner/repo
  • Searching issues/PRs: gh issue list --repo owner/repo --search "query"
  • Viewing repository info: gh repo view owner/repo
  • Creating PRs: gh pr create
  • Creating issues: gh issue create
  • Checking CI status: gh run list, gh run view
  • Viewing workflows: gh workflow list, gh workflow view
  • Creating releases: gh release create

Workflows

Pull Request

  • You must git push a branch before creating a pull request with gh pr create.
  • Use gh pr create with appropriate flags for title, body, reviewers, etc.

Viewing Issues from URLs

When given a GitHub issue URL like https://github.com/owner/repo/issues/123:

  1. Extract owner, repo, and issue number
  2. Run gh issue view 123 --repo owner/repo
  3. Use the issue data instead of web search

Viewing PRs from URLs

When given a GitHub PR URL like https://github.com/owner/repo/pull/456:

  1. Extract owner, repo, and PR number
  2. Run gh pr view 456 --repo owner/repo
  3. Use the PR data instead of web search

Searching Issues

Use gh issue list to search:

gh issue list --repo owner/repo --search "bug"
gh issue list --repo owner/repo --search "is:open label:enhancement"

Searching PRs

Use gh pr list to search:

gh pr list --repo owner/repo --search "is:open"
gh pr list --repo owner/repo --search "base:main"

Common Commands

Repository Info

gh repo view owner/repo
gh repo view owner/repo --json name,description,topics,stars

Issues

gh issue list --repo owner/repo
gh issue view 123 --repo owner/repo
gh issue create --repo owner/repo --title "Title" --body "Body"

Pull Requests

gh pr list --repo owner/repo
gh pr view 456 --repo owner/repo
gh pr create --base main --title "Title" --body "Body"

CI/Workflows

gh workflow list --repo owner/repo
gh run list --repo owner/repo
gh run view run-id --repo owner/repo --log

Keywords

GitHub, issue, pull request, PR, repository, repo, gh, git, GitHub CLI, GitHub API, workflow, release, CI/CD

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

28.26%
按下载量换算18

OpenCode

22.65%
按下载量换算14

Codex

17.29%
按下载量换算11

Claude Code

12.76%
按下载量换算8

Antigravity

6.91%
按下载量换算4

Gemini CLI

3.46%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills