来源信息
- 仓库
- olasunkanmi-SE/codebuddy
- 最近来源活动
- 2026年3月8日 03:01
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 141
- 分支
- 44
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- github
- description
- Manage GitHub repositories, issues, and pull requests via the gh CLI.
- metadata
- {"displayName":"GitHub","icon":"github","category":"version-control","version":"1.0.0","dependencies":{"cli":"gh","checkCommand":"gh --version","install":{"darwin":"[Truncated]","linux":"[Truncated]","windows":"[Truncated]"}},"auth":{"type":"oauth","setupCommand":"gh auth login"}}
# gh (GitHub CLI)
Use `./.codebuddy/bin/gh` to interact with GitHub.
This tool allows you to manage PRs, issues, and repositories directly from the chat.
## Setup
Before using, you must authenticate. Run the following command in the terminal:
`./.codebuddy/bin/gh auth login`
## Common Commands
### Pull Requests
- List PRs: `./.codebuddy/bin/gh pr list`
- View PR: `./.codebuddy/bin/gh pr view <PR-NUMBER>`
- Checkout PR: `./.codebuddy/bin/gh pr checkout <PR-NUMBER>`
- Create PR: `./.codebuddy/bin/gh pr create`
- Review PR: `./.codebuddy/bin/gh pr review <PR-NUMBER>`
- Merge PR: `./.codebuddy/bin/gh pr merge <PR-NUMBER>`
### Issues
- List issues: `./.codebuddy/bin/gh issue list`
- View issue: `./.codebuddy/bin/gh issue view <ISSUE-NUMBER>`
- Create issue: `./.codebuddy/bin/gh issue create`
### Repositories
- View repo info: `./.codebuddy/bin/gh repo view`
- Clone repo: `./.codebuddy/bin/gh repo clone <OWNER>/<REPO>`
## Notes
- Ensure you have a GitHub account and permissions for the repositories you want to access.
- Authentication token is stored securely by `gh`.
在 GitHub 查看