Mode: Cognitive/Prompt-Driven - No standalone utility script; use via agent context.
Linear PM Skill
Overview
This skill provides comprehensive Linear project management capabilities with progressive disclosure for optimal context usage.
Context Savings: ~92% reduction
- Direct API Mode: ~15,000 tokens for full API documentation
- Skill Mode: ~300 tokens metadata + on-demand loading
Requirements
- LINEAR_API_KEY environment variable set
- Internet connectivity for Linear API access
Toolsets
| Toolset |
Description |
| issues |
Issue creation, updates, comments, state changes |
| projects |
Project management and issue association |
| cycles |
Sprint/cycle management and planning |
| teams |
Team structure and member management |
| labels |
Label and workflow state management |
Tools by Category
Issue Operations (Confirmation Required for Mutations)
| Tool |
Description |
Confirmation |
| list-issues |
List issues with filters (state, assignee, label) |
No |
| get-issue |
Get detailed issue information |
No |
| create-issue |
Create new issue with title, description, team |
Yes |
| update-issue |
Update issue fields (state, assignee, priority) |
Yes |
| add-comment |
Add comment to an issue |
Yes |
| search-issues |
Search issues by text query |
No |
| assign-issue |
Assign issue to team member |
Yes |
| set-priority |
Set issue priority (urgent, high, medium, low) |
Yes |
| add-label |
Add label to issue |
Yes |
Project Operations
| Tool |
Description |
Confirmation |
| list-projects |
List all projects for a team |
No |
| get-project |
Get project details and metadata |
No |
| project-issues |
Get all issues in a project |
No |
| create-project |
Create new project |
Yes |
| update-project |
Update project details |
Yes |
Cycle Operations (Sprints)
| Tool |
Description |
Confirmation |
| list-cycles |
List cycles for a team |
No |
| current-cycle |
Get current active cycle |
No |
| cycle-issues |
Get issues in a specific cycle |
No |
| cycle-progress |
Get cycle completion metrics |
No |
Team Operations
| Tool |
Description |
Confirmation |
| list-teams |
List all teams in workspace |
No |
| get-team |
Get team details |
No |
| team-members |
List team members |
No |
Label & State Operations
| Tool |
Description |
Confirmation |
| list-labels |
List all labels for a team |
No |
| list-states |
List workflow states (backlog, to-do, in-progress, done) |
No |
| create-label |
Create new label |
Yes |
Security
- Never expose LINEAR_API_KEY in logs or output
- API key should have minimal required permissions
- All tools that modify data require confirmation
Error Handling
- Verify API Key: Check LINEAR_API_KEY is set correctly
- Check API Rate Limits: GraphQL 1500 requests/hour; REST 500 requests/hour
- Validate Query Syntax: Ensure GraphQL queries are well-formed
- Check Team/Issue IDs: Verify IDs exist and are accessible
Agent Integration
- planner: Project management and backlog prioritization
- developer: Issue tracking during development
Common Workflows
Sprint Planning
- current-cycle - Get current sprint
- list-issues --state Backlog - Get backlog items
- update-issue --cycle-id ... - Assign issues to sprint
Issue Triage
- list-issues --state Backlog - Get unplanned issues
- set-priority --issue-id ... --priority 2 - Set priority
- add-label --issue-id ... --label bug - Categorize
Project Tracking
- list-projects --team-id ... - Get all projects
- project-issues --project-id ... - Get project issues
- cycle-progress --cycle-id ... - Check sprint progress
Related
Iron Laws
- ALWAYS verify
LINEAR_API_KEY is set before any API call — Linear's API returns a 401 with a generic error message when the key is missing or expired; early validation produces a clear, actionable error.
- NEVER create duplicate issues without first searching by title — Linear doesn't deduplicate issues automatically; running the skill twice without a search creates duplicate work items that confuse team tracking.
- ALWAYS use issue state IDs (not state names) when transitioning issues — state names are case-sensitive, locale-dependent, and change when teams rename states; IDs are stable.
- NEVER fetch all team issues without a filter — unbounded team queries return thousands of issues, exhaust the API rate limit, and produce unusable context dumps.
- ALWAYS cache team and project metadata within a session — team IDs and project keys don't change during a session; re-fetching on every operation wastes API quota and slows workflows.
Anti-Patterns
| Anti-Pattern |
Why It Fails |
Correct Approach |
| Creating issues without deduplication check |
Duplicate issues split tracking; team velocity metrics skewed |
Search with a title filter (issues query with filter.title.eq field) before creating |
| Using state names in transitions |
Case-sensitive; breaks when team renames state; locale issues |
Use workflowState { id } query to get stable IDs; transition by ID |
| Fetching all team issues without filter |
Thousands of results; rate limit hit; unusable output |
Filter by state, assignee, cycle, or label in GraphQL query |
| Re-fetching team/project metadata per operation |
Multiple identical API calls; rate limit waste; slow execution |
Fetch team and project IDs once at session start; reuse for all subsequent calls |
| Ignoring pagination cursors |
Only first page returned; missed issues cause incomplete reports |
Use pageInfo { hasNextPage, endCursor } and paginate until hasNextPage: false |
Memory Protocol (MANDATORY)
Before starting:
Read .claude/context/memory/learnings.md
After completing:
- New pattern -> .claude/context/memory/learnings.md
- Issue found -> .claude/context/memory/issues.md
- Decision made -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it is not in memory, it did not happen.
1---2name: linear-pm3description: Linear project management - issues, projects, cycles, and roadmaps. Use for Linear-related tasks like managing issues, tracking sprints, and organizing projects.4version: 1.1.05category: 'Other'6agents: [planner, developer]7tags: [linear, project-management, issues, agile, roadmap]8model: sonnet9invoked_by: both10user_invocable: true11tools: [Read, Bash, WebFetch]12best_practices:13 - Verify LINEAR_API_KEY is set14 - Use filters to reduce API calls15 - Cache team and project metadata16error_handling: graceful17streaming: supported18verified: true19lastVerifiedAt: 2026-02-22T00:00:00.000Z20source: builtin21trust_score: 10022provenance_sha: aecb75c0a0b4701023metadata:24 source: https://skillmd.com/skills/oimiragieo/linear-pm25---2627**Mode: Cognitive/Prompt-Driven** - No standalone utility script; use via agent context.2829# Linear PM Skill3031## Overview3233This skill provides comprehensive Linear project management capabilities with progressive disclosure for optimal context usage.3435Context Savings: ~92% reduction3637- Direct API Mode: ~15,000 tokens for full API documentation38- Skill Mode: ~300 tokens metadata + on-demand loading3940## Requirements4142- LINEAR_API_KEY environment variable set43- Internet connectivity for Linear API access4445## Toolsets4647| Toolset | Description |48| -------- | ------------------------------------------------ |49| issues | Issue creation, updates, comments, state changes |50| projects | Project management and issue association |51| cycles | Sprint/cycle management and planning |52| teams | Team structure and member management |53| labels | Label and workflow state management |5455## Tools by Category5657### Issue Operations (Confirmation Required for Mutations)5859| Tool | Description | Confirmation |60| ------------- | ------------------------------------------------- | ------------ |61| list-issues | List issues with filters (state, assignee, label) | No |62| get-issue | Get detailed issue information | No |63| create-issue | Create new issue with title, description, team | Yes |64| update-issue | Update issue fields (state, assignee, priority) | Yes |65| add-comment | Add comment to an issue | Yes |66| search-issues | Search issues by text query | No |67| assign-issue | Assign issue to team member | Yes |68| set-priority | Set issue priority (urgent, high, medium, low) | Yes |69| add-label | Add label to issue | Yes |7071### Project Operations7273| Tool | Description | Confirmation |74| -------------- | -------------------------------- | ------------ |75| list-projects | List all projects for a team | No |76| get-project | Get project details and metadata | No |77| project-issues | Get all issues in a project | No |78| create-project | Create new project | Yes |79| update-project | Update project details | Yes |8081### Cycle Operations (Sprints)8283| Tool | Description | Confirmation |84| -------------- | ------------------------------ | ------------ |85| list-cycles | List cycles for a team | No |86| current-cycle | Get current active cycle | No |87| cycle-issues | Get issues in a specific cycle | No |88| cycle-progress | Get cycle completion metrics | No |8990### Team Operations9192| Tool | Description | Confirmation |93| ------------ | --------------------------- | ------------ |94| list-teams | List all teams in workspace | No |95| get-team | Get team details | No |96| team-members | List team members | No |9798### Label & State Operations99100| Tool | Description | Confirmation |101| ------------ | -------------------------------------------------------- | ------------ |102| list-labels | List all labels for a team | No |103| list-states | List workflow states (backlog, to-do, in-progress, done) | No |104| create-label | Create new label | Yes |105106## Security107108- Never expose LINEAR_API_KEY in logs or output109- API key should have minimal required permissions110- All tools that modify data require confirmation111112## Error Handling1131141. Verify API Key: Check LINEAR_API_KEY is set correctly1152. Check API Rate Limits: GraphQL 1500 requests/hour; REST 500 requests/hour1163. Validate Query Syntax: Ensure GraphQL queries are well-formed1174. Check Team/Issue IDs: Verify IDs exist and are accessible118119## Agent Integration120121- planner: Project management and backlog prioritization122- developer: Issue tracking during development123124## Common Workflows125126### Sprint Planning1271281. current-cycle - Get current sprint1292. list-issues --state Backlog - Get backlog items1303. update-issue --cycle-id ... - Assign issues to sprint131132### Issue Triage1331341. list-issues --state Backlog - Get unplanned issues1352. set-priority --issue-id ... --priority 2 - Set priority1363. add-label --issue-id ... --label bug - Categorize137138### Project Tracking1391401. list-projects --team-id ... - Get all projects1412. project-issues --project-id ... - Get project issues1423. cycle-progress --cycle-id ... - Check sprint progress143144## Related145146- Official Linear API Documentation: <https://developers.linear.app/docs/graphql/working-with-the-graphql-api>147- Linear GraphQL Explorer: <https://studio.apollographql.com/public/Linear-API/home>148- Linear Webhook Documentation: <https://developers.linear.app/docs/graphql/webhooks>149150## Iron Laws1511521. **ALWAYS** verify `LINEAR_API_KEY` is set before any API call — Linear's API returns a 401 with a generic error message when the key is missing or expired; early validation produces a clear, actionable error.1532. **NEVER** create duplicate issues without first searching by title — Linear doesn't deduplicate issues automatically; running the skill twice without a search creates duplicate work items that confuse team tracking.1543. **ALWAYS** use issue state IDs (not state names) when transitioning issues — state names are case-sensitive, locale-dependent, and change when teams rename states; IDs are stable.1554. **NEVER** fetch all team issues without a filter — unbounded team queries return thousands of issues, exhaust the API rate limit, and produce unusable context dumps.1565. **ALWAYS** cache team and project metadata within a session — team IDs and project keys don't change during a session; re-fetching on every operation wastes API quota and slows workflows.157158## Anti-Patterns159160| Anti-Pattern | Why It Fails | Correct Approach |161| ----------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |162| Creating issues without deduplication check | Duplicate issues split tracking; team velocity metrics skewed | Search with a title filter (`issues` query with `filter.title.eq` field) before creating |163| Using state names in transitions | Case-sensitive; breaks when team renames state; locale issues | Use `workflowState { id }` query to get stable IDs; transition by ID |164| Fetching all team issues without filter | Thousands of results; rate limit hit; unusable output | Filter by `state`, `assignee`, `cycle`, or `label` in GraphQL query |165| Re-fetching team/project metadata per operation | Multiple identical API calls; rate limit waste; slow execution | Fetch team and project IDs once at session start; reuse for all subsequent calls |166| Ignoring pagination cursors | Only first page returned; missed issues cause incomplete reports | Use `pageInfo { hasNextPage, endCursor }` and paginate until `hasNextPage: false` |167168## Memory Protocol (MANDATORY)169170**Before starting:**171Read .claude/context/memory/learnings.md172173**After completing:**174175- New pattern -> .claude/context/memory/learnings.md176- Issue found -> .claude/context/memory/issues.md177- Decision made -> .claude/context/memory/decisions.md178179> ASSUME INTERRUPTION: If it is not in memory, it did not happen.