pr-merge — pr-merge cost optimization Haiku pr-merge, pii-agent-demo, community, pr-merge cost optimization Haiku, ide skills, install pr-merge skill, automate GitHub PR merging, pr-merge manual workflow, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for DevOps Agents needing automated pull request merging and validation capabilities. pr-merge is an AI agent skill that handles pull request merging with pre-merge validation. It accepts a PR number or URL and executes a specified merge strategy (merge, squash, or squid) using a Haiku subagent for Bash operations to optimize computational costs.

Features

Accepts PR input as number or URL for flexible integration
Executes merge strategies: merge, squash, or squid (default)
Uses Haiku subagent for all Bash operations (~70% cost reduction)
Requires manual invocation via Task tool for controlled execution
Performs consistent pre-merge validation before merging

# Core Topics

bluefa bluefa
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The pr-merge skill by bluefa is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for pr-merge cost optimization Haiku, install pr-merge skill, automate GitHub PR merging.

Ideal Agent Persona

Perfect for DevOps Agents needing automated pull request merging and validation capabilities.

Core Value

Empowers agents to execute standardized PR merge processes using Haiku subagents for Bash operations, reducing costs by approximately 70% and supporting strategies like merge, squash, and squid.

Capabilities Granted for pr-merge

Automating pull request validation and merging
Standardizing PR merge workflows for developers and DevOps engineers
Executing cost-optimized merge strategies using Haiku subagents

! Prerequisites & Limits

  • Requires manual workflow invocation
  • Limited to Bash operations via Haiku subagent
  • Specific to pull request merging and validation
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

pr-merge

Install pr-merge, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

/pr-merge - Merge Pull Request

PR 머지 전 검증과 머지 전략을 일관되게 수행합니다.

Cost Optimization Strategy

This skill uses Haiku subagent for all operations (~70% cost reduction).

  • Main session (Sonnet/Opus): User interaction only
  • Haiku subagent: Bash PR merge operations

Input

  • pr: PR 번호 또는 URL
  • strategy: merge | squash | squid (기본값: squid)

How This Skill Works

Manual workflow (This skill is NOT auto-invoked):

  1. Read this guide
  2. You call Task tool with Haiku subagent to merge PR
  3. Haiku validates and merges the PR
  4. Haiku reports result

Why manual: PR merge is an explicit action that requires user authorization.

When to Use This Skill

  • After code review approval
  • Ready to merge PR into main

Usage Example

When you want to merge a PR, you should call Task tool:

typescript
1Task({ 2 subagent_type: "Bash", 3 model: "haiku", 4 description: "Merge PR (Haiku)", 5 prompt: ` 6 Merge pull request with validation: 7 8 1. View PR info: gh pr view {pr} --json number,title,state,mergeable,headRefName,baseRefName 9 2. Verify: state=OPEN and mergeable=MERGEABLE 10 3. Check for worktree: git worktree list | grep {headRefName} 11 4. If worktree exists: bash scripts/worktree-cleanup.sh --path <worktree-path> --force 12 5. Merge with strategy {strategy}: 13 - gh pr merge {pr} --squash --delete-branch (if strategy is squid/squash) 14 - gh pr merge {pr} --merge --delete-branch (if strategy is merge) 15 6. Verify merge: gh pr view {pr} --json state,mergedAt,mergeCommit 16 7. Report: PR number, merge commit SHA 17 18 CRITICAL: Remove worktree BEFORE merge (--delete-branch fails if worktree exists) 19 ` 20})

Strategy Mapping

  • merge--merge
  • squash / squid--squash

Rules

  • NEVER merge without explicit user request
  • Default strategy: squid (squash)
  • NEVER merge if state ≠ OPEN or conflicts exist
  • ALWAYS remove worktree before merge

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is pr-merge?

Perfect for DevOps Agents needing automated pull request merging and validation capabilities. pr-merge is an AI agent skill that handles pull request merging with pre-merge validation. It accepts a PR number or URL and executes a specified merge strategy (merge, squash, or squid) using a Haiku subagent for Bash operations to optimize computational costs.

How do I install pr-merge?

Run the command: npx killer-skills add bluefa/pii-agent-demo/pr-merge. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for pr-merge?

Key use cases include: Automating pull request validation and merging, Standardizing PR merge workflows for developers and DevOps engineers, Executing cost-optimized merge strategies using Haiku subagents.

Which IDEs are compatible with pr-merge?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for pr-merge?

Requires manual workflow invocation. Limited to Bash operations via Haiku subagent. Specific to pull request merging and validation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add bluefa/pii-agent-demo/pr-merge. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use pr-merge immediately in the current project.

Related Skills

Looking for an alternative to pr-merge or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI