vtex-io-app-settings
БесплатноБез исполняемых скриптовНе проверенApply when defining, validating, or consuming VTEX IO app settings. Covers settingsSchema, app-level configuration boundaries, and how backend or frontend…
от vtex★ 47 звёзд на GitHubОб этом скилле
App Settings & Configuration Boundaries
When this skill applies
Use this skill when deciding or implementing how a VTEX IO app should expose configurable settings.
- Defining
settingsSchema - Adding merchant-configurable app behavior
- Reviewing whether configuration belongs in app settings or custom data
- Reading and validating settings in app code
Do not use this skill for:
- runtime infrastructure settings in
service.json - Master Data entity design
- policy declaration details
- route auth modeling
Decision rules
- Use app settings for stable configuration that merchants or operators should be able to manage explicitly.
- Use
settingsSchemafor app-level configuration managed through VTEX Admin, and usestore/contentSchemas.jsonfor Store Framework block configuration that varies by page or block instance. - If the value is global for the app or account, it usually belongs in
settingsSchema. If it varies per page, block, or theme composition, it usually belongs incontentSchemas.json. - Do not use app settings as a substitute for high-volume operational data storage.
- Use JSON Schema explicitly with
properties,required,default,enum,format, and related constraints instead of a generic roottype: objectonly. - Use
settingsSchema.access: "public"only for non-sensitive values that are intentionally safe to expose to frontend code throughpublicSettingsForApp. - If
accessis omitted, do not assume frontend GraphQL consumers can read the settings. Public frontend access must be an explicit choice. - Use app settings for API keys, tokens, and secrets instead of hardcoding them in the codebase.
- Never expose secrets from app settings directly in HTTP responses, GraphQL responses, HTML, or browser-side props.
- Never expose secrets from app settings in logs either.
- For sensitive fields such as API keys or passwords, keep them as
type: "string"and consider marking them withformat: "password". Some platform consumers, such as Apps GraphQL when usinghidePasswords, may use this metadata to mask values in responses. Do not rely on this as the only security layer: secrets must still be treated as backend-only and never exposed in responses or logs. - UI-specific hints such as
ui:widget: "password"may be supported by some renderers, but they are not part of the core JSON Schema guarantees. Do not assume the standard VTEX Admin App Settings UI will enforce them. - Read backend settings through
ctx.clients.apps.getAppSettings(ctx.vtex.appId ?? process.env.VTEX_APP_ID)and centralize normalization or validation in a helper instead of spreading ad hoc access patterns through handlers. - When reading or saving this app's own settings at runtime, use the correct app identifier such as
process.env.VTEX_APP_IDorctx.vtex.appIdand rely on the app token plus standard app-settings permissions. Do not declare extra License Manager policies inmanifest.jsonor add workspace-wide policies such asread-workspace-appsor undocumented policies such aswrite-workspace-appsjust to "fix" a 403. - Pixel apps that need configuration should also consume settings through
ctx.clients.apps.getAppSettings(...)on the backend side of the pixel app. If a value must be available to injected JavaScript, expose only non-sensitive fields throughaccess: "public"andpublicSettingsForApp, keeping secrets strictly on the server side. - Make code resilient to missing or incomplete settings by validating or applying defaults at the consumption boundary.
- Never assume settings are identical across accounts or workspaces. Each workspace may have different app configuration during development, rollout, or debugging.
Settings vs configuration builder:
- Use
settingsSchemawhen the configuration is specific to this app and the merchant is expected to edit it in Apps > App Settings. - Consider a separate app using the
configurationbuilder when the configuration contract needs to be shared across multiple apps, managed separately from the runtime app lifecycle, or injected directly into service context throughctx.vtex.settings. - Prefer a configuration app when the main goal is structured service configuration delivered through VTEX IO runtime context, instead of settings fetched ad hoc by the app itself.
Hard constraints
Constraint: Configurable app behavior must have a schema
Merchant-configurable settings MUST be modeled through an explicit schema instead of ad hoc unvalidated objects.
Why this matters
Without a schema, configuration becomes ambiguous, harder to validate, and easier to break across environments.
Detection
If code depends on app-level configuration but no schema or validation contract exists, STOP and define it first.
Correct
{
"settingsSchema": {
"title": "My App Settings",
"type": "object",
"properties": {
"enableModeration": {
"title": "Enable moderation",
"type": "boolean
Установить vtex-io-app-settings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл vtex-io-app-settings?
Apply when defining, validating, or consuming VTEX IO app settings. Covers settingsSchema, app-level configuration boundaries, and how backend or frontend code should depend on settings safely. Use for merchant-configurable behavior, settings forms, or reviewing whether settings belong in app configuration rather than hardcoded logic or custom data entities.
Как установить скилл vtex-io-app-settings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vtex-io-app-settings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic