github-discussion-query
SolidQuery GitHub discussions with jq filtering and reusable selectors.
Code & Development 4,612 stars
420 forks Updated today MIT
Install
Quality Score: 91/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
Code & Development Solid
github-issue-query
Query GitHub issues with jq filtering and reusable selectors.
4,612 Updated today
github Code & Development Solid
github-pr-query
Query GitHub pull requests with jq filtering and reusable selectors.
4,612 Updated today
github AI & Automation Featured
jq
Expert jq usage for JSON querying, filtering, transformation, and pipeline integration. Practical patterns for real shell workflows.
40,440 Updated today
sickn33