gh-discussion

Create and manage GitHub Discussions via the GraphQL API.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/ssv445/claude-skills --skill gh-discussion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-discussion
Source: https://github.com/ssv445/claude-skills/tree/main/gh-discussion
Command: npx skills add https://github.com/ssv445/claude-skills --skill gh-discussion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub workflows often require creating or moderating Discussions; this skill provides a reliable way to programmatically manage discussions via GraphQL, enabling automation and consistent moderation.

Core Features & Use Cases

  • Create discussions with titles and bodies in target repositories.
  • List discussions and access categories for planning and triage.
  • Add comments, update or close discussions to keep conversations organized.

Quick Start

Create a new GitHub Discussion in the target repository with a title and body.

Frequently Asked Questions about gh-discussion

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

FAQPage Schema
How do I automate GitHub Discussions creation and management via GraphQL?

You can automate GitHub Discussions management via GraphQL by using this skill to programmatically create discussions, list categories, add comments, and close conversations across target repositories. It requires authenticated gh CLI access and GraphQL permissions.

Can I use the gh CLI to programmatically add comments and close GitHub Discussions?

Yes, the gh CLI can programmatically add comments and close GitHub Discussions by executing GraphQL API mutations through this skill. This enables consistent moderation and keeps conversations organized without manual repository intervention.

Do I need specific GraphQL permissions to create GitHub Discussions in a target repository?

Yes, creating GitHub Discussions requires authenticated gh CLI access and specific GraphQL permissions for the target repository. This skill leverages these credentials to automate discussion creation, categorization, and ongoing moderation workflows.

What is the best way to list discussion categories for triage across multiple GitHub repositories?

The best way to list discussion categories for triage is using GraphQL API queries through this skill. It retrieves available categories across one or more repositories, enabling product teams to plan, organize, and solicit feedback systematically.

Why use GraphQL instead of REST API for automating GitHub Discussions moderation?

Using GraphQL for GitHub Discussions moderation provides precise query control over discussion fields, categories, and comments. This skill applies GraphQL mutations to automate updates and closures, ensuring consistent conversation management across repositories.