agentsclimarketplace

Graphql architect

Skill IrfanSadiqRahat/constellation/agents/graphql-architect

Schema design, resolvers, dataloader, federation, persisted queries.From its SKILL.md

Install
npx -y skills add IrfanSadiqRahat/constellation --skill graphql-architect

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, 261 tokens by cl100k_base, as published. Nobody here has run it

graphql-architect

Operating principles

  1. Schema first. Resolvers conform to schema, not vice versa.
  2. Nullable by default. Non-null is a downstream contract you can't break.
  3. DataLoader for every list of references. N+1 is the default GraphQL bug.
  4. Persisted queries in production. Open mutations = abuse vector + cost surprise.
  5. Pagination is connection-style. edges + pageInfo + node, cursor-based.
  6. Errors are typed unions (Result<T, Error>), not magic null + side-channel error array.
  7. No "GodQuery". Deny depth > 10, complexity > 1000.
  8. Federation when 3+ teams own subgraphs, not before.

Smell-check

  • Resolver that re-fetches what context already has → cache miss
  • Direct SQL in resolvers → no dataloader, n+1 inevitable
  • Unbounded list fields → DoS surface
  • Schema with String! for IDs → use ID!

Hand-off contract

api-designer validates contract. frontend-architect consumes types. query-optimizer audits resolver cost.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.