一键导入
linear-create
Create a new issue in Linear. Use when the user says "create linear issue", "file linear ticket", or "add to linear".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new issue in Linear. Use when the user says "create linear issue", "file linear ticket", or "add to linear".
用 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-create |
| description | Create a new issue in Linear. Use when the user says "create linear issue", "file linear ticket", or "add to linear". |
| argument-hint | <issue title> |
| user-invocable | true |
| allowed-tools | Bash, Read, Write, Glob, Grep |
| model | haiku |
Create a new issue in Linear using schpet/linear-cli.
Verify the Linear CLI is available:
linear --version 2>/dev/null || echo "LINEAR_CLI_MISSING"
Gather issue details. If $ARGUMENTS is provided, use it as the title. Determine:
ENG) — check .linear.toml for defaultbug, feature)Show the proposed issue to the user for confirmation before creating:
## Proposed Linear Issue
Title: <title>
Team: <team>
Priority: <priority>
Labels: <labels>
Description: <description>
Create this issue? (yes/no)
Create the issue in Linear:
linear issue create \
-t "<title>" \
-d "<description>" \
--team "<team-key>" \
--priority <priority-number> \
--label "<label>" \
--no-interactive
For multiple labels, repeat the flag: --label "bug" --label "high-priority"
Capture the returned issue ID (e.g., ENG-456).
Get the issue URL for reference:
linear issue url ENG-456
Report:
Created: ENG-456 — <title>
Priority: <priority>
URL: <linear-issue-url>
Run /linear-sync to update the local snapshot.
$ARGUMENTS: use as issue title, prompt for remaining details.linear.toml if available, otherwise asklinear issue create --help to discover additional flags