/shoplazza:shoplazza-docsfrom Shoplazza
Searches and reads Shoplazza developer docs (shoplazza.dev) for app/theme development, OAuth, webhooks, Liquid, API errors, and changelogs. No login needed.
Ships in Shoplazza. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prerequisite: the shoplazza CLI is installed. Searching the docs needs no login, store or
profile, so unlike the other skills this one doesn't start by reading
../shoplazza-common/SKILL.md. If shoplazza is missing (command not found), follow only the
"Installation → CLI preflight" part of ../shoplazza-common/SKILL.md (skip its login), then come
back. Before acting on a store (a domain command or api rest), read shoplazza-common as usual.
shoplazza docs searches and reads the developer docs on www.shoplazza.dev: app and theme
guides, the API reference for every API version, and the changelog, in English and Chinese.
It is online and read-only:
docs search --query "<terms>" --locale <zh-CN|en> → the best-matching passages in that
language, each with its page's url and title;docs get --url <url> → one whole page, as Markdown in the markdown field.For anything on shoplazza.dev, use these rather than WebFetch or a web search. Use them when:
| Intent | Command |
|---|---|
| Find what the docs say about a concept, API, field or error | docs search --query "<short terms>" --locale <zh-CN|en> |
| … in the other language's docs | switch --locale |
| … for another API version | add --api-version 202601 (2026-01 works too) |
| More or fewer passages | add --limit <1-20> (10 when omitted) |
| Read a whole page | docs get --url <url of a result> |
| Read a long page in full | docs get --url <url> --output <new file in the system temp dir> |
When a question is too broad to search well ("商品多规格怎么搞"), search its most likely reading and say which reading you answered, or ask one clarifying question.
--locale in the user's language: --locale zh-CN for a user writing
Chinese, --locale en otherwise. Only docs in that language are searched; the query's own
wording can be in either language.content first. Only when the passages aren't enough, docs get the top 1–2 pages.
When a page comes back truncated: true, rerun with --output set to a new file in the
system temp dir — never a path in the user's project, since it overwrites without asking —
and search that file (e.g. grep) rather than reading it top to bottom.url of every page you used. When nothing relevant came
back, say so — never fill the gap from memory.--api-version; say which version an answer covers, and search once per version when
comparing two.Reading results:
url, once
per matching passage. Read them together before deciding to docs get that page, and cite the
page once.results: [] (exit 0, a hint on stderr) says so outright./api/ (or /zh-CN/api/) is API reference, of two kinds. An
endpoint page's content is JSON starting with operationId, method, path, apiVersion,
where part says whether it is the request or the 200 response (response200). A group
page's content is Markdown listing the group's endpoints. Look at content before parsing it
as JSON.docs get the page./changelog), so check
the version heading in each passage; when the passages don't settle it, save the page with
docs get --url /changelog --output <temp file> and search the file.schema comes first for anything about the CLI's own commands:
| Question | Use |
|---|---|
| Which command does X; its params, request body, response | shoplazza schema <module> lists a module's commands; shoplazza schema <module>.<command> shows one. Offline, and exactly what the CLI sends |
| Concepts, business rules, flows, Liquid and theme development, the changelog | docs search |
| An API the CLI doesn't cover (e.g. loyalty, payment apps) | docs search, then call it with shoplazza api rest <METHOD> <path> |
api rest (see
../shoplazza-common/SKILL.md).docs search defaults to the site's newer default
version. When comparing the docs with a CLI command, pass --api-version 202601.| Sounds like docs | Actually belongs to | Command |
|---|---|---|
| 写 / 改店铺上的 Liquid 卡片 / put a Liquid card on the store | shoplazza-themes | themes block +edit (the Liquid reference is here) |
| 订阅 webhook / subscribe to an event | shoplazza-webhook | webhook create (verifying the signature is here) |
| 登录 CLI / 授权店铺 / log the CLI in | shoplazza-common | auth login (an app's own OAuth flow is here) |
| 查 / 改店铺数据 / read or change store data | the domain skill | e.g. orders, products |
| A CLI command's params / body / response | shoplazza-common | shoplazza schema <module>.<command> |
Running themes init/serve/push/pull, app, checkout-extension, theme-extension | those commands | their --help (how the platform features work is here) |
None. docs needs no login, store or profile, and ignores --profile. It needs network access
to www.shoplazza.dev and the docs search service; docs get reads www.shoplazza.dev pages only.
| Symptom | Cause | Fix |
|---|---|---|
| The right page isn't in the results | Query too long, or phrased as a question | Short terms with the exact API / field name |
results: [], or no result is about your terms | Nothing relevant enough | Rephrase (3 searches at most), try the other --locale, then say the docs don't cover it |
validation error listing API versions | --api-version names a version the docs don't have | Pick one from the message |
api error, hint "rate limited; retry in N seconds" | Search quota used up | If N ≤ 60, wait and retry once; otherwise stop and tell the user. Never loop |
network error (exit 4) | Offline, sandboxed, or timed out | Retry once, then tell the user the docs are unreachable; don't answer from memory |
docs get → api error with status_code: 404 | The page moved or was removed | docs search again for the current page; if that doesn't help, answer from the passages and say the whole page couldn't be read |
truncated: true | Page longer than --max-chars (20000 characters) | --output to a temp file, then read it; total_chars is the whole page's length |
# A concept question from an English-speaking user
shoplazza docs search --query "webhook hmac verify" --locale en
# The same from a Chinese-speaking user: Chinese docs, whatever the query's wording
shoplazza docs search --query "webhook hmac 验签" --locale zh-CN
# Compare an endpoint's docs with the CLI command: schema first, then the docs at the CLI's version
shoplazza schema products.create --view request
shoplazza docs search --query "product-create" --api-version 202601 --locale en
# Read a page; save a long one to a temp file and read that
shoplazza docs get --url https://www.shoplazza.dev/docs/app/best-practices/security
shoplazza docs get --url /api/202601/product-create --output /tmp/product-create.md
shoplazza docs search --help · shoplazza docs get --helpshoplazza schema../shoplazza-common/SKILL.md → InstallationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shoplazza/shoplazza-cli --plugin shoplazza10 skills in this plugin
/shoplazza-billingUse when an app developer needs to bill a Shoplazza merchant for app usage through the CLI — one-time application charges, recurring (subscription) charges, metered usage charges, and app-charge transaction records. Triggers include 应用收费 / 订阅费 / 一次性收费 / 用量费 / 计费 / app billing / recurring / one-time / usage charge. NOT buyer order payments or refunds (那是 shoplazza-orders 的 transactions / +refund)./shoplazza-commonShared foundation for the shoplazza CLI: installing the CLI (安装 CLI / command not found), authentication (auth login — account-level and store-level; 登录 / 授权), auth status/scopes/logout, store switching (auth store use; 切换店铺 / 换店), multi-store profiles (add/list/use/rename/remove/info), the three access tiers (+shortcut / spec leaf / api rest), the output envelope ({ok,data} / .data), --dry-run / --jq / --fields / --format, schema introspection, api rest fallback, update notice, the safety protocol, and how to trust a filtered list read (pagination / has_more / cursor, silently-dropped filters, the exact-match precision ladder). Read this FIRST on first use of the shoplazza CLI, when the CLI is missing, when logging in / authorizing / switching store or profile, on permission errors, when a search or filter looks like it returned too much, and before using any domain skill. Platform developer-docs questions (an app's OAuth, webhook HMAC, Liquid, changelog) → shoplazza-docs./shoplazza-customersUse when the user wants to manage customers (buyers) on a shoplazza store through the CLI — create a customer profile, find a customer by email or phone, get customer details or the total customer count, update names / tags / email or SMS marketing subscription, or manage a customer's shipping addresses including the default checkout address. Triggers include 客户 / 买家 / 顾客 / 客户资料 / 新建客户 / 按邮箱查客户 / 按手机号查客户 / 给客户打标签 / 退订营销 / 收货地址 / 默认地址 / customer profile / new customer / find customer by email or phone / customer count / tag a customer / unsubscribe marketing / shipping address / default address. Finding the customer RECORD by email (按邮箱找客户资料) belongs HERE (customers +search); that customer's ORDER HISTORY (该客户下过的订单 / orders placed by this email) belongs to shoplazza-orders./shoplazza-discountsUse when the user wants to manage discount activities on a shoplazza store through the CLI — promotional campaigns, coupon codes, flash sales, buy-X-get-Y offers, rebates / tiered satisfy-N-get-M discounts, free-shipping codes, M-for-N (Nth-item-off) discounts, discount stacking / combination rules, or coupon (voucher) campaigns. Triggers include 满减 / 折扣码 / 优惠码 / 闪购 / 满X减Y. NOT gift cards (redeemable store credit → shoplazza-products `gift-cards`). NOT showing a sale inside a theme card / 首页促销卡片 (→ shoplazza-themes)./shoplazza-ordersUse when the user wants to manage a shoplazza store's orders through the CLI — searching / counting / viewing orders (查订单 / 找订单 / 订单列表 / 订单详情 / 新订单 / order search), shipping and fulfillment (发货 / 标记发货 / 物流 / 运单号 / 改运单号 / ship an order / update tracking), refunding a buyer (退款 / 给顾客退钱 / 退钱给买家 / refund an order — buyer refunds live HERE, not in discounts and not in billing), cancelling / creating / updating / marking orders paid (取消订单 / 代客下单 / 标记支付), an order's payment transactions (订单支付流水 / 支付交易记录 / buyer payment transactions — app-charge transactions → shoplazza-billing), fraud risk records (欺诈 / 风控 / 高风险订单 / order risk), after-sales records (售后 / post-sales), shipping zones and rates (运费区域 / 邮费 / 运费方案 / shipping zones — real-time rate carriers → shoplazza-shop carrier-services), and tracking-carrier lookup (快递承运商 / 运单号识别承运商). A customer's orders by email (按邮箱查某客户的订单) are searched HERE; the customer record itself → shoplazza-customers. NOT product stock / 库存 / 补货 (→ shoplazza-products)./shoplazza-productsUse when the user wants to manage a shoplazza store's product catalog through the CLI — creating / publishing / unpublishing products (建品 / 新建商品 / 上新 / 上架 / 下架), searching or counting the catalog (搜商品 / 找商品 / 商品数量 / how many products I sell), changing prices (改价 / 调价 / set price), adjusting stock (库存 / 补货 / 加库存 / 减库存 / inventory), product tags (标签), variants / SKUs (变体 / 规格), collections and collects (商品合集 / 商品分组), product images (商品图片 / 主图), gift cards (礼品卡 / 储值卡 — gift cards live HERE, not in discounts), customer product reviews (买家评价 / 评论 / product reviews), warehouse locations (仓库 / 库位), suppliers and procurement (供应商 / 采购单 / 进货). NOT discount codes / coupons / 优惠码 / 折扣码 / 满减 (→ shoplazza-discounts); NOT the store media library / file uploads / 媒体库文件 and NOT metafields / 元字段 (→ shoplazza-shop); NOT order fulfillment / 发货 (→ orders domain); NOT theme card images / 装修配图 / 商品详情页模板 (→ shoplazza-themes).Other plugins' skills for the same job