agentleFS
alanalvestechalanalvestech/hitank/skills/shopify/SKILL.md

shopify

Skill38 starsChanged 8 months agoMITView on GitHub

Manage Shopify products, orders, customers, inventory and collections via Admin API

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aesthetic, media-processing 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

    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 5 projects that use this

  • 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 7 projects that use this

  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 4 projects that use this

  • +9 more from mrgoonie

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    If the output is OK, proceed to the Flow section.

    line 39
  2. Very specific:

    If the output is SETUP_NEEDED, guide the user step by step.

    line 41
  3. Distinctive:

    If the script outputs an error, the config is invalid.

    line 61
  4. Distinctive:

    Ask the user to confirm the details before creating.

    line 92

“Common” is measured: kept by at least 6 in 10 of the 22 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

Connect to Shopify to manage products, orders, customers, inventory and collections. Pure Ruby, zero gems — stdlib only.

Structure

scripts/
├── auth.rb              # Access Token auth + shopify_request helper (required by all scripts)
├── check_setup.rb       # Check if config exists (outputs OK or SETUP_NEEDED)
├── save_token.rb        # Save and validate store name and access token
├── products.rb          # List products
├── product.rb           # Get product details
├── create_product.rb    # Create a product
├── update_product.rb    # Update a product
├── orders.rb            # List orders
├── order.rb             # Get order details
├── customers.rb         # List customers
├── customer.rb          # Get customer details
├── create_customer.rb   # Create a customer
├── inventory_levels.rb  # List inventory levels for a location
├── collections.rb       # List custom collections
└── shop.rb              # Get shop info

Setup (check before using)

ruby ~/.claude/skills/shopify/scripts/check_setup.rb

If the output is OK, proceed to the Flow section.

If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.

Step 1 — Ask the user to create a Shopify custom app:

Go to your Shopify Admin > Settings > Apps and sales channels > Develop apps > Create an app.

Give it a name (e.g. "hitank"), then go to Configuration > Admin API integration and select the scopes you need (e.g. read/write products, orders, customers, inventory).

Click Install app, then copy the Admin API access token (starts with shpat_).

Also note your store name — if your store URL is https://mystore.myshopify.com, the store name is mystore.

Paste the store name and access token here.

Step 2 — When the user provides both values, save them:

ruby ~/.claude/skills/shopify/scripts/save_token.rb 'STORE' 'TOKEN'

If the script outputs an error, the config is invalid. Ask the user to double-check and try again.

If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.

Flow

The argument $ARGUMENTS may contain an action or product title.

Step 1: Get shop info

ruby ~/.claude/skills/shopify/scripts/shop.rb

Present the shop info. Use the context from $ARGUMENTS to determine what the user wants to do.

Step 2: Actions

List products:

ruby ~/.claude/skills/shopify/scripts/products.rb
ruby ~/.claude/skills/shopify/scripts/products.rb --limit 10 --status active

Get product details:

ruby ~/.claude/skills/shopify/scripts/product.rb PRODUCT_ID

Create a product (requires user confirmation):

Ask the user to confirm the details before creating.

ruby ~/.claude/skills/shopify/scripts/create_product.rb "Product Title"
ruby ~/.claude/skills/shopify/scripts/create_product.rb "Cool T-Shirt" --body "A very cool shirt" --vendor "MyBrand" --product-type "Apparel" --status active

Update a product (requires user confirmation):

Show current product details first, then ask what to change.

ruby ~/.claude/skills/shopify/scripts/update_product.rb PRODUCT_ID --title "New Title" --status active

List orders:

ruby ~/.claude/skills/shopify/scripts/orders.rb
ruby ~/.claude/skills/shopify/scripts/orders.rb --limit 10 --status open
ruby ~/.claude/skills/shopify/scripts/orders.rb --financial-status paid

Get order details:

ruby ~/.claude/skills/shopify/scripts/order.rb ORDER_ID

List customers:

ruby ~/.claude/skills/shopify/scripts/customers.rb
ruby ~/.claude/skills/shopify/scripts/customers.rb --limit 20

Get customer details:

ruby ~/.claude/skills/shopify/scripts/customer.rb CUSTOMER_ID

Create a customer (requires user confirmation):

ruby ~/.claude/skills/shopify/scripts/create_customer.rb "email@example.com"
ruby ~/.claude/skills/shopify/scripts/create_customer.rb "email@example.com" --first-name "John" --last-name "Doe" --phone "+1234567890"

List inventory levels:

ruby ~/.claude/skills/shopify/scripts/inventory_levels.rb LOCATION_ID
ruby ~/.claude/skills/shopify/scripts/inventory_levels.rb LOCATION_ID --limit 50

List collections:

ruby ~/.claude/skills/shopify/scripts/collections.rb
ruby ~/.claude/skills/shopify/scripts/collections.rb --limit 10

Get shop info:

ruby ~/.claude/skills/shopify/scripts/shop.rb

Notes

  • Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
  • Auth via X-Shopify-Access-Token header (custom app access token)
  • Config file: ~/.config/shopify/config.json (outside the repo, never commit)
  • Config contains store (store name) and token (access token starting with shpat_)
  • Creating products and customers requires explicit user confirmation
  • Updating products requires explicit user confirmation
  • Shopify Admin API version: 2024-01
  • Base URL: https://STORE.myshopify.com/admin/api/2024-01

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.