'Linear CLI for issue tracking and project management. Use when developers mention: (1) Linear issues or tickets, (2) issue tracking or task management, (3) WDY team issues, (4) closing, updating, or triaging tickets, (5) linking PRs to issues, (6) issue states (triage, backlog, started, completed).'
Install
npx skillscat add joannis/claude-skills/linear Install via the SkillsCat registry.
SKILL.md
Linear CLI
Overview
The Linear CLI (linear) provides command-line access to Linear issue tracking. Installed via Homebrew at /opt/homebrew/bin/linear.
Required Configuration
Commands require LINEAR_ISSUE_SORT to be set:
export LINEAR_ISSUE_SORT=priorityWithout this, most commands will fail.
Team
Use linear team list to discover available teams.
Issue States
| State | Description |
|---|---|
triage |
New issues needing triage |
backlog |
Prioritized but not started |
unstarted |
Ready to start (Todo) |
started |
In Progress |
completed |
Done |
canceled |
Canceled/Won't do |
Common Commands
List Issues
# Active issues (excludes completed/canceled)
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager
# Filter by state
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager -s started -s unstarted
# All issues including completed/canceled
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager --all-statesView Issue
LINEAR_ISSUE_SORT=priority linear issue view WDY-123 --no-pagerUpdate Issue Status
linear issue update WDY-123 --state "Done"
linear issue update WDY-123 --state "In Progress"Create PR Linked to Issue
linear issue pr WDY-123List Teams
linear team listWorkflows
Check Issues to Close
# List active issues
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager -s started -s unstarted -s backlog
# Cross-reference with recent commits
git log --oneline -30 --allTriage New Issues
# View issues in triage
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager -s triage