github

Automate GitHub issue, PR, and repository operations via the gh CLI.

1.3k|179|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/Team-Commonly/commonly --skill github-team-commonly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/Team-Commonly/commonly/tree/main/backend/commonly-bundled-skills/github
Command: npx skills add https://github.com/Team-Commonly/commonly --skill github-team-commonly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables rapid GitHub state management using the gh CLI to read and modify issues, PRs, repos, and releases, reducing manual effort and enabling automation.

Core Features & Use Cases

  • Issue management: list, create, and comment on issues across repositories.
  • Pull request interactions: view PR details, fetch diffs, and post comments.
  • Repository queries: inspect contents, search code, and check CI statuses of PRs.
  • Automation & automation-ready workflows: integrate GitHub tasks into larger automation pipelines with explicit repository references.
  • Use Case: Automatically create an issue when a new feature branch is opened and attach a PR diff for review.

Quick Start

Use the github skill to list open issues in Team-Commonly/commonly.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub issue and pull request management from the command line?

Automate GitHub issue and pull request management by utilizing the gh CLI to read, modify, and comment on issues and PRs. This approach uses explicit repository flags and a valid personal access token for authentication to reduce manual effort.

Can I fetch pull request diffs and check CI status using the gh CLI?

Yes, you can fetch pull request diffs and check CI status using the gh CLI. The tooling supports viewing PR details, retrieving code diffs, and inspecting repository contents directly to streamline code review workflows.

What do I need to set up before automating GitHub workflows with the gh CLI?

Before automating GitHub workflows, you must install the gh CLI on your system PATH and configure a valid GITHUB_PAT. These prerequisites authenticate your session and enable explicit repository references for automation tasks.

How do I create GitHub issues across multiple repositories automatically?

Create GitHub issues across multiple repositories by running gh CLI commands with explicit --repo flags. This method requires a valid personal access token and allows you to list, create, and comment on issues programmatically.

Why use explicit repository flags when automating GitHub state interactions?

Use explicit repository flags when automating GitHub state interactions to ensure clarity and target the correct repository. This prevents ambiguity when managing issues, PRs, and workflows across multiple projects within automation pipelines.