一键导入
read-github
Read GitHub issues and pull requests via the REST API instead of scraping HTML pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read GitHub issues and pull requests via the REST API instead of scraping HTML pages.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | read-github |
| description | Read GitHub issues and pull requests via the REST API instead of scraping HTML pages. |
When a user references a GitHub issue or PR URL (e.g.
https://github.com/PAIR-code/deliberate-lab/issues/NNN or
.../pull/NNN), use the GitHub REST API to fetch clean JSON rather
than fetching the HTML page. The HTML is dominated by navigation chrome,
CSS, and JavaScript — making it difficult to extract the actual content.
API endpoints follow the standard pattern:
https://api.github.com/repos/{owner}/{repo}/issues/{number}https://api.github.com/repos/{owner}/{repo}/pulls/{number}The issue/PR endpoint does not include comments inline — they are
only available via a separate request. Check the comments field in the
response. If it is greater than zero, fetch them:
https://api.github.com/repos/{owner}/{repo}/issues/{number}/commentsIssue and PR comments often contain supplementary guidance, research findings, design decisions, and other context critical to understanding the work. Do not skip them.
Set up a git worktree to run and evaluate an upstream Pull Request locally in a flat worktree bare clone repository layout.
Sync a fork's main branch with upstream and rebase local feature branches. Designed for the triangle workflow where development happens in fork feature branches and PRs go to the upstream repo.