yux-linear-merge

Merge GitHub pull requests, clean up branches, and close Linear issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, gh, mcp__linear__*, AskUserQuestion, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of merging pull requests, cleaning up branches, and marking Linear issues as done, reducing manual effort and potential errors in the workflow.

Core Features & Use Cases

  • Automated PR Merging: Handles the merging of pull requests using the specified strategy (squash, rebase, or merge).
  • Branch Cleanup: Ensures that branches are cleaned up after merging to maintain a tidy repository state.
  • Linear Issue Closure: Marks associated Linear issues as done after a PR is merged, updating the project's progress.
  • Use Case: For a team using GitHub and Linear for issue tracking, this Skill can automatically complete a series of tasks upon a PR merge, saving time and reducing the chance of oversight.

Quick Start

To merge a PR and mark its Linear issue as done, use the command: /yux-linear-merge --squash

Frequently Asked Questions about yux-linear-merge

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

FAQPage Schema
How do I automatically close Linear issues when a GitHub PR is merged?

This Skill automates closing Linear issues upon GitHub PR merges by executing Git commands to merge pull requests and using Python-based API calls to update Linear issue statuses to done, eliminating manual tracking overhead.

What is the best way to automate GitHub branch cleanup after a pull request merge?

Automating branch cleanup after a PR merge involves a workflow that merges the pull request using a specified strategy and then automatically removes the merged branches, keeping the repository tidy without manual deletion steps.

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

Yes, this automation supports squash, rebase, and standard merge strategies for pull requests. You can specify your desired strategy when triggering the workflow to control how commits integrate into the target branch.

Do I need both git and gh installed to automate Linear issue tracking and PR merges?

Yes, both git and gh are required dependencies. Git commands handle the actual pull request merging and branch cleanup, while gh manages GitHub-specific interactions, and the Linear MCP connection handles issue tracking updates.

Can I use this workflow to connect GitHub pull requests with Linear issue tracking?

Yes, this workflow connects GitHub pull requests with Linear issue tracking by linking PR merge events to Linear issue updates. Once a pull request merges successfully, the associated Linear issue is automatically marked as done via API calls.