create-yss-spec 2.1.11 → 2.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  4. package/template/.agents/skills/llm-wiki/SKILL.md +60 -0
  5. package/template/.agents/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  6. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  7. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  8. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  9. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  10. package/template/.agents/skills/llm-wiki/references/compile.md +126 -0
  11. package/template/.agents/skills/llm-wiki/references/discover.md +41 -0
  12. package/template/.agents/skills/llm-wiki/references/ingest.md +36 -0
  13. package/template/.agents/skills/llm-wiki/references/lint.md +54 -0
  14. package/template/.agents/skills/llm-wiki/references/query.md +21 -0
  15. package/template/.agents/skills/llm-wiki/references/schema.md +45 -0
  16. package/template/.agents/skills/llm-wiki/references/writing.md +35 -0
  17. package/template/.agents/skills/llm-wiki/scripts/advise.mjs +196 -0
  18. package/template/.agents/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  19. package/template/.agents/skills/llm-wiki/scripts/extract.mjs +55 -0
  20. package/template/.agents/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  21. package/template/.agents/skills/llm-wiki/scripts/inventory.mjs +174 -0
  22. package/template/.agents/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  23. package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  24. package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  25. package/template/.agents/skills/yss-antd-design/SKILL.md +34 -0
  26. package/template/.agents/skills/yss-antd-design/references/boundaries.md +30 -0
  27. package/template/.agents/skills/yss-antd-design/references/cli-matrix.md +38 -0
  28. package/template/.agents/skills/yss-antd-design/references/evidence.md +26 -0
  29. package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  30. package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  31. package/template/.agents/skills/yss-design-system/SKILL.md +9 -5
  32. package/template/.agents/skills/yss-design-system/references/design-qa-theme.md +64 -0
  33. package/template/.agents/skills/yss-design-system/references/design-system.md +20 -12
  34. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +1 -1
  35. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  36. package/template/.agents/skills/yss-prototype-stage/SKILL.md +3 -1
  37. package/template/.agents/skills/yss-ui/SKILL.md +1 -1
  38. package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  39. package/template/.claude/skills/llm-wiki/SKILL.md +60 -0
  40. package/template/.claude/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  41. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  42. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  43. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  44. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  45. package/template/.claude/skills/llm-wiki/references/compile.md +126 -0
  46. package/template/.claude/skills/llm-wiki/references/discover.md +41 -0
  47. package/template/.claude/skills/llm-wiki/references/ingest.md +36 -0
  48. package/template/.claude/skills/llm-wiki/references/lint.md +54 -0
  49. package/template/.claude/skills/llm-wiki/references/query.md +21 -0
  50. package/template/.claude/skills/llm-wiki/references/schema.md +45 -0
  51. package/template/.claude/skills/llm-wiki/references/writing.md +35 -0
  52. package/template/.claude/skills/llm-wiki/scripts/advise.mjs +196 -0
  53. package/template/.claude/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  54. package/template/.claude/skills/llm-wiki/scripts/extract.mjs +55 -0
  55. package/template/.claude/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  56. package/template/.claude/skills/llm-wiki/scripts/inventory.mjs +174 -0
  57. package/template/.claude/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  58. package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  59. package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  60. package/template/.claude/skills/yss-antd-design/SKILL.md +34 -0
  61. package/template/.claude/skills/yss-antd-design/references/boundaries.md +30 -0
  62. package/template/.claude/skills/yss-antd-design/references/cli-matrix.md +38 -0
  63. package/template/.claude/skills/yss-antd-design/references/evidence.md +26 -0
  64. package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  65. package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  66. package/template/.claude/skills/yss-design-system/SKILL.md +9 -5
  67. package/template/.claude/skills/yss-design-system/references/design-qa-theme.md +64 -0
  68. package/template/.claude/skills/yss-design-system/references/design-system.md +20 -12
  69. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +1 -1
  70. package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  71. package/template/.claude/skills/yss-prototype-stage/SKILL.md +3 -1
  72. package/template/.claude/skills/yss-ui/SKILL.md +1 -1
  73. package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  74. package/template/.codex/skills/llm-wiki/SKILL.md +60 -0
  75. package/template/.codex/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  76. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  77. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  78. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  79. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  80. package/template/.codex/skills/llm-wiki/references/compile.md +126 -0
  81. package/template/.codex/skills/llm-wiki/references/discover.md +41 -0
  82. package/template/.codex/skills/llm-wiki/references/ingest.md +36 -0
  83. package/template/.codex/skills/llm-wiki/references/lint.md +54 -0
  84. package/template/.codex/skills/llm-wiki/references/query.md +21 -0
  85. package/template/.codex/skills/llm-wiki/references/schema.md +45 -0
  86. package/template/.codex/skills/llm-wiki/references/writing.md +35 -0
  87. package/template/.codex/skills/llm-wiki/scripts/advise.mjs +196 -0
  88. package/template/.codex/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  89. package/template/.codex/skills/llm-wiki/scripts/extract.mjs +55 -0
  90. package/template/.codex/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  91. package/template/.codex/skills/llm-wiki/scripts/inventory.mjs +174 -0
  92. package/template/.codex/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  93. package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  94. package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  95. package/template/.codex/skills/yss-antd-design/SKILL.md +34 -0
  96. package/template/.codex/skills/yss-antd-design/references/boundaries.md +30 -0
  97. package/template/.codex/skills/yss-antd-design/references/cli-matrix.md +38 -0
  98. package/template/.codex/skills/yss-antd-design/references/evidence.md +26 -0
  99. package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  100. package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  101. package/template/.codex/skills/yss-design-system/SKILL.md +9 -5
  102. package/template/.codex/skills/yss-design-system/references/design-qa-theme.md +64 -0
  103. package/template/.codex/skills/yss-design-system/references/design-system.md +20 -12
  104. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +1 -1
  105. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  106. package/template/.codex/skills/yss-prototype-stage/SKILL.md +3 -1
  107. package/template/.codex/skills/yss-ui/SKILL.md +1 -1
  108. package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  109. package/template/.cursor/skills/llm-wiki/SKILL.md +60 -0
  110. package/template/.cursor/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  111. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  112. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  113. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  114. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  115. package/template/.cursor/skills/llm-wiki/references/compile.md +126 -0
  116. package/template/.cursor/skills/llm-wiki/references/discover.md +41 -0
  117. package/template/.cursor/skills/llm-wiki/references/ingest.md +36 -0
  118. package/template/.cursor/skills/llm-wiki/references/lint.md +54 -0
  119. package/template/.cursor/skills/llm-wiki/references/query.md +21 -0
  120. package/template/.cursor/skills/llm-wiki/references/schema.md +45 -0
  121. package/template/.cursor/skills/llm-wiki/references/writing.md +35 -0
  122. package/template/.cursor/skills/llm-wiki/scripts/advise.mjs +196 -0
  123. package/template/.cursor/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  124. package/template/.cursor/skills/llm-wiki/scripts/extract.mjs +55 -0
  125. package/template/.cursor/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  126. package/template/.cursor/skills/llm-wiki/scripts/inventory.mjs +174 -0
  127. package/template/.cursor/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  128. package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  129. package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  130. package/template/.cursor/skills/yss-antd-design/SKILL.md +34 -0
  131. package/template/.cursor/skills/yss-antd-design/references/boundaries.md +30 -0
  132. package/template/.cursor/skills/yss-antd-design/references/cli-matrix.md +38 -0
  133. package/template/.cursor/skills/yss-antd-design/references/evidence.md +26 -0
  134. package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  135. package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  136. package/template/.cursor/skills/yss-design-system/SKILL.md +9 -5
  137. package/template/.cursor/skills/yss-design-system/references/design-qa-theme.md +64 -0
  138. package/template/.cursor/skills/yss-design-system/references/design-system.md +20 -12
  139. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +1 -1
  140. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  141. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +3 -1
  142. package/template/.cursor/skills/yss-ui/SKILL.md +1 -1
  143. package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  144. package/template/.hermes/skills/llm-wiki/SKILL.md +60 -0
  145. package/template/.hermes/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  146. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  147. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  148. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  149. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  150. package/template/.hermes/skills/llm-wiki/references/compile.md +126 -0
  151. package/template/.hermes/skills/llm-wiki/references/discover.md +41 -0
  152. package/template/.hermes/skills/llm-wiki/references/ingest.md +36 -0
  153. package/template/.hermes/skills/llm-wiki/references/lint.md +54 -0
  154. package/template/.hermes/skills/llm-wiki/references/query.md +21 -0
  155. package/template/.hermes/skills/llm-wiki/references/schema.md +45 -0
  156. package/template/.hermes/skills/llm-wiki/references/writing.md +35 -0
  157. package/template/.hermes/skills/llm-wiki/scripts/advise.mjs +196 -0
  158. package/template/.hermes/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  159. package/template/.hermes/skills/llm-wiki/scripts/extract.mjs +55 -0
  160. package/template/.hermes/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  161. package/template/.hermes/skills/llm-wiki/scripts/inventory.mjs +174 -0
  162. package/template/.hermes/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  163. package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  164. package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  165. package/template/.hermes/skills/yss-antd-design/SKILL.md +34 -0
  166. package/template/.hermes/skills/yss-antd-design/references/boundaries.md +30 -0
  167. package/template/.hermes/skills/yss-antd-design/references/cli-matrix.md +38 -0
  168. package/template/.hermes/skills/yss-antd-design/references/evidence.md +26 -0
  169. package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  170. package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  171. package/template/.hermes/skills/yss-design-system/SKILL.md +9 -5
  172. package/template/.hermes/skills/yss-design-system/references/design-qa-theme.md +64 -0
  173. package/template/.hermes/skills/yss-design-system/references/design-system.md +20 -12
  174. package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +1 -1
  175. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  176. package/template/.hermes/skills/yss-prototype-stage/SKILL.md +3 -1
  177. package/template/.hermes/skills/yss-ui/SKILL.md +1 -1
  178. package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  179. package/template/.pi/skills/llm-wiki/SKILL.md +60 -0
  180. package/template/.pi/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  181. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  182. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  183. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  184. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  185. package/template/.pi/skills/llm-wiki/references/compile.md +126 -0
  186. package/template/.pi/skills/llm-wiki/references/discover.md +41 -0
  187. package/template/.pi/skills/llm-wiki/references/ingest.md +36 -0
  188. package/template/.pi/skills/llm-wiki/references/lint.md +54 -0
  189. package/template/.pi/skills/llm-wiki/references/query.md +21 -0
  190. package/template/.pi/skills/llm-wiki/references/schema.md +45 -0
  191. package/template/.pi/skills/llm-wiki/references/writing.md +35 -0
  192. package/template/.pi/skills/llm-wiki/scripts/advise.mjs +196 -0
  193. package/template/.pi/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  194. package/template/.pi/skills/llm-wiki/scripts/extract.mjs +55 -0
  195. package/template/.pi/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  196. package/template/.pi/skills/llm-wiki/scripts/inventory.mjs +174 -0
  197. package/template/.pi/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  198. package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  199. package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  200. package/template/.pi/skills/yss-antd-design/SKILL.md +34 -0
  201. package/template/.pi/skills/yss-antd-design/references/boundaries.md +30 -0
  202. package/template/.pi/skills/yss-antd-design/references/cli-matrix.md +38 -0
  203. package/template/.pi/skills/yss-antd-design/references/evidence.md +26 -0
  204. package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  205. package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  206. package/template/.pi/skills/yss-design-system/SKILL.md +9 -5
  207. package/template/.pi/skills/yss-design-system/references/design-qa-theme.md +64 -0
  208. package/template/.pi/skills/yss-design-system/references/design-system.md +20 -12
  209. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +1 -1
  210. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  211. package/template/.pi/skills/yss-prototype-stage/SKILL.md +3 -1
  212. package/template/.pi/skills/yss-ui/SKILL.md +1 -1
  213. package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  214. package/template/.qoder/skills/llm-wiki/SKILL.md +60 -0
  215. package/template/.qoder/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  216. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  217. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  218. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  219. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  220. package/template/.qoder/skills/llm-wiki/references/compile.md +126 -0
  221. package/template/.qoder/skills/llm-wiki/references/discover.md +41 -0
  222. package/template/.qoder/skills/llm-wiki/references/ingest.md +36 -0
  223. package/template/.qoder/skills/llm-wiki/references/lint.md +54 -0
  224. package/template/.qoder/skills/llm-wiki/references/query.md +21 -0
  225. package/template/.qoder/skills/llm-wiki/references/schema.md +45 -0
  226. package/template/.qoder/skills/llm-wiki/references/writing.md +35 -0
  227. package/template/.qoder/skills/llm-wiki/scripts/advise.mjs +196 -0
  228. package/template/.qoder/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  229. package/template/.qoder/skills/llm-wiki/scripts/extract.mjs +55 -0
  230. package/template/.qoder/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  231. package/template/.qoder/skills/llm-wiki/scripts/inventory.mjs +174 -0
  232. package/template/.qoder/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  233. package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  234. package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  235. package/template/.qoder/skills/yss-antd-design/SKILL.md +34 -0
  236. package/template/.qoder/skills/yss-antd-design/references/boundaries.md +30 -0
  237. package/template/.qoder/skills/yss-antd-design/references/cli-matrix.md +38 -0
  238. package/template/.qoder/skills/yss-antd-design/references/evidence.md +26 -0
  239. package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  240. package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  241. package/template/.qoder/skills/yss-design-system/SKILL.md +9 -5
  242. package/template/.qoder/skills/yss-design-system/references/design-qa-theme.md +64 -0
  243. package/template/.qoder/skills/yss-design-system/references/design-system.md +20 -12
  244. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +1 -1
  245. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  246. package/template/.qoder/skills/yss-prototype-stage/SKILL.md +3 -1
  247. package/template/.qoder/skills/yss-ui/SKILL.md +1 -1
  248. package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +1 -18
  249. package/template/.trae/skills/llm-wiki/SKILL.md +60 -0
  250. package/template/.trae/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  251. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  252. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  253. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  254. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  255. package/template/.trae/skills/llm-wiki/references/compile.md +126 -0
  256. package/template/.trae/skills/llm-wiki/references/discover.md +41 -0
  257. package/template/.trae/skills/llm-wiki/references/ingest.md +36 -0
  258. package/template/.trae/skills/llm-wiki/references/lint.md +54 -0
  259. package/template/.trae/skills/llm-wiki/references/query.md +21 -0
  260. package/template/.trae/skills/llm-wiki/references/schema.md +45 -0
  261. package/template/.trae/skills/llm-wiki/references/writing.md +35 -0
  262. package/template/.trae/skills/llm-wiki/scripts/advise.mjs +196 -0
  263. package/template/.trae/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  264. package/template/.trae/skills/llm-wiki/scripts/extract.mjs +55 -0
  265. package/template/.trae/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  266. package/template/.trae/skills/llm-wiki/scripts/inventory.mjs +174 -0
  267. package/template/.trae/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  268. package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  269. package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  270. package/template/.trae/skills/yss-antd-design/SKILL.md +34 -0
  271. package/template/.trae/skills/yss-antd-design/references/boundaries.md +30 -0
  272. package/template/.trae/skills/yss-antd-design/references/cli-matrix.md +38 -0
  273. package/template/.trae/skills/yss-antd-design/references/evidence.md +26 -0
  274. package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  275. package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  276. package/template/.trae/skills/yss-design-system/SKILL.md +9 -5
  277. package/template/.trae/skills/yss-design-system/references/design-qa-theme.md +64 -0
  278. package/template/.trae/skills/yss-design-system/references/design-system.md +20 -12
  279. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +1 -1
  280. package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
  281. package/template/.trae/skills/yss-prototype-stage/SKILL.md +3 -1
  282. package/template/.trae/skills/yss-ui/SKILL.md +1 -1
  283. package/template/AGENTS.md +5 -3
  284. package/template/CLAUDE.md +13 -0
  285. package/template/CONTEXT.md +75 -65
  286. package/template/docs/agents/domain.md +4 -3
  287. package/template/docs/agents/yss-skill-registry.yaml +12 -0
  288. package/template/docs/design/README.md +5 -5
  289. package/template/docs/design/design.md +94 -29
  290. package/template/docs/design/templates/prototype-evidence-template.yaml +12 -1
  291. package/template/docs/design/tokens/theme.json +16 -9
  292. package/template/docs/design/tokens/tokens.compact.json +35 -32
  293. package/template/docs/design/tokens/tokens.dark.json +5 -5
  294. package/template/docs/design/tokens/tokens.default.json +41 -32
  295. package/template/docs/design/tokens/variables.css +62 -37
  296. package/template/docs/design/tokens/variables.dark.css +5 -5
  297. package/template/docs/process/implementation-repo-integration.md +9 -0
  298. package/template/docs/templates/requirement-freeze-template.md +1 -1
  299. package/template/docs/templates/review-report-template.md +1 -0
  300. package/template/docs/templates/spec-template.md +1 -1
  301. package/template/docs/templates/vertical-slice-ticket-template.md +1 -1
  302. package/template/docs/user-guide//344/272/247/345/223/201/347/224/237/345/221/275/345/221/250/346/234/237/345/267/245/344/275/234/346/265/201.md +10 -10
  303. package/template/docs/user-guide//344/272/247/345/223/201/347/240/224/345/217/221/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +7 -7
  304. package/template/docs/user-guide//347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +5 -5
  305. package/template/docs/user-guide//351/234/200/346/261/202/346/276/204/346/270/205/346/214/207/345/215/227.md +6 -7
  306. package/template/docs/user-guide//351/234/200/346/261/202/346/276/204/346/270/205/346/234/200/344/275/263/345/256/236/350/267/265.md +3 -3
  307. package/template/skills-lock.json +37 -5
  308. package/template/wiki/.wiki-manifest.json +390 -0
  309. package/template/wiki/raw/AGENTS.md +43 -62
  310. package/template/wiki/raw/CONTEXT.md +76 -42
  311. package/template/wiki/raw/README.md +4 -1
  312. package/template/wiki/raw/create-yss-spec-repository-mode-contract.md +95 -0
  313. package/template/wiki/raw/harness-process-tailoring.md +64 -0
  314. package/template/wiki/raw/implementation-repo-integration.md +62 -0
  315. package/template/wiki/raw/issue-tracker.md +135 -0
  316. package/template/wiki/raw/lifecycle-registry.yaml +369 -0
  317. package/template/wiki/raw/maintenance-intensity.yaml +25 -0
  318. package/template/wiki/raw/skills-lock-names.md +93 -0
  319. package/template/wiki/raw/skills-maintenance.md +90 -0
  320. package/template/wiki/raw/spec-template.md +4 -5
  321. package/template/wiki/raw/triage-labels.md +15 -0
  322. package/template/wiki/raw/vertical-slice-ticket-template.md +15 -9
  323. package/template/wiki/raw/yss-skill-registry.yaml +510 -0
  324. package/template/wiki/wiki/Agent/345/205/245/345/217/243/350/247/204/345/210/231.md +17 -5
  325. package/template/wiki/wiki/CLAUDE.md +15 -11
  326. package/template/wiki/wiki/Fresh/351/252/214/350/257/201/344/270/216/347/213/254/347/253/213/345/256/241/346/237/245.md +15 -5
  327. package/template/wiki/wiki/LLM Wiki.md +30 -0
  328. package/template/wiki/wiki/Matt/346/212/200/350/203/275/344/275/223/347/263/273.md +17 -5
  329. package/template/wiki/wiki/OpenAPI/345/245/221/347/272/246.md +16 -5
  330. package/template/wiki/wiki/SpecDelta.md +15 -5
  331. package/template/wiki/wiki/Spec/345/237/272/347/272/277.md +18 -5
  332. package/template/wiki/wiki/Ticket/344/270/216/346/265/201/347/250/213/347/212/266/346/200/201.md +17 -5
  333. package/template/wiki/wiki/YSS/345/267/245/347/250/213/346/212/200/350/203/275/344/275/223/347/263/273.md +19 -5
  334. package/template/wiki/wiki/YSS/350/267/257/347/224/261/344/270/216/345/220/210/345/220/214/347/274/226/350/257/221.md +16 -5
  335. package/template/wiki/wiki/concept-table.md +9 -0
  336. package/template/wiki/wiki/index.md +12 -11
  337. package/template/wiki/wiki/log.md +34 -0
  338. package/template/wiki/wiki//344/272/247/345/223/201/347/240/224/345/217/221/347/224/237/345/221/275/345/221/250/346/234/237.md +15 -4
  339. package/template/wiki/wiki//344/272/247/345/223/201/350/256/276/350/256/241/345/275/261/345/223/215/344/270/216/345/216/237/345/236/213.md +14 -4
  340. package/template/wiki/wiki//344/273/223/345/272/223/350/272/253/344/273/275/344/270/216/350/267/257/347/224/261.md +15 -4
  341. package/template/wiki/wiki//345/210/207/347/211/207/345/256/236/347/216/260/345/220/210/345/220/214.md +17 -5
  342. package/template/wiki/wiki//345/236/202/347/233/264/345/210/207/347/211/207Ticket.md +19 -5
  343. package/template/wiki/wiki//345/244/215/347/233/230/344/270/216/346/235/203/345/250/201/350/265/204/344/272/247/344/277/256/350/256/242.md +15 -4
  344. package/template/wiki/wiki//345/256/236/347/216/260/344/273/223/345/272/223/344/270/216/350/267/250/344/273/223/345/272/223/345/245/221/347/272/246.md +17 -4
  345. package/template/wiki/wiki//345/275/261/345/223/215/351/235/242/345/210/206/350/257/212/344/270/216/346/265/201/347/250/213/350/243/201/345/211/252.md +15 -4
  346. package/template/wiki/wiki//346/212/200/350/203/275/346/212/225/345/275/261/344/270/216/351/224/201/345/256/232.md +18 -4
  347. package/template/wiki/wiki//346/235/241/344/273/266/345/274/272/345/210/266/351/227/250/347/246/201.md +13 -4
  348. package/template/wiki/wiki//346/250/241/346/235/277/345/217/221/345/270/203/351/227/250/347/246/201/344/270/216/351/252/214/350/257/201.md +17 -4
  349. package/template/wiki/wiki//346/250/241/346/235/277/346/200/273/350/247/210.md +16 -5
  350. package/template/wiki/wiki//346/250/241/346/235/277/347/273/264/346/212/244/346/265/201/347/250/213.md +14 -4
  351. package/template/yss-public-skills.json +2 -0
  352. package/template.snapshot.json +4 -4
  353. package/template/wiki/raw/create-yss-spec-contract.md +0 -59
  354. package/template/wiki/raw/skills-lock.json +0 -1379
@@ -2,20 +2,35 @@
2
2
 
3
3
  ## 来源与定位
4
4
 
5
- 本文件基于本地设计系统包 `/Users/zhudaoming/Downloads/Product-Design-System` 首次分析整理。自本文件落地后,项目内设计系统的权威来源为 `docs/design/design.md` 与 `docs/design/tokens/*`,外部 Downloads 目录仅作为历史输入记录,不作为后续执行依赖。
5
+ 本文件基于本地设计系统包 `/Users/zhudaoming/Downloads/Product-Design-System` 首次分析整理,并在后续用项目 Ant Design 5 Less / `:root` CSS 变量覆盖默认亮色主题。自本文件落地后,项目内设计系统的权威来源为 `docs/design/design.md` 与 `docs/design/tokens/*`,外部 Downloads 目录和原始 Less 文件仅作为历史输入记录,不作为后续执行依赖,也不作为实现语言。
6
6
 
7
- 本次分析的关键来源:
7
+ 关键来源:
8
8
 
9
- | 来源文件 | 作用 | 采用结论 |
9
+ | 来源 | 作用 | 采用结论 |
10
10
  | --- | --- | --- |
11
- | `assets/design.md` | 完整 Ant Design 设计系统说明,包含颜色、排版、布局、组件、动效和定制规则 | 作为主要设计系统语义来源 |
11
+ | 历史 `Product-Design-System` 包 | 首次引入 Ant Design 企业级语义、状态矩阵和验收习惯 | 保留原则、组件规则和审查清单 |
12
+ | 项目 Ant Design 5 Less / `:root` 变量 | 默认亮色主题、运行时切换别名、色板与布局 token | **默认主题权威**;冲突时以 `:root` 为准 |
12
13
  | `docs/design/tokens/tokens.default.json` | 默认亮色主题派生 token | 作为实现 token 基线 |
13
- | `docs/design/tokens/tokens.dark.json` | 暗色主题派生 token | 作为后续暗色模式扩展来源 |
14
- | `docs/design/tokens/tokens.compact.json` | 紧凑密度主题派生 token | 作为后台密集表格 / 表单场景扩展来源 |
15
- | `docs/design/tokens/variables.css` | `--brand-*` CSS 变量 | 前端实现时优先转换为项目 token |
14
+ | `docs/design/tokens/tokens.dark.json` | 暗色主题派生 token | 暗色仍走 `darkAlgorithm`;本轮未按新 seed 重派生完整暗色色板 |
15
+ | `docs/design/tokens/tokens.compact.json` | 紧凑密度主题派生 token | 共享亮色 seed,紧凑高度算法保持现状 |
16
+ | `docs/design/tokens/variables.css` | `--brand-*` 与运行时别名 | 前端实现时优先转换为项目 token |
16
17
  | `docs/design/tokens/theme.json` | Ant Design `ConfigProvider` theme 配置 | React + Ant Design 项目可直接参考 |
17
- | `DESIGN-HANDOFF.md` | 设计交付约束、响应式验证矩阵和实现顺序 | 作为 UI 实现验收补充 |
18
- | `DESIGN.md` | 品牌生成器输出的简要索引 | 仅作品牌包索引,不作为完整规范 |
18
+
19
+ 同份 Less 输入存在两套互相覆盖的默认值。项目裁定如下,并已写入 token 快照:
20
+
21
+ | 项 | 采用 | 丢弃 |
22
+ | --- | --- | --- |
23
+ | 主色 | `#3371ff`(`--primary-color`) | `#3177ff` fallback、历史 `#1677ff` |
24
+ | 信息色 | `#3371ff` | 历史 `#1677ff` |
25
+ | 错误色 | `#f5222d` | 历史 `#ff4d4f` |
26
+ | 页面背景 | `#f0f2f5` | 历史 `#f5f5f5` |
27
+ | 主文本 / 次文本 | `rgba(0, 0, 0, 0.88)` / `rgba(0, 0, 0, 0.65)` | `#2e2e2e` / `#646464` |
28
+ | 边框 / 分割线 | `#d9d9d9` / `#f0f0f0` | `#dbdbdb` / `#f1f1f1` |
29
+ | 默认圆角 | `6px` | Less 前半 `4px`、历史品牌 `8px` |
30
+ | 字体栈 | 系统栈 | 强制 `Inter` |
31
+ | hover / active | `#4096ff` / `#0958d9`(`:root` 显式值) | 由新主色算法重算 |
32
+
33
+ `.m-1` / `.flex-*` 等 utility class、`::-webkit-scrollbar` 定制和原始 `.less` 文件不纳入规范正文,只可作为可选实现备注。
19
34
 
20
35
  结论:这不是营销型视觉系统,而是面向中后台、数据密集、表单密集、流程密集产品的 Ant Design 风格企业级设计系统。项目内 UI 默认应以“清晰、确定、低装饰、可扫描、高一致性”为目标。
21
36
 
@@ -23,6 +38,10 @@
23
38
 
24
39
  原型使用 Ant Design 时,`https://ant.design/design.md` 与官方 `antd` CLI 提供的是**上游默认**和组件事实;项目的 `docs/design/design.md`、`docs/design/tokens/*` 是经过确认的**项目覆盖**。当前功能只能在这两层之下完成语义组件映射。若上游默认与项目 token 不同,以项目覆盖为准,并在 `prototype-evidence.yaml` 中记录差异;不得把上游默认直接写回项目实现。
25
40
 
41
+ 当前项目覆盖与官方默认的主要差异:主色 `#3371ff` ≠ 官方 `#1677ff`,错误色 `#f5222d` ≠ 官方 `#ff4d4f`,页面背景 `#f0f2f5`,文本使用 Ant Design 透明度阶,默认圆角 `6px`。`blue` 等预设色板仍可保留官方蓝谱;**色板预设 ≠ 品牌主色**。
42
+
43
+ Codex `$design-qa` 的 Colors/tokens 与 Fonts/typography 对照必须以本文件和 `docs/design/tokens/*` 为 source visual truth,而不是官方默认或历史 `#1677ff` / `Inter` / `8px` 品牌圆角。执行清单见 `.agents/skills/yss-design-system/references/design-qa-theme.md`。
44
+
26
45
  ## 设计原则
27
46
 
28
47
  本项目采用该设计系统时,优先遵循四个原则:
@@ -40,29 +59,54 @@
40
59
 
41
60
  | Token | 值 | 用途 |
42
61
  | --- | --- | --- |
43
- | `colorPrimary` | `#1677ff` | 主按钮、链接、焦点、选中态、激活导航 |
62
+ | `colorPrimary` | `#3371ff` | 主按钮、链接、焦点、选中态、激活导航 |
44
63
  | `colorPrimaryHover` | `#4096ff` | 主色 hover |
45
64
  | `colorPrimaryActive` | `#0958d9` | 主色 active |
46
65
  | `colorSuccess` | `#52c41a` | 成功状态 |
47
66
  | `colorWarning` | `#faad14` | 警告状态 |
48
- | `colorError` | `#ff4d4f` | 错误状态 |
49
- | `colorInfo` | `#1677ff` | 信息提示 |
50
- | `colorBgLayout` | `#f5f5f5` | 页面背景 |
67
+ | `colorError` | `#f5222d` | 错误状态 |
68
+ | `colorInfo` | `#3371ff` | 信息提示 |
69
+ | `colorBgLayout` | `#f0f2f5` | 页面背景 |
51
70
  | `colorBgContainer` | `#ffffff` | 卡片、表格、表单、面板容器 |
52
71
  | `colorBgElevated` | `#ffffff` | 弹窗、下拉、浮层 |
53
- | `colorText` | `#2e2e2e` | 主文本 |
54
- | `colorTextSecondary` | `#646464` | 次级文本 |
55
- | `colorTextTertiary` | `#949494` | 说明 / 弱提示 |
56
- | `colorTextQuaternary` | `#c4c4c4` | placeholder / disabled |
57
- | `colorBorder` | `#dbdbdb` | 主边框 |
58
- | `colorBorderSecondary` | `#f1f1f1` | 次级分割线 |
72
+ | `colorText` | `rgba(0, 0, 0, 0.88)` | 主文本 |
73
+ | `colorTextSecondary` | `rgba(0, 0, 0, 0.65)` | 次级文本 |
74
+ | `colorTextTertiary` | `#8c8c8c` | 说明 / 弱提示 |
75
+ | `colorTextQuaternary` | `#bfbfbf` | placeholder / disabled |
76
+ | `colorBorder` | `#d9d9d9` | 主边框 |
77
+ | `colorBorderSecondary` | `#f0f0f0` | 次级分割线 |
59
78
 
60
79
  颜色使用规则:
61
80
 
62
81
  - 主色只表达全局主操作、链接、选中态和焦点态,不作为大面积背景装饰。
63
82
  - `success`、`warning`、`error`、`info` 只用于功能状态,不与品牌强调混用。
64
- - 预设色板如 `blue`、`purple`、`cyan`、`green`、`magenta`、`red`、`orange`、`yellow`、`volcano`、`geekblue`、`gold`、`lime` 主要用于 Tag、图表和分类可视化。
83
+ - 预设色板如 `blue`、`purple`、`cyan`、`green`、`magenta`、`red`、`orange`、`yellow`、`volcano`、`geekblue`、`gold`、`lime` 主要用于 Tag、图表和分类可视化;其中 `blue-6` 仍可能是官方 `#1677ff`,不得当作品牌主色。
65
84
  - 产品代码中不要硬编码 `#ffffff`、`#fafafa` 等表面色,应引用语义 token。
85
+ - 主色浅阶 `primary-1` 使用 `color-mix(in srgb, var(--primary-color) 10%, transparent)`,不要对 CSS 变量调用 Less `fade()`。
86
+
87
+ ### 运行时主题变量
88
+
89
+ 默认亮色支持运行时切换。`:root` 中的短名别名必须指向 `--brand-*`,不要再维护第二套色值。
90
+
91
+ | 运行时别名 | 指向 | 默认值 |
92
+ | --- | --- | --- |
93
+ | `--primary-color` | `--brand-color-primary` | `#3371ff` |
94
+ | `--primary-color-hover` | `--brand-color-primary-hover` | `#4096ff` |
95
+ | `--primary-color-active` | `--brand-color-primary-active` | `#0958d9` |
96
+ | `--primary-1` | `color-mix(in srgb, var(--primary-color) 10%, transparent)` | 主色 10% 透明 |
97
+ | `--primary-7` | `--primary-color-active` | `#0958d9` |
98
+ | `--success-color` | `--brand-color-success` | `#52c41a` |
99
+ | `--warning-color` | `--brand-color-warning` | `#faad14` |
100
+ | `--error-color` | `--brand-color-error` | `#f5222d` |
101
+ | `--info-color` | `--brand-color-info` | `#3371ff` |
102
+ | `--text-color` | `--brand-color-text` | `rgba(0, 0, 0, 0.88)` |
103
+ | `--text-color-secondary` | `--brand-color-text-secondary` | `rgba(0, 0, 0, 0.65)` |
104
+ | `--border-color` | `--brand-color-border` | `#d9d9d9` |
105
+ | `--border-color-split` | `--brand-color-border-secondary` | `#f0f0f0` |
106
+ | `--bg-color` | `--brand-color-bg-layout` | `#f0f2f5` |
107
+ | `--bg-color-container` | `--brand-color-bg-container` | `#ffffff` |
108
+
109
+ 切换主题时只改 `--brand-*` 或同步改短名别名;不要在页面里另写一套 Less 变量。
66
110
 
67
111
  ### 排版
68
112
 
@@ -80,7 +124,7 @@
80
124
  字体栈:
81
125
 
82
126
  ```text
83
- Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
127
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
84
128
  ```
85
129
 
86
130
  排版规则:
@@ -88,6 +132,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
88
132
  - 中后台产品默认正文使用 14px,以保证信息密度和可扫描性。
89
133
  - UI 字重优先使用 400 和 600,不使用 700+ 的重粗字作为状态强调。
90
134
  - 选中 / 激活状态优先通过颜色、边框、下划线和背景表达,不通过突然加粗制造跳动。
135
+ - 不把 `Inter` 或其他品牌字体写成强制默认栈;项目若要引入品牌字体,必须先更新本文件和 token 快照。
91
136
 
92
137
  ### 间距与尺寸
93
138
 
@@ -111,16 +156,32 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
111
156
  - 表单、筛选区、工具栏、表格和详情页应优先使用密集但有节奏的布局。
112
157
  - 不使用任意 magic number;如确需新增尺寸,应先判断是否要扩展 token。
113
158
 
159
+ ### 布局 token
160
+
161
+ | Token | 值 | 用途 |
162
+ | --- | --- | --- |
163
+ | `layoutHeaderHeight` | `64px` | 顶栏高度 |
164
+ | `layoutSiderBackground` | `#001529` | 深色侧栏背景 |
165
+ | `layoutBodyBackground` | `#f0f2f5` | 与 `colorBgLayout` 对齐的页面背景 |
166
+ | `screenXS` | `480px` | 布局断点 |
167
+ | `screenSM` | `576px` | 布局断点 |
168
+ | `screenMD` | `768px` | 布局断点 |
169
+ | `screenLG` | `992px` | 布局断点 |
170
+ | `screenXL` | `1200px` | 布局断点 |
171
+ | `screenXXL` | `1600px` | 布局断点 |
172
+
173
+ 这些断点用于栅格、隐藏工具类和布局折叠,不替换下方截图验收视口矩阵。
174
+
114
175
  ### 圆角
115
176
 
116
177
  | Token | 值 | 用途 |
117
178
  | --- | --- | --- |
118
- | `borderRadiusXS` | 3 | 极小元素 |
119
- | `borderRadiusSM` | 5 | 小标签、小控件 |
120
- | `borderRadius` | 8 | 当前品牌包默认圆角 |
121
- | `borderRadiusLG` | 10 | 大容器 / 浮层 |
179
+ | `borderRadiusXS` | 2 | 极小元素 |
180
+ | `borderRadiusSM` | 4 | 小标签、小控件 |
181
+ | `borderRadius` | 6 | 默认控件圆角 |
182
+ | `borderRadiusLG` | 8 | 大容器 / 浮层 |
122
183
 
123
- 注意:`assets/design.md` 中 Ant Design 语义说明以 6px 控件圆角、8px 容器圆角为基准;当前品牌 token 派生结果将 `borderRadius` 设为 8px、`borderRadiusLG` 设为 10px。项目实现时以 `system/tokens.default.json` 为准,但应保持“控件圆角小于或等于容器圆角”的层级关系。
184
+ 保持“控件圆角小于或等于容器圆角”:默认控件 `6px`,小控件 `4px`,容器 `8px`。实现时以 `docs/design/tokens/tokens.default.json` 为准。
124
185
 
125
186
  ### 动效
126
187
 
@@ -181,6 +242,8 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
181
242
  | desktop | 1440 × 900 |
182
243
  | wide desktop | 1920 × 1080 |
183
244
 
245
+ 布局 CSS 断点补充:`480 / 576 / 768 / 992 / 1200 / 1600`。它们用于栅格和显示/隐藏,不替代上表截图验收尺寸。
246
+
184
247
  验收规则:
185
248
 
186
249
  - 不允许出现横向滚动,除非是明确设计的表格横向滚动容器。
@@ -195,7 +258,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
195
258
  - 使用 `ConfigProvider` 注入 `docs/design/tokens/theme.json` 中的 theme 配置。
196
259
  - 组件样式优先通过 Ant Design token、component token、CSS variables 或主题算法表达。
197
260
  - 消息、通知、Modal 静态方法应使用 `App`、hook API 或 context holder,避免主题上下文丢失。
198
- - 暗色模式使用 `darkAlgorithm` 或 `docs/design/tokens/variables.dark.css`,不要手工反转颜色。
261
+ - 暗色模式使用 `darkAlgorithm` 或 `docs/design/tokens/variables.dark.css`,不要手工反转颜色。本轮只同步了暗色的字体栈和圆角 seed;完整暗色色板仍是历史算法结果,启用暗色前应再派生一次。
199
262
  - 紧凑模式使用 `compactAlgorithm` 或 `docs/design/tokens/tokens.compact.json`,不要逐组件压缩高度。
200
263
 
201
264
  如果前端不是 Ant Design:
@@ -203,6 +266,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
203
266
  - 先把 `docs/design/tokens/tokens.default.json` 转为项目设计 token,再映射到目标 UI 库。
204
267
  - 保留组件语义和状态语义,不要只复制颜色。
205
268
  - 尽量保持 32px 默认控件高度、14px 默认字号、4px 间距网格和三层表面模型。
269
+ - 运行时动态换肤使用 `--primary-color` 等短名别名,或直接改 `--brand-*`。
206
270
 
207
271
  ## 设计审查清单
208
272
 
@@ -215,12 +279,13 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
215
279
  - 主操作是否唯一且清楚,次级操作是否降级。
216
280
  - 是否存在硬编码颜色、任意间距、重复自造控件或与系统冲突的交互。
217
281
  - 是否覆盖关键响应式断点。
282
+ - Codex `$design-qa` 是否按项目覆盖对照主色、错误色、背景、文本、圆角和字体栈。
218
283
 
219
284
  ## 后续落地 TODO
220
285
 
221
286
  - 将 `docs/design/tokens/theme.json` 接入前端工程主题配置。
222
- - 将 `docs/design/tokens/variables.css` 中的 `--brand-*` 变量纳入项目 token 管理。
223
- - 如果项目启用暗色模式,补充 `docs/design/tokens/tokens.dark.json` 的使用规范和截图验收。
287
+ - 将 `docs/design/tokens/variables.css` 中的 `--brand-*` 与运行时别名纳入项目 token 管理。
288
+ - 如果项目启用暗色模式,用 `darkAlgorithm` 按新 seed 重派生 `docs/design/tokens/tokens.dark.json`,并补充截图验收。
224
289
  - 如果项目存在高密度表格 / 审批 / 运营台,补充 `docs/design/tokens/tokens.compact.json` 的适用边界。
225
290
 
226
291
  ## Ant Design v6 原型补充基线
@@ -9,7 +9,16 @@ design_baseline:
9
9
  upstream_design_md_source: https://ant.design/design.md
10
10
  upstream_design_md_record_ref: <path-to-json-output-or-summary>
11
11
  project_override_reviewed: false
12
+ theme_override:
13
+ color_primary: "#3371ff"
14
+ color_error: "#f5222d"
15
+ color_bg_layout: "#f0f2f5"
16
+ border_radius: 6
17
+ font_family: system-stack
18
+ recorded: false
19
+ note: 与官方 #1677ff / Inter / 8px 的差异必须记录;无差异则 recorded=false 并说明沿用项目默认。
12
20
  antd:
21
+ fact_skill: yss-antd-design
13
22
  cli_command: antd
14
23
  cli_version: <actual-cli-version>
15
24
  target_antd_version: <project-selected-v6-version>
@@ -21,7 +30,9 @@ antd:
21
30
  demo_ref: <path-to-json-output>
22
31
  token_ref: <path-to-json-output>
23
32
  semantic_ref: <path-to-json-output>
24
- lint_ref: <path-to-json-output>
33
+ lint_applicable: not-applicable
34
+ lint_reason: html-prototype
35
+ lint_ref: <path-to-json-output-or-none>
25
36
  lint_passed: false
26
37
  browser_verification:
27
38
  executor: <browser-or-automation-name>
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "token": {
3
- "colorPrimary": "#1677ff",
3
+ "colorPrimary": "#3371ff",
4
4
  "colorSuccess": "#52c41a",
5
5
  "colorWarning": "#faad14",
6
- "colorError": "#ff4d4f",
7
- "colorInfo": "#1677ff",
8
- "colorTextBase": "#111111",
6
+ "colorError": "#f5222d",
7
+ "colorInfo": "#3371ff",
8
+ "colorTextBase": "#000000",
9
9
  "colorBgBase": "#ffffff",
10
- "fontFamily": "Inter, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
11
- "fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
10
+ "colorBgLayout": "#f0f2f5",
11
+ "colorText": "rgba(0, 0, 0, 0.88)",
12
+ "colorTextSecondary": "rgba(0, 0, 0, 0.65)",
13
+ "colorBorder": "#d9d9d9",
14
+ "fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
15
+ "fontFamilyCode": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
12
16
  "fontSize": 14,
13
- "borderRadius": 8,
17
+ "borderRadius": 6,
14
18
  "sizeUnit": 4,
15
19
  "sizeStep": 4,
16
20
  "controlHeight": 32,
@@ -18,7 +22,10 @@
18
22
  "motionUnit": 0.1,
19
23
  "motionBase": 0,
20
24
  "wireframe": false,
21
- "motion": true
25
+ "motion": true,
26
+ "layoutHeaderHeight": 64,
27
+ "layoutSiderBackground": "#001529",
28
+ "layoutBodyBackground": "#f0f2f5"
22
29
  },
23
30
  "algorithm": "default"
24
- }
31
+ }
@@ -1,48 +1,48 @@
1
1
  {
2
2
  "algorithm": "compact",
3
- "colorPrimary": "#1677ff",
4
- "colorPrimaryBg": "#e6f4ff",
5
- "colorPrimaryBgHover": "#bae0ff",
6
- "colorPrimaryBorder": "#91caff",
7
- "colorPrimaryBorderHover": "#69b1ff",
3
+ "colorPrimary": "#3371ff",
4
+ "colorPrimaryBg": "#d6e4ff",
5
+ "colorPrimaryBgHover": "#adc6ff",
6
+ "colorPrimaryBorder": "#85a5ff",
7
+ "colorPrimaryBorderHover": "#597ef7",
8
8
  "colorPrimaryHover": "#4096ff",
9
9
  "colorPrimaryActive": "#0958d9",
10
10
  "colorPrimaryText": "#002c8c",
11
11
  "colorSuccess": "#52c41a",
12
12
  "colorSuccessBg": "#f6ffed",
13
- "colorSuccessBorder": "#b6eb8f",
14
- "colorSuccessHover": "#72d13d",
13
+ "colorSuccessBorder": "#b7eb8f",
14
+ "colorSuccessHover": "#73d13d",
15
15
  "colorSuccessActive": "#389e0d",
16
16
  "colorWarning": "#faad14",
17
17
  "colorWarningBg": "#fffbe6",
18
18
  "colorWarningBorder": "#ffe58f",
19
19
  "colorWarningHover": "#ffc53d",
20
20
  "colorWarningActive": "#d48806",
21
- "colorError": "#ff4d4f",
21
+ "colorError": "#f5222d",
22
22
  "colorErrorBg": "#fff2f0",
23
23
  "colorErrorBorder": "#ffccc7",
24
- "colorErrorHover": "#ff7875",
25
- "colorErrorActive": "#d9363d",
26
- "colorInfo": "#1677ff",
24
+ "colorErrorHover": "#ff4d4f",
25
+ "colorErrorActive": "#cf1322",
26
+ "colorInfo": "#3371ff",
27
27
  "colorInfoBg": "#e6f4ff",
28
28
  "colorInfoBorder": "#91caff",
29
- "colorLink": "#1677ff",
29
+ "colorLink": "#3371ff",
30
30
  "colorLinkHover": "#4096ff",
31
31
  "colorLinkActive": "#0958d9",
32
- "colorText": "#2e2e2e",
33
- "colorTextSecondary": "#646464",
34
- "colorTextTertiary": "#949494",
35
- "colorTextQuaternary": "#c4c4c4",
36
- "colorFill": "#dbdbdb",
37
- "colorFillSecondary": "#f1f1f1",
32
+ "colorText": "rgba(0, 0, 0, 0.88)",
33
+ "colorTextSecondary": "rgba(0, 0, 0, 0.65)",
34
+ "colorTextTertiary": "#8c8c8c",
35
+ "colorTextQuaternary": "#bfbfbf",
36
+ "colorFill": "#d9d9d9",
37
+ "colorFillSecondary": "#f0f0f0",
38
38
  "colorFillTertiary": "#f5f5f5",
39
39
  "colorFillQuaternary": "#fafafa",
40
- "colorBgLayout": "#f5f5f5",
40
+ "colorBgLayout": "#f0f2f5",
41
41
  "colorBgContainer": "#ffffff",
42
42
  "colorBgElevated": "#ffffff",
43
- "colorBorder": "#dbdbdb",
44
- "colorBorderSecondary": "#f1f1f1",
45
- "fontFamily": "Inter, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
43
+ "colorBorder": "#d9d9d9",
44
+ "colorBorderSecondary": "#f0f0f0",
45
+ "fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
46
46
  "fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
47
47
  "fontSize": 14,
48
48
  "fontSizeSM": 12,
@@ -64,10 +64,10 @@
64
64
  "sizeLG": 16,
65
65
  "sizeXL": 24,
66
66
  "sizeXXL": 32,
67
- "borderRadiusXS": 3,
68
- "borderRadiusSM": 5,
69
- "borderRadius": 8,
70
- "borderRadiusLG": 10,
67
+ "borderRadiusXS": 2,
68
+ "borderRadiusSM": 4,
69
+ "borderRadius": 6,
70
+ "borderRadiusLG": 8,
71
71
  "lineWidth": 1,
72
72
  "controlHeightXS": 14,
73
73
  "controlHeightSM": 21,
@@ -78,13 +78,16 @@
78
78
  "motionDurationSlow": "0.3s",
79
79
  "motionEaseInOut": "cubic-bezier(0.645, 0.045, 0.355, 1)",
80
80
  "motionEaseOut": "cubic-bezier(0.215, 0.61, 0.355, 1)",
81
+ "layoutHeaderHeight": 64,
82
+ "layoutSiderBackground": "#001529",
83
+ "layoutBodyBackground": "#f0f2f5",
81
84
  "primaryPalette": [
82
- "#e6f4ff",
83
- "#bae0ff",
84
- "#91caff",
85
- "#69b1ff",
86
- "#4096ff",
87
- "#1677ff",
85
+ "color-mix(in srgb, #3371ff 10%, transparent)",
86
+ "#d6e4ff",
87
+ "#adc6ff",
88
+ "#85a5ff",
89
+ "#597ef7",
90
+ "#3371ff",
88
91
  "#0958d9",
89
92
  "#003eb3",
90
93
  "#002c8c",
@@ -42,7 +42,7 @@
42
42
  "colorBgElevated": "#272727",
43
43
  "colorBorder": "#3e3e3e",
44
44
  "colorBorderSecondary": "#303030",
45
- "fontFamily": "Inter, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
45
+ "fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
46
46
  "fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
47
47
  "fontSize": 14,
48
48
  "fontSizeSM": 12,
@@ -64,10 +64,10 @@
64
64
  "sizeLG": 24,
65
65
  "sizeXL": 32,
66
66
  "sizeXXL": 48,
67
- "borderRadiusXS": 3,
68
- "borderRadiusSM": 5,
69
- "borderRadius": 8,
70
- "borderRadiusLG": 10,
67
+ "borderRadiusXS": 2,
68
+ "borderRadiusSM": 4,
69
+ "borderRadius": 6,
70
+ "borderRadiusLG": 8,
71
71
  "lineWidth": 1,
72
72
  "controlHeightXS": 16,
73
73
  "controlHeightSM": 24,
@@ -1,48 +1,48 @@
1
1
  {
2
2
  "algorithm": "default",
3
- "colorPrimary": "#1677ff",
4
- "colorPrimaryBg": "#e6f4ff",
5
- "colorPrimaryBgHover": "#bae0ff",
6
- "colorPrimaryBorder": "#91caff",
7
- "colorPrimaryBorderHover": "#69b1ff",
3
+ "colorPrimary": "#3371ff",
4
+ "colorPrimaryBg": "#d6e4ff",
5
+ "colorPrimaryBgHover": "#adc6ff",
6
+ "colorPrimaryBorder": "#85a5ff",
7
+ "colorPrimaryBorderHover": "#597ef7",
8
8
  "colorPrimaryHover": "#4096ff",
9
9
  "colorPrimaryActive": "#0958d9",
10
10
  "colorPrimaryText": "#002c8c",
11
11
  "colorSuccess": "#52c41a",
12
12
  "colorSuccessBg": "#f6ffed",
13
- "colorSuccessBorder": "#b6eb8f",
14
- "colorSuccessHover": "#72d13d",
13
+ "colorSuccessBorder": "#b7eb8f",
14
+ "colorSuccessHover": "#73d13d",
15
15
  "colorSuccessActive": "#389e0d",
16
16
  "colorWarning": "#faad14",
17
17
  "colorWarningBg": "#fffbe6",
18
18
  "colorWarningBorder": "#ffe58f",
19
19
  "colorWarningHover": "#ffc53d",
20
20
  "colorWarningActive": "#d48806",
21
- "colorError": "#ff4d4f",
21
+ "colorError": "#f5222d",
22
22
  "colorErrorBg": "#fff2f0",
23
23
  "colorErrorBorder": "#ffccc7",
24
- "colorErrorHover": "#ff7875",
25
- "colorErrorActive": "#d9363d",
26
- "colorInfo": "#1677ff",
24
+ "colorErrorHover": "#ff4d4f",
25
+ "colorErrorActive": "#cf1322",
26
+ "colorInfo": "#3371ff",
27
27
  "colorInfoBg": "#e6f4ff",
28
28
  "colorInfoBorder": "#91caff",
29
- "colorLink": "#1677ff",
29
+ "colorLink": "#3371ff",
30
30
  "colorLinkHover": "#4096ff",
31
31
  "colorLinkActive": "#0958d9",
32
- "colorText": "#2e2e2e",
33
- "colorTextSecondary": "#646464",
34
- "colorTextTertiary": "#949494",
35
- "colorTextQuaternary": "#c4c4c4",
36
- "colorFill": "#dbdbdb",
37
- "colorFillSecondary": "#f1f1f1",
32
+ "colorText": "rgba(0, 0, 0, 0.88)",
33
+ "colorTextSecondary": "rgba(0, 0, 0, 0.65)",
34
+ "colorTextTertiary": "#8c8c8c",
35
+ "colorTextQuaternary": "#bfbfbf",
36
+ "colorFill": "#d9d9d9",
37
+ "colorFillSecondary": "#f0f0f0",
38
38
  "colorFillTertiary": "#f5f5f5",
39
39
  "colorFillQuaternary": "#fafafa",
40
- "colorBgLayout": "#f5f5f5",
40
+ "colorBgLayout": "#f0f2f5",
41
41
  "colorBgContainer": "#ffffff",
42
42
  "colorBgElevated": "#ffffff",
43
- "colorBorder": "#dbdbdb",
44
- "colorBorderSecondary": "#f1f1f1",
45
- "fontFamily": "Inter, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
43
+ "colorBorder": "#d9d9d9",
44
+ "colorBorderSecondary": "#f0f0f0",
45
+ "fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
46
46
  "fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
47
47
  "fontSize": 14,
48
48
  "fontSizeSM": 12,
@@ -64,10 +64,10 @@
64
64
  "sizeLG": 24,
65
65
  "sizeXL": 32,
66
66
  "sizeXXL": 48,
67
- "borderRadiusXS": 3,
68
- "borderRadiusSM": 5,
69
- "borderRadius": 8,
70
- "borderRadiusLG": 10,
67
+ "borderRadiusXS": 2,
68
+ "borderRadiusSM": 4,
69
+ "borderRadius": 6,
70
+ "borderRadiusLG": 8,
71
71
  "lineWidth": 1,
72
72
  "controlHeightXS": 16,
73
73
  "controlHeightSM": 24,
@@ -78,13 +78,22 @@
78
78
  "motionDurationSlow": "0.3s",
79
79
  "motionEaseInOut": "cubic-bezier(0.645, 0.045, 0.355, 1)",
80
80
  "motionEaseOut": "cubic-bezier(0.215, 0.61, 0.355, 1)",
81
+ "layoutHeaderHeight": 64,
82
+ "layoutSiderBackground": "#001529",
83
+ "layoutBodyBackground": "#f0f2f5",
84
+ "screenXS": 480,
85
+ "screenSM": 576,
86
+ "screenMD": 768,
87
+ "screenLG": 992,
88
+ "screenXL": 1200,
89
+ "screenXXL": 1600,
81
90
  "primaryPalette": [
82
- "#e6f4ff",
83
- "#bae0ff",
84
- "#91caff",
85
- "#69b1ff",
86
- "#4096ff",
87
- "#1677ff",
91
+ "color-mix(in srgb, #3371ff 10%, transparent)",
92
+ "#d6e4ff",
93
+ "#adc6ff",
94
+ "#85a5ff",
95
+ "#597ef7",
96
+ "#3371ff",
88
97
  "#0958d9",
89
98
  "#003eb3",
90
99
  "#002c8c",