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
  • 3 views
  • Added September 6, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

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

Scanned September 6, 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-fakoli-plugins/badge)](https://www.skillsdirectory.com/skills/fakoli-templates-fakoli-plugins)

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-review-and-merge
description: Use when the user wants to review pending pull requests assigned to them and merge approved ones. Multi-step workflow using the `gh` CLI.
user-invocable: true
disable-model-invocation: false
argument-hint: "[repo]"
allowed-tools: Bash
---

# Review and merge PRs

## When to use
- "Review my pending PRs"
- "Are there any PRs waiting on me?"
- "Merge the approved PR"
- The user wants a guided, end-to-end PR review and merge session.

## Workflow
1. **List assigned PRs**
   Run `gh pr list --assignee @me --state open` to see what needs attention.

2. **Inspect each candidate**
   For each PR, run `gh pr view <N>` to read the description and `gh pr checks <N>` to confirm CI is green.

3. **Review and comment**
   Use `gh pr review <N> --approve` to approve, or `gh pr review <N> --request-changes --body "..."` to flag issues.

4. **Merge approved PRs**
   Run `gh pr merge <N> --squash --delete-branch` for a clean merge. Prefer `--rebase` when the branch history is meaningful.

5. **Confirm merge**
   Run `gh pr view <N>` after merging and verify the state shows `MERGED`.

## Variants
- **Specific repo:** append `--repo OWNER/REPO` to every `gh pr` command.
- **Auto-merge on green CI:** `gh pr merge <N> --squash --auto` sets the PR to merge as soon as checks pass.
- **Batch review:** iterate with `gh pr list --assignee @me --json number --jq '.[].number'` to get all PR numbers and loop.

## Related
- [[gh-pr]] — full PR command reference (list, create, review, merge flags)
- [[gh-issue]] — issue triage and linking
- [[gh-workflow]] — inspect CI runs before merging

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.