plugins/linear/skills/linear-api/SKILL.md
# Linear API Skill Manage Linear issues, boards, and cycles. Uses **Linear MCP** for standard operations and **plugin commands** for unique features. ## When to Use This Skill Use this skill when the user wants to: - View a kanban board of current tasks (`/linear:board`) - Manage sprints/cycles and track velocity (`/linear:cycle`) - Archive or delete issues (`/linear:delete`) - Edit or delete comments (`/linear:comment`) - Auto-enrich issues with code context (issue-enricher agent) **For sta
npx skillsauth add ruslan-korneev/claude-plugins plugins/linear/skills/linear-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage Linear issues, boards, and cycles. Uses Linear MCP for standard operations and plugin commands for unique features.
Use this skill when the user wants to:
/linear:board)/linear:cycle)/linear:delete)/linear:comment)For standard CRUD operations (create, get, list, update, search issues, add comments, manage projects/teams), use the Linear MCP tools directly — they are provided by the official Linear MCP server.
Trigger phrases for plugin commands:
The official Linear MCP server (mcp.linear.app) provides ~21 tools:
list_issues, list_my_issues, get_issue, create_issue, update_issue, searchlist_projects, get_project, create_project, update_projectlist_teams, get_teamlist_users, get_userlist_comments, create_commentget_document, list_documents, search_documentationlist_issue_statuses, get_issue_status, list_issue_labels| Command | Feature |
|---------|---------|
| /linear:board | ASCII kanban board visualization |
| /linear:cycle | Cycle management with velocity stats |
| /linear:delete | Archive/delete issues |
| /linear:comment | Edit/delete comments (MCP only supports create) |
Analyzes codebase to auto-suggest issue attributes (description, labels, estimate, priority). Works with both MCP create_issue and /linear:create flows.
| Variable | Description | Example |
|----------|-------------|---------|
| LINEAR_API_KEY | Personal API Key from Linear Settings > API | lin_api_XXXXXXXXXXXX |
| LINEAR_TEAM | Default team key | ENG |
Set in ~/.claude/settings.local.json:
{
"env": {
"LINEAR_API_KEY": "lin_api_XXXXXXXXXXXX",
"LINEAR_TEAM": "ENG"
}
}
The MCP server is configured in .mcp.json at the repository root. It connects automatically when the plugin is installed.
To add manually: claude mcp add --transport http linear-server https://mcp.linear.app/mcp
$LINEAR_TEAM environment variablebasename $(pwd) — auto-detected from current directoryPlugin commands use Linear's GraphQL API directly:
curl -s -X POST https://api.linear.app/graphql \
-H "Content-Type: application/json" \
-H "Authorization: $LINEAR_API_KEY" \
-d '{"query": "...", "variables": {...}}'
LINEAR_API_KEY is set — show setup instructions if missingjqecho "$RESPONSE" | jq -e '.errors' > /dev/null 2>&1echo "$RESPONSE" | jq -r '.errors[0].message'Linear uses cursor-based pagination:
issues(first: 50, after: $cursor) {
nodes { ... }
pageInfo { hasNextPage endCursor }
}
Loop while hasNextPage is true, passing endCursor as after.
tools
# Code Review Skill This skill should be used when the user asks for "code review", "review my changes", "review this PR", "check my code", "pre-merge review", "review diff", or mentions reviewing code quality, implementation correctness, or preparing changes for merge. ## Overview Code review following the **Review Pyramid** methodology — a prioritized approach that focuses on what matters most. ## The Review Pyramid ``` ▲ /|\ 5. Code Style (Nit) ← Least important,
tools
# Architecture Patterns System-level architecture patterns for Python backend projects (FastAPI + SQLAlchemy 2.0). ## Triggers Use this skill when the user: - Designs a new system or major feature - Asks about project structure or module boundaries - Makes data modeling decisions - Designs API contracts - Evaluates architectural trade-offs - Creates or reviews Architecture Decision Records (ADR) - Needs to modernize legacy code ## Abstraction Levels | Plugin | Level | Focus | |--------|----
tools
# Python Typing Patterns Python type annotation patterns without `type: ignore`. Always the correct solution. ## Triggers Use this skill when the user: - Gets mypy/pyright errors - Asks about Python type annotations - Wants to add type hints - Works with generics, protocols, TypeVar ## Main Principle: NEVER type: ignore Every type error has a correct solution. `type: ignore` is: - Masking potential bugs - Disabling type checking - Technical debt More details: `${CLAUDE_PLUGIN_ROOT}/skills/
tools
# Ruff Patterns Knowledge about the ruff linter and patterns for solving errors. **ZERO noqa policy** — always look for the proper solution. ## Triggers Use this skill when the user: - Asks "how to configure ruff" - Gets a ruff error and wants to understand how to fix it - Wants to migrate from black/isort/flake8/pylint - Asks about a specific rule (E501, F401, etc.) ## Main Principle: NEVER USE NOQA **Every ruff error has a proper solution.** Using `# noqa` is: - Hiding the problem, not so