Source profileQuality 73/100Review permissions

dyoshikawa/rulesync/.rulesync/skills/approve/SKILL.md

approve

Approve a pull request using gh pr review --approve

Source repository stars
1,263
Declared platforms
0
Static risk flags
1
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Approve a pull request using gh pr review --approve.

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/dyoshikawa/rulesync --skill ".rulesync/skills/approve"
    Safe inspection promptEditorial

    Inspect the Agent Skill "approve" from https://github.com/dyoshikawa/rulesync/blob/310b711fbe8cffc14debb276ade8a384c2b89083/.rulesync/skills/approve/SKILL.md at commit 310b711fbe8cffc14debb276ade8a384c2b89083. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Step 1: Determine the Target PR

      Parse the user's request to identify the PR to approve:

      Extract the PR number from the argumentExamples: 123, 123, https://github.com/owner/repo/pull/123Get the PR associated with the current branch:
    2. 02

      Step 2: Verify the PR

      Before approving, confirm the PR details:

      The PR state is OPENThe PR is not a draft (isDraft is false)Display the PR title, number, and author to the user for confirmation
    3. 03

      Step 3: Approve the PR

      Execute the approve command:

      Execute the approve command:Important: Only approve ONE PR at a time. If multiple PRs are somehow specified, ask the user which single PR to approve.If you want to add a comment along with the approval, use the --body option:
    4. 04

      Step 4: Report Result

      1. Confirm the PR was successfully approved 2. Display the approved PR number and title

      Confirm the PR was successfully approvedDisplay the approved PR number and title1. Confirm the PR was successfully approved 2. Display the approved PR number and title

    Permission review

    Static risk signals and limitations

    Runs scripts

    medium · line 49

    The documentation asks the agent to run terminal commands or scripts.

    Execute the approve command:

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score73/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars1,263SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    dyoshikawa/rulesync
    Skill path
    .rulesync/skills/approve/SKILL.md
    Commit
    310b711fbe8cffc14debb276ade8a384c2b89083
    License
    MIT
    Collected
    2026-07-28
    Default branch
    main
    View the original SKILL.md

    Approve Pull Request

    Approve a pull request using gh pr review --approve.

    Input

    the user's request
    

    Step 1: Determine the Target PR

    Parse the user's request to identify the PR to approve:

    Case A: PR number or URL is provided

    • Extract the PR number from the argument
    • Examples: 123, #123, https://github.com/owner/repo/pull/123

    Case B: No argument provided

    • Get the PR associated with the current branch:
      gh pr view --json number,title,state
      

    Case C: Unable to determine the PR

    If the PR cannot be determined (e.g., no PR exists for the current branch, or the argument is ambiguous), ask the user to specify which PR to approve.

    Step 2: Verify the PR

    Before approving, confirm the PR details:

    gh pr view <pr_number> --json number,title,state,author,baseRefName,headRefName,isDraft
    

    Check:

    1. The PR state is OPEN
    2. The PR is not a draft (isDraft is false)
    3. Display the PR title, number, and author to the user for confirmation

    If the PR is not open or is a draft, inform the user and stop.

    Step 3: Approve the PR

    Execute the approve command:

    gh pr review <pr_number> --approve
    

    Important: Only approve ONE PR at a time. If multiple PRs are somehow specified, ask the user which single PR to approve.

    If you want to add a comment along with the approval, use the --body option:

    gh pr review <pr_number> --approve --body "<approval_comment>"
    

    Step 4: Report Result

    After approving:

    1. Confirm the PR was successfully approved
    2. Display the approved PR number and title

    Alternatives

    Compare before choosing

    Computed 8610,762

    Jeffallan/claude-skills

    code-reviewer

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quali

    Computed 85234,327

    affaan-m/ECC

    dmux-workflows

    Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.

    Computed 84933

    dpearson2699/swift-ios-skills

    swiftui-performance

    Profile, diagnose, and remediate SwiftUI runtime performance using code review, Instruments, and repeatable measurements. Use when a SwiftUI screen renders slowly, scrolling or animations hitch, view bodies update excessively, list identity churns, layout work spikes, or broad Observation dependencies raise CPU cost. Covers evidence-based triage, SwiftUI Instruments lanes, lazy-container guardrails, state lifetime, and before/after verification.

    Computed 83234,327

    affaan-m/ECC

    dmux-workflows

    Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.