{
  "schemaVersion": 1,
  "atomId": "theme_switcher_build.aicomponent",
  "bundleType": "aicomponent",
  "category": "build",
  "mode": "fixed",
  "label": { "zh": "主题切换构建器", "en": "Theme switcher build helper" },
  "tags": ["theme", "build", "switcher", "variant", "multi-theme"],
  "scaffold": {
    "files": {
      "src/theme/index.ts": {
        "source": "ref/theme-index.ts",
        "mode": "full",
        "weight": 10
      }
    }
  },
  "imports": [
    { "slot": "buildPipeline", "pinAtomId": "playable_scripts_build.aicomponent", "edgeKind": "requires", "bindAs": "buildPipeline" }
  ],
  "exports": [
    { "name": "default", "kind": "module-export", "location": "src/theme/index.ts" }
  ],
  "neutralDescriptor": {
    "geometry": "build-time theme selector that re-exports a single theme variant as the active theme",
    "layers": ["build-time-config", "theme-selection"],
    "replaceable": ["active theme variant"]
  },
  "usageHints": [
    "src/theme/index.ts 是当前激活主题的入口，构建时由 builds.config.js 自动修改",
    "每个主题目录在 src/theme/<主题名>/ 下，包含 ThemeVariantConfig 实例",
    "不要手动修改 index.ts，除非在本地开发测试特定主题"
  ],
  "files": {
    "skill": "SKILL.md",
    "themeIndex": "ref/theme-index.ts"
  }
}
