一键导入
yux-linear-merge
Merge PR, clean up branch, and mark Linear issue as Done. Triggers on "linear merge", "merge this PR", "complete task", "合并PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Merge PR, clean up branch, and mark Linear issue as Done. Triggers on "linear merge", "merge this PR", "complete task", "合并PR".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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".
| name | yux-linear-merge |
| description | Merge PR, clean up branch, and mark Linear issue as Done. Triggers on "linear merge", "merge this PR", "complete task", "合并PR". |
| allowed-tools | Read, Write, Bash(git:*), Bash(gh:*), Grep, mcp__linear__*, AskUserQuestion |
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.