nuvemshop-sdk
Covers building, auditing, homologating and publishing Nuvemshop/Tiendanube apps: OAuth and scopes, webhook signature checks, embedded Nexo apps, NubeSDK…
от fcsouza★ 29 звёзд на GitHub
Установить nuvemshop-sdk в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Nuvemshop SDK
The vendor's docs change often (NubeSDK dates moved in 2026). Read the current page before you give homologation or publication advice. Every claim below is traced in references/sources.md.
Official agent tooling
Use these before this skill's references.
- Docs as text. Use https://nuvemshop.dev/en-US/llms.txt (Portuguese: https://nuvemshop.dev/llms.txt, Spanish: https://tiendanube.dev/llms.txt). Add
.mdto any docs URL, or sendAccept: text/markdown. For one area at a time usehttps://nuvemshop.dev/en-US/llms-full/apps.txt(alsoapi,themes,storefront-api,ai-agents). - Admin MCP: acts on one store after the merchant signs in with OAuth. It covers catalog, categories, stock, prices, orders, customers, coupons, promotions and sectionable theme drafts. Its write tools change real data and its delete tools are irreversible. It does not read docs or build apps. Tools and connector URLs: https://nuvemshop.dev/en-US/ai-agents/admin-mcp.md.
- Storefront MCP: takes the shopping actions a customer can take (search products, cart, promotions, shipping, payment methods, order tracking) at
https://<store-domain>/api/mcp, with no OAuth. See https://nuvemshop.dev/en-US/ai-agents/storefront-mcp.md. - Official theme skills:
nuvemshop skills install(from the Nuvemshop CLI) installs 7 theme skills for editing theme code with the CLI:nuvemshop-theme-use-cases,nuvemshop-theme-fork-workflow,nuvemshop-theme-ftp-workflow,nuvemshop-fork-and-push-rules,nuvemshop-ipanema-architecture,nuvemshop-ipanema-schema-referenceandnuvemshop-classic-theme-architecture. They cover themes only. Use thenuvemshop-theme-use-casesskill if it is installed, otherwise https://nuvemshop.dev/en-US/themes/developer-tools/cli/agent-skills.md. - Apps, NubeSDK and homologation have no official skill. This skill covers them.
Workflow
- Classify the app: public App Store or private ("For Your Customers"); embedded admin app, external app, storefront/checkout NubeSDK script, ERP, Payments or Shipping; new build, migration or audit.
- Load only the reference you need:
- OAuth, API headers, rate limits, webhooks, Nexo, Nimbus, embedded-app failures: read
references/app-development.md. - Storefront or checkout script, DOM injection, themes and slots: read
references/nube-sdk.md. - Homologation, artifacts, publication data, app description: read
references/homologation-publication.md.
- OAuth, API headers, rate limits, webhooks, Nexo, Nimbus, embedded-app failures: read
- Audit readiness:
- The Partner Portal app exists with the right distribution type.
- Install works from
https://www.tiendanube.com/apps/{app_id}/authorizeon a demo store, and the production redirect URL replaced the generated test one. user_idis saved as the store id, and a scope change triggers a reinstall and a new token.- Every webhook registered through the API is verified (next section). Confirm the header arrives on the privacy webhooks before enforcing it there.
- API calls send
AuthorizationandUser-Agent, paginate, handle429, and use webhooks instead of polling. - Embedded apps use Nexo, Nimbus, route sync, session tokens and
ErrorBoundary. - Script-injecting apps use NubeSDK and no DOM APIs.
- Homologation artifacts, publication assets, support contacts and FAQ are complete.
- Deliver. Audits lead with blockers and evidence. Implementation gives exact steps for the app type. Publication prep gives a checklist plus missing artifacts. Descriptions follow the official 8-part structure.
Verify webhooks (do this first)
An endpoint that skips this accepts forged events from anyone who knows the URL.
- Header:
x-linkedstore-hmac-sha256. Some frameworks rename itHTTP_X_LINKEDSTORE_HMAC_SHA256. - Value: HMAC-SHA256 of the original request body, keyed with the app's
client_secret, as lowercase hex. The store'saccess_tokenis not the key. Keep the secret on your server. - Hash the raw bytes before you parse or modify the body. A re-serialized JSON body breaks the match.
- Compare in constant time. The vendor's PHP example uses
==; constant time is this skill's rule. - Reject a missing or wrong signature before any other work. The docs promise the signature only for webhooks created through the API. The three required privacy webhooks (store redact, customer redact, customers data request) are set in the Partners Portal, and the docs never say they are signed. Check that the header arrives on them before you return 401 there, so you do not reject mandatory LGPD requests.
- Answer with a 2xx within 3 seconds. Queue the work and return.
- Retries: if no 2xx arrives, the first 4 retries come right after the timeout and at about 5, 10 and 15 minutes. Then the wait grows by 1.4 times per attempt for up to 48 hours (up to 16 attempts). A 2xx stops them.
- Order and duplicates: events can arrive out of order and more than once, so make handlers idempotent. The vendor's rules: identical bodies are separate messages, so do not drop a body j
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- references/app-development.md
- references/homologation-publication.md
- references/nube-sdk.md
- references/sources.md
- templates/webhook-verify.ts
FAQ
Что делает скилл nuvemshop-sdk?
Covers building, auditing, homologating and publishing Nuvemshop/Tiendanube apps: OAuth and scopes, webhook signature checks, embedded Nexo apps, NubeSDK storefront and checkout scripts, and App Store homologation and publication. Use when you build or review a Nuvemshop app, receive its webhooks, migrate a script to NubeSDK, or prepare homologation artifacts, publication data and the app description.
Как установить скилл nuvemshop-sdk?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nuvemshop-sdk запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…