diff --git a/.claude/skills/ui-architect/SKILL.md b/.claude/skills/ui-architect/SKILL.md index 4e4fa91448..2a6ed00a85 100644 --- a/.claude/skills/ui-architect/SKILL.md +++ b/.claude/skills/ui-architect/SKILL.md @@ -1,64 +1,6 @@ --- name: ui-architect -description: >- - 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 seven house rules the moment you write Vue/template - markup: (1) use OPageHeader for every page/module header, (2) build UI from - O2 library components in web/src/lib — never bare HTML controls when an O2 - equivalent exists, (3) NEVER write px — always rem, including inside Tailwind class - arbitrary values ([320px] is banned; 1rem = 16px, so px/16 = rem and px/4 = the - Tailwind step). px is allowed ONLY where it is the genuinely correct unit — - hairlines, shadow/ring widths, query conditions, IntersectionObserver rootMargin, - zero inside calc()/clamp(), user-facing copy, canvas/email consumers — and there it - MUST carry an eslint-disable-next-line local/no-hardcoded-px with a `-- ` at - the site, never a side-file exemption (in a