Agent skill · Audited from source
Shopify Known Pitfalls
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 1 critical or high. What it does: Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong
Cite
Cite this page
ModelsAtlas. “Shopify Known Pitfalls (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/shopify-known-pitfalls
Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 1 critical or high finding, starting with “Prompt injection” in SKILL.md:77. Do not install it without reading them.
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 749 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 2 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: critical finding, no behavioural pass, undeclared transfer.
Findings (2)
CRITICALPrompt injectionprompt.transfer_instruction · SKILL.md:77
Admin API tokens have full access. Never send them to the browser — proxy through your server.
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.authority_framing · SKILL.md:77
Admin API tokens have full access. Never send them to the browser — proxy through your server.
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/shopify-pack/skills/shopify-known-pitfallsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong
--- name: shopify-known-pitfalls description: 'Identify and avoid Shopify API anti-patterns: ignoring userErrors, wrong API version, REST instead of GraphQL, missing GDPR webhooks, and webhook timeout issues. Use when reviewing a Shopify codebase, preparing for App Store submission, or debugging mysterious API failures. Trigger with phrases like "shopify mistakes", "shopify anti-patterns", "shopify pitfalls", "shopify what not to do", "shopify code review". ' allowed-tools: Read, Grep version: 2.7.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - ecommerce - shopify compatibility: Designed for Claude Code --- # Shopify Known Pitfalls ## Overview The 10 most common mistakes when building Shopify apps, with real API examples showing the wrong way and the right way. ## Prerequisites - Existing Shopify app codebase to review or audit - Familiarity with GraphQL Admin API query patterns and response shapes - Access scopes configured for the APIs your app uses - `@shopify/shopify-api` v9+ installed (for code examples) ## Instructions Each pitfall includes a wrong-way and right-way code example. See [Pitfall Examples](references/pitfall-examples.md) for all 10 complete code comparisons. ### Pitfall #1: Not Checking userErrors (The #1 Mistake) Shopify GraphQL mutations return HTTP 200 even when they fail. The errors are in `userErrors`. Always check `userErrors.length > 0` before accessing the result. ### Pitfall #2: Using REST When GraphQL Is Required REST Admin API is legacy as of October 2024. New public apps after April 2025 **must** use GraphQL. GraphQL also lets you request only the fields you need. ### Pitfall #3: Ignoring API Version Deprecation Shopify deprecates API versions ~12 months after release. Use `LATEST_API_VERSION` from `@shopify/shopify-api` and monitor `x-shopify-api-deprecated-reason` response headers. ### Pitfall #4: Missing Mandatory GDPR Webhooks Your app **will be rejected** from the App Store without `customers/data_request`, `customers/redact`, and `shop/redact` webhook handlers. ### Pitfall #5: Webhook Handler Takes Too Long Shopify expects a 200 response within 5 seconds. Respond immediately and queue work asynchronously, otherwise Shopify retries and creates duplicates. ### Pitfall #6: Using ProductInput on API 2024-10+ The `ProductInput` type was split into `ProductCreateInput` and `ProductUpdateInput` in 2024-10. Use the specific type for each operation. ### Pitfall #7: Not Using Cursor Pagination Shopify uses Relay-style cursor pagination, not page numbers. Use `after` / `endCursor` with `pageInfo`. ### Pitfall #8: Requesting 250 Items Per Page `first: 250` with nested connections creates enormous query costs that THROTTLE immediately. Use `first: 50` or smaller with nested resources. ### Pitfall #9: Exposing Admin Token in Client-Side Code Admin API tokens have full access. Never send them to the browser — proxy through your server. ### Pitfall #10: Not Handling APP_UNINSTALLED Webhook When a merchant uninstalls your app, clean up sessions immediately. Stale sessions cause auth redirect loops on reinstall. ## Output - Anti-patterns identified in codebase - Fixes prioritized (security first, then correctness) - Prevention measures in place (linting, CI checks) ## Error Handling | Pitfall | How to Detect | Prevention | |---------|--------------|------------| | Missing userErrors check | Null pointer crashes | ESLint rule or wrapper function | | REST usage | `grep -r "clients.Rest" src/` | Migration guide + lint rule | | Old API version | `grep -r "apiVersion" src/` | CI check against supported versions | | Missing GDPR webhooks | App Store rejection | Pre-submit compliance checker | | Webhook timeout | Shopify retry storms | Queue-based processing | | ProductInput on 2024-10 | GraphQL type error | Update mutations | | Page-based pagination | Query errors | Use cursor pagination pattern | | `first: 250` | THROTTLED responses | Query cost budgets | | Admin token in client | Security audit | Server-side proxy | | No APP_UNINSTALLED | Auth loops on reinstall | Webhook handler + session cleanup | ## Examples ### Quick Pitfall Scan Run automated detection against your Shopify codebase to find REST usage, missing userErrors checks, old API versions, hardcoded tokens, and oversized page requests. See [Pitfall Scan Script](references/pitfall-scan-script.md) for the complete scan script. ## Resources - Shopify App Requirements - [GraphQL Migration Guide](https://shopify.dev/docs/apps/build/graphql/migrate/learn-how) - [2024-10 Breaking Changes](https://shopify.dev/docs/api/release-notes/2024-10) - [Webhook Best Practices](https://shopify.dev/docs/apps/build/webhooks) ## Quick Reference Card | Pitfall | Detection | Fix | |---------|-----------|-----| | No userErrors check | Null crashes on mutations | Always check `userErrors.length > 0` | | REST instead of GraphQL | `grep "clients.Rest"` | Migrate to `clients.Graphql` | | Old API version | `grep "2023-"` | Use `LATEST_API_VERSION` from SDK | | Missing GDPR webhooks | App Store rejection | Add 3 mandatory webhook handlers | | Webhook timeout | Retry storms, duplicates | Respond 200 immediately, queue processing | | ProductInput on 2024-10 | Type error | Use `ProductCreateInput` / `ProductUpdateInput` | | Page-number pagination | Query errors | Use cursor-based with `pageInfo` | | `first: 250` with nesting | THROTTLED | Use `first: 50` or smaller | | Admin token in browser | Security scan | Server-side proxy only | | No APP_UNINSTALLED | Auth loop on reinstall | Clean up sessions on uninstall |
Excerpt, first 5,651 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
Audit history
Every audit, every source change
- ✕BLOCK D 69 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/shopify-known-pitfalls/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/shopify-known-pitfalls/)
<a href="https://modelsatlas.com/skills/jeremylongshore/shopify-known-pitfalls/"><img src="https://modelsatlas.com/skills/jeremylongshore/shopify-known-pitfalls/badge.svg" alt="ModelsAtlas: BLOCK D"></a>
Questions about Shopify Known Pitfalls
What does the Shopify Known Pitfalls skill do?
Is Shopify Known Pitfalls safe to install?
What can Shopify Known Pitfalls access on my machine?
Which assistants does Shopify Known Pitfalls work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Shopify Known Pitfalls skill do?
- Is Shopify Known Pitfalls safe to install?
- What can Shopify Known Pitfalls access on my machine?