agentleFS
brettatomsbrettatoms/agent-skills/github/SKILL.md

github

Skill3 starsChanged 10 months agoMITView on GitHub

Work with GitHub using the gh CLI. Use when creating/managing pull requests, reviewing code, managing issues, viewing GitHub Actions runs, creating releases, or making API requests. Triggers on GitHub-related tasks like "create a PR", "list open issues", "check CI status", "merge this PR", or "create a release".

  • Commits and pushes

166 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, BlueBubbles and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • jiulingyunSkill

    BlueBubbles

    为Clawdbot构建或更新BlueBubbles外部通道插件(扩展包,REST发送/探测,webhook入站)。

    Also in 20 projects that use this

  • hkyutongSkill

    node-connect

    Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.

    Also in 18 projects that use this

  • molt-botSkill

    discord-e2e

    Test Discord with Convex-leased QA bots: check credentials without a Gateway, exercise owned messages, or prove OpenClaw replies, files, threads, reactions, streaming, and typing. Distinguish API and Gateway evidence from manual user interactions.

    Also in 10 projects that use this

  • molt-botSkill

    openclaw-repair-sweep

    Run scoped OpenClaw issue/PR repair campaigns: coordinate workers, prove root causes, and land or close verified work under the requested authority.

    Also in 10 projects that use this

  • clawdbotSkill

    openclaw-performance

    Performance work in OpenClaw: a slow or heavy flow (latency, CPU, memory, SQL, RPC, renders), writing or reviewing a perf PR, or adding a cache. Count the work, delete waste first, cache last.

    Also in 7 projects that use this

  • +2 more from molt-bot

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 151 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use gh for all GitHub operations from the command line.

    line 9
  2. Distinctive:

    Create a PR from current branch:

    line 45
  3. Distinctive:

    Create and manage issues:

    line 86

“Common” is measured: kept by at least 6 in 10 of the 151 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub CLI Skill

Use gh for all GitHub operations from the command line.

Prerequisites

Check authentication status:

gh auth status

If not authenticated:

gh auth login

Quick Reference

TaskCommand
Create PRgh pr create
List PRsgh pr list
View PRgh pr view 123
Checkout PRgh pr checkout 123
Merge PRgh pr merge 123
List issuesgh issue list
Create issuegh issue create
View issuegh issue view 123
Check CI statusgh pr checks
View runsgh run list
Create releasegh release create v1.0.0

Core Workflows

Pull Requests

Create a PR from current branch:

gh pr create --fill                    # Auto-fill title/body from commits
gh pr create --title "Title" --body "Description"
gh pr create --draft                   # Create as draft
gh pr create --base main               # Target specific branch

List and filter PRs:

gh pr list                             # Open PRs
gh pr list --state all                 # All PRs
gh pr list --author @me                # Your PRs
gh pr list --search "review:required"  # Needs review

For complete PR operations: See references/pr.md

Code Review

Review a PR:

gh pr review 123 --approve
gh pr review 123 --request-changes --body "Please fix X"
gh pr review 123 --comment --body "Looks good overall"

View changes:

gh pr diff 123                         # View diff
gh pr checks 123                       # View CI status

For complete review workflows: See references/review.md

Issues

Create and manage issues:

gh issue create --title "Bug" --body "Description"
gh issue list --label bug
gh issue view 123
gh issue close 123

For complete issue operations: See references/issues.md

GitHub Actions

View workflow runs:

gh run list                            # Recent runs
gh run view                            # Latest run details
gh run view 123456                     # Specific run
gh run watch                           # Watch current run

For complete Actions workflows: See references/actions.md

Releases

Create releases:

gh release create v1.0.0               # Create from tag
gh release create v1.0.0 --generate-notes
gh release list

For complete release operations: See references/releases.md

API Requests

Make authenticated API calls:

gh api repos/{owner}/{repo}
gh api repos/{owner}/{repo}/pulls --jq '.[].title'

For complete API usage: See references/api.md

Common Flags

FlagDescription
-R owner/repoTarget different repo
--webOpen in browser
--json fieldsJSON output
--jq expressionFilter JSON

Repository Context

gh auto-detects the current repository. Override with:

gh pr list -R owner/repo

Or set default:

gh repo set-default owner/repo

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.