github-pr-query
仓库创建 2025年8月13日最近提交 2 小时前SkillHot 收录 1 小时前
▸ 精选理由
支持灵活筛选与结构预览,适合代码审查与自动化流程。
▸ 风险提示
需要提供 GitHub 访问令牌以调用 API。
这个 Skill 做什么
使用内置 jq 过滤器高效查询 GitHub Pull Requests。
用内置的 jq 过滤器快速筛选和查询 GitHub 的 PR 数据,支持可复用的选择器和精确投影。不带 --jq 时只返回数据结构与大小,方便先查看结果结构避免返回过大数据。特别之处是把 jq 集成到查询流程里,既高效又利于脚本化使用。
▸ 展开 SKILL.md 英文原文
Query GitHub pull requests with jq filtering and reusable selectors.
4.9k
Stars
482
Forks
40
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/github/gh-aw/main/.github/skills/github-pr-query/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/github/gh-aw/main/.github/skills/github-pr-query/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# GitHub Pull Request Query Skill Query GitHub pull requests efficiently with built-in jq filtering. ## Important: jq Parameter is Optional The `--jq` parameter is **optional**. Without `--jq`, this skill returns **schema and data size information** instead of full data. Use this to avoid oversized responses and inspect structure before targeted queries. Use `--jq '.'` to get all data, or use a more specific filter for targeted results. ## Usage Use this skill to query pull requests from the current repository or any specified repository. ### Basic Query (Returns Schema Only) To list pull requests from the current repository: ```bash ./query-prs.sh # Returns schema and data size, no
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有