linear-cli
This skill should be used when the user asks to "create a Linear issue", "list Linear tickets", "start working on a ticket", "update Linear issue", "link PR to Linear", "view issue details", mentions "linear issue", "DEV-xxx", or needs to manage Linear issues from the command line.
What this skill does
# Linear CLI Command-line interface for managing Linear issues directly from the terminal. ## Installation & Auth ```bash # Install (npm) npm install -g @anthropic/linear # Authenticate linear auth ``` ## Core Commands ### Issue Management **List Issues:** ```bash # REQUIRED: Set sort via env var (--sort flag is broken) LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s unstarted LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s started LINEAR_ISSUE_SORT=priority linear issue list --team DEV --all-states LINEAR_ISSUE_SORT=priority linear issue list --team DEV -A # All assignees LINEAR_ISSUE_SORT=priority linear issue list --team DEV -U # Unassigned only LINEAR_ISSUE_SORT=priority linear issue list --team DEV --limit 100 # More results ``` **View Issue:** ```bash linear issue view DEV-123 # Terminal view with comments linear issue view DEV-123 -j # JSON output linear issue view DEV-123 -w # Open in browser linear issue view DEV-123 -a # Open in Linear.app linear issue view --no-comments # Hide comments ``` **Create Issue:** ```bash # --team flag is REQUIRED linear issue create --team DEV -t "Title" -d "Description" linear issue create --team DEV -t "Title" -p DEV-100 # With parent issue linear issue create --team DEV -t "Title" -a self # Assign to self linear issue create --team DEV -t "Title" -s "Todo" # Use workflow state name linear issue create --team DEV -t "Title" -l "Bug" -l "Urgent" # Multiple labels linear issue create --team DEV -t "Title" --priority 1 # 1=urgent, 4=low linear issue create --team DEV -t "Title" --project "Network Agent" linear issue create --team DEV --start # Start immediately ``` **Update Issue:** ```bash linear issue update DEV-123 --state "In Progress" linear issue update DEV-123 --state "Done" # Close issue linear issue update DEV-123 -a self # Assign to self linear issue update DEV-123 -a "username" # Assign to user linear issue update DEV-123 -p DEV-100 # Set parent linear issue update DEV-123 --priority 2 linear issue update DEV-123 -l "Label" # Add label linear issue update DEV-123 -t "New Title" ``` > **IMPORTANT:** The flag is `--state` (or `-s`), NOT `--status`. `--status` does not exist and will error. **Start Working:** ```bash linear issue start DEV-123 # Mark in-progress, create git branch linear issue start DEV-123 -b custom-branch-name linear issue start DEV-123 -f main # Branch from specific ref ``` **Delete Issue:** ```bash linear issue delete DEV-123 # Prompts for confirmation echo "y" | linear issue delete DEV-123 # Auto-confirm ``` ### Git Integration **Get Issue from Branch:** ```bash linear issue id # Print issue ID from current branch linear issue title # Print issue title linear issue url # Print Linear URL linear issue describe # Title + Linear-issue trailer ``` **Create PR with Issue:** ```bash linear issue pr DEV-123 # Create GitHub PR linked to issue ``` ### Comments ```bash linear issue comment add DEV-123 -b "Comment text" linear issue comment list DEV-123 linear issue comment update <commentId> -b "Updated text" ``` ### Projects & Teams ```bash linear project list # List all projects linear project view <projectId> # View project details linear team list # List teams linear team id # Print configured team ID linear team members # List team members ``` ## State Values **For `issue list`** - only these enum values work: | State | Description | |-------|-------------| | `triage` | New, needs triage | | `backlog` | In backlog | | `unstarted` | Ready to start (default filter) — includes "Todo" | | `started` | In progress | | `completed` | Done | | `canceled` | Canceled | **For `issue create` and `issue update`** - use your workspace's workflow state names: | State Name | Description | |------------|-------------| | `"Todo"` | Ready to work on | | `"In Progress"` | Being worked on | | `"In Review"` | Under review | | `"Done"` | Completed | | `"Canceled"` | Canceled | ## Priority Values Use with `--priority` flag: | Value | Meaning | |-------|---------| | 1 | Urgent | | 2 | High | | 3 | Medium | | 4 | Low | ## Common Workflows ### Start New Work ```bash LINEAR_ISSUE_SORT=priority linear issue list --team DEV -U # Find unassigned linear issue start DEV-123 # Claim and create branch # ... do work ... linear issue pr # Create PR linked to issue ``` ### Create and Start Feature ```bash linear issue create --team DEV -t "Add feature X" --start -a self ``` ### Bulk Update ```bash for id in DEV-60 DEV-61 DEV-62; do linear issue update $id -s "In Progress" -a self done ``` ## Configuration **Config file is unreliable.** Use explicit flags and env vars instead: ```bash # Always use --team flag for create/update/list # Always use LINEAR_ISSUE_SORT env var for list (--sort flag is broken) LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s unstarted ``` Get team key with `linear team list` (DEV, SAL, etc.). ## Tips - Issue IDs follow pattern: `TEAM-123` (e.g., `DEV-123`) - Use `-a self` to assign to yourself - `--no-interactive` skips prompts for scripting - Pipe to `jq` for JSON: `linear issue view DEV-123 -j | jq .title` ## Additional Resources See `references/api-patterns.md` for advanced GraphQL API usage patterns.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.