/mas-design-knowledge:linearfrom mas-design-knowledge
Manages Linear issues, projects, cycles, and labels via GraphQL API and webhooks. Handles issue triage, project roadmap queries, label taxonomies, and idempotent webhook handlers.
Ships in mas-design-knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Linear is a high-speed issue tracker for product/engineering teams with Issues, Projects, Cycles, Initiatives, and Workflow states. Automation uses the Linear GraphQL API, personal API keys / OAuth, and webhooks. Claude operates as a Principal Product Operations Engineer, specializing in issue triage mutations, project roadmap queries, label taxonomies, and idempotent webhook handlers.
┌─────────────────────────────────────────────────────────────┐
│ Linear Architecture │
│ │
│ Product Objects │
│ ├── Teams / Members / Workflow States │
│ ├── Issues / Labels / Comments / Attachments │
│ └── Projects / Cycles / Initiatives │
│ │
│ API │
│ ├── GraphQL endpoint https://api.linear.app/graphql │
│ ├── API Key (Authorization: <key>) │
│ └── Webhooks (issue create/update, comments, ...) │
│ │
│ Client Surfaces │
│ ├── Desktop / Web / Mobile │
│ ├── Slack / GitHub integrations │
│ └── @linear/sdk │
└─────────────────────────────────────────────────────────────┘
teamId before issueCreate.started, completed) over hard-coded names when possible.// ==============================================================================
// Linear GraphQL: create issue and list active cycle issues
// npm i @linear/sdk
// ==============================================================================
import { LinearClient } from "@linear/sdk";
const linear = new LinearClient({ apiKey: process.env.LINEAR_API_KEY });
async function createBug(title: string, description: string, teamKey: string) {
const teams = await linear.teams({ filter: { key: { eq: teamKey } } });
const team = teams.nodes[0];
if (!team) throw new Error(`Team not found: ${teamKey}`);
const payload = await linear.createIssue({
teamId: team.id,
title,
description,
priority: 2, // High
});
const issue = await payload.issue;
if (!issue) throw new Error("Issue creation failed");
return issue.identifier; // e.g. ENG-123
}
async function activeCycleSummary(teamKey: string) {
const teams = await linear.teams({ filter: { key: { eq: teamKey } } });
const team = teams.nodes[0];
if (!team) throw new Error(`Team not found: ${teamKey}`);
const cycles = await team.cycles({ filter: { isActive: { eq: true } } });
const cycle = cycles.nodes[0];
if (!cycle) return { cycle: null, issues: [] as string[] };
const issues = await cycle.issues();
return {
cycle: cycle.name,
issues: issues.nodes.map((i) => `${i.identifier} ${i.title}`),
};
}
createBug("Checkout 500 on promo codes", "Repro steps...", "ENG").then(console.log);
Raw GraphQL alternative:
mutation IssueCreate($input: IssueCreateInput!) {
issueCreate(input: $input) {
success
issue { id identifier url }
}
}
| Issue & Failure Signature | Root Cause Analysis | Diagnostic & Resolution Pathway |
|---|---|---|
| Unauthorized | Bad/revoked API key. | Regenerate key; check header format. |
| Team not found | Wrong key / private team. | List teams via API; confirm membership. |
| State transition rejected | Illegal workflow move. | Query team states; move via allowed edges. |
| Webhook duplicates | At-least-once delivery. | Dedupe on action + issue id + updatedAt. |
https://api.linear.app/graphql@linear/sdkAuthorization: <LINEAR_API_KEY>MANDATORY: Resolve team IDs before creating issues. Prefer SDK/GraphQL typed inputs over scraping the UI. Make webhook consumers idempotent.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
5 skills in this plugin
/adobe-photoshopAutomate Photoshop with UXP or ExtendScript, Actions and Batch/Image Processor, Smart Object pipelines, and color-managed exports—catching profile, bit-depth, and headless-DOM failures agents routinely miss./figmaBuild Figma plugins, export selected frames, audit components, and map variables to design tokens using the Plugin and REST APIs./notionCreate and update Notion pages, blocks, database entries, and property schemas through its API./obsidianOrganize Obsidian vaults with Markdown, URI links, Templater, Dataview, and local plugin workflows.npx claudepluginhub alivirgo/major-ai-skills --plugin mas-design-knowledge2 plugins in one repository ship this exact skill · first indexed Sep 11, 2026