一键导入
yux-pm-prd
Generate PRD and create Linear issues for a feature. Triggers on "pm prd", "create prd", "plan feature", "feature planning", "创建PRD".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate PRD and create Linear issues for a feature. Triggers on "pm prd", "create prd", "plan feature", "feature planning", "创建PRD".
用 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-pm-prd |
| description | Generate PRD and create Linear issues for a feature. Triggers on "pm prd", "create prd", "plan feature", "feature planning", "创建PRD". |
| allowed-tools | Read, Write, Glob, Grep, Bash(git:*), Bash(gh:*), mcp__linear__* |
Usage: /yux-pm-prd [topic|issue-id]
Prerequisite: .claude/linear-config.json must exist. If missing, show:
"Please run /yux-linear-init first."
WYX-123): Fetch via mcp__linear__get_issue(id: "<issue_id>"), use title and description as seed.User authentication): Use as seed directly.Read .claude/linear-config.json. Extract team.id and project.id.
Collect requirements from the chosen input mode. For interactive mode, ask concise questions and accept "skip" for optional fields.
Generate PRD content following the template in ../../references/prd-template.md.
Create Linear document and issues:
# Create PRD document (fallback: save as docs/prd-<slug>.md if API fails)
mcp__linear__create_document(
title: "PRD: <feature_title>",
content: "<prd_content>",
project: "<project.id>"
)
# Create parent Epic issue
mcp__linear__create_issue(
title: "<feature_title>",
description: "Epic for <feature>.\n\nPRD: <document_link>",
team: "<team.id>",
project: "<project.id>",
labels: ["Epic"],
priority: <priority>,
assignee: "me"
)
# Create sub-issues (task breakdown)
For each task:
mcp__linear__create_issue(
title: "<task_title>",
description: "<task_description>\n\n## Acceptance Criteria\n- [ ] ...",
team: "<team.id>",
project: "<project.id>",
parentId: "<epic_issue_id>",
labels: ["<type_label>"],
priority: <priority>,
assignee: "me"
)
Skip PRD document creation. Create issues directly with structured descriptions containing Goal, Tasks checklist, and Acceptance Criteria sections. For medium complexity, create a parent issue with sub-issues using parentId.
After creation, display:
/yux-pm-plan, /yux-linear-start)See ../../references/prd-template.md for PRD document template.