gh-cli
Skill1 starsChanged 3 months agoMITView on GitHub
Operate on GitHub from the terminal with the gh CLI. Use for GitHub repositories, issues, pull requests, reviews, Actions/workflow runs, releases, code scanning alerts, and code search.
- Reads credentials
- Commits and pushes
22 other projects use a version of this.
Adopted by
Most recently taken up by
- zlliang/skillstheir own version, first seen Oct 5, 2026
- zkmake/skillstheir own version, first seen Oct 3, 2026
- devantler-tech/ksailtheir own version, first seen Oct 3, 2026
- ericmjl/skillstheir own version, first seen Sep 26, 2026
- gspencergoog/skillstheir own version, first seen Sep 8, 2026
- bryanus1/agent-skillstheir own version, first seen Aug 31, 2026
Used with
Projects with it also use git-commit, skill-creator and 4 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.
GitHubSkillgit-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
MicrosoftSkillskill-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
OpenAISkillwriting-plans
Use when you have a spec or requirements for a multi-step task, before touching code
Also in 3 projects that use this
OpenAISkilltest-driven-development
Use when implementing any feature or bugfix, before writing implementation code
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
- +1 more from openai
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- devantler-tech/ksail★ 166same name
- ericmjl/skills★ 39same name
- tenequm/skills★ 37same name
- MorningStar0709/trae-agent-enhancements★ 18same name
- JamesPrial/github-skills★ 17same name
- nicholyx/ai-skills★ 6same name
- gspencergoog/skills★ 2same name
- thesammykins/skills★ 2same name
- X-FRI/skills★ 2same name
- zkmake/skills★ 2same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- blast-radiusSkill
- broSkill
- codebase-designSkill
- code-reviewSkill
- confluence-workflowSkill
- creating-a-pr-mrSkill
- defuddleSkill
- docxSkill
- domain-modelingSkill
- engineering-principlesSkill
- forgejo-cliSkill
- frontend-designSkill
- git-conventional-commitsSkill
- git-working-agreementSkill
- glab-cliSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- jira-workflowSkill
- json-canvasSkill
- k8s-opsSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- openspec-workflowSkill
- pdfSkill
- pptxSkill
- prototypeSkill
- researchSkill
- setup-matt-pocock-skillsSkill
- skill-minerSkill
- technical-writingSkill
- theme-factorySkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- unslopSkill
- wayfinderSkill
- whySkill
- writing-for-agentsSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the gh CLI for all GitHub operations.
- Distinctive: line 11
Read freely. An explicit user request that names the GitHub target and a bounded write action authorizes that action.
- Distinctive: line 15
Always confirm immediately before destructive, irreversible, privilege-changing, or materially broader work.
“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.
Files
GitHub via the gh CLI
Use the gh CLI for all GitHub operations. gh api covers anything without a
dedicated subcommand.
Read freely. An explicit user request that names the GitHub target and a bounded write action authorizes that action. Otherwise, show the exact mutation and ask for confirmation before running it.
Always confirm immediately before destructive, irreversible, privilege-changing, or materially broader work. This includes merges, closing or deleting content, publishing or deleting releases, changing access or secrets, and any action whose effects exceed the request. Recheck the repository and object identifier before every mutation.
Repos & info
gh repo view OWNER/REPO
gh api repos/OWNER/REPO
gh search repos "QUERY" --limit 10
gh search code "QUERY" # cross-repo code searchIssues
gh issue list --repo OWNER/REPO --state open
gh issue view NUMBER --repo OWNER/REPO --comments
gh issue create --repo OWNER/REPO --title T --body B # WRITE
gh issue comment NUMBER --body B # WRITEPull requests
gh pr list --repo OWNER/REPO
gh pr view NUMBER --comments
gh pr diff NUMBER
gh pr checks NUMBER # CI status
gh pr create --base main --head BRANCH --title T --body B # WRITE
gh pr review NUMBER --approve|--request-changes -b B # WRITE
gh pr merge NUMBER --squash # HIGH-RISK: confirmActions / workflows
gh run list --repo OWNER/REPO --limit 10
gh run view RUN_ID --log
gh run view RUN_ID --log-failed # only failed step logs
gh run rerun RUN_ID # HIGH-RISK: confirm
gh workflow list
gh workflow run WORKFLOW --ref BRANCH # HIGH-RISK: confirmReleases
gh release list --repo OWNER/REPO
gh release view TAG
gh release create TAG --notes N # HIGH-RISK: confirmCode scanning / security (via gh api)
gh api repos/OWNER/REPO/code-scanning/alerts --paginate
gh api repos/OWNER/REPO/code-scanning/alerts/ALERT_NUMBER
gh api repos/OWNER/REPO/dependabot/alerts --paginateTips
--json FIELDS --jq '...'for structured output:gh pr list --json number,title,headRefName --jq '.[] | .title'.gh api --paginateto traverse all pages.- Authentication uses the existing
gh authsession /$GITHUB_TOKEN.
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
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.

