Skip to content
vtex avatar

Vtex Io Service Apps

Backend service app guide for @vtex/api clients, middlewares, routes, and IOClients registration in VTEX IO.

CCM score
64 of 100
skills.sh installs
1.4K
GitHub stars
47
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the Service entry point (node/index.ts), middleware chains in service.json, and the ctx.clients, ctx.state, ctx.vtex, and ctx.body context objects
  • Includes the client hierarchy for JanusClient, ExternalClient, AppClient, InfraClient, and MasterDataClient, with their base URLs and use cases
  • Enforces use of @vtex/api clients over raw HTTP libraries such as axios, fetch, and got, since outbound traffic is firewalled
  • Designed for developers implementing backend APIs, event handlers, or integrations inside a VTEX IO project's node/ directory

Install

$ npx -y skills add vtex/skills --skill vtex-io-service-apps -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Backend Service Apps & API Clients

When this skill applies

Use this skill when developing a VTEX IO app that needs backend logic — REST API routes, GraphQL resolvers, event handlers, scheduled tasks, or integrations with VTEX Commerce APIs and external services.

  • Building the Service entry point (node/index.ts) with typed context, clients, and state
  • Creating and registering custom clients extending JanusClient or ExternalClient
  • Using ctx.clients to access clients with built-in caching, retry, and metrics
  • Configuring routes and middleware chains in service.json

Do not use this skill for:

  • Manifest and builder configuration (use vtex-io-app-structure instead)
  • GraphQL schema definitions (use vtex-io-graphql-api instead)
  • React component development (use vtex-io-react-apps instead)

Decision rules

Details

Repository
github.com/vtex/skills
Category
Backend & APIs
First seen
Jun 3, 2026

Questions

What does the vtex-io-service-apps skill do?

vtex-io-service-apps guides building backend service apps under node/ in a VTEX IO project, including the Service class, middleware functions, and service.json routes. It covers the ctx.clients pattern, JanusClient, ExternalClient, MasterDataClient, and IOClients registration. It is meant for implementing backend APIs, event handlers, and integrations that must use @vtex/api clients instead of raw HTTP libraries.

Where does vtex-io-service-apps stand in the Backend & APIs category?

vtex-io-service-apps is listed in the Backend & APIs category on Claude Marketplaces, next to entra-app-registration, neon, firebase-basics, firebase-auth-basics, and workers-best-practices. What sets vtex-io-service-apps apart is its focus on VTEX IO clients such as JanusClient and MasterDataClient, which replace raw HTTP calls with built-in caching and retries.

How do I install vtex-io-service-apps?

Run npx -y skills add vtex/skills --skill vtex-io-service-apps -y in your project to install vtex-io-service-apps. After that, the agent can build VTEX IO backend routes and clients that go through @vtex/api clients.

Which VTEX IO client should vtex-io-service-apps use for each type of API?

vtex-io-service-apps uses JanusClient for VTEX internal APIs and ExternalClient for non-VTEX APIs. It uses AppClient for routes exposed by other VTEX IO apps and MasterDataClient for Master Data v2 CRUD operations. Each client is registered through IOClients and accessed via ctx.clients.

More from vtex/skills

All 40

Similar to Vtex Io Service Apps

More Backend & APIs