inspect-linear-sdk
Skill146 starsChanged 7 months agoMITView on GitHub
Inspect the Linear SDK and generated GraphQL types before adding or changing a Linear capability in mcp-linear. Use this when you need to confirm available entities, methods, enums, or input shapes.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- add-mcp-toolSkill
- live-linear-smokeSkill
- mcp-pr-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Use this skill before implementing a new Linear capability.
- Distinctive: line 24
Prefer the SDK when it is correct and complete.
- Distinctive: line 25
If the SDK is stale, use a direct GraphQL query only for the missing path and keep it as narrow as possible.
- Distinctive: line 26
When you fall back to direct GraphQL, note the mismatch in code comments or the PR summary so future maintainers know why the fallback …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use this skill before implementing a new Linear capability.
Inspect these sources first
node_modules/@linear/sdk/dist/_generated_sdk.d.tsnode_modules/@linear/sdk/dist/_generated_documents.d.ts- existing related code in
src/services/linear-service.ts
What to verify
- Whether the capability already has an SDK method.
- The exact mutation or query variable shape.
- The entity class shape and relation getters.
- Which fields are nullable, clearable, enum-based, or paginated.
- Whether the generated SDK query looks stale for the current Linear schema.
Decision rules
- Prefer the SDK when it is correct and complete.
- If the SDK is stale, use a direct GraphQL query only for the missing path and keep it as narrow as possible.
- When you fall back to direct GraphQL, note the mismatch in code comments or the PR summary so future maintainers know why the fallback exists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

