github-pr-issue
查看和管理 GitHub Issues 和 PR
查看 GitHub Issues 和 PR 需要多個 CLI 命令。這個技能提供統一的命令來按照團隊標準查看、建立和更新 Issues 和 PR。使用標準化的 PR 描述和非互動式 Issue 建立來簡化您的 GitHub 工作流程。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“github-pr-issue”。 View PR https://github.com/owner/repo/pull/456 with diff, stats, and comments
预期结果:
- PR #456: feat: add user dashboard
- Author: developer | Status: open, mergeable
- Additions: +245 lines, Deletions: -32 lines
- Changed files: 8 | Comments: 5
- Reviews: 2 approved, 1 changes requested
正在使用“github-pr-issue”。 Create a GitHub Issue about a bug in the login flow
预期结果:
- Issue created successfully
- https://github.com/owner/repo/issues/789
安全审计
低风险Low-risk skill that uses legitimate GitHub CLI commands and API calls to github.com. The external_commands pattern at read_pr.py:54 calls 'gh auth token' with hardcoded arguments for authentication. Network calls only target api.github.com. All cryptographic algorithm and obfuscation findings are false positives - the scanner misidentified Pydantic model field names (totalCount) as crypto functions. The backtick references in SKILL.md are documentation syntax, not executable code. This is a standard developer tool for GitHub workflow automation.
风险因素
⚙️ 外部命令 (1)
🌐 网络访问 (2)
质量评分
你能构建什么
快速 PR 程式碼審查
在一個命令中拉取包含差異的 PR 詳細資訊,無需開啟瀏覽器即可審查變更
標準化 PR 描述
使用語義前綴生成符合團隊慣例的一致性 PR 描述
Issue 追蹤工作流程
在 CI/CD 管道中以程式化方式建立和更新 Issues
试试这些提示
View this GitHub PR: https://github.com/OWNER/REPO/pull/123 with diff, stats, and all comments
Create a GitHub Issue titled 'feat: add user authentication' with body describing the feature requirement
Create a PR from branch 'feature/new-login' to main with semantic title 'feat(auth): implement OAuth2 login' and description including summary, key changes, and testing instructions
Update PR title to 'fix: resolve memory leak in connection pool' after reviewing the current title
最佳实践
- 始終使用 --body-file 來處理多行描述,以避免 shell 逸出問題
- 成功建立後,將 PR URL 作為獨立行顯示
- 在更新任何 Issue 或 PR 之前,先審查目前的內容
避免
- 在自動化工作流程中使用互動式編輯器來建立 Issue 或 PR
- 在更新標題或描述之前跳過審查步驟
- 進行多個 gh API 呼叫,而一次指令碼執行可以收集所有需要的資料