/vtex-ai-skills:vtex-io-admin-reactfrom vtex-ai-skills
Builds VTEX IO admin-facing React interfaces using VTEX Styleguide and Shoreline design systems. Covers page composition, data-heavy interactions, and consistency with VTEX Admin environment for settings, moderation, and dashboards.
Ships in vtex-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when building administrative React interfaces for VTEX Admin experiences.
Do not use this skill for:
vtex.styleguide as the default choice for VTEX IO admin apps published to customers.@vtex/shoreline as an official VTEX design system, especially in internal back-office contexts.Layout, PageHeader, and PageBlock for page composition.Table, Input, Dropdown, Toggle, Tabs, Modal, Spinner, and Alert.div or span patterns so focus behavior, keyboard navigation, and accessibility attributes remain correct by default.Admin panel components MUST use VTEX official design systems.
Why this matters
VTEX Admin has a consistent design language. VTEX official design systems preserve that consistency, while generic third-party UI libraries create inconsistent visuals, styling conflicts, and review problems.
Detection
If you see Material UI, Chakra, Ant Design, or another generic third-party UI system in an admin app, STOP and replace it with VTEX design system patterns. Do not flag @vtex/shoreline as third-party.
Correct
import { Layout, PageHeader, PageBlock, Table } from 'vtex.styleguide'
import { Button, Table, EmptyState } from '@vtex/shoreline'
Wrong
import { DataGrid } from '@material-ui/data-grid'
Operational interfaces MUST make data state visible to the user.
Why this matters
Admin users need reliable operational feedback. Silent blank screens are harder to support and diagnose than explicit states.
Detection
If a page loads remote data but renders nothing meaningful on loading, empty, or error cases, STOP and add explicit UI states.
Correct
if (loading) {
return (
<PageBlock>
<Spinner />
</PageBlock>
)
}
if (error) {
return (
<PageBlock>
<Alert type="error">Failed to load data. Please try again.</Alert>
</PageBlock>
)
}
Wrong
return <Table items={data?.items ?? []} />
Mutations in admin screens MUST report success, failure, or pending state clearly.
Why this matters
Operational actions affect real store configuration and data. Users need immediate feedback to avoid repeated or ambiguous actions.
Detection
If a button triggers a write action with no feedback on result, STOP and add explicit feedback.
Correct
<Button isLoading={saving}>Save</Button>
showToast({ message: 'Settings saved successfully' })
Wrong
<Button onClick={save}>Save</Button>
Lists, tables, and search-heavy admin screens MUST use bounded rendering patterns such as pagination and should prefer server-side filtering when the API supports it.
Why this matters
Admin pages often deal with operational datasets that grow over time. Rendering too many rows at once or filtering only in memory creates poor performance and brittle UX.
Detection
If a page renders very large collections without pagination, or loads the full dataset into the browser just to filter locally, STOP and add bounded navigation or server-side filtering.
Correct
<Table items={items} />
<Pagination currentItemFrom={1} currentItemTo={10} totalItems={120} />
Wrong
const filtered = allItems.filter(matchesSearch)
return <Table items={filtered} />
Admin interactions MUST use accessible controls and should prefer official design system components instead of custom clickable non-semantic elements.
Why this matters
Keyboard navigation, focus handling, and screen-reader behavior are part of baseline admin usability. Non-semantic clickable elements make accessibility regressions much more likely.
Detection
If you see clickable div or span elements being used as primary controls where a button, link, or design system component should be used, STOP and replace them.
Correct
<Button variation="primary">Save</Button>
Wrong
<div onClick={save}>Save</div>
Admin pages in VTEX IO are exposed through the Admin builder:
admin/ folder to declare navigation and routes.admin/navigation.json to define sections, subsections, and Admin navigation paths.admin/routes.json to map each Admin path to a React component implemented under react/.react/ folder to implement the page components used by Admin routes.Practical rules:
admin/routes.json should point to a real component in react/.path should stay aligned with the navigation structure declared in admin/navigation.json.Layout, PageHeader, and PageBlock, or official Shoreline equivalents in internal contexts.admin/navigation.json:
[
{
"section": "storeSettings",
"subSection": "storeFront",
"subSectionItems": [
{
"labelId": "admin/my-settings.navigation.title",
"path": "/admin/app/my-settings"
}
]
}
]
Main fields:
section / subSection: define where the link appears in the Admin navigation tree.subSectionItems[].path: should match the path declared in admin/routes.json.titleId / labelId: message IDs used to internationalize navigation labels.adminVersion: optional and only needed for compatibility between legacy and newer Admin experiences. Do not use it in the default example for new apps.admin/routes.json:
{
"admin.app.my-settings": {
"component": "MySettingsPage",
"path": "/admin/app/my-settings"
}
}
react/MySettingsPage.tsx:
import React from 'react'
import { Layout, PageHeader, PageBlock } from 'vtex.styleguide'
const MySettingsPage: React.FC = () => (
<Layout pageHeader={<PageHeader title="My settings" />}>
<PageBlock>
{/* Page content goes here */}
</PageBlock>
</Layout>
)
export default MySettingsPage
Use VTEX design systems to keep operational state explicit and optimize for clarity over ornamental UI.
Use PageHeader and PageBlock with Styleguide where appropriate, or equivalent official Shoreline patterns in internal contexts. Use Spinner/Alert/EmptyState for data states and showToast plus button loading states for async feedback.
Use paginated tables for large datasets, prefer server-side filtering when possible, and keep form actions consistent with primary save and optional cancel behavior.
PageHeader and PageBlock layout patterns where appropriate (or Shoreline equivalents)?What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub vtex/skills --plugin vtex-ai-skills46 skills in this plugin
/architecture-well-architected-commerceApply when scoping, reviewing, or documenting cross-cutting VTEX commerce architecture across storefront, IO, headless, marketplace, payments, or any other VTEX module. Grounds work in the Well-Architected Commerce framework—Technical Foundation (reliability, trust, integrity; security, infrastructure, compliance), Future-proof (innovation, simplicity, efficiency; scalable and adaptable solutions), and Operational Excellence (accuracy, accountability, data-driven improvement; process and customer experience). Routes implementation detail to product tracks (IO caching and paths, Master Data strategy, marketplace integrations). Use for solution design, architecture reviews, and RFP-level technical structure./faststore-storefrontCore coding rules and workflow for developing VTEX FastStore storefronts. Use when starting any FastStore development task, writing TypeScript/React components, creating section overrides, extending the BFF, or styling. Covers all primary conventions, safety rules, and the development workflow used across every FastStore project./headless-bff-architectureApply when designing or modifying a BFF (Backend-for-Frontend) layer, middleware, or API proxy for a headless VTEX storefront. Covers BFF middleware architecture, public vs private API classification, VtexIdclientAutCookie management, API key protection, and secure request proxying. Use for any headless commerce project that must never expose VTEX_APP_KEY or call private VTEX APIs from the browser./headless-caching-strategyApply when implementing caching logic, CDN configuration, or performance optimization for a headless VTEX storefront. Covers which VTEX APIs can be cached (Intelligent Search, Catalog) versus which must never be cached (Checkout, Profile, OMS), stale-while-revalidate patterns, cache invalidation, and BFF-level caching. Use for any headless project that needs TTL rules and caching strategy guidance./headless-checkout-proxyApply when implementing cart, checkout, or order placement logic proxied through a BFF for headless VTEX storefronts. Covers OrderForm lifecycle, cart creation, item management, profile/shipping/payment attachments, orderFormId management, and secure checkout flows. Use for any headless frontend that needs to proxy VTEX Checkout API calls through a server-side layer with proper session cookie handling./headless-intelligent-searchApply when implementing search functionality, faceted navigation, or autocomplete in a headless VTEX storefront. Covers product_search, autocomplete_suggestions, facets, banners, correction_search, and top_searches endpoints, plus analytics event collection. Use for any custom frontend that integrates VTEX Intelligent Search API for product discovery and search result rendering.Other plugins' skills for the same job