linear-merge-executor

Merge GitHub pull requests after CI checks pass and update Linear issues.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/wuyuxiangX/yux-claude-hub --skill linear-merge-executor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-merge-executor
Source: https://github.com/wuyuxiangX/yux-claude-hub/tree/main/plugins/yux-linear/skills/linear-merge-executor
Command: npx skills add https://github.com/wuyuxiangX/yux-claude-hub --skill linear-merge-executor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github, linear, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of merging pull requests, ensuring CI checks pass and Linear issues are updated accordingly, saving time and reducing manual errors.

Core Features & Use Cases

  • CI Polling: Checks CI status for pull requests, ensuring all checks pass before merging.
  • Merge Validation: Validates merge readiness, checking for conflicts and branch protection rules.
  • Merge Execution: Executes the merge using the specified strategy (squash, rebase, or merge).
  • Linear Issue Update: Updates the associated Linear issue status to 'Done' upon successful merge.
  • Use Case: Ideal for teams using GitHub and Linear to manage their development workflow, ensuring PRs are merged only when all checks pass and issues are properly updated.

Quick Start

Use the linear-merge-executor skill to merge PR #123 with CI checking and Linear issue update.

Frequently Asked Questions about linear-merge-executor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a GitHub pull request merge with Linear issue updates?

You can automate a GitHub pull request merge with Linear issue updates by using an automation script that polls CI checks, validates merge readiness, and updates the associated Linear issue status to 'Done' upon a successful merge.

Can I execute a PR merge only after all CI checks pass?

Yes, you can execute a PR merge only after all CI checks pass by implementing CI polling logic that continuously checks the CI status for pull requests and blocks the merge execution until all required checks are successful.

What's the best way to change a Linear issue status to Done automatically after a PR merge?

The best way to change a Linear issue status to Done automatically after a PR merge is to use an automation tool that connects the GitHub API and Linear API, triggering the status update via the Linear API immediately following a successful merge execution.

Do I need GitHub and Linear API access to automate merge workflows?

Yes, you need GitHub and Linear API access to automate merge workflows, because the automation requires GitHub API access to perform merge operations and Linear API access to update the associated issue status.

Does this merge automation support different Git merge strategies like squash or rebase?

Yes, this merge automation supports different Git merge strategies like squash, rebase, or merge, allowing you to specify the desired merge strategy during the merge execution phase to fit your branch protection rules.

Why does an automated PR merge fail when there are branch protection rule conflicts?

An automated PR merge fails when there are branch protection rule conflicts because the merge validation phase checks for conflicts and enforces branch protection rules before executing the merge, preventing invalid or blocked merges.