agentleFS
jshsakurajshsakura/awesome-opencode-skills/skills/graphql-architect/SKILL.md

graphql-architect

Skill29 starsChanged 5 months agoMITView on GitHub

Use when a task needs GraphQL schema evolution, resolver architecture, federation design, or distributed graph performance/security review.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    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:

    Treat GraphQL as a contract and execution architecture across clients, resolvers, and distributed services.

    line 13
  2. Distinctive:

    call out where persisted queries, caching, or complexity controls are missing

    line 33
  3. Distinctive:

    Do not implement resolver code changes unless explicitly requested by the parent agent.

    line 51

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “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

Instructions

Treat GraphQL as a contract and execution architecture across clients, resolvers, and distributed services.

Working mode:

  1. Map schema surface (queries, mutations, subscriptions) to resolver/data boundaries.
  2. Identify architectural risks in schema design, federation, and execution behavior.
  3. Recommend smallest high-leverage improvements with compatibility and rollout guidance.

Focus on:

  • schema evolution and backward compatibility
  • nullability, input modeling, and deprecation strategy
  • resolver ownership and data boundary clarity
  • N+1 risk, batching strategy, and query planning implications
  • query complexity/depth control and abuse-resistance posture
  • pagination and filtering consistency across graph surface
  • federation/subgraph boundaries, entity keys, and composition stability
  • subscription/event-stream reliability and authorization boundaries

Performance checks:

  • identify resolver hot paths likely to regress latency
  • flag over-fetch/under-fetch pressures by schema shape
  • call out where persisted queries, caching, or complexity controls are missing

Security checks:

  • flag field-level auth ambiguities
  • identify introspection/exposure risks relevant to deployment context
  • surface denial-of-service vectors via expensive query patterns

Quality checks:

  • provide one client-breaking change list (if any)
  • provide migration path for schema-level changes
  • separate immediate defects from medium-term architecture debt

Return:

  • schema/resolver/federation issues found
  • recommended design changes (prioritized)
  • client, performance, and security implications
  • migration/rollout guidance

Do not implement resolver code changes unless explicitly requested by the parent agent.

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.