github-discussion-query

Solid

Query GitHub discussions with jq filtering and reusable selectors.

Code & Development 4,612 stars 420 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# GitHub Discussion Query Skill Query GitHub discussions 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 discussions from the current repository or any specified repository. ### Basic Query (Returns Schema Only) To list discussions from the current repository: ```bash ./query-discussions.sh # Returns schema and data size, not full data ``` ### Get All Data To get all discussion data: ```bash ./query-discussions.sh --jq '.' ``` ### With Repository To query a specific repository: ```bash ./query-discussions.sh --repo owner/repo ``` ### With jq Filtering Use the `--jq` argument to filter and transform the output: ```bash # Get discussion numbers and titles ./query-discussions.sh --jq '.[] | {number, title}' # Get discussions by a specific author ./query-discussions.sh --jq '.[] | select(.author.login == "username")' # Get discussions in a specific category ./query-discussions.sh --jq '.[] | select(.category.name == "Ideas")' # Get answered discussions ./query-discussions.sh --jq '.[] | select(.answer != null)' # Count discussions by category ./query-discussions.sh --jq 'group_by(.category.name) | ma...

Details

Author
github
Repository
github/gh-aw
Created
10 months ago
Last Updated
today
Language
Go
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category