Skip to main content
skill CX Codex

vtex-io-client-integration — Claude Code skill: setup and usage

Guides backend integrations in VTEX IO apps using @vtex/api and @vtex/clients. Helps select client classes, configure runtime options, and replace raw HTTP calls.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vtex/skills --skill vtex-io-client-integration -a claude-code
Open on GitHub

What vtex-io-client-integration does

This skill establishes conventions for outbound HTTP calls in VTEX IO backend services. It directs developers toward prebuilt packages in @vtex/api and @vtex/clients for checkout and catalog endpoints. For third-party APIs, it prescribes ExternalClient. It registers everything in node/clients/index.ts through IOClients. Handlers access instances strictly via ctx.clients.

Direct calls with fetch, axios, or got are banned in VTEX IO because raw libraries discard platform authentication and telemetry headers. Transport configuration belongs in InstanceOptions on the client class. The guide suggests timeouts between 1000 and 3000 ms along with small retry limits for idempotent calls.

The scope remains strictly on network transport. It explicitly omits storefront components, GraphQL schemas, route permissions, and manifest.json contracts.

What it helps with

  • replace axios and fetch calls with VTEX IO client classes
  • implement external API integrations using ExternalClient
  • register custom clients in node/clients/index.ts via IOClients
  • configure InstanceOptions with timeouts, retries, and telemetry metrics
  • access native commerce clients through ctx.clients in backend handlers

Example prompts for the agent

  • Create an ExternalClient subclass in node/clients/ for a third-party payment gateway
  • Refactor this handler to remove axios and use ctx.clients instead
  • Configure InstanceOptions for our order client with a 2000 ms timeout and two retries

How to install vtex-io-client-integration

1Skills CLI (Vercel)

npx skills add vtex/skills --skill vtex-io-client-integration -a claude-code

2Manually: put the files in place

~/.claude/skills/vtex-io-client-integration/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/vtex-io-client-integration/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about vtex-io-client-integration

How do I install vtex-io-client-integration in Claude Code?

Run npx skills add vtex/skills --skill vtex-io-client-integration -a claude-code in your terminal. The tool places the skill definition into ~/.claude/skills/vtex-io-client-integration/SKILL.md.

What is the main purpose of vtex-io-client-integration?

It provides architecture patterns for VTEX IO service integrations, helping you choose between ExternalClient, JanusClient, and @vtex/clients while standardizing error handling and configuration.

Can this skill configure manifest.json or GraphQL schemas?

No, the skill intentionally excludes manifest.json, service.json, GraphQL schemas, and route authorization, focusing purely on client transport logic.

Similar skills

All skills for Backend and APIs →

From the same set38

vtex-io-service-runtime Guides the runtime layout of a VTEX IO backend app: the Service entrypoint, typed context, and service.json execution settings. CX Codex +1 1,100installs vtex-io-data-access-patterns Guides AI coding agents on picking the right storage layer across VTEX IO apps. It helps design read pipelines, caching strategies, and data boundaries. CX Codex +1 1,100installs vtex-io-auth-tokens-and-context Decides which VTEX IO token should back a backend request: the app itself, a shopper, or an Admin user. CX Codex +1 1,100installs vtex-io-render-runtime-and-blocks Teaches the agent to expose React components as Store Framework blocks in VTEX IO: store/interfaces.json entries, composition and theme wiring. CX Codex +1 1,100installs vtex-io-auth-and-policies This skill guides VTEX IO permission design for integrations, protected routes, and manifest policies. Use it when access boundaries need review or change. CX Codex +1 1,100installs vtex-io-admin-react Guides coding agents in building VTEX IO admin pages with React, enforcing official design systems, bounded tables, and predictable feedback states. CX Codex +1 1,100installs vtex-io-http-routes Guides the design of HTTP endpoints in a VTEX IO backend service: route boundaries, middleware chains, request validation and response shape. CX Codex +1 1,100installs marketplace-fulfillment Helps an agent build the seller side of VTEX fulfillment: simulation, order reservations, dispatch, and invoice and tracking calls to OMS. CX Codex +1 1,000installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor