agentleFS
DataKnifeAIDataKnifeAI/agent-skills/skills/gh-cli/SKILL.md

gh-cli

Skill0 starsChanged 8 months agoApache-2.0View on GitHub

Uses the GitHub CLI (`gh`) from the terminal for auth, repos, issues, PRs, Actions, API calls, and browsing. Apply when the user or task involves GitHub operations, CI status, or authenticated GitHub API access from a shell.

  • Commits and pushes

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git-commit, skill-creator and 9 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.
  • GitHubSkill

    git-commit

    Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

    Also in 4 projects that use this

  • MicrosoftSkill

    skill-creator

    Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.

    Also in 9 projects that use this

  • VercelSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

    Also in 6 projects that use this

  • OpenAISkill

    writing-plans

    Use when you have a spec or requirements for a multi-step task, before touching code

    Also in 3 projects that use this

  • AnthropicSkill

    pptx

    Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

    Also in 3 projects that use this

  • AnthropicSkill

    docx

    Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

    Also in 3 projects that use this

  • +1 more from anthropics

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run authenticated gh api for endpoints not wrapped by a subcommand.

    line 14
  2. Very specific:

    Do not paste or log tokens.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 15 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 (gh)

When to use

  • Inspect or change GitHub resources (repos, PRs, issues, Actions, releases) without opening the browser first.
  • Run authenticated gh api for endpoints not wrapped by a subcommand.
  • The workspace may be a Coder VM or local machine; prefer non-interactive flags in scripts and agent-driven runs.

Prerequisites

  • gh installed (gh version). Documentation: GitHub CLI manual.
  • Authentication: gh auth status. If needed, gh auth login (interactive) or token-based flows documented in gh auth login --help.

Patterns

  • Help: gh help, gh <cmd> --help (e.g. gh pr create --help).
  • Current repo context: many commands infer the repo from git remotes in the working directory. Override with -R owner/repo when needed.
  • JSON / scripting: many commands support --json and -q / --jq for machine-readable output.
  • API: gh api <endpoint> [-X METHOD] [-f key=value ...] for REST; use -H as needed.

Core commands (orienting)

AreaExamples
Authgh auth status, gh auth login, gh auth token
PRsgh pr list, gh pr view, gh pr create, gh pr checkout <n>, gh pr merge
Issuesgh issue list, gh issue create, gh issue view
Repogh repo view, gh repo clone, gh repo create
Actionsgh run list, gh run view, gh workflow run
Searchgh search repos, gh search issues, gh search prs
Browsegh browse (opens browser)

Safety

  • Do not paste or log tokens. Prefer env vars and gh’s own credential storage.
  • For destructive actions (merge, delete branch, close issues), confirm intent matches the user’s request.

References

  • Official documentation: GitHub CLI manual
  • Local help: gh help, gh <cmd> --help (authoritative for your installed gh version)

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.