一键导入
yux-linear-pr
Create pull request with Linear issue linking and status sync. Triggers on "create PR", "linear PR", "submit for review", "开PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create pull request with Linear issue linking and status sync. Triggers on "create PR", "linear PR", "submit for review", "开PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | yux-linear-pr |
| description | Create pull request with Linear issue linking and status sync. Triggers on "create PR", "linear PR", "submit for review", "开PR". |
| allowed-tools | Read, Write, Bash(git:*), Bash(gh:*), Glob, Grep, mcp__linear__*, AskUserQuestion |
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
Analyze a blog article's structure to plan optimal image placement, then generate and insert AI images. This is the blog-specific image workflow — it reads a markdown article, identifies where images should go, creates a plan, and generates images that fit each section. Use when the user wants images added to an existing article — e.g., "analyze article images", "suggest images for this post", "generate article images", "分析文章配图", "生成文章配图", "插入文章配图". Do NOT use for standalone image generation (use yux-nano-banana instead). After generating, use yux-blog-oss to upload images to CDN.
Generate images via OpenRouter API with user-selected models. Supports any OpenRouter image model (Gemini, Flux, etc.), prompt optimization, text-to-image, and image editing. Triggers on "generate image", "create image", "draw", "nano banana", "image generation", "生成图片", "画图", "图像生成", "信息卡片".
Commit changes with conventional commit messages and sync to Linear. Triggers on "linear commit", "commit and sync", "save progress", "提交代码".
Start working on a Linear issue with worktree isolation. Triggers on "start task", "linear start", "work on LIN-123", "begin task", "开始任务".
Triage Linear inbox issues with AI classification. Triggers on "pm triage", "triage inbox", "classify issues", "process inbox", "处理反馈".
Initialize Linear integration for current project. Triggers on "linear init", "初始化linear", "setup linear", "configure linear", "连接linear".