Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Shopify order discipline

For querying Shopify orders or reconciling against a merchant dashboard.

In detail

Use when querying Shopify orders or reconciling against a merchant dashboard. Default NO financial_status filter (dashboard parity), gross vs net revenue, created_at vs processed_at, refunds handling, multi-currency confirmation.

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: shopify-order-discipline
description: "Use when querying Shopify orders or reconciling against a merchant dashboard. Default NO financial_status filter (dashboard parity), gross vs net revenue, created_at vs processed_at, refunds handling, multi-currency confirmation."
metadata:
  source: "prompts/skills/shopify/order-discipline"
---

> **Outside the GoMarble app.** This methodology is GoMarble's own, kept in sync with the GoMarble connector.
> - GoMarble connector tools for this skill: `shopify_list_shops`, `shopify_run_analytics_query`, `shopify_list_orders_by_query`, `shopify_list_products_by_query`, `shopify_list_customers_by_query`, `shopify_get_all_details_by_gid`.

# Shopify Order Discipline

Before any Shopify order / revenue or checkout/session funnel query goes to the user:

1. **Default to NO `financial_status` filter.** Shopify's "Total orders" / "Gross sales" tile counts ALL statuses (`pending`, `authorized`, `partially_paid`, `paid`, `partially_refunded`, `refunded`, `voided`). Adding `financial_status:paid` agent-side silently excludes pending + partially-paid orders and produces a number the merchant cannot reconcile against their dashboard.
2. **Clarify gross vs net BEFORE reconciling.** Shopify "Gross sales" = line items × qty (before discounts, refunds). "Net sales" = gross − discounts − refunds. 3rd-party MTAs (Cosmise, Triple Whale, Northbeam, etc.) typically report net. Never compare gross-against-net silently.
3. **Be explicit about timestamp field + timezone.** `created_at` (order created) vs `processed_at` (payment processed) can differ by hours. Orders placed near midnight UTC may roll to the next day in the merchant's local timezone.
4. **Shopify sessions analytics is the source of truth for checkout sessions.** For checkout sessions, sessions reaching checkout, checkout drop, cart-to-checkout, or funnel-session questions, use `shopify_run_analytics_query` with `dataset="sessions"` and metric `sessions_that_reached_checkout`.
5. **If Shopify analytics cannot run, say so.** If the tool reports missing `read_reports`, state that Shopify checkout/session metrics cannot be verified with current permissions. GA4 `begin_checkout` / `checkouts` can only be used as a clearly labeled proxy.
6. **Never use orders as checkout sessions.** `shopify_list_orders_by_query`, order counts, and revenue are completed-purchase/order data. They are not a fallback for checkout starts or checkout sessions.

---

## Rule 0 — Checkout / Session Funnel Source of Truth

For requests about **checkout sessions**, **sessions reaching checkout**, **checkout-session decline**, **cart-to-checkout dropoff**, **checkout funnel**, **session decline tied to checkout**, or regional checkout sessions such as **Ontario checkout sessions**, Shopify sessions analytics is the primary source of truth when Shopify is connected.

Use `shopify_run_analytics_query` before substituting another source:

- Dataset: `sessions`
- Core metrics: `sessions`, `sessions_with_cart_additions`, `sessions_that_reached_checkout`, `sessions_that_completed_checkout`, `conversion_rate`
- Common dimensions: `session_country`, `session_region`, `session_city`, `referrer_source`, `utm_source`, `utm_medium`, `utm_campaign`
- For time trends: use `timeseries: "day"` or `timeseries: "week"` and explicit `start_date` / `end_date`
- Preserve the standard sessions filter from the tool recipes: `human_or_bot_session IN ('human', 'bot')`

If ShopifyQL fails because `read_reports` is missing, say exactly that Shopify checkout/session metrics cannot be verified with the current Shopify permissions. You may use GA4 `begin_checkout`, GA4 `checkouts`, or GA4 funnel reports only as a labeled proxy, not as Shopify checkout sessions.

Never use Shopify orders, order counts, revenue, or `shopify_list_orders_by_query` as a fallback for checkout sessions. Orders represent completed order records; they do not measure sessions that reached checkout.

---
...

From gomarble-ai's repository, MIT licence.

Related skills

  • Checked

    Dashboard design

    Designs clean, honest dashboards for web and SwiftUI with KPI cards, charts and layouts that work on phones.

    by abdiraimov-otabek 1.2k
    7/101 credit
  • Checked

    User path analysis

    Analyses event logs with Retentioneering to map user paths, funnels and churn, and shows where users drop off.

    by retentioneering 949
    7/101 credit
  • Checked

    Geospatial SQL builder

    Writes cost safe geospatial SQL for BigQuery, DuckDB, Snowflake and Postgres, with optional maps in Dekart.

    by dekart-xyz 692
    7/101 credit
  • Checked

    Snowflake SQL and Cortex

    Writes Snowflake SQL, Dynamic Tables, Streams, Cortex AI and Snowpark code while dodging common errors.

    by alirezarezvani 31k
    7/101 credit
  • Checked

    dbt platform migration

    Moves a dbt project from one warehouse to another and fixes SQL dialect gaps, so your models build again.

    by dbt-labs 777
    7/101 credit
  • Checked

    CSV and Excel merging

    Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.

    by OneWave-AI 454
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added