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).
11 stars
0 votes
0 copies
2 views
Added September 10, 2026
businessbashgit
Works with
cli
Security analysis
A100/100
Scanned September 10, 2026
$npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill linear --agent claude-code
Installs into .claude/skills of the current project.
Are you the author of Linear?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/luokai0-linear)
---
author: luo-kai
name: linear
description: '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).'
---
# 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:
```bash
export LINEAR_ISSUE_SORT=priority
```
Without 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
```bash
# 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-states
```
### View Issue
```bash
LINEAR_ISSUE_SORT=priority linear issue view WDY-123 --no-pager
```
### Update Issue Status
```bash
linear issue update WDY-123 --state "Done"
linear issue update WDY-123 --state "In Progress"
```
### Create PR Linked to Issue
```bash
linear issue pr WDY-123
```
### List Teams
```bash
linear team list
```
## Workflows
### Check Issues to Close
```bash
# 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 --all
```
### Triage New Issues
```bash
# View issues in triage
LINEAR_ISSUE_SORT=priority linear issue list --team WDY --no-pager -s triage
```