Skip to content
Back to skills

Gh

ASecurity

GitHub CLI usage and workflow patterns. Use when working with GitHub repositories, pull requests, issues, or API interactions.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsbashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill gh --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gh?

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

Security grade badge for Gh
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-claude-skill-registry-data-f3da132d/badge)](https://www.skillsdirectory.com/skills/majiayu000-claude-skill-registry-data-f3da132d)

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: gh
description: GitHub CLI usage and workflow patterns. Use when working with GitHub repositories, pull requests, issues, or API interactions.
---
# gh CLI

Use `gh` for all GitHub interactions. It handles authentication automatically and works with private repositories.

## Common Commands

- `gh repo view` — view repository README and metadata
- `gh issue view <number>` — view issue details
- `gh pr view <number>` — view pull request details
- `gh run view <run_id>` — view workflow run status
- `gh run view --job <job_id> --log` — view job logs

## API Access

Use `gh api` for operations not covered by built-in commands:

```bash
gh api repos/{owner}/{repo}/contents/{path}  # fetch file contents
gh api repos/{owner}/{repo}/pulls/{number}/comments  # PR review comments
```

## Reference Files

- **reviews.md**: Pull request review patterns

## Workflows

### Pull Request

- You must `git push` a branch before creating a pull request with `gh pr create`.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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