AGENT SKILL
github-ops
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 94
- Forks
- 2
03 SKILL.md 正文
GitHub Ops
GitHub API operations for issues, pull requests, code search, and repository management.
- Use the
http_requesttool withhttps://api.github.comandAuthorization: Bearer <token>header for all API calls. - List issues:
GET /repos/{owner}/{repo}/issues?state=open&per_page=20 - Create issue:
POST /repos/{owner}/{repo}/issueswith{"title", "body", "labels"} - Search code:
GET /search/code?q={query}+repo:{owner}/{repo} - List PRs:
GET /repos/{owner}/{repo}/pulls?state=open - Get PR diff:
GET /repos/{owner}/{repo}/pulls/{number}/files - For git operations on local repos, use the
git-operationnode orbash_execwithgit. - Always handle GitHub API rate-limit headers (
X-RateLimit-Remaining); pause if remaining < 5. - When creating or updating issues, link related board tasks using the task ID in the issue body.
- Store frequently accessed repo metadata in memory for reuse across sessions.