dsh-designmd
开发工具 活跃维护

dsh-designmd

satan9394/dsh-designmd

提供设计系统YAML token与Markdown说明的标准化格式,配套lint校验、diff比对、多端导出工具链,内置WCAG AA对比度校验能力,对齐主流设计系统规范。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
6 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:satan9394/dsh-designmd
git clone https://github.com/satan9394/dsh-designmd.git
git clone git@github.com:satan9394/dsh-designmd.git
README.md main

dsh-designmd

DSH(DeepSeek Harness)技能插件:DESIGN.md 设计系统格式

给 coding agent 的视觉身份规范:YAML 设计 token(颜色/字体/圆角/间距/组件)+ Markdown 设计理由、token 引用 {colors.primary}、lint/diff/export 工具链(Tailwind v3/v4、W3C DTCG)、WCAG AA 对比度检查、section 顺序与未知内容处理规则。受 google-labs-code/design.md(27k★)启发的中文原创精简版。

安装

dsh plugin add dsh-designmd

触发方式

描述中包含"设计系统 / 设计 token / 视觉身份 / DESIGN.md / 统一 UI 风格 / 设计规范文件"等关键词时自动触发。

能力

  • YAML tokens + Markdown rationale 双层结构
  • token 引用与组件变体(hover/active/pressed)
  • lint:broken-ref / contrast-ratio(WCAG AA)/ section-order 等 11 规则
  • diff:token 级与 prose 级回归检测
  • export:json-tailwind / css-tailwind / dtcg
  • 未知内容容错规则

许可

MIT