Skip to content
Back to skills

Using Gh Cli

ASecurity

Runs GitHub work through the gh CLI and verifies each result. Use when opening a PR, checking CI or failed logs, or handling GitHub issues from a terminal. Merges, closes, reviews, comments, and force operations need an explicit request. Not for landing a PR; use landing-prs.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
ai-agentsgogit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 21, 2026

npx -y skills add bostonaholic/skills --skill using-gh-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Using Gh Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Using Gh Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bostonaholic-using-gh-cli/badge)](https://www.skillsdirectory.com/skills/bostonaholic-using-gh-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: using-gh-cli
description: Runs GitHub work through the gh CLI and verifies each result. Use when opening a PR, checking CI or failed logs, or handling GitHub issues from a terminal. Merges, closes, reviews, comments, and force operations need an explicit request. Not for landing a PR; use landing-prs.
---

# GitHub CLI

Confirm `gh repo view` names the intended repository before any write, and
verify every write with its exit status and a read-back.

## Explicit request only

Run these only when the user asked for that operation on that target. An
approved, green, stale, or finished-looking PR or issue is not a request.

- `gh pr merge` (never `--admin`), `gh pr close`, `gh issue close`
- `gh pr review` in any mode, `gh pr comment`, `gh issue comment`, `gh issue create`
- any delete, any force push, any write to a repository the user does not own

## Gotchas

- `gh pr create --body` and `--body-file` skip the repository's PR template
  (`.github/pull_request_template.md` or similar). When the repository has
  one, fill in its sections and checkboxes in the body you pass.
- `gh pr checks` exits 8 while any check is pending, which is expected right
  after creation; 1 means a failure.

Files in this skill

  • SKILL.md1.2 KB
  • agents/openai.yaml243 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.