agentleFS
tuannv14tuannv14/claude-team-toolkit/skills/shopify/SKILL.md

shopify

Skill1 starsChanged 7 months agoMITView on GitHub

Use when user references Shopify, *.myshopify.com URLs, admin.shopify.com links, or asks to query/mutate products/orders/customers/inventory/draft-orders via Admin GraphQL. Multi-store and multi-app via SHOPIFY_PROFILE.

  • Reads credentials

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use media-processing, aesthetic and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mrgoonieSkill

    media-processing

    Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.

    Also in 5 projects that use this

  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 4 projects that use this

  • +10 more from mrgoonie

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All mutations gated by ctt_confirm.

    line 125

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/shopify — Admin GraphQL API (multi-store, multi-app)

GraphQL against https://<shop>.myshopify.com/admin/api/<version>/. Each profile = one (shop_domain, access_token) pair → multi-store AND multi-app on the same store (least-privilege scopes per app).

Profile resolution: --profile → SHOPIFY_PROFILE → ~/.shopify/active_profile → [default].

Overview

GraphQL primary against the Admin API. Each profile = one (shop_domain, access_token) pair, supporting multi-store AND multi-app on the same store (least-privilege scopes per app — e.g., separate inventory app vs read-only reporting app).

When to Use

  • Querying products / orders / customers / inventory programmatically
  • Bulk read via bulkOperationRunQuery for large catalogs
  • Inventory adjustments across multiple locations
  • Draft order creation for B2B / wholesale flows
  • Multi-store support (parent brand + child stores)

When NOT to Use

  • Storefront API (customer-facing) → different API, different auth
  • Theme development → use Shopify CLI's theme commands
  • App development → use Shopify CLI's app commands + framework
  • One-off Liquid changes → admin UI is faster

Profile config

~/.shopify/credentials (mode 600):

[default]
shop_domain  = your-store.myshopify.com
access_token = shpat_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
api_version  = 2026-04                 # bump quarterly
require_confirm = true                 # gate mutations on prod

See examples/shopify-credentials.example for multi-app setup.

Get token: Shopify admin → Settings → Apps → Develop apps → create Custom App → configure scopes → install → copy shpat_* (shown ONCE).

Required scopes (least privilege): read_products, read_orders, read_customers, read_inventory, read_draft_orders. Add the write_* counterpart only for mutating ops.

Versioning: Shopify ships YYYY-MM stable releases quarterly, supported 12 months. Bump api_version quarterly. Never use unstable.

Helpers

Shared profile/INI/ctt_* pattern reference: profiles-and-credentials.

source "$HOME/.claude-team-toolkit/lib/credentials.sh"
source "$HOME/.claude-team-toolkit/lib/confirm.sh"
ctt_load_creds shopify "$PROFILE"

case "$CTT_SHOP_DOMAIN" in
  *.myshopify.com) ;;
  *) echo "Invalid shop_domain (must end .myshopify.com)" >&2; return 1 ;;
esac
BASE="https://$CTT_SHOP_DOMAIN/admin/api/${CTT_API_VERSION:-2026-04}"

shopify_gql() {
  local body
  body=$(jq -n --arg q "$1" --argjson v "${2:-{}}" '{query:$q, variables:$v}')
  curl -s --ssl-no-revoke -X POST \
    -H "X-Shopify-Access-Token: $CTT_ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d "$body" "$BASE/graphql.json"
}

Commands

SubcommandPurpose
configureInteractive profile setup
profile {list,use,current,remove}Profile management
shopCurrent shop info
products [--limit N] [--query]List products
product <gid>Full product detail
orders [--status] [--limit N]Recent orders
order <gid>Full order + line items + fulfillments
customers [--query] [--limit N]List customers
inventory <variant-gid>Levels per location
update-product <gid> <field=value>...DESTRUCTIVE
update-inventory <variant-gid> <count>DESTRUCTIVE
gql <query-or-file> [vars]Raw GraphQL escape hatch

Full query and mutation bodies: see commands.md.

Rate limits

GraphQL cost-based: 50 pts/sec restore, 1000 max bucket. Check extensions.cost in the response. On 429 respect Retry-After. For bulk reads use bulkOperationRunQuery.

Common Mistakes

  • Using unstable API version → breaks weekly. Pin to YYYY-MM stable.
  • Storing token in code/git → revoke immediately, rotate
  • Querying without rate awareness → 429 storms. Check extensions.cost.
  • Bulk read with offset pagination instead of bulkOperationRunQuery → slow + rate-limited
  • One mega-app with all scopes → can't audit which feature uses what. Split per concern.
  • Forgetting gid://shopify/<Type>/<id> format on mutations → user errors

Safety

  • access_token grants the full scope set for that store. Never log raw — skill masks as ****<last4>.
  • All mutations gated by ctt_confirm. Set require_confirm=true on prod.
  • update-product requires typing the product ID to confirm.
  • Excluded intentionally: product/customer delete, order cancel → use admin UI.
  • Rate-limit errors are surfaced, not auto-retried — caller decides.
  • PII in customers/orders → don't paste raw output publicly.
  • On token compromise: revoke at Settings → Apps → Uninstall.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.