shopify-known-pitfalls
Skill by jeremylongshore
Identifies and explains 10 common Shopify app anti-patterns, with wrong-way and right-way code examples. Built for developers reviewing a Shopify codebase, preparing for App Store submission, or debugging API failures.
Install shopify-known-pitfalls
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/shopify-known-pitfalls ~/.claude/skills/shopify-known-pitfallsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/shopify-known-pitfalls ~/.gemini/antigravity-cli/skills/shopify-known-pitfallsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install shopify-known-pitfalls in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lists 10 common mistakes when building Shopify apps. Each pitfall has a wrong-way and right-way code example, and full comparisons are kept in a separate reference file. Topics include ignoring userErrors in GraphQL mutations, using REST instead of GraphQL, outdated API versions, missing GDPR webhooks, slow webhook handlers, and cursor pagination.
The skill also includes an error-handling table and a quick reference card. A pitfall scan script in the references folder checks for REST usage, missing userErrors checks, old API versions, hardcoded tokens, and oversized page requests. It is aimed at developers reviewing a Shopify codebase, preparing for App Store submission, or debugging unexplained API failures. It is MIT licensed and designed for Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- userErrors checksShows how to check userErrors on mutations, which return HTTP 200 even when they fail.
- REST versus GraphQLExplains why new public apps after April 2025 must use GraphQL.
- API version deprecationAdvises using LATEST_API_VERSION and watching deprecation response headers.
- GDPR webhooksLists the three mandatory GDPR webhook handlers needed for App Store approval.
- Webhook timeoutsExplains the 5 second response window and queuing work asynchronously.
- Cursor paginationCovers pagination with after, endCursor and pageInfo instead of page numbers.
- Query cost limitsAdvises against first: 250 with nested connections to avoid throttling.
- Token securityWarns against sending Admin API tokens to client-side code.
- APP_UNINSTALLED handlingCovers cleaning up sessions when a merchant uninstalls the app.
- Pitfall scan scriptProvides a script that detects REST usage, old versions and hardcoded tokens.
What you need
- Existing Shopify app codebase to review
- Familiarity with GraphQL Admin API query patterns
- Access scopes configured for the APIs the app uses
- @shopify/shopify-api v9 or later for the code examples
Try asking
- Review my Shopify codebase for common API anti-patterns
- Check my Shopify mutations for missing userErrors handling
- Is my Shopify app missing any mandatory GDPR webhook handlers?
Good to know
- Covers 10 pitfalls only.
- Code examples assume @shopify/shopify-api v9 or later.
- Allowed tools are Read and Grep only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/.curated/shopify-known-pitfalls/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGrep
-
SKILL.md6 KB -
references/pitfall-examples.md6 KB -
references/pitfall-scan-script.md720 B
Alternatives to shopify-known-pitfalls
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
shopify-known-pitfalls: common questions
Does this skill change my Shopify code?
The skill only allows the Read and Grep tools. It is written to identify anti-patterns and explain fixes, and the source does not say it edits files.
What is the most common Shopify API mistake?
The skill calls not checking userErrors the number one mistake. Shopify GraphQL mutations return HTTP 200 even when they fail.
When do Shopify apps have to use GraphQL instead of REST?
The source says the REST Admin API is legacy as of October 2024, and new public apps after April 2025 must use GraphQL.
How do I install shopify-known-pitfalls?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is shopify-known-pitfalls free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is shopify-known-pitfalls safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. 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 shopify-known-pitfalls?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
