一键导入
app-shell
Work on settings, command palette, sidebar, shortcuts, modals, dockable panels, favorites, global navigation, persistence, and visual shell tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Work on settings, command palette, sidebar, shortcuts, modals, dockable panels, favorites, global navigation, persistence, and visual shell tests
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when wanting to systematically improve the React/TypeScript frontend - scans for security vulnerabilities, stability risks, performance issues, and code simplification opportunities, then presents 5 ranked findings for the user to choose from
Add support for a Kubernetes resource type by choosing the required catalog, refresh, detail, object-map, permission, frontend, docs, and test surfaces
Guide for safely modifying the refresh/streaming subsystem — covers the full domain lifecycle, registration points, and known fragility areas
Use when eliminating representable-but-invalid states in Luxury Yacht — converting boolean flag-soup to discriminated unions, making required identity fields non-optional, replacing stringly-typed states with literal/typed enums, and pushing scattered runtime guards into the type system or a single chokepoint. Triggers — "make impossible states impossible", flag soup (isLoading/isError/isEmpty), contradictory nullable fields, kind-only/name-only object refs, stringly-typed status, or the docs/todo.md item of the same name.
Work on Luxury Yacht object-panel details, YAML, actions, logs, shell/debug tabs, docked panels, related objects, and tests
Use for large-scale structural Luxury Yacht app reviews that audit broad systems or cross-cutting concerns, identify major simplification, hardening, optimization, or refactoring opportunities, and optionally write temporary phased plans in docs/plans
| name | app-shell |
| description | Work on settings, command palette, sidebar, shortcuts, modals, dockable panels, favorites, global navigation, persistence, and visual shell tests |
Use this when touching settings, preferences, command palette, sidebar, shortcuts, global navigation, modals, overlays, dockable panels, favorites, saved views, app-shell persistence, or visual shell tests.
Read:
AGENTS.mdfrontend/AGENTS.mddocs/frontend/component-structure.mddocs/frontend/keyboard.mddocs/frontend/modals.mddocs/frontend/tabs.mddocs/frontend/dockable-panels.mddocs/architecture/data-access.md for app state and persisted readsSettings-specific contract:
readAppSettingsSchema.frontend/src/core/settings/appPreferences.ts owns the frontend schema
metadata cache and typed metadata helpers. Settings UI sections should consume
defaults, bounds, enum values, validation hints, and runtime flags through
those helpers instead of duplicating backend constants.appPreferences.ts for first paint,
Wails-unavailable tests, or schema-load failure; it is not a second settings
contract.core/settings when UI needs preference metadata.UpdateAppPreferences, then roll back cache, emitted events, and any
appearance localStorage mirrors on failure.UpdateAppPreferences returns normalized settings and changed keys. Do not
change that response shape unless a workflow genuinely needs schema metadata
in the mutation response.frontend/src/ui/settingsfrontend/src/core/settingsfrontend/src/core/app-state-accessbackend/app_settings.gofrontend/src/ui/command-palettefrontend/src/ui/shortcutsfrontend/src/ui/navigationfrontend/src/ui/layoutfrontend/src/ui/dockablefrontend/src/ui/modalsfrontend/src/ui/favoritesfrontend/src/shared/components/modalsfrontend/src/shared/components/tabscore/settings; keep fallback constants local
to the metadata layer only.UpdateAppPreferences, without adding non-preference settings like
selected kubeconfigs or saved themes to the preference schema.UpdateAppPreferences semantics: atomic
validation, persistence before runtime side effects, and rollback on
failure.mage qc:prerelease.Use focused checks while iterating:
npm run typecheck --prefix frontend
npm run test --prefix frontend -- settings command-palette shortcuts modals dockable favorites
Use browser or Storybook validation for visual behavior, then run
mage qc:prerelease for non-documentation changes.