一键导入
yux-linear-init
Initialize Linear integration for current project. Triggers on "linear init", "初始化linear", "setup linear", "configure linear", "连接linear".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize Linear integration for current project. Triggers on "linear init", "初始化linear", "setup linear", "configure linear", "连接linear".
用 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", "处理反馈".
Linear project dashboard (task/backlog/tasks modes). Triggers on "linear status", "show my tasks", "show backlog", "project overview", "项目概览".
| name | yux-linear-init |
| description | Initialize Linear integration for current project. Triggers on "linear init", "初始化linear", "setup linear", "configure linear", "连接linear". |
| user-invocable | true |
| allowed-tools | Read, Write, Bash(git:*), Glob, Grep, mcp__linear__*, AskUserQuestion |
Step-by-step initialization wizard that binds the current git repository to a Linear team and project. Creates .claude/linear-config.json with all necessary configuration.
Usage: /yux-linear-init
mcp__linear__list_teams()
mcp__linear__get_authenticated_user()
If list_teams fails: show error and stop.
Linear MCP is not connected. Please configure it first:
1. Run /mcp in Claude Code
2. Add Linear MCP server
3. Complete OAuth authentication
4. Then run /yux-linear-init again
Greet the user with their name from get_authenticated_user.
Step 1/3 — Team
Detected team: Wyx
Using team "Wyx" automatically.
mcp__linear__list_projects(team: "<team-id>", includeArchived: false)
Display numbered list with project name and summary. Use AskUserQuestion to let user select.
Step 2/3 — Project
Which Linear project does this repository belong to?
1. Subloom — 对话式个人收藏平台
2. Slideck — React presentation framework
3. Claude Code Monitor — Raycast extension for monitoring
...
Enter the number of your project:
Use AskUserQuestion to ask:
Step 3/3 — Development Mode
How do you work on this project?
1. Solo — Issues auto-assigned to me
2. Team — Keep manual assignee selection
solo: Save user info, future /yux-linear-start auto-assigns to selfteam: No auto-assignmentIf .claude/linear-config.json already exists, use AskUserQuestion:
Ensure .claude/ directory exists.
Write .claude/linear-config.json:
{
"version": "1.0.0",
"created_at": "<ISO timestamp>",
"team": {
"id": "<team-uuid>",
"name": "<Team Name>"
},
"project": {
"id": "<project-uuid>",
"name": "<Project Name>"
},
"mode": "solo",
"user": {
"id": "<user-uuid>",
"name": "<User Name>"
}
}
=== Linear Initialized ===
User: 吾宇翔
Team: Wyx
Project: Subloom
Mode: Solo
Config: .claude/linear-config.json
Next steps:
/yux-linear-status backlog View project backlog
/yux-linear-start LIN-xxx Start a task
/yux-pm-prd <topic> Plan a feature
Running /yux-linear-init on a project that already has config will prompt to overwrite or keep existing configuration.
Output language is auto-detected from user input. Default to English.