Authoring guardrails for building ANY new frontend UI in the OpenObserve web app (web/) — new views, pages, panels, dialogs, feature compon…
“网站与界面”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
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.
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“网站与界面”相关工作。发布者的介绍: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 个智能体 准备好命令。
值得信任吗?
23,254 个 GitHub 星标 · AGPL-3.0。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。