# Shopify Version Upgrade Guard

> Bump your Shopify API version and prove your queries and webhooks still work — with a script that checks every GraphQL operation against the real schema.

Shopify Version Upgrade Guard is a paid AI agent skill on Agensi by Nahid hossain, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [Nahid hossain](https://www.agensi.io/creators/nahid-hossain)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.3
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/shopify-version-upgrade-guard
- Tags: api, ecommerce, code-review, upgrade, deprecation, graphql

## What it does

- Finds every version string in app settings, extensions, server code, and deployment files
- Validates GraphQL queries and mutations against the target Shopify schema to catch errors early
- Identifies deprecated API calls and lists their official removal dates from the Shopify changelog
- Maps out payload changes for webhooks and provides commands to test them on a development store
- Converts legacy REST Admin API calls to GraphQL operations while keeping your response shapes intact

## Who it's for

- **Shopify app owners and developers:** Keep your app running smoothly by catching breaking API changes before they reach your customers. Try: "Audit my Shopify app and prepare it for the 2025-04 API version upgrade."
- **Agencies managing multiple Shopify stores:** Quickly find every hardcoded version across a client project and validate their custom GraphQL queries. Try: "Find all pinned API versions in this project and tell me what will break in the next release."
- **Founders migrating from REST to GraphQL:** Safely swap old REST calls for new GraphQL queries without breaking your app's internal logic. Try: "Find my REST Admin calls and help me convert the product update logic to GraphQL."

## About this skill

### The problem
Changing the version string is the easy part. This skill guides your coding agent to find what the new Shopify API version breaks, fix it and show the evidence.

### What it does
- Finds every pinned version across app configuration, extensions, server code, tooling and webhooks
- Reads the release notes for each version in between and matches changes to your code
- Validates every GraphQL operation against the target version with an included script, and reports deprecations separately
- Looks for behavior changes that validation misses
- Finds REST Admin calls and converts them when you ask
- Updates one API surface at a time and tests webhooks
- Reports operations that could not be validated

### Why not just prompt your agent?
Passing query validation is not enough. Values sent as variables, new status values, search syntax and webhook fields can still break. This skill reads each release in between and checks for these.

### Works with
Shopify CLI, GraphQL code generation, the graphql package and your existing tests. The included script needs Node 18 or newer.

### Test prompts

- Upgrade our Shopify app to the latest API version.
- The Dev Dashboard says we make deprecated API calls. Fix them.
- Convert our REST Admin calls to GraphQL.
- Just change api_version in the toml to the new one.

### Safety
The agent asks before installing packages and never deploys without your approval. The script reads no credentials.

### Where it stops
Moving UI extensions to a new component library is reported as a separate task, and dynamically built queries are listed for you to check by hand.

## Known limitations

Operations built with runtime interpolation cannot be validated by the script. They are listed in the report for manual review. The script needs a schema address or a saved schema file; the agent takes it from your project settings or Shopify's documentation. Webhook triggers and development store checks need the Shopify CLI logged in to a development store. Needs Node 18+ and the graphql package, installed only after you approve. Not affiliated with or endorsed by Shopify.

## Technical details

This skill uses a custom Node.js script (shopify_api_guard.mjs) to perform offline audits and online GraphQL validation using the graphql npm package. It interacts with the Shopify CLI for webhook triggering and reads .graphql, .ts, .js, and .toml files. It requires Node 18+ and performs introspection queries against Shopify Admin API endpoints.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Shopify Version Upgrade Guard skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help me avoid breaking my Shopify app during an update?

This skill audits your entire codebase to find pinned Shopify API versions, maps breaking changes from official release notes to your specific lines of code, and validates GraphQL operations against the live Shopify schema to prevent production failures.

### What tools or access do I need to provide for the skill to work?

You need to have the Shopify CLI installed and logged in to perform live webhook testing or store-based verification. For GraphQL validation, the skill uses a provided Node.js script that requires the graphql package to be installed in your environment.

### What kind of report or output will I receive after the audit?

The skill provides a detailed report including a table of breaking changes affecting your app, a list of validated and unvalidated operations, and a summary of version changes across all surfaces like Admin, Storefront, and Customer Account APIs.

### Are there any specific parts of my Shopify app that this skill cannot verify?

It cannot validate GraphQL strings that use complex dynamic interpolation or variables built at runtime. It also requires a manual check for changes in search query syntax, new enum values in logic blocks, and updated default values that the schema itself might not catch.

### How should I prompt my AI agent to start using this skill?

You can ask your agent to audit your app for an upcoming Shopify quarterly release, fix deprecated API warnings from your Partner Dashboard, or migrate specific legacy REST Admin calls to GraphQL.

### Does this skill only check my main app config, or does it look at extensions too?

The skill searches for version strings in app configuration TOML files, extension settings, SDK versions, Node engine requirements, and hardcoded strings within your server code to ensure no surface is overlooked.

### Which version will it upgrade to?

It reads the current list of stable versions, proposes one and waits for your agreement.

### Does it include its own validation script?

Yes. A Node script checks every GraphQL operation against the schema for your target version. It needs Node 18+ and the graphql package, installed only after you approve.

### Does it need my Shopify login?

Not for the schema check. Webhook triggers and development store checks need the Shopify CLI logged in to a development store.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
