Process inbox/triage issues: classify type, assign to projects, set priority, and structure descriptions.
Analyzes inbox issues, classifies type, assigns projects, sets priority, and structures descriptions.
/plugin marketplace add wuyuxiangX/yux-claude-hub/plugin install yux-linear-pm@yux-claude-hubProcess inbox/triage issues: classify type, assign to projects, set priority, and structure descriptions.
Usage: /yux-pm-triage
/yux-pm-init.claude/pm-config.json# Load PM config
Read .claude/pm-config.json
# Fetch available labels for classification
mcp__linear__list_issue_labels(team: "<team_id>")
Parse labels into categories:
mcp__linear__list_issues(
team: "<team_id>",
state: "Triage",
limit: 20,
orderBy: "createdAt"
)
If no inbox items:
=== Inbox Empty ===
No items to triage. Your inbox is clean!
Next actions:
/yux-pm-overview - View project status
/yux-pm-plan - Plan next sprint
Output language follows
.claude/yux-config.jsonsetting
=== Inbox Triage (<count> items) ===
| # | ID | Title | Created |
|---|---------|------------------------------|------------|
| 1 | WYX-123 | 希望支持深色模式 | 2 days ago |
| 2 | WYX-124 | 登录页面有时候会崩溃 | 1 day ago |
| 3 | WYX-125 | 能不能加个数据导出功能 | 3 days ago |
Process all? (y) or select specific items (1,2,3):
For each selected issue, AI analyzes and suggests:
Analysis Factors:
Type Detection: Keywords → Bug/Feature/Improvement/Chore
Project Assignment: Analyze which sub-projects are affected
Priority Assessment:
Effort Estimation (T-shirt sizing):
=== WYX-124: 登录页面有时候会崩溃 ===
AI Analysis:
┌────────────────────────────────────────────────┐
│ Type: Bug │
│ Projects: subloom-web, subloom-api │
│ (Frontend crash may involve API) │
│ Priority: High (Core flow affected) │
│ Effort: S (1 day) │
│ Labels: Type→Bug, Func→Frontend │
└────────────────────────────────────────────────┘
Structured Description:
┌────────────────────────────────────────────────┐
│ ## Problem │
│ Login page occasionally crashes, affecting │
│ user experience and blocking core workflow. │
│ │
│ ## Context │
│ - Reported frequency: Intermittent │
│ - Affected area: Login flow │
│ - User impact: Cannot complete login │
│ │
│ ## Acceptance Criteria │
│ - [ ] Login flow stable with no crashes │
│ - [ ] Error states handled gracefully │
│ - [ ] Add error logging for debugging │
└────────────────────────────────────────────────┘
Apply? (y/n/edit):
When user confirms:
mcp__linear__update_issue(
id: "<issue_id>",
description: "<structured_description>",
priority: <priority_number>,
labels: ["<type_label_id>", "<func_label_id>"],
project: "<primary_project_id>",
state: "Backlog",
assignee: "me"
)
Output:
✓ WYX-124 updated:
- Type: Bug
- Project: subloom-web
- Priority: High
- State: Backlog
- Labels: Type→Bug, Func→Frontend
Processing next item...
If an issue affects multiple projects:
=== WYX-126: 用户认证功能 ===
AI Analysis:
┌────────────────────────────────────────────────┐
│ Type: Epic (Cross-project feature) │
│ Projects: subloom-api, subloom-web, │
│ subloom-extension │
│ Priority: High │
│ Effort: L (5-7 days) │
└────────────────────────────────────────────────┘
This issue spans multiple projects. Options:
1. Keep as Epic in primary project (subloom-api)
→ Sub-issues created later via /yux-pm-prd
2. Create sub-issues now for each project
→ WYX-126-1 [api] Backend auth
→ WYX-126-2 [web] Frontend auth
→ WYX-126-3 [ext] Extension auth
Choose (1/2):
After processing all items:
=== Triage Complete ===
Processed: 3 items
Summary:
- 1 Bug (High priority)
- 1 Feature (Medium priority)
- 1 Epic (decomposed to 3 sub-issues)
Issues moved to Backlog:
- WYX-123 → subloom-web (Feature)
- WYX-124 → subloom-web (Bug)
- WYX-125 → subloom-api (Feature)
Next actions:
/yux-pm-overview - View updated status
/yux-pm-plan - Add issues to sprint
When user selects "edit":
Edit WYX-124:
Current analysis:
Type: Bug → [enter to keep, or type new]
Project: subloom-web → [enter to keep, or type new]
Priority: High → [enter to keep, or 1-4]
Description preview:
[shows structured description]
Edit description? (y/n):
For quick processing without individual confirmation:
User: /yux-pm-triage --batch
Claude: === Batch Triage Mode ===
Processing 3 items with AI defaults...
| ID | Type | Project | Priority | Effort |
|---------|---------|-------------|----------|--------|
| WYX-123 | Feature | subloom-web | Medium | M |
| WYX-124 | Bug | subloom-web | High | S |
| WYX-125 | Feature | subloom-api | Medium | M |
Apply all? (y/n/review specific):
Warning: No Type/Func labels found in your Linear workspace.
Continuing without label assignment.
Consider creating labels in Linear for better organization:
- Type: Bug, Feature, Epic, Chore, Improvement
- Func: Frontend, Backend, API, etc.
Error updating WYX-124: <error message>
Options:
1. Retry
2. Skip this issue
3. Cancel triage
Choose:
PM workspace not initialized.
Run /yux-pm-init to configure your Initiative and sub-projects.
User: /yux-pm-triage
Claude: === Inbox Triage (3 items) ===
| # | ID | Title | Created |
|---|---------|--------------------------|------------|
| 1 | WYX-123 | 希望支持深色模式 | 2 days ago |
| 2 | WYX-124 | 登录页面有时候会崩溃 | 1 day ago |
| 3 | WYX-125 | 能不能加个数据导出功能 | 3 days ago |
Process all? (y) or select specific (1,2,3): y
Processing WYX-123...
=== WYX-123: 希望支持深色模式 ===
AI Analysis:
┌────────────────────────────────────────────────┐
│ Type: Feature │
│ Projects: subloom-web, subloom-extension │
│ Priority: Low (Nice-to-have) │
│ Effort: M (2-3 days) │
│ Labels: Type→Feature, Func→Frontend │
└────────────────────────────────────────────────┘
...
User: /yux-pm-triage
Claude: === Inbox Triage (5 items) ===
...
Process all? (y) or select specific (1,2,3): 2,3
Processing WYX-124...