linear-common-errors
Provides troubleshooting workflows for Linear API errors and SDK integration issues.
Install
mkdir -p .claude/skills/linear-common-errors && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6904" && unzip -o skill.zip -d .claude/skills/linear-common-errors && rm skill.zipInstalls to .claude/skills/linear-common-errors
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Diagnose and fix common Linear API and SDK errors.Key capabilities
- →Diagnose Linear API authentication errors
- →Implement retry logic for Linear rate limiting
- →Optimize GraphQL queries to reduce complexity
- →Handle entity not found errors in Linear
- →Validate input for Linear mutations
- →Verify Linear webhook signatures
How it works
This skill provides diagnostic steps and code examples to identify and resolve common Linear API errors, including authentication, rate limiting, query complexity, and input validation.
Inputs & outputs
When to use linear-common-errors
- →Debugging API 429 errors
- →Fixing authentication issues
- →Parsing GraphQL error responses
- →Troubleshooting mutation input errors
About this skill
Linear Error Triage
Overview
Classify a failure before changing code or credentials, because Linear can return GraphQL errors with HTTP 200 and throttling errors with HTTP 400.
Prerequisites
- The target repository, Linear workspace, environment, and accountable owner
- Current security, privacy, compliance, capacity, and change-control requirements
- An approved Linear credential only when a bounded live verification is necessary
Tool Discipline
Use Read, Glob, and Grep to inspect code, configuration, and evidence. Use WebFetch only for current first-party Linear documentation and package metadata. Use Write or Edit only for requested implementation with known target files. Never write credentials, customer content, unrestricted environment output, or unredacted GraphQL variables.
Current Contract
- Always inspect the GraphQL
errorsarray; a response can include partialdataand errors together. - Rate limiting is identified by
extensions.code: RATELIMITEDin an HTTP 400 GraphQL response, not by assuming HTTP 429. - The SDK exposes parsed
LinearErrordetails including query, variables, status, data, raw error, and per-error path/type when available.
Authentication
Use a personal API key only for owner-controlled scripts, OAuth with PKCE for user-delegated applications, or an enabled client-credentials grant for approved automation. Personal keys use Authorization: <API_KEY>; OAuth tokens use Authorization: Bearer <ACCESS_TOKEN>. Store credentials server-side in an approved secret manager.
Treat app approval, team access, scope changes, credential creation, rotation, revocation, and production access as owner-approved actions.
Instructions
- Capture the operation name, HTTP status, GraphQL error code/path, SDK version, and redacted rate headers.
- Separate authentication, authorization, input, not-found, complexity, endpoint-budget, and service-health failures.
- Reproduce with the smallest read-only query using the same auth mode; do not paste tokens or full customer variables.
- For partial data, decide whether the caller must reject the whole response or can use explicitly safe fields.
- For throttling, follow reset metadata, shrink requested fields/pages, and coordinate all workers sharing the user or app budget.
- Return the root-cause evidence, bounded remediation, and a regression assertion.
Approval Boundaries
Do not create, reveal, rotate, or revoke credentials; authorize an OAuth app; change scopes or team access; create, mutate, archive, or delete workspace data; configure or re-enable webhooks; import or export data; change roles, SCIM, or audit streaming; transmit diagnostics; change paid entitlements; or perform another production mutation without explicit approval from the accountable owner. Keep diagnosis read-only unless implementation was requested.
Output
Return the workspace and team scope, auth mode without credential value, files and contracts inspected, exact operation names, evidence collected, validation result, sensitive fields redacted, remaining risk, accountable owner, approval state, and rollback or next action.
Error Handling
| Condition | Response |
|---|---|
HTTP 200 plus errors | Treat it as an application failure unless partial-data handling is explicitly designed. |
HTTP 400 plus RATELIMITED | Honor reset data and reduce request or complexity pressure. |
| Forbidden | Verify team visibility and exact OAuth scope; do not broaden access by default. |
| Unknown schema field | Check introspection, SDK version, and deprecation notices before renaming code. |
Examples
Use a compact handoff that makes scope, mutation authority, and verification evidence reviewable.
Input:
status=200; errors[0].path=issueCreate; sdk=95.0.0; variables=redacted
Expected handoff:
class=graphql-application-error; retry=no; regression=payload-error-check
Resources
When not to use it
- →When not interacting with the Linear API or SDK
- →When application logs are not accessible
Prerequisites
Limitations
- →Requires Linear SDK or raw API access
- →Requires access to application logs
- →Requires understanding of GraphQL error response format
How it compares
This skill offers specific solutions and code snippets for Linear API errors, providing a direct approach to troubleshooting compared to general API debugging.
Compared to similar skills
linear-common-errors side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| linear-common-errors (this skill) | 1 | 2mo | Caution | Advanced |
| n8n-expression-syntax | 6 | 5mo | No flags | Beginner |
| claude-in-chrome-troubleshooting | 2 | 3mo | Review | Intermediate |
| openrouter-common-errors | 3 | 2mo | Caution | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
n8n-expression-syntax
czlonkowski
Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, or working with webhook data in workflows.
claude-in-chrome-troubleshooting
trailofbits
Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.
openrouter-common-errors
jeremylongshore
Execute diagnose and fix common OpenRouter API errors. Use when troubleshooting failed requests. Trigger with phrases like 'openrouter error', 'openrouter not working', 'openrouter 401', 'openrouter 429', 'fix openrouter'.
gamma-common-errors
jeremylongshore
Debug and resolve common Gamma API errors. Use when encountering authentication failures, rate limits, generation errors, or unexpected API responses. Trigger with phrases like "gamma error", "gamma not working", "gamma API error", "gamma debug", "gamma troubleshoot".
groq-common-errors
jeremylongshore
Diagnose and fix Groq common errors and exceptions. Use when encountering Groq errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "groq error", "fix groq", "groq not working", "debug groq".
linear-debug-bundle
jeremylongshore
Comprehensive debugging toolkit for Linear integrations. Use when setting up logging, tracing API calls, or building debug utilities for Linear. Trigger with phrases like "debug linear integration", "linear logging", "trace linear API", "linear debugging tools", "linear troubleshooting".