Skip to content
Back to skills

Templates

ASecurity

<!-- Template: structural reference for the cli-to-plugin generator. Claude reads this to understand expected shape. NOT a Jinja template — no placeholder substitution. -->

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 28, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

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

Scanned May 28, 2026

npx -y skills add fakoli/fakoli-plugins --skill templates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Templates?

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

Security grade badge for Templates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fakoli-templates/badge)](https://www.skillsdirectory.com/skills/fakoli-templates)

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
<!-- Template: structural reference for the cli-to-plugin generator. Claude reads this to understand expected shape. NOT a Jinja template — no placeholder substitution. -->

---
name: gh-pr
description: Use when working with GitHub pull requests — listing, viewing, creating, reviewing, merging, or commenting on PRs via the `gh` CLI.
user-invocable: true
disable-model-invocation: false
argument-hint: "[pr-number|list|create|merge]"
allowed-tools: Bash
---

# gh-pr

## When to use
- The user wants to list, search, view, create, review, comment on, or merge pull requests.
- Tasks involving PR drafts, CI checks, reviewers, or labels.
- Do NOT use for issues or workflow runs — see [[gh-issue]] and [[gh-workflow]].

## Commands
| Subcommand | Purpose | Example |
|---|---|---|
| `gh pr list` | List open PRs in the current repo | `gh pr list --state open --author @me` |
| `gh pr view` | Show details for a specific PR | `gh pr view 42` |
| `gh pr create` | Open a new PR from the current branch | `gh pr create --title "Fix login bug" --body "Closes #12"` |
| `gh pr review` | Approve, request changes, or comment | `gh pr review 42 --approve` |
| `gh pr merge` | Merge a PR (squash, rebase, or merge) | `gh pr merge 42 --squash --delete-branch` |
| `gh pr comment` | Post a comment on a PR | `gh pr comment 42 --body "LGTM"` |
| `gh pr checks` | Show CI check results for a PR | `gh pr checks 42` |
| `gh pr diff` | Show the diff for a PR | `gh pr diff 42` |
| `gh pr close` | Close a PR without merging | `gh pr close 42` |
| `gh pr edit` | Update title, body, labels, or reviewers | `gh pr edit 42 --add-label "needs-review"` |

## Common patterns
- **Review your assigned PRs:** `gh pr list --assignee @me --state open`
- **Approve and merge:** `gh pr review 42 --approve && gh pr merge 42 --squash`
- **Create a draft PR:** `gh pr create --draft --title "WIP: feature" --body "Not ready yet"`
- **Check CI before merging:** `gh pr checks 42 --watch`
- **Target a specific repo:** append `--repo OWNER/REPO` to any command

## Reference
Full flags: `gh pr <subcommand> --help`

Files in this skill

  • group-skill.md2 KB
  • meta-skill.md1.8 KB
  • plugin.json.example292 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.