agentleFS
tacticlaunchtacticlaunch/mcp-linear/.github/skills/inspect-linear-sdk/SKILL.md

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.

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
  1. Distinctive:

    Use this skill before implementing a new Linear capability.

    line 6
  2. Distinctive:

    Prefer the SDK when it is correct and complete.

    line 24
  3. Distinctive:

    If the SDK is stale, use a direct GraphQL query only for the missing path and keep it as narrow as possible.

    line 25
  4. Distinctive:

    When you fall back to direct GraphQL, note the mismatch in code comments or the PR summary so future maintainers know why the fallback …

    line 26

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use this skill before implementing a new Linear capability.

Inspect these sources first

  • node_modules/@linear/sdk/dist/_generated_sdk.d.ts
  • node_modules/@linear/sdk/dist/_generated_documents.d.ts
  • existing related code in src/services/linear-service.ts

What to verify

  1. Whether the capability already has an SDK method.
  2. The exact mutation or query variable shape.
  3. The entity class shape and relation getters.
  4. Which fields are nullable, clearable, enum-based, or paginated.
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.