SKILL.md
/linear-create — Create a Linear issue
Create a new issue in Linear using schpet/linear-cli.
Steps
- Verify the Linear CLI is available:
``bash linear --version 2>/dev/null || echo "LINEARCLIMISSING" ``
- Gather issue details. If
$ARGUMENTSis provided, use it as the title. Determine:
- Title: short, descriptive (from arguments or ask) - Team: which Linear team key (e.g., ENG) — check .linear.toml for default - Priority: 1 (Urgent) / 2 (High) / 3 (Medium) / 4 (Low) / 0 (None) - Labels: label names (e.g., bug, feature) - Description: what needs to be done and why
- 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:
``bash 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:
``bash 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
- No arguments: prompt for all details interactively
$ARGUMENTS: use as issue title, prompt for remaining details
Notes
- Always confirm with the user before creating — creating issues is not reversible via the CLI
- If creating from a bug fix or code change, include relevant file references in the description
- Default to the team configured in
.linear.tomlif available, otherwise ask - Keep descriptions concise but include enough context for another developer
- Use
linear issue create --helpto discover additional flags