Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

linear-sdk-patterns

Skill by jeremylongshore

Implements current Linear TypeScript SDK patterns for queries, mutations, pagination, raw GraphQL, and error handling. Written for developers building or refactoring a typed Linear adapter in Claude Code.

  • Score 79
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install linear-sdk-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/linear-sdk-patterns ~/.claude/skills/linear-sdk-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install linear-sdk-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through building or refactoring a typed Linear adapter. It keeps SDK mechanics inside a bounded adapter and exposes domain-shaped results instead of generated model objects. The instructions cover one injected client per approved auth context, domain functions that accept stable IDs, explicit pagination of every connection, and raw GraphQL only when it measurably reduces fields or fan-out.

The skill also covers authentication choices, including personal API keys, OAuth with PKCE, and client-credentials grants. It normalizes LinearError and GraphQL partial errors into retryable, terminal, and reconciliation-required outcomes. It is aimed at developers and teams who write Linear integrations and need reviewable scope, approval state, and verification evidence in their output.

Written from the project's SKILL.md and checked against it.

What it can do

  • Typed queries and mutationsUses current verb-first SDK mutation names such as createIssue and archiveProject.
  • Explicit paginationFollows nodes, pageInfo, fetchNext, and fetchPrevious until the required boundary is reached.
  • Raw GraphQLUses linearClient.client.rawRequest for purpose-built GraphQL with typed variables.
  • Error normalizationMaps LinearError and GraphQL partial errors into retryable, terminal, or reconciliation-required outcomes.
  • Adapter boundary designInjects one client per auth context and maps SDK models to application-owned types.

What you need

  • An approved Linear workspace credential, only when live verification is necessary
  • Network access for live verification
  • Access to the target repository
  • An accountable owner for approvals

Try asking

  • Refactor my Linear client into an injected adapter with domain functions.
  • Add explicit pagination and checkpoints to my Linear issue sync.
  • Write a typed raw GraphQL query for recently updated Linear issues.

Good to know

  • Creating, mutating, archiving, or deleting workspace data requires explicit owner approval.
  • Diagnosis stays read-only unless implementation is requested.
  • Live verification needs network access and an approved Linear credential.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/linear-sdk-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGlobGrepWebFetchWriteEdit

  • SKILL.md5 KB
  • references/official-docs.md3 KB

Alternatives to linear-sdk-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

linear-sdk-patterns: common questions

How does the skill handle Linear credentials?

It allows a personal API key only for owner-controlled scripts, OAuth with PKCE for user-delegated apps, or an enabled client-credentials grant for approved automation. Credentials should be stored server-side in an approved secret manager.

Can this skill change my Linear workspace?

The source says creating, mutating, archiving, or deleting workspace data needs explicit approval from the accountable owner. Diagnosis is read-only unless implementation was requested.

How are Linear API errors handled?

The skill normalizes LinearError and GraphQL partial errors into retryable, terminal, and reconciliation-required outcomes. It notes that LinearError exposes parsed request, response, and error evidence.

How do I install linear-sdk-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is linear-sdk-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is linear-sdk-patterns safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to linear-sdk-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

linear-sdk-patterns Install

Add to stack

Loading.