github-discussion-query

Query GitHub discussions and return structured JSON metadata or jq-filtered results.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/kaushal-waygood/agentic-self-healing-ci --skill github-discussion-query-kaushal-waygood
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-discussion-query
Source: https://github.com/kaushal-waygood/agentic-self-healing-ci/tree/main/skills/github-discussion-query
Command: npx skills add https://github.com/kaushal-waygood/agentic-self-healing-ci --skill github-discussion-query-kaushal-waygood

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents overwhelming outputs when listing GitHub discussions by returning schema and size metadata by default and enabling precise, client-side filtering when requested, so you can discover structure before fetching large datasets.

Core Features & Use Cases

  • Schema-first listing: Returns item count and data size when no jq filter is provided to help you inspect structure before retrieving full data.
  • Flexible jq filtering: Accepts jq expressions to select, transform, and aggregate discussion JSON (examples: filter by author, category, labels, answered status, or count by category).
  • Repository and size controls: Supports querying the current repo or a specified owner/repo and limiting the number of returned discussions for targeted analysis.

Quick Start

Run the skill to fetch discussion metadata or filtered JSON results by specifying a repository, limit, and an optional jq expression.

Frequently Asked Questions about github-discussion-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter GitHub discussions by category or author?▼

You can filter GitHub discussions by author, category, or labels by providing a jq expression to the query. This enables precise client-side filtering to return only the specific discussion JSON data you need.

What is the best way to list recent GitHub discussions without retrieving too much data?▼

Listing recent GitHub discussions defaults to a schema-first approach that returns item count and data size metadata instead of full payloads. You can also apply a limit parameter to restrict the number of returned discussions for targeted analysis.

How do I use jq to query and sort GitHub discussions by updated timestamps?▼

Querying and sorting GitHub discussions by updated timestamps is done by passing a jq expression to the skill. This applies client-side filtering to transform and aggregate the structured JSON metadata returned from the repository.

Can I check the JSON structure of GitHub discussions before fetching large datasets?▼

Yes, checking the JSON structure of GitHub discussions is supported by returning a schema summary when no jq filter is provided. This helps you inspect the data structure and size before retrieving the full dataset.

How do I count answered GitHub discussions in a specific repository?▼

To count answered GitHub discussions in a repository, specify the owner/repo parameter and apply a jq expression to aggregate the JSON by answered status. This returns the filtered count without fetching overwhelming outputs.