From yux-linear
Create pull request with Linear issue linking and status sync. Triggers on "create PR", "linear PR", "submit for review", "开PR".
How this skill is triggered — by the user, by Claude, or both
Slash command
/yux-linear:yux-linear-prThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a pull request with Linear issue integration and optional draft mode.
Create a pull request with Linear issue integration and optional draft mode.
Usage: /yux-linear-pr [--draft] [additional description]
--draft: Create as draft PR (early feedback before full review)git log origin/main..HEAD --onelinegh auth status passesLIN-xxx from branch namemcp__linear__get_issue(id: "LIN-xxx")git log origin/main..HEAD --pretty=format:"%s" --reverse
Group by type for changelog.
[LIN-456] <Issue Title>Closes LIN-456) + changes + test planFirst check if a PR already exists for this branch:
gh pr view --json number,url 2>/dev/null
If a PR exists, inform the user and offer to view/update it instead of creating a duplicate.
Otherwise create:
git push origin HEAD
gh pr create --title "<title>" --body "<body>" --base main [--draft]
If .claude/linear-tasks.json exists:
pr_number, status to pr_created, update last_active_atmcp__linear__update_issue(id: "<uuid>", state: "In Review")
mcp__linear__create_comment(issueId: "<uuid>", body: "PR created: <url>")
gh pr checks <number> --json name,state,conclusion 2>/dev/null
Display one-time status snapshot.
=== PR Created ===
PR: #82 - [LIN-456] Add user authentication
URL: https://github.com/org/repo/pull/82
Branch: feat/LIN-456-user-auth → main
Linear: LIN-456 → In Review
CI: pending (3 checks)
Next: /yux-linear-merge when approved
npx claudepluginhub wuyuxiangx/yux-claude-hub --plugin yux-linearCreates GitHub pull requests with formatted descriptions, labels, issue references, draft mode, reviewers, and base branch selection from pushed branches. Use for 'create PR' or 'submit for review'.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.