一键导入
linear-update
Update a Linear issue's status, assignee, or labels. Use when the user says "update linear", "move issue", "close linear issue", or "assign issue".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update a Linear issue's status, assignee, or labels. Use when the user says "update linear", "move issue", "close linear issue", or "assign issue".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pick a bug from Linear, fix it test-first, verify, and update. Use when the user says "fix issue", "fix bug", "work on known issue", or "pick a bug".
Create a new ticket for task tracking. Use when the user says "create ticket", "new ticket", or "track this".
Diagnose an integration/E2E test log, classify failures by severity, and batch-create issues. Use when the user says "smoke test", "diagnose log", "triage test log", or provides a test log.
Pull Linear issues and generate a local snapshot for quick reference. Use when the user says "sync linear", "pull linear issues", "update from linear", or "show my issues".
Triage, prioritize, and groom Linear issues. Use when the user says "triage linear", "review inbox", "prioritize issues", "groom backlog", or "clean up issues".
Investigate a bug using structured differential diagnosis. Use when the user says "diagnose", "investigate this", "what's causing this", or "figure out why".
| name | linear-update |
| description | Update a Linear issue's status, assignee, or labels. Use when the user says "update linear", "move issue", "close linear issue", or "assign issue". |
| argument-hint | <issue-id> [field=value ...] |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, Grep, Glob |
| model | haiku |
Push updates to a Linear issue using schpet/linear-cli.
Verify the Linear CLI is available:
linear --version 2>/dev/null || echo "LINEAR_CLI_MISSING"
Parse $ARGUMENTS for the issue ID and field updates:
ENG-123)status=done priority=high)If no arguments, ask the user for the issue ID and what to update.
Fetch the current issue state:
linear issue view ENG-123 --json
Show the proposed changes for confirmation:
## Update: ENG-123 — <title>
| Field | Current | New |
|-------|---------|-----|
| Status | In Progress | Done |
| Priority | Medium (3) | High (2) |
Apply these changes?
Apply the update using linear issue update with the appropriate flags:
linear issue update ENG-123 --state "Done" --priority 2
Available flags (use linear issue update --help for full list):
--state "<state-name>" — set workflow state (e.g., "Todo", "In Progress", "Done")--priority <number> — set priority (0=None, 1=Urgent, 2=High, 3=Medium, 4=Low)--assignee "<username-or-email>" — assign to user (use @me for self)--label "<label-name>" — add label (repeat flag for multiple)-t "<title>" — update title-d "<description>" — update descriptionReport:
Updated: ENG-123 — <title>
Changes: state → Done, priority → High
Run /linear-sync to update the local snapshot.
$ARGUMENTS format: <issue-id> [state=<state>] [priority=<priority>] [assignee=<name>]ENG-123 state=done — mark as doneENG-123 priority=urgent assignee=@me — set priority and self-assignENG-123 label=bug label=regression — add labelslinear issue comment add ENG-123 -b "Fixed in PR #42"/linear-sync after updates to refresh the local snapshot