一键导入
yux-linear-commit
Commit changes with conventional commit messages and sync to Linear. Triggers on "linear commit", "commit and sync", "save progress", "提交代码".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Commit changes with conventional commit messages and sync to Linear. Triggers on "linear commit", "commit and sync", "save progress", "提交代码".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | yux-linear-commit |
| description | Commit changes with conventional commit messages and sync to Linear. Triggers on "linear commit", "commit and sync", "save progress", "提交代码". |
| allowed-tools | Read, Write, Bash(git:*), Bash(gh:*), Glob, Grep, mcp__linear__*, AskUserQuestion |
Make incremental commits during development, linking to Linear issue and syncing progress.
Usage: /yux-linear-commit [--no-push] [description]
description: Reference for commit message generation (Claude auto-generates)--no-push: Skip auto-push after commitgit branch --show-currentLIN-xxx from branch name. If not on Linear branch -> prompt /yux-linear-startmcp__linear__get_issue(id: "LIN-xxx")git status --porcelain
git log origin/main..HEAD --oneline. If empty (no commits on branch), say "No uncommitted changes and no commits on this branch yet" and exit.git log -1 --format="%H %s" (full hash + subject)mcp__linear__list_comments(issueId: "<uuid from step 1.3>")=== No Changes ===
Last commit: <short-hash> - <subject> (synced to Linear ✓)
Issue: LIN-xxx - <title> (<status>)
Next: keep coding, or /yux-linear-pr when ready
<short-hash> - <subject> hasn't been synced to Linear yet. Sync now?"
Categorize files (new/modified/deleted), flag sensitive files (.env, credentials).
Use AskUserQuestion: commit all, select specific, exclude specific, or cancel.
Analyze if changes should be split. If multiple unrelated groups detected, suggest splitting. If user declines to split, proceed with all changes in a single commit.
Auto-determine from diff analysis:
<emoji> <type>(<scope>): <subject>Refs: LIN-xxx and Co-Authored-By lineShow for confirmation. User can modify or approve.
git add <files>
git commit -m "<message>"
git push origin HEAD
If fails:
git pull --rebase origin HEAD, then retry pushSkip if --no-push flag passed.
If .claude/linear-tasks.json exists, update last_active_at.
mcp__linear__create_comment(
issueId: "<uuid>",
body: "**Commit**: `<hash>`\n```\n<message>\n```\nFiles: <count>"
)
=== Commit Synced ===
Commit: abc1234 - feat(auth): add JWT token validation
Branch: feat/LIN-456-user-auth
Files: 3 changed (+45, -12)
Push: origin/feat/LIN-456-user-auth
Linear: Comment posted to LIN-456
Next: /yux-linear-pr when ready for review
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", "生成图片", "画图", "图像生成", "信息卡片".
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".
Linear project dashboard (task/backlog/tasks modes). Triggers on "linear status", "show my tasks", "show backlog", "project overview", "项目概览".