fix(skills): 修复 design-handoff 医生端原型输出质量

- match-tokens: alias 增加值条件映射,支持 doctor/patient variant 自动检测
- parse-prototype: 支持 IosFrame label prop 提取(JSX 属性模式)
- interaction-rules: login-cta 增加 exclude_patterns 避免"立即关注"误报
- tokens.yml: T.pri/T.priL/T.priD alias 改为数组格式,按值匹配 variant

验证: 患者端 T.pri→--tk-pri 确认,医生端 T.pri→--tk-pri.doctor 确认
This commit is contained in:
iven
2026-05-18 01:00:20 +08:00
parent c26ca9088b
commit 6151fde7c4
6 changed files with 138 additions and 40 deletions

View File

@@ -327,16 +327,34 @@ shadow_unmapped:
aliases:
prototype_keys:
T.pri:
token: --tk-pri
status: exact_match
- value: "#C4623A"
token: --tk-pri
status: exact_match
variant: patient
- value: "#3A6B8C"
token: --tk-pri.doctor
status: exact_match
variant: doctor
T.priL:
token: --tk-pri-l
status: exact_match
- value: "#F0DDD4"
token: --tk-pri-l
status: exact_match
variant: patient
- value: "#D4E5F0"
token: --tk-pri-l.doctor
status: exact_match
variant: doctor
T.priD:
token: --tk-pri-d
status: exact_match
- value: "#8B3E1F"
token: --tk-pri-d
status: exact_match
variant: patient
- value: "#2A4F6A"
token: --tk-pri-d.doctor
status: exact_match
variant: doctor
T.bg:
token: null