gh-cli
Skill2 starsChanged 5 months agoMITView on GitHub
Operar GitHub desde la terminal con `gh`: PRs (crear, revisar, merge), issues, runs de CI, releases, gists, API cruda. Cargá cuando vayas a interactuar con GitHub desde la línea de comandos en lugar del navegador.
- Commits and pushes
32 other projects use a version of this.
Adopted by
Most recently taken up by
- Pamir-AI/skillstheir own version, first seen Nov 8, 2026
- devantler-tech/ksailtheir own version, first seen Nov 7, 2026
- zlliang/skillstheir own version, first seen Nov 2, 2026
- oubakiou/skillstheir own version, first seen Nov 1, 2026
- jaskirat1616/grok-skillstheir own version, first seen Nov 1, 2026
- bryanus1/agent-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use glab-cli, agent-browser 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.
DataKnifeAISkillglab-cli
Uses the GitLab CLI (`glab`) for merge requests, issues, CI/CD, releases, and GitLab API access from the terminal. Apply when the remote is GitLab (GitLab.com or self-managed) or when the user mentions MRs, pipelines, or GitLab projects.
Also in 3 projects that use this
VercelSkillagent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Also in 5 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 5 projects that use this
MicrosoftSkillgit-commit
Stage user-selected paths, confirm the exact staged set, and create one local Conventional Commit, or generate a commit message for staged changes without committing. Use when you want a guarded commit or a ready-to-paste message.
Also in 3 projects that use this
AnthropicSkillpdf
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Also in 6 projects that use this
OpenAISkillusing-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Also in 3 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- mfts/papermark★ 9.2ksame name
- papermark/papermark★ 9.2ksame name
- farm-fe/farm★ 5.6ksame name
- PierreBeucher/cloudypad★ 980same name
- devantler-tech/ksail★ 164same name
- yamcodes/arkenv★ 151same name
- ericmjl/skills★ 41same name
- jaskirat1616/grok-skills★ 22same name
- JamesPrial/github-skills★ 18same name
- HK-hub/AgentSkills★ 6same name
22 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 repository25 other files it gives its agents.
- accessibility-wcagSkill
- agent-orchestrationSkill
- backend-api-designSkill
- backend-data-modelingSkill
- backend-observabilitySkill
- backend-performanceSkill
- blossom-carouselSkill
- browser-qaSkill
- commit-hygieneSkill
- discovery-intakeSkill
- frontend-component-patternsSkill
- geo-seoSkill
- glosario-vivoSkill
- llm-councilSkill
- pedido-claroSkill
- ponytailSkill
- reporte-comprensibleSkill
- sdd-flowSkill
- secure-by-defaultSkill
- security-authn-authzSkill
- security-owaspSkill
- security-secretsSkill
- security-supply-chainSkill
- turtle-protocolSkill
- ui-ux-pro-maxSkill
The file
Files
GitHub CLI (gh)
Cuándo usar
- Abrir o revisar un PR.
- Chequear estado de CI o logs de un run fallido.
- Crear o triagear issues.
- Hacer una llamada cruda a la API de GitHub sin escribir cURL.
Setup mínimo
gh auth status # ¿estás logueado?
gh auth login # OAuth interactivo si no lo estás
gh repo set-default # fijar el repo "current" del directorioPull requests
# Crear PR desde la rama actual (abre editor; --fill toma title/body del commit)
gh pr create --base main --fill
gh pr create --title "feat: x" --body-file PR_BODY.md
# Listar y filtrar
gh pr list --state open --author "@me"
gh pr list --label bug --assignee "@me"
# Ver detalle / diff / checks
gh pr view 123
gh pr view 123 --web # abrir en navegador
gh pr diff 123
gh pr checks 123
# Revisar
gh pr review 123 --approve -b "LGTM"
gh pr review 123 --request-changes -b "Ver comentarios"
gh pr comment 123 -b "Texto"
# Merge (squash por defecto en muchos repos)
gh pr merge 123 --squash --delete-branch
gh pr merge 123 --merge # commit de merge
gh pr merge 123 --rebase # rebaseIssues
gh issue list --state open --label bug
gh issue create --title "..." --body "..." --label bug --assignee "@me"
gh issue view 42
gh issue comment 42 -b "Texto"
gh issue close 42 --reason "not planned"CI / runs
gh run list # últimos workflow runs
gh run list --workflow=ci.yml --branch main
gh run view <run-id> # detalle
gh run view <run-id> --log # logs completos
gh run view <run-id> --log-failed # solo lo que falló
gh run rerun <run-id> # reintentar
gh run rerun <run-id> --failed # solo jobs fallidos
gh run watch <run-id> # esperar a que termineReleases
gh release create v1.2.0 --generate-notes
gh release create v1.2.0 ./dist/* --notes "Cambios..."
gh release list
gh release view v1.2.0
gh release upload v1.2.0 ./dist/extra.tar.gzAPI cruda
Cuando gh no tiene el comando:
gh api repos/{owner}/{repo}/pulls/123/comments
gh api -X POST repos/{owner}/{repo}/issues -f title="..." -f body="..."
gh api graphql -f query='query{viewer{login}}'{owner}/{repo} se autocompletan con el repo actual si usás gh repo set-default.
Flujo típico para un cambio
git switch -c feat/x
# ...código + commits limpios (ver [[commit-hygiene]])...
git push -u origin feat/x
gh pr create --fill
gh pr checks --watch # esperar CI
gh pr merge --squash --delete-branchReglas
gh auth statusantes si no sabés en qué cuenta estás (especialmente con varias cuentas/orgs).- Sin
--forceen merges/pushes salvo pedido explícito. - Sin merge si CI rojo. Arreglar primero.
- PR description es el espacio para el "por qué"; el commit es para el "qué".
Validación
gh --versionreciente (≥2.x).gh auth statuscon scopes mínimos necesarios (repo,workflowsi corresponde).
Relacionadas
[[commit-hygiene]]
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.

