Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)7.1k · #13533

shopify-developer

Skill này làm gì

Skill này cung cấp cho AI kiến thức chi tiết để xây dựng trên Shopify, gồm mẫu Liquid, phát triển theme, truy vấn GraphQL và phần mở rộng ứng dụng. Phù hợp với người xây cửa hàng và lập trình viên làm việc trên cửa hàng hoặc ứng dụng Shopify.

Khi nào nên dùng

  • ✓Khi bạn đang chỉnh sửa một theme Shopify hoặc một tệp có mã Liquid.
  • ✓Khi bạn cần viết truy vấn GraphQL cho API Shopify.
  • ✓Khi bạn đang xây một ứng dụng Shopify hoặc một storefront headless.

Liên kết skill

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/shopify-developer/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/shopify-developer/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Theme Shopify của tôi báo lỗi trong mã Liquid của trang sản phẩm. Hãy tìm vấn đề và sửa nó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI chọn tài liệu tham chiếu phù hợp với tác vụ, như cú pháp Liquid hoặc GraphQL, rồi áp dụng hướng dẫn cho phiên bản API hiện tại của Shopify.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Shopify Developer Reference

Comprehensive reference for professional Shopify development - API version 2026-01.

Quick Reference

Item Value
API version 2026-01 (stable)
GraphQL Admin POST https://{store}.myshopify.com/admin/api/2026-01/graphql.json
Storefront API POST https://{store}.myshopify.com/api/2026-01/graphql.json
Ajax API (theme) /cart.js, /cart/add.js, /cart/change.js
CLI install npm install -g @shopify/cli
Theme dev shopify theme dev --store {store}.myshopify.com
App dev shopify app dev
Deploy shopify app deploy
Docs shopify.dev

Choose Your Path

Read the reference file(s) that match your task:

Liquid templating - writing or debugging .liquid files:

Theme development - building or customising themes:

API integration - fetching or modifying data programmatically:

App development - building Shopify apps:

Serverless logic - custom business rules:

Headless commerce - custom storefronts:

Optimisation and troubleshooting:

Deprecation Notices

Deprecated Replacement Deadline
Shopify Scripts Shopify Functions August 2025 (migration), sundown TBD
checkout.liquid Checkout Extensibility August 2024 (Plus), done
REST Admin API GraphQL Admin API Active deprecation (no removal date yet)
Legacy custom apps New auth model January 2025 (done)
Polaris React Polaris Web Components Active migration
Remix (app framework) React Router 7 Hydrogen 2025.5.0+

Liquid Essentials

Three syntax types:

{{ product.title | upcase }}                    {# Output with filter #}
{% if product.available %}In stock{% endif %}   {# Logic tag #}
{% assign sale = product.price | times: 0.8 %}  {# Assignment #}
{%- if condition -%}Stripped whitespace{%- endif -%}

Key patterns:

{% for product in collection.products limit: 5 %}
  {% render 'product-card', product: product %}
{% endfor %}

{% paginate collection.products by 12 %}
  {% for product in paginate.collection.products %}...{% endfor %}
  {{ paginate | default_pagination }}
{% endpaginate %}

API Essentials

// GraphQL Admin - always use GraphQL over REST
const response = await fetch(`https://${store}.myshopify.com/admin/api/2026-01/graphql.json`, {
  method: 'POST',
  headers: {
    'X-Sho
Câu hỏi thường gặp

Nó dùng phiên bản API Shopify nào?

Nó được viết cho phiên bản 2026-01.

Nó có giúp xử lý lỗi Liquid không?

Có. Nó bao gồm cú pháp Liquid, luồng điều khiển và gỡ lỗi.

Nó có giúp chuyển từ Scripts sang Functions không?

Có. Nó bao gồm việc chuyển từ Shopify Scripts sang Functions.

Chi tiết

Mô tả gốc của tác giả

Complete Shopify development reference covering Liquid templating, OS 2.0 themes, GraphQL APIs, Hydrogen, Functions, and performance optimization (API v2026-01). Use when working with .liquid files, building Shopify themes or apps, writing GraphQL queries for Shopify, debugging Liquid errors, creating app extensions, migrating from Scripts to Functions, or building headless storefronts. Triggers on "Shopify", "Liquid template", "Hydrogen", "Storefront API", "theme development", "Shopify Functions", "Polaris". Do NOT use for non-Shopify e-commerce platforms.

repo: tech-leads-club/agent-skills

Độ phổ biến

Sao GitHub
7.1k
Vị trí xếp hạng
#13533
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự