What problem does it solve?
This Skill streamlines the process of querying GitHub discussions by providing efficient jq filtering support, allowing users to quickly retrieve, filter, and transform discussion data for analysis or further automation. It helps AI agents and developers automate data collection and analysis from GitHub.
Core Features & Use Cases
- Flexible Querying: List discussions from the current or any specified repository with options for limit.
- Advanced
jq Filtering: Use jq expressions to filter by author, categories, answers, comments, and transform output to desired formats.
- Schema & Size Information: Get schema and data size details when no
jq filter is provided, preventing overwhelming responses.
- Automated Data Extraction: Ideal for AI agents needing specific discussion data for decision-making or reporting.
- Use Case: An AI agent needs to find all unanswered discussions in the "Ideas" category. This skill enables the agent to execute a
query-discussions.sh --jq '.[] | select(.answer == null and .category.name == "Ideas")' command.
Quick Start
Use the github-discussion-query skill to list the number and title of all discussions in the current repository: ./query-discussions.sh --jq '.[] | {number, title}'.