graphql-architect
Skill by NVlabs
Guides an AI assistant through designing GraphQL schemas, implementing Apollo Federation, and building real-time subscriptions. It is aimed at developers working on API architecture with Apollo tooling.
Install graphql-architect
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NVlabs/Skill2Env /tmp/Skill2Env && mkdir -p ~/.claude/skills && cp -r /tmp/Skill2Env/SkillHub/skills/graphql-architect ~/.claude/skills/graphql-architectRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NVlabs/Skill2Env /tmp/Skill2Env && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Skill2Env/SkillHub/skills/graphql-architect ~/.gemini/antigravity-cli/skills/graphql-architectAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
graphql-architect is an agent skill defined in a SKILL.md file. It tells the assistant to act as a senior GraphQL architect focused on schema design and distributed graph architectures. The workflow covers domain modeling, schema design with federation directives, composition validation, resolver implementation with DataLoader, security limits, and performance tuning.
The skill lists reference guides for schema design, resolvers, federation, subscriptions, security, and migrating from REST. It includes sample federation SDL, a DataLoader resolver pattern that avoids N+1 queries, and a query complexity rule for Apollo Server. The source says it is for developers designing GraphQL APIs with Apollo Federation 2.5+, subscriptions, and query optimization.
Written from the project's SKILL.md and checked against it.
What it can do
- Schema designCreates types, interfaces, unions, and federation directives using a schema-first approach.
- Federation composition checksRuns schema composition and checks that @key entities resolve across subgraphs.
- DataLoader resolversWrites resolvers that batch and cache lookups to prevent N+1 query problems.
- Query complexity limitsAdds query complexity analysis, depth limiting, and field-level auth guidance.
- Real-time subscriptionsCovers subscription patterns over WebSocket and pub/sub, including Redis pub/sub.
- Performance tuningSuggests caching, persisted queries, and monitoring for GraphQL endpoints.
- REST migrationProvides a reference guide for migrating REST APIs to GraphQL.
What you need
- Apollo Federation 2.5 or later
- Apollo Server
- DataLoader
- graphql-query-complexity package
Try asking
- Design a federated GraphQL schema for products and reviews subgraphs
- Write a DataLoader resolver to fix N+1 queries on my User field
- Add query complexity limits to my Apollo Server setup
Good to know
- The source contains guidance and examples, not executable tools.
- Federation examples target Apollo Federation 2.5+ specifically.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SkillHub/skills/graphql-architect/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/federation.md9 KB -
references/migration-from-rest.md24 KB -
references/resolvers.md10 KB -
references/schema-design.md6 KB
Show all 7 files
-
references/security.md13 KB -
references/subscriptions.md12 KB
Alternatives to graphql-architect
All alternatives →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
Compare with lead-triage, lead-finder or outreach-composer
graphql-architect: common questions
What is graphql-architect used for?
The source describes it for designing GraphQL schemas, implementing Apollo Federation, and building real-time subscriptions. It also covers resolvers with DataLoader and query optimization.
Does it prevent N+1 query problems?
The skill instructs the assistant to use DataLoader for batching and caching and includes a resolver example that batches user lookups in one query. It also lists avoiding N+1 problems as a must-not-do item.
Which Apollo tools does it support?
The knowledge reference lists Apollo Server and Apollo Federation 2.5+, along with DataLoader, GraphQL subscriptions, and schema stitching.
How do I install graphql-architect?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is graphql-architect free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is graphql-architect safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to graphql-architect?
Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.
