vtex

60 mods across 1 repository, 41 stars between them.

vtex/skills

Cursor rule

Apply when deciding or implementing permissions and authorization boundaries for VTEX IO apps. Covers manifest policies, outbound-access rules, least-privilege design, and how service routes or integrations map to explicit permissions. Use for deciding who is authorized to call or consume a capability, adding new…

41 13d ago A 2,372 tokens

vtex/skills

Cursor rule

Apply when choosing which VTEX IO authentication token should back a request from a backend app. Covers ctx.authToken, ctx.storeUserAuthToken, ctx.adminUserAuthToken, authMethod, and how requester context should determine the identity used by VTEX clients. Use for deciding which identity talks to VTEX endpoints in…

41 13d ago A 2,406 tokens

vtex/skills

Cursor rule

Apply when designing or implementing how a VTEX IO backend app integrates with VTEX services or external APIs through @vtex/api and @vtex/clients. Covers choosing the correct client type, registering clients in IOClients, configuring InstanceOptions, and consuming integrations through ctx.clients. Use for custom…

41 13d ago A 3,063 tokens

vtex/skills

Cursor rule

Apply when deciding where and how a VTEX IO app should store and read data. Covers when to use app settings, configuration apps, Master Data, VBase, VTEX core APIs, or external stores, and how to avoid duplicating sources of truth or abusing configuration stores for operational data. Use for new data flows, caching…

41 13d ago A 2,034 tokens

vtex/skills

Cursor rule

Apply when designing or implementing asynchronous processing in VTEX IO services through events, workers, and background handlers. Covers event handler structure, idempotency, retry-safe processing, and moving expensive work out of request-response routes. Use for event-driven integrations, delayed processing, or…

41 13d ago A 2,067 tokens

vtex/skills

Cursor rule

Apply when working with GraphQL schema files in graphql/ or implementing resolvers in node/resolvers/ for VTEX IO apps. Covers schema.graphql definitions, @cacheControl and @auth directives, custom type definitions, and resolver registration in the Service class. Use for exposing data through GraphQL queries and…

41 13d ago A 3,453 tokens

vtex/skills

Cursor rule

Apply when designing or implementing HTTP endpoints exposed by a VTEX IO backend service. Covers route boundaries, handler structure, middleware composition, request validation, and response modeling for service.json routes. Use for webhook endpoints, partner integrations, callback APIs, or reviewing VTEX IO handlers…

41 13d ago A 2,225 tokens

vtex/skills

Cursor rule

Apply when deciding whether and how VTEX IO apps should use Master Data v2 for custom data. Covers entity boundaries, schema lifecycle, indexing strategy, and when Master Data is the right storage mechanism versus another data approach. Use for reviews, wishlists, forms, or other custom data modeling decisions in VTEX…

41 13d ago A 2,370 tokens

vtex/skills

Cursor rule

Apply when working with MasterData v2 entities, schemas, or MasterDataClient in VTEX IO apps, or when anyone designing or implementing a solution must scrutinize whether Master Data is the correct storage. The skill prompts hard questions: native Catalog or other VTEX stores, OMS, or an external database may be…

41 13d ago A 6,725 tokens

vtex/skills

Cursor rule

Apply when implementing localization and translated copy in VTEX IO apps. Covers the messages builder, /messages/.json, context.json, frontend message usage, and how VTEX apps integrate with vtex.messages for runtime translation. Use for storefront, admin, or backend flows that should use VTEX IO message…

41 13d ago A 1,726 tokens

vtex/skills

Cursor rule

Apply when making VTEX IO services easier to observe, troubleshoot, and operate in production. Covers metrics, structured logging, failure visibility, rate-limit awareness, and production readiness checks for backend apps. Use for integration monitoring, error diagnosis, or improving the operational quality of VTEX IO…

41 13d ago A 1,232 tokens

vtex/skills

Cursor rule

Apply when controlling access to VTEX IO app resources using role-based or resource-based policies. Covers policies.json for role-based access control, service.json policies for resource-based access, VRN syntax for principals, the difference between app-to-app and user/integration access, and GraphQL @auth…

41 13d ago A 2,552 tokens