# vtex-io-application-performance

Guides performance work on VTEX IO Node and .NET services, including cache choices, parallel client calls, and avoiding repeated work.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs · ★ 46
- Author: vtex
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vtex/skills/tree/HEAD/skills/vtex-io-application-performance/SKILL.md
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/skills/vtex-io-application-performance

## What it does

This skill covers application-level performance patterns for VTEX IO services. It helps choose between an in-process LRU and VBase, refresh stale values in the background, load AppSettings at startup or on a TTL, and run independent client calls concurrently. Payment responses and live transaction state must stay out of caches.

It also addresses outbound timeouts, passing `ctx.clients.vbase` into client helpers, and request-level deduplication with `ctx.state`. Include account and workspace in in-memory cache keys when one pod serves multiple tenants, or their data can collide. This skill does not cover public-path choices or CDN `Cache-Control` settings.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-application-performance -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/vtex-io-application-performance/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/vtex-io-application-performance/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-application-performance -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/vtex-io-application-performance/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-application-performance -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/vtex-io-application-performance/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vtex/skills vtex-io-application-performance
```

2. **Manually: put the files in place**
- File: `.github/skills/vtex-io-application-performance/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-application-performance -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vtex/skills --path skills/vtex-io-application-performance
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/vtex-io-application-performance/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill vtex-io-application-performance -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vtex/skills/tree/HEAD/skills/vtex-io-application-performance/SKILL.md

## When to use it
- choose between LRU and VBase for cached data
- load AppSettings without fetching them on every request
- run independent client calls concurrently
- remove duplicate calls in a resolver chain
- set timeouts for outbound requests

## Example prompts
- Review this VTEX IO service for repeated client calls and suggest where `ctx.state` fits.
- Find independent calls in this resolver that can run concurrently.
- Compare LRU and VBase for these values, accounting for account and workspace in cache keys.

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [vtex/skills](https://affpapa.org/en/nevibecode/by/vtex/skills.md) — 38 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
