Viger1/dsh-design ↗★ 1

dsh-design

Design taste your agent can be held to — a design-system skill that constrains the choices, plus design_audit, which measures the rendered page (type scale, WCAG contrast, spacing grid, palette drift) instead of trusting it looked right. 适合需要对网页进行设计规范审计(如对比度、间距)的开发者。

パッケージ
dsh-design
互換性
未検証
Harness ピア範囲
*
Cordis ピア範囲
*
バージョン
0.3.0
ライセンス
MIT
最終更新
2026/08/18

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Viger1/dsh-design

ドキュメント

README 全文を読む ↗

Configuration

- id: design
  name: dsh-design
  config:
    headless: true
    browserChannels: [chrome, msedge, chromium]
    viewportWidth: 1280
    viewportHeight: 900
    navigationTimeoutMs: 15000
    spacingBasePx: 4        # spacing must be a multiple of this
    maxTypeSizes: 6         # distinct font sizes before the hierarchy is unplanned
    maxPaletteColors: 8     # distinct non-neutral colors before it is drift
    neutralChroma: 0.18       # chroma below which a color is neutral, not palette
    minTapTargetPx: 24     # WCAG 2.2 AA; raise to 44 for a touch-first product
    maxCharsPerLine: 75
    allowedHosts: []        # extra hostnames the audit may load
    registerSkill: true

Every threshold is a deployment choice, because a dense operator console and a marketing page do not want the same limits.