admin-ui-debug

作者: vercel

Admin UI和操作员界面调试,用于vercel-openclaw:命令外壳设计、管理员操作、请求核心、状态面板、启动验证UI、频道…

npx skills add https://github.com/vercel-labs/vercel-openclaw --skill admin-ui-debug

Admin UI Debug

Use this skill when the root admin control surface or operator-facing UI behavior is the focus.

Evidence First

Collect:

  • Screenshot or browser reproduction path.
  • API payloads the UI consumes: /api/status, /api/channels/summary, launch verify, preflight, logs.
  • Browser console errors.
  • Whether LOCAL_READ_ONLY=1 is set.
  • Mobile and desktop viewport checks for layout changes.

Design Constraints

This is an operator control surface, not a marketing dashboard. Keep it dense, dark-only, Vercel-native, and restrained. Avoid decorative cards, ornamental color, and copy that explains obvious controls.

Use existing components and patterns before adding abstractions. Keep text small enough for compact panels and ensure button/card text cannot overflow.

Fix Boundaries

  • UI: src/components/designs/command-shell.tsx.
  • Action/request helpers: src/components/admin-{action,request}-core.ts.
  • API shape changes: affected route/shared type only.
  • Design reference: .impeccable.md.

Verification

Run focused tests/typecheck and, for visual changes, use browser verification or screenshots:

node scripts/verify.mjs --steps=test,typecheck
lat check

When a dev server is needed, start it and report the URL.