Linear skill

Manage issues, projects & team workflows in Linear.

by davila7·MIT license·★ 32,299 Stars on the repo·GitHub ↗

Use now

Files of Linear

davila7/main1 file shown
SKILL.md
Show the full text88 lines

Linear

Overview

This skill provides a structured workflow for managing issues, projects & team workflows in Linear. It ensures consistent integration with the Linear MCP server, which offers natural-language project management for issues, projects, documentation, and team collaboration.

Prerequisites

  • Linear MCP server must be connected and accessible via OAuth
  • Confirm access to the relevant Linear workspace, teams, and projects

Required Workflow

Follow these steps in order. Do not skip steps.

Step 0: Set up Linear MCP (if not already configured)

If any MCP call fails because Linear MCP is not connected, pause and set it up:

  1. Add the Linear MCP:
    • codex mcp add linear --url https://mcp.linear.app/mcp
  2. Enable remote MCP client:
    • Set [features] rmcp_client = true in config.toml or run codex --enable rmcp_client
  3. Log in with OAuth:
    • codex mcp login linear

After successful login, the user will have to restart codex. You should finish your answer and tell them so when they try again they can continue with Step 1.

Windows/WSL note: If you see connection errors on Windows, try configuring the Linear MCP to run via WSL:

{"mcpServers": {"linear": {"command": "wsl", "args": ["npx", "-y", "mcp-remote", "https://mcp.linear.app/sse", "--transport", "sse-only"]}}}
Step 1

Clarify the user's goal and scope (e.g., issue triage, sprint planning, documentation audit, workload balance). Confirm team/project, priority, labels, cycle, and due dates as needed.

Step 2

Select the appropriate workflow (see Practical Workflows below) and identify the Linear MCP tools you will need. Confirm required identifiers (issue ID, project ID, team key) before calling tools.

Step 3

Execute Linear MCP tool calls in logical batches:

  • Read first (list/get/search) to build context.
  • Create or update next (issues, projects, labels, comments) with all required fields.
  • For bulk operations, explain the grouping logic before applying changes.
Step 4

Summarize results, call out remaining gaps or blockers, and propose next actions (additional issues, label changes, assignments, or follow-up comments).

Available Tools

Issue Management: list_issues, get_issue, create_issue, update_issue, list_my_issues, list_issue_statuses, list_issue_labels, create_issue_label

Project & Team: list_projects, get_project, create_project, update_project, list_teams, get_team, list_users

Documentation & Collaboration: list_documents, get_document, search_documentation, list_comments, create_comment, list_cycles

Practical Workflows

  • Sprint Planning: Review open issues for a target team, pick top items by priority, and create a new cycle (e.g., "Q1 Performance Sprint") with assignments.
  • Bug Triage: List critical/high-priority bugs, rank by user impact, and move the top items to "In Progress."
  • Documentation Audit: Search documentation (e.g., API auth), then open labeled "documentation" issues for gaps or outdated sections with detailed fixes.
  • Team Workload Balance: Group active issues by assignee, flag anyone with high load, and suggest or apply redistributions.
  • Release Planning: Create a project (e.g., "v2.0 Release") with milestones (feature freeze, beta, docs, launch) and generate issues with estimates.
  • Cross-Project Dependencies: Find all "blocked" issues, identify blockers, and create linked issues if missing.
  • Automated Status Updates: Find your issues with stale updates and add status comments based on current state/blockers.
  • Smart Labeling: Analyze unlabeled issues, suggest/apply labels, and create missing label categories.
  • Sprint Retrospectives: Generate a report for the last completed cycle, note completed vs. pushed work, and open discussion issues for patterns.

Tips for Maximum Productivity

  • Batch operations for related changes; consider smart templates for recurring issue structures.
  • Use natural queries when possible ("Show me what John is working on this week").
  • Leverage context: reference prior issues in new requests.
  • Break large updates into smaller batches to avoid rate limits; cache or reuse filters when listing frequently.

Troubleshooting

  • Authentication: Clear browser cookies, re-run OAuth, verify workspace permissions, ensure API access is enabled.
  • Tool Calling Errors: Confirm the model supports multiple tool calls, provide all required fields, and split complex requests.
  • Missing Data: Refresh token, verify workspace access, check for archived projects, and confirm correct team selection.
  • Performance: Remember Linear API rate limits; batch bulk operations, use specific filters, or cache frequent queries.
1---
2name: linear
3description: Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.
4metadata:
5 short-description: Manage Linear issues in Codex
6---
7 
8# Linear
9 
10## Overview
11 
12This skill provides a structured workflow for managing issues, projects & team workflows in Linear. It ensures consistent integration with the Linear MCP server, which offers natural-language project management for issues, projects, documentation, and team collaboration.
13 
14## Prerequisites
15- Linear MCP server must be connected and accessible via OAuth
16- Confirm access to the relevant Linear workspace, teams, and projects
17 
18## Required Workflow
19 
20**Follow these steps in order. Do not skip steps.**
21 
22### Step 0: Set up Linear MCP (if not already configured)
23 
24If any MCP call fails because Linear MCP is not connected, pause and set it up:
25 
261. Add the Linear MCP:
27 - `codex mcp add linear --url https://mcp.linear.app/mcp`
282. Enable remote MCP client:
29 - Set `[features] rmcp_client = true` in `config.toml` **or** run `codex --enable rmcp_client`
303. Log in with OAuth:
31 - `codex mcp login linear`
32 
33After successful login, the user will have to restart codex. You should finish your answer and tell them so when they try again they can continue with Step 1.
34 
35**Windows/WSL note:** If you see connection errors on Windows, try configuring the Linear MCP to run via WSL:
36```json
37{"mcpServers": {"linear": {"command": "wsl", "args": ["npx", "-y", "mcp-remote", "https://mcp.linear.app/sse", "--transport", "sse-only"]}}}
38```
39 
40### Step 1
41Clarify the user's goal and scope (e.g., issue triage, sprint planning, documentation audit, workload balance). Confirm team/project, priority, labels, cycle, and due dates as needed.
42 
43### Step 2
44Select the appropriate workflow (see Practical Workflows below) and identify the Linear MCP tools you will need. Confirm required identifiers (issue ID, project ID, team key) before calling tools.
45 
46### Step 3
47Execute Linear MCP tool calls in logical batches:
48- Read first (list/get/search) to build context.
49- Create or update next (issues, projects, labels, comments) with all required fields.
50- For bulk operations, explain the grouping logic before applying changes.
51 
52### Step 4
53Summarize results, call out remaining gaps or blockers, and propose next actions (additional issues, label changes, assignments, or follow-up comments).
54 
55## Available Tools
56 
57Issue Management: `list_issues`, `get_issue`, `create_issue`, `update_issue`, `list_my_issues`, `list_issue_statuses`, `list_issue_labels`, `create_issue_label`
58 
59Project & Team: `list_projects`, `get_project`, `create_project`, `update_project`, `list_teams`, `get_team`, `list_users`
60 
61Documentation & Collaboration: `list_documents`, `get_document`, `search_documentation`, `list_comments`, `create_comment`, `list_cycles`
62 
63## Practical Workflows
64 
65- Sprint Planning: Review open issues for a target team, pick top items by priority, and create a new cycle (e.g., "Q1 Performance Sprint") with assignments.
66- Bug Triage: List critical/high-priority bugs, rank by user impact, and move the top items to "In Progress."
67- Documentation Audit: Search documentation (e.g., API auth), then open labeled "documentation" issues for gaps or outdated sections with detailed fixes.
68- Team Workload Balance: Group active issues by assignee, flag anyone with high load, and suggest or apply redistributions.
69- Release Planning: Create a project (e.g., "v2.0 Release") with milestones (feature freeze, beta, docs, launch) and generate issues with estimates.
70- Cross-Project Dependencies: Find all "blocked" issues, identify blockers, and create linked issues if missing.
71- Automated Status Updates: Find your issues with stale updates and add status comments based on current state/blockers.
72- Smart Labeling: Analyze unlabeled issues, suggest/apply labels, and create missing label categories.
73- Sprint Retrospectives: Generate a report for the last completed cycle, note completed vs. pushed work, and open discussion issues for patterns.
74 
75## Tips for Maximum Productivity
76 
77- Batch operations for related changes; consider smart templates for recurring issue structures.
78- Use natural queries when possible ("Show me what John is working on this week").
79- Leverage context: reference prior issues in new requests.
80- Break large updates into smaller batches to avoid rate limits; cache or reuse filters when listing frequently.
81 
82## Troubleshooting
83 
84- Authentication: Clear browser cookies, re-run OAuth, verify workspace permissions, ensure API access is enabled.
85- Tool Calling Errors: Confirm the model supports multiple tool calls, provide all required fields, and split complex requests.
86- Missing Data: Refresh token, verify workspace access, check for archived projects, and confirm correct team selection.
87- Performance: Remember Linear API rate limits; batch bulk operations, use specific filters, or cache frequent queries.
88 

Discussion