Authoring guardrails for building ANY new frontend UI in the OpenObserve web app (web/) — new views, pages, panels, dialogs, feature components, or edits to existing ones. Enforce six house rules the moment you write Vue/template markup: (1) use AppPageHeader for every page/module header, (2) build UI from O2 library components in web/src/lib — never raw Quasar or bare HTML controls when an O2 equivalent exists, (3) no hardcoded px anywhere — including inside Tailwind class arbitrary values ([320px]) — size with rem/%/vh/vw or Tailwind's rem-based scale, (4) no scoped-CSS blocks and no inline style="", (5) never hardcode colors/sizes — use the modern registered --color-* design tokens and register a new --color-* token if one is missing; the legacy --o2-* token vocabulary is BANNED (never write var(--o2-*), never define one, never add a .body--dark block — migrate any --o2-* you touch to its --color-* equivalent), (6) no hardcoded user-facing text — every label, title, placeholder, and message comes from i18n (useI18n t()) with keys added to web/src/locales/languages/en.json. It also settles the recurring structural decisions: use OTable for any tabular data, follow the view → service → Vuex/local-ref layering for fetching list data, choose the right form container (ConfirmDialog vs ODialog vs ODrawer vs a full in-page view) by the weight of the interaction, and build every validated form with OForm + a colocated Zod schema (single-source-of-truth name-bound fields, no v-model/ref mirrors, automatic submit/loading, correct field-array keys). Trigger this whenever the user asks to create, add, build, scaffold, lay out, validate, or restyle any screen, component, header, table, list, dialog, drawer, form, field, or panel in the web frontend, or asks where a form/table/fetch should live, how to validate a form, how to add a keyboard shortcut, how to build a new reusable/common O2 component when nothing existing fits (create one in web/src/lib instead of assembling divs and classes), whether something belongs in a dialog or a drawer, or where a new page should be listed in navigation — the left-rail menu, a Settings/IAM sub-menu, or a hover-flyout — how to register its route, and how to gate it for cloud / enterprise / RBAC — even if they don't mention these rules by name. If you are about to type <template>, q-page, a page title, a hex color, a px value, or <style scoped>, this skill applies.
「Web サイトと UI」の作業に使います。公開者の説明: Authoring guardrails for building ANY new frontend UI in the OpenObserve web app (web/) — new views, pages, panels, dialogs, feature components, or edits to ex…
リクエスト例
“このページのデザインを整えて。”
エージェント
Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。