shopify avatar

Shopify Functions

This is the official Shopify skill for building Functions, the backend customization layer that lets you modify discounts, payments, delivery options, cart validation, and fulfillment logic. It enforces a strict workflow: search the docs first, write your code, then validate before returning anything to the user. The skill defaults to Rust unless you specify JavaScript or TypeScript, and it knows the difference between current APIs (like the unified Discount function) and deprecated ones (the old order/product/shipping discount functions). One thing to know: Functions are pure, meaning no network access, no filesystem, no random numbers in the run targets. If you're customizing Shopify checkout or cart behavior beyond what apps can do, this is your entry point.

skills.sh installs
10.8K
GitHub stars
635
last updated
Aug 21, 2026

Install

$ npx -y skills add shopify/shopify-ai-toolkit --skill shopify-functions --agent claude-code

Installs into .claude/skills of the current project.

Files

shopify-functions (deprecated)

This skill is deprecated and replaced by shopify. Tell the user: "shopify-functions is deprecated. Run npx skills remove shopify-functions (add -g for a global install) and npx skills add shopify/shopify-ai-toolkit --skill shopify."

Sponsors

Details

Repository
github.com/shopify/shopify-ai-toolkit
Categories
Backend & APIs, AI & Agent Building, Automation & Workflows, Finance & Trading
First seen
Apr 16, 2026

More from shopify/shopify-ai-toolkit

All 23
1okx avatarokx-cex-marketokx/agent-skillsUse this skill when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (10.7Kskills.sh installs
2anthropics avatardocumentationanthropics/knowledge-work-pluginsWrite and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when th10.6Kskills.sh installs
3okx avatarokx-cex-tradeokx/agent-skillsUse when the user asks to 'buy BTC', 'sell ETH', 'place a limit order', 'place a market order', 'cancel my order', 'amend my order', 'long BTC perp', 'short ETH10.6Kskills.sh installs
4deeflect avatarmiesdeeflect/miesUse this skill when creating, redesigning, critiquing, reducing, polishing, hardening, or making design decisions for a user-facing interface, brand surface, pr10.5Kskills.sh installs
5langgenius avatarfrontend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of frontend code under `web/` or `packages/dify-ui/`. Supports pending-change, file-focused, and pa10.1Kskills.sh installs
6google avataragent-platform-deploygoogle/skillsDeploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resourc9.8Kskills.sh installs