shopify-metafields — shopify-metafields install shopify-metafields, Shopify-Agents-Kit, community, shopify-metafields install, ide skills, shopify-metafields namespace examples, shopify-metafields data types, shopify-metafields api documentation, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for E-commerce Agents needing advanced Shopify customization and data extension capabilities. Shopify-metafields is a feature enabling the storage of custom data on Shopify resources, such as products, orders, and customers, using namespaces, keys, and data types.

Features

Utilizes namespaces for organized data storage
Supports various data types, including single_line_text_field and json
Enables custom data attachment to products, orders, and customers
Allows for specific field naming using keys
Stores data on Shopify resources, extending the default schema

# Core Topics

toilahuongg toilahuongg
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The shopify-metafields skill by toilahuongg is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for shopify-metafields install, shopify-metafields namespace examples, shopify-metafields data types.

Ideal Agent Persona

Perfect for E-commerce Agents needing advanced Shopify customization and data extension capabilities.

Core Value

Empowers agents to store and manage additional data on Shopify resources using metafields, enhancing flexibility with namespace, key, and type specifications, and supporting data types like single_line_text_field, number_integer, and json.

Capabilities Granted for shopify-metafields

Extending product information with custom metafields
Automating order processing using metafield data
Generating customer profiles with enhanced metafield attributes

! Prerequisites & Limits

  • Requires Shopify API access
  • Limited to Shopify resources (Products, Orders, Customers, Shops)
  • Dependent on metafield namespace and key uniqueness
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

shopify-metafields

Install shopify-metafields, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Shopify Metafields

Metafields allow you to store additional data on Shopify resources (Products, Orders, Customers, Shops) that aren't included in the default schema (e.g., "washing instructions" for a product).

1. Concepts

  • Namespace: Grouping folder (e.g., my_app, global).
  • Key: Specific field name (e.g., washing_instructions).
  • Type: Data type (e.g., single_line_text_field, number_integer, json).
  • Owner: The resource attaching the data (Product ID, Shop ID).

2. Metafield Definitions (Standard)

Always use Metafield Definitions (pinned metafields) when possible. This integrates them into the Admin UI and ensures standard processing.

  • Create: Settings > Custom Data > [Resource] > Add definition.
  • Access: namespace.key

3. Accessing in Liquid

To display metafield data on the Storefront:

liquid
1<!-- Accessing a product metafield --> 2<p>Washing: {{ product.metafields.my_app.washing_instructions }}</p> 3 4<!-- Accessing a file/image metafield --> 5{% assign file = product.metafields.my_app.size_chart.value %} 6<img src="{{ file | image_url: width: 500 }}" /> 7 8<!-- Checking existence --> 9{% if product.metafields.my_app.instructions != blank %} 10 ... 11{% endif %}

4. Reading via API (GraphQL)

graphql
1query { 2 product(id: "gid://shopify/Product/123") { 3 title 4 metafield(namespace: "my_app", key: "instructions") { 5 value 6 type 7 } 8 } 9}

5. Writing via API (GraphQL)

To create or update a metafield, use metafieldsSet.

graphql
1mutation metafieldsSet($metafields: [MetafieldsSetInput!]!) { 2 metafieldsSet(metafields: $metafields) { 3 metafields { 4 id 5 namespace 6 key 7 value 8 } 9 userErrors { 10 field 11 message 12 } 13 } 14} 15 16/* Variables */ 17{ 18 "metafields": [ 19 { 20 "ownerId": "gid://shopify/Product/123", 21 "namespace": "my_app", 22 "key": "instructions", 23 "type": "single_line_text_field", 24 "value": "Wash cold, tumble dry." 25 } 26 ] 27}

6. Private Metafields

If you want data to be hidden from other apps and the storefront, use Private Metafields. Note: These cannot be accessed via Liquid directly.

  • Use privateMetafield queries/mutations.
  • Requires explicit read_private_metafields / write_private_metafields scope (rarely used now, app_data metafields are preferred for app-specific valid storage).

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is shopify-metafields?

Perfect for E-commerce Agents needing advanced Shopify customization and data extension capabilities. Shopify-metafields is a feature enabling the storage of custom data on Shopify resources, such as products, orders, and customers, using namespaces, keys, and data types.

How do I install shopify-metafields?

Run the command: npx killer-skills add toilahuongg/Shopify-Agents-Kit/shopify-metafields. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for shopify-metafields?

Key use cases include: Extending product information with custom metafields, Automating order processing using metafield data, Generating customer profiles with enhanced metafield attributes.

Which IDEs are compatible with shopify-metafields?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for shopify-metafields?

Requires Shopify API access. Limited to Shopify resources (Products, Orders, Customers, Shops). Dependent on metafield namespace and key uniqueness.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add toilahuongg/Shopify-Agents-Kit/shopify-metafields. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use shopify-metafields immediately in the current project.

Related Skills

Looking for an alternative to shopify-metafields or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI