dsh-ui-layout

为 UI 开发声明布局契约,在无头 Chrome、Godot 场景或声明式布局中测量,并审计重叠、遮挡、溢出、文字截断、过小目标、死交互、间距漂移与层级倒置,附断点矩阵与侧边栏面板。页面测量需要 Chrome、Edge 或 Chromium,并要求 DSH profile 能解析到 puppeteer-core;Godot 场景与声明式布局都不需要。

插件介绍

为 UI 开发声明布局契约,在无头 Chrome、Godot 场景或声明式布局中测量,并审计重叠、遮挡、溢出、文字截断、过小目标、死交互、间距漂移与层级倒置,附断点矩阵与侧边栏面板。页面测量需要 Chrome、Edge 或 Chromium,并要求 DSH profile 能解析到 puppeteer-core;Godot 场景与声明式布局都不需要。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:FM1503/dsh-ui-layout

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。