Skip to main content
在 Manus 中运行任何 Skill
一键导入

screen-audit

星标3
分支15
更新时间2026年6月28日 08:58

Render a real product screen from its ui-spec descriptor and run the cross-component structural detectors over it — the "complete-screen consistency audit". For each screen it loads screens/<slug>/screen.yaml, opens the assembled-screen Storybook story (the descriptor's `story` id) in light AND dark, captures a serializable snapshot with the screens/audit probe (geometry, computed style, a11y, scrollbar gutters), then runs the pure detectors via `pnpm --filter @acronis-platform/ui-spec screen-audit` — keyed to the grammar's screen/* rules (control-height parity, accessible name, contrast, edge alignment, reserved-gutter clipping, icon-size parity, vertical rhythm), with `must` failing. Detectors first; an optional AI visual review covers the judgment-only rows. Reports findings keyed by checklist id + severity; proposes (never auto-applies) fixes + new grammar rules. Invoke with /screen-audit [screen-slug | all].

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly