Utility SkillsClaude Code SkillsView source fileVisit repo

gh Skill

description: GitHub operations using gh CLI for any repository. Use when the user asks to "create pr", "create pull request", "view pr", "check ci", "pr status", "list prs", "create issue", "view issue", "search code", or any other GitHub-related operations. Handles PR creation with proper base branch detection, template support, and project conventions.

Want an agent-native computer in the browser? Try HappyCapy.

Cloud sandbox for AI agents · No setup · Run autonomous workflows from your browser

Explore HappyCapy

Affiliate link — we may earn a commission at no extra cost to you.

Stars
7
Forks
2
Updated
April 2, 2026
Quality score
26

Why use this skill

gh is most useful when you want an agent workflow that is more structured than an ad-hoc prompt. Instead of restating the same expectations every time, a dedicated SKILL.md file gives the assistant a repeatable brief. In this case, the core value is clarity: the repo already frames the workflow around utility skills tasks, and the skill source gives you a portable starting point you can evaluate, adapt, and reuse. The inferred platform for this skill is Claude Code Skills, which helps you judge whether it is likely to feel native in your current agent ecosystem or whether it is better treated as a general reference.

That matters because AI assistants are better when the operating context is explicit. A good skill turns hidden team expectations into visible instructions. It can name preferred tools, describe failure modes, define what “done” looks like, and reduce the amount of corrective prompting you need after the first draft. For developers exploring the wider SKILL.md ecosystem, this page helps answer the practical question: is this skill specific and maintained enough to be worth trying?

How to evaluate and use it

Start with the source repo and the preview below. The preview tells you whether the instructions are actionable or just aspirational. Strong skills usually describe triggers, recommended tools, steps, and known pitfalls. Weak skills tend to stay generic. This one lives in salemove/android-sdk-widgets, which gives you a concrete repo context, update history, and direct ownership trail.

Once you confirm the scope looks right, test it on a small task before making it part of a larger workflow. If it improves consistency, keep it. If it is too broad, outdated, or conflicts with your own process, treat it as a reference rather than a drop-in rule. That is the healthiest way to use directory-discovered skills: not as magic plugins, but as reusable operational knowledge that still deserves judgment.

SKILL.md preview

Previewing the source is one of the fastest ways to judge whether a skill is truly useful. This snippet comes from the public file in the linked repository.

---
name: gh
description: GitHub operations using gh CLI for any repository. Use when the user asks to "create pr", "create pull request", "view pr", "check ci", "pr status", "list prs", "create issue", "view issue", "search code", or any other GitHub-related operations. Handles PR creation with proper base branch detection, template support, and project conventions.
user-invocable: true
model: haiku
trigger:
  - pull request
  - create pr
  - create pull request
  - make pull request
  - make a pr
  - open pull request
  - open a pr
  - github pr
  - check ci
  - pr status
  - view pr
  - list prs
  - show prs
  - my prs
  - pr checks
  - create issue
  - github issue
  - view issue
  - list issues
  - search code
  - search repo
  - repository search
---

# GitHub Operations

Manage GitHub workflows using the `gh` CLI.

## When to Use This Skill

Use this skill when the user asks to:
- Create a pull request
- View PR details or status
- Check CI/CD pipeline status
- Manage issues
- Review PR comments
- Search repository code or issues

## Commands

### Create Pull Request

When creating a PR:

1. **Verify current branch and changes:**
   ```bash
   git branch --show-current
   git status
   ```

2. **Check if branch is pushed:**
   ```bash
   git log @{u}.. 2>/dev/null || echo "Branch not pushed"
   ```

3. **Push if needed:**
   ```bash
   git push -u origin $(git branch --show-current)
   ```

4. **Detect parent branch (if base not specified):**

   Find the parent branch from which the current branch was created:
   ```bash
   PARENT_BRANCH=$(git show-branch -a 2>/dev/

...