From yux-linear-workflow
Merge pull request and complete Linear workflow. Use when user says "merge", "linear merge", "merge PR", "complete task", or "/yux-linear-merge". Validates CI, collects pending issues, executes merge via subagent, and marks Linear issue as Done.
How this skill is triggered — by the user, by Claude, or both
Slash command
/yux-linear-workflow:yux-linear-mergeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Merge PR, clean up, and close Linear issue.
Merge PR, clean up, and close Linear issue.
Usage: /yux-linear-merge [--squash|--rebase|--merge]
--squash (default): Squash all commits--rebase: Rebase and merge--merge: Create merge commit.claude/linear-config.jsonLIN-xxx from branch, fetch issue via mcp__linear__get_issue()gh pr view --json number,state,mergeable,mergeStateStatusGather from both GitHub and Linear:
gh pr view <number> --json reviews,comments,reviewDecisionmcp__linear__list_comments(issueId: "<uuid>")Filter: only show CHANGES_REQUESTED reviews, unresolved questions, change suggestions. Skip: APPROVED reviews, resolved threads, status updates.
Display if issues exist (skip section entirely if none).
Use AskUserQuestion:
Delegate to linear-merge-executor skill (runs in forked subagent) with:
The skill handles: CI polling -> merge validation -> execute merge -> cleanup -> Linear update.
On success:
.claude/linear-tasks.jsonactive_task to most recently active remaining task (or null)Do NOT call ExitWorktree proactively — let the user decide.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub wuyuxiangx/yux-claude-hub