vtex avatar

Vtex Io Service Apps

If you're building backend services in VTEX IO, this skill keeps you on the rails. It covers the Service class entry point, the ctx.clients pattern for accessing APIs, and how to extend JanusClient or ExternalClient properly. The hard constraints are worth reading: you must use @vtex/api clients instead of axios or fetch (the platform firewall blocks raw HTTP libraries), and you must access clients through ctx.clients, never instantiate them directly. The skill also warns against monolithic service apps with more than 10 routes. Good reference for the client hierarchy and when to use JanusClient versus ExternalClient versus AppClient.

skills.sh installs
1.3K
GitHub stars
47
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from vtex/skills

All 40
1kostja94 avatarseo-monitoringkostja94/marketing-skillsWhen the user wants to build an SEO data analysis system, monitor indexing/traffic/keywords/backlinks, or set up benchmarks. Also use when the user mentions "SE1.3Kskills.sh installs
2jezweb avatarshopify-setupjezweb/claude-skillsSet up Shopify CLI auth and Admin API access for a store. Install CLI, authenticate, create custom app, store access token, verify. Use whenever the user wants 1.2Kskills.sh installs
3mindrally avatarmodern-web-developmentmindrally/skillsModern web development best practices for TypeScript, Next.js 14, React Server Components, Supabase, GraphQL, and Tailwind CSS.1.2Kskills.sh installs
4binance avataralgobinance/binance-skills-hubBinance Algo request using the Binance API. Authentication requires API key and secret key.1.2Kskills.sh installs
5jezweb avatarproject-docsjezweb/claude-skillsGenerate project documentation from codebase analysis — ARCHITECTURE.md, API_ENDPOINTS.md, DATABASE_SCHEMA.md. Reads source code, schema files, routes, and conf1.2Kskills.sh installs
6jezweb avatarvite-flare-starterjezweb/claude-skillsScaffold a full-stack Cloudflare app from the vite-flare-starter template — React 19 + Hono + D1+Drizzle + better-auth + Tailwind v4+shadcn/ui + TanStack Query 1.2Kskills.sh installs