Repository navigation
feat(scd-uiux): 升级双轨品味、存量令牌提取、令牌原型规范与 DOM 量化探测 (Refs #140) - #149
Merged
Merged
Conversation
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #140
范围摘要
完成 Initiative
#137下的 D4(uiux-method-dom-audit):design-taste.md与visual-quality.md中区分「展示/营销/内容型 Web」与「高密度工具/工作台型 Web App」双轨品味与八维阈值,保留全部共用硬底线;scd-uiux/SKILL.md、design-tokens.md、scd-ui-polish/SKILL.md补齐存量项目(Brownfield)现有设计令牌提取步骤;visual-evidence.md明确低保真纯灰度单文件 HTML 线框与高保真带状态切换条(loading/empty/error/success/dark/mobile)的 DTCG 令牌 HTML 原型默认载体;skills/scd-uiux/scripts/dom-audit.mjs(支持 7 类客观缺陷检测、WCAG 2.1 对比度计算、BROWSER_AUDIT_SNIPPET浏览器注入片段及 CLI--print-snippet/--snapshot)并接入visual-quality.md与page-acceptance.md规范审;tests/dom-audit.test.mjs正反例单测并更新tests/uiux-contract.test.mjs、tests/visual-quality-contract.test.mjs。工程验证证据
node --test tests/dom-audit.test.mjs tests/uiux-contract.test.mjs tests/visual-quality-contract.test.mjs tests/uiux-search-corpus.test.mjs tests/chinese-skill-payload.test.mjs:34/34 通过;du -sh skills/scd-uiux:1.1M;scd-test验收模式复核回填。