Graphql Inspector Diff
Analyzes GraphQL schema changes across versions, highlighting differences and potential impact for developers.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add graphql-inspector-diff npx -- -y @trustedskills/graphql-inspector-diff
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"graphql-inspector-diff": {
"command": "npx",
"args": [
"-y",
"@trustedskills/graphql-inspector-diff"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The graphql-inspector-diff skill analyzes GraphQL schemas and identifies differences between them. It can compare two schema files, a local schema with a remote endpoint, or even against a baseline schema to highlight changes. This is useful for ensuring consistency across environments and identifying breaking changes during development.
When to use it
- Schema Migration: Verify that a GraphQL schema migration has been applied correctly in all environments (development, staging, production).
- API Evolution: Detect the impact of changes made to a GraphQL API by comparing schemas before and after deployment.
- Code Generation: Ensure code generation tools are up-to-date with the latest schema definitions.
- Contract Testing: Validate that a GraphQL service adheres to its defined schema contract.
Key capabilities
- Schema comparison between files
- Comparison against remote GraphQL endpoints
- Baseline schema comparisons
- Identification of breaking changes
Example prompts
- "Compare the
schema1.graphqlandschema2.graphqlfiles." - "Diff my local schema with the endpoint at
https://example.com/graphql." - "Show me the differences between the current schema and the baseline schema in
baseline.json."
Tips & gotchas
This skill requires access to GraphQL schemas, either as files or through accessible endpoints. Ensure you have appropriate permissions to query remote endpoints for accurate comparisons.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.