create-yss-spec 3.0.1 → 3.1.0

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 (1273) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. package/template/.agents/rules/yss-ai-skills.md +3 -55
  4. package/template/.agents/skills/.strategic-design-skills-manifest.json +11 -6
  5. package/template/.agents/skills/.yss-skills-manifest.json +1 -3
  6. package/template/.agents/skills/alibaba-java-code-style/SKILL.md +1 -0
  7. package/template/.agents/skills/code-review/references/yss-review-standards.md +1 -1
  8. package/template/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  9. package/template/.agents/skills/domain-modeling/SKILL.md +10 -26
  10. package/template/.agents/skills/grill-with-docs/SKILL.md +6 -5
  11. package/template/.agents/skills/lombok/SKILL.md +2 -1
  12. package/template/.agents/skills/mapstruct/SKILL.md +3 -2
  13. package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  14. package/template/.agents/skills/setup-matt-pocock-skills/domain.md +6 -20
  15. package/template/.agents/skills/wait-what/SKILL.md +1 -1
  16. package/template/.agents/skills/yss-antdv-next-design/SKILL.md +48 -0
  17. package/template/.agents/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  18. package/template/.agents/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  19. package/template/.agents/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  20. package/template/.agents/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  21. package/template/.agents/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  22. package/template/.agents/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  23. package/template/.agents/skills/yss-application/SKILL.md +6 -0
  24. package/template/.agents/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  25. package/template/.agents/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  26. package/template/.agents/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  27. package/template/.agents/skills/yss-components/SKILL.md +1 -1
  28. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  29. package/template/.agents/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  30. package/template/.agents/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  31. package/template/.agents/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  32. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  33. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  34. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  35. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  36. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  37. package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  38. package/template/.agents/skills/yss-design-system/SKILL.md +25 -22
  39. package/template/.agents/skills/yss-design-system/references/design-qa-theme.md +22 -24
  40. package/template/.agents/skills/yss-design-system/references/design-system.md +39 -56
  41. package/template/.agents/skills/yss-domain/SKILL.md +1 -1
  42. package/template/.agents/skills/yss-dto/SKILL.md +1 -0
  43. package/template/.agents/skills/yss-exception/SKILL.md +1 -0
  44. package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  45. package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  46. package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  47. package/template/.agents/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  48. package/template/.agents/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  49. package/template/.agents/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  50. package/template/.agents/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  51. package/template/.agents/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  52. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  53. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  54. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  55. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  56. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  57. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  58. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  59. package/template/.agents/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  60. package/template/.agents/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  61. package/template/.agents/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  62. package/template/.agents/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  63. package/template/.agents/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  64. package/template/.agents/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  65. package/template/.agents/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  66. package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  67. package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  68. package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  69. package/template/.agents/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  70. package/template/.agents/skills/yss-mybatis/SKILL.md +2 -2
  71. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +31 -7
  72. package/template/.agents/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  73. package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  74. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  75. package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  76. package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +7 -2
  77. package/template/.agents/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  78. package/template/.agents/skills/yss-prototype-stage/SKILL.md +9 -8
  79. package/template/.agents/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  80. package/template/.agents/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  81. package/template/.agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  82. package/template/.agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  83. package/template/.agents/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  84. package/template/.agents/skills/yss-repository/SKILL.md +6 -0
  85. package/template/.agents/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  86. package/template/.agents/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  87. package/template/.agents/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  88. package/template/.agents/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  89. package/template/.agents/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  90. package/template/.agents/skills/yss-stage-decision/SKILL.md +16 -12
  91. package/template/.agents/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  92. package/template/.agents/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  93. package/template/.agents/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  94. package/template/.agents/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  95. package/template/.agents/skills/yss-stage-decision/references/validation-rules.md +1 -1
  96. package/template/.agents/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  97. package/template/.agents/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  98. package/template/.agents/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  99. package/template/.agents/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  100. package/template/.agents/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  101. package/template/.agents/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  102. package/template/.agents/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  103. package/template/.agents/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  104. package/template/.agents/skills/yss-tactical-design/SKILL.md +8 -2
  105. package/template/.agents/skills/yss-tactical-design/references/output-template.md +3 -0
  106. package/template/.agents/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  107. package/template/.agents/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  108. package/template/.agents/skills/yss-ui/SKILL.md +1 -2
  109. package/template/.agents/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  110. package/template/.agents/skills/yss-validation/SKILL.md +1 -0
  111. package/template/.agents/skills/yss-web-controller/SKILL.md +6 -0
  112. package/template/.agents/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  113. package/template/.agents/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  114. package/template/.agents/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  115. package/template/.agents/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  116. package/template/.agents/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  117. package/template/.agents/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  118. package/template/.claude/skills/alibaba-java-code-style/SKILL.md +1 -0
  119. package/template/.claude/skills/code-review/references/yss-review-standards.md +1 -1
  120. package/template/.claude/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  121. package/template/.claude/skills/domain-modeling/SKILL.md +10 -26
  122. package/template/.claude/skills/grill-with-docs/SKILL.md +6 -5
  123. package/template/.claude/skills/lombok/SKILL.md +2 -1
  124. package/template/.claude/skills/mapstruct/SKILL.md +3 -2
  125. package/template/.claude/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  126. package/template/.claude/skills/setup-matt-pocock-skills/domain.md +6 -20
  127. package/template/.claude/skills/wait-what/SKILL.md +1 -1
  128. package/template/.claude/skills/yss-antdv-next-design/SKILL.md +48 -0
  129. package/template/.claude/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  130. package/template/.claude/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  131. package/template/.claude/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  132. package/template/.claude/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  133. package/template/.claude/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  134. package/template/.claude/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  135. package/template/.claude/skills/yss-application/SKILL.md +6 -0
  136. package/template/.claude/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  137. package/template/.claude/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  138. package/template/.claude/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  139. package/template/.claude/skills/yss-components/SKILL.md +1 -1
  140. package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  141. package/template/.claude/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  142. package/template/.claude/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  143. package/template/.claude/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  144. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  145. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  146. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  147. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  148. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  149. package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  150. package/template/.claude/skills/yss-design-system/SKILL.md +25 -22
  151. package/template/.claude/skills/yss-design-system/references/design-qa-theme.md +22 -24
  152. package/template/.claude/skills/yss-design-system/references/design-system.md +39 -56
  153. package/template/.claude/skills/yss-domain/SKILL.md +1 -1
  154. package/template/.claude/skills/yss-dto/SKILL.md +1 -0
  155. package/template/.claude/skills/yss-exception/SKILL.md +1 -0
  156. package/template/.claude/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  157. package/template/.claude/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  158. package/template/.claude/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  159. package/template/.claude/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  160. package/template/.claude/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  161. package/template/.claude/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  162. package/template/.claude/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  163. package/template/.claude/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  164. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  165. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  166. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  167. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  168. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  169. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  170. package/template/.claude/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  171. package/template/.claude/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  172. package/template/.claude/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  173. package/template/.claude/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  174. package/template/.claude/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  175. package/template/.claude/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  176. package/template/.claude/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  177. package/template/.claude/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  178. package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  179. package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  180. package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  181. package/template/.claude/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  182. package/template/.claude/skills/yss-mybatis/SKILL.md +2 -2
  183. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +31 -7
  184. package/template/.claude/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  185. package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  186. package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  187. package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  188. package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +7 -2
  189. package/template/.claude/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  190. package/template/.claude/skills/yss-prototype-stage/SKILL.md +9 -8
  191. package/template/.claude/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  192. package/template/.claude/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  193. package/template/.claude/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  194. package/template/.claude/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  195. package/template/.claude/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  196. package/template/.claude/skills/yss-repository/SKILL.md +6 -0
  197. package/template/.claude/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  198. package/template/.claude/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  199. package/template/.claude/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  200. package/template/.claude/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  201. package/template/.claude/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  202. package/template/.claude/skills/yss-stage-decision/SKILL.md +16 -12
  203. package/template/.claude/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  204. package/template/.claude/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  205. package/template/.claude/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  206. package/template/.claude/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  207. package/template/.claude/skills/yss-stage-decision/references/validation-rules.md +1 -1
  208. package/template/.claude/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  209. package/template/.claude/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  210. package/template/.claude/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  211. package/template/.claude/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  212. package/template/.claude/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  213. package/template/.claude/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  214. package/template/.claude/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  215. package/template/.claude/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  216. package/template/.claude/skills/yss-tactical-design/SKILL.md +8 -2
  217. package/template/.claude/skills/yss-tactical-design/references/output-template.md +3 -0
  218. package/template/.claude/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  219. package/template/.claude/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  220. package/template/.claude/skills/yss-ui/SKILL.md +1 -2
  221. package/template/.claude/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  222. package/template/.claude/skills/yss-validation/SKILL.md +1 -0
  223. package/template/.claude/skills/yss-web-controller/SKILL.md +6 -0
  224. package/template/.claude/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  225. package/template/.claude/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  226. package/template/.claude/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  227. package/template/.claude/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  228. package/template/.claude/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  229. package/template/.claude/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  230. package/template/.codex/skills/alibaba-java-code-style/SKILL.md +1 -0
  231. package/template/.codex/skills/code-review/references/yss-review-standards.md +1 -1
  232. package/template/.codex/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  233. package/template/.codex/skills/domain-modeling/SKILL.md +10 -26
  234. package/template/.codex/skills/grill-with-docs/SKILL.md +6 -5
  235. package/template/.codex/skills/lombok/SKILL.md +2 -1
  236. package/template/.codex/skills/mapstruct/SKILL.md +3 -2
  237. package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  238. package/template/.codex/skills/setup-matt-pocock-skills/domain.md +6 -20
  239. package/template/.codex/skills/wait-what/SKILL.md +1 -1
  240. package/template/.codex/skills/yss-antdv-next-design/SKILL.md +48 -0
  241. package/template/.codex/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  242. package/template/.codex/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  243. package/template/.codex/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  244. package/template/.codex/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  245. package/template/.codex/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  246. package/template/.codex/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  247. package/template/.codex/skills/yss-application/SKILL.md +6 -0
  248. package/template/.codex/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  249. package/template/.codex/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  250. package/template/.codex/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  251. package/template/.codex/skills/yss-components/SKILL.md +1 -1
  252. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  253. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  254. package/template/.codex/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  255. package/template/.codex/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  256. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  257. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  258. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  259. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  260. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  261. package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  262. package/template/.codex/skills/yss-design-system/SKILL.md +25 -22
  263. package/template/.codex/skills/yss-design-system/references/design-qa-theme.md +22 -24
  264. package/template/.codex/skills/yss-design-system/references/design-system.md +39 -56
  265. package/template/.codex/skills/yss-domain/SKILL.md +1 -1
  266. package/template/.codex/skills/yss-dto/SKILL.md +1 -0
  267. package/template/.codex/skills/yss-exception/SKILL.md +1 -0
  268. package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  269. package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  270. package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  271. package/template/.codex/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  272. package/template/.codex/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  273. package/template/.codex/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  274. package/template/.codex/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  275. package/template/.codex/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  276. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  277. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  278. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  279. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  280. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  281. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  282. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  283. package/template/.codex/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  284. package/template/.codex/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  285. package/template/.codex/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  286. package/template/.codex/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  287. package/template/.codex/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  288. package/template/.codex/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  289. package/template/.codex/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  290. package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  291. package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  292. package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  293. package/template/.codex/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  294. package/template/.codex/skills/yss-mybatis/SKILL.md +2 -2
  295. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +31 -7
  296. package/template/.codex/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  297. package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  298. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  299. package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  300. package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +7 -2
  301. package/template/.codex/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  302. package/template/.codex/skills/yss-prototype-stage/SKILL.md +9 -8
  303. package/template/.codex/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  304. package/template/.codex/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  305. package/template/.codex/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  306. package/template/.codex/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  307. package/template/.codex/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  308. package/template/.codex/skills/yss-repository/SKILL.md +6 -0
  309. package/template/.codex/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  310. package/template/.codex/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  311. package/template/.codex/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  312. package/template/.codex/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  313. package/template/.codex/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  314. package/template/.codex/skills/yss-stage-decision/SKILL.md +16 -12
  315. package/template/.codex/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  316. package/template/.codex/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  317. package/template/.codex/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  318. package/template/.codex/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  319. package/template/.codex/skills/yss-stage-decision/references/validation-rules.md +1 -1
  320. package/template/.codex/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  321. package/template/.codex/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  322. package/template/.codex/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  323. package/template/.codex/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  324. package/template/.codex/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  325. package/template/.codex/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  326. package/template/.codex/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  327. package/template/.codex/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  328. package/template/.codex/skills/yss-tactical-design/SKILL.md +8 -2
  329. package/template/.codex/skills/yss-tactical-design/references/output-template.md +3 -0
  330. package/template/.codex/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  331. package/template/.codex/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  332. package/template/.codex/skills/yss-ui/SKILL.md +1 -2
  333. package/template/.codex/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  334. package/template/.codex/skills/yss-validation/SKILL.md +1 -0
  335. package/template/.codex/skills/yss-web-controller/SKILL.md +6 -0
  336. package/template/.codex/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  337. package/template/.codex/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  338. package/template/.codex/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  339. package/template/.codex/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  340. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  341. package/template/.codex/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  342. package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +1 -0
  343. package/template/.cursor/skills/code-review/references/yss-review-standards.md +1 -1
  344. package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  345. package/template/.cursor/skills/domain-modeling/SKILL.md +10 -26
  346. package/template/.cursor/skills/grill-with-docs/SKILL.md +6 -5
  347. package/template/.cursor/skills/lombok/SKILL.md +2 -1
  348. package/template/.cursor/skills/mapstruct/SKILL.md +3 -2
  349. package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  350. package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +6 -20
  351. package/template/.cursor/skills/wait-what/SKILL.md +1 -1
  352. package/template/.cursor/skills/yss-antdv-next-design/SKILL.md +48 -0
  353. package/template/.cursor/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  354. package/template/.cursor/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  355. package/template/.cursor/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  356. package/template/.cursor/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  357. package/template/.cursor/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  358. package/template/.cursor/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  359. package/template/.cursor/skills/yss-application/SKILL.md +6 -0
  360. package/template/.cursor/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  361. package/template/.cursor/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  362. package/template/.cursor/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  363. package/template/.cursor/skills/yss-components/SKILL.md +1 -1
  364. package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  365. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  366. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  367. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  368. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  369. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  370. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  371. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  372. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  373. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  374. package/template/.cursor/skills/yss-design-system/SKILL.md +25 -22
  375. package/template/.cursor/skills/yss-design-system/references/design-qa-theme.md +22 -24
  376. package/template/.cursor/skills/yss-design-system/references/design-system.md +39 -56
  377. package/template/.cursor/skills/yss-domain/SKILL.md +1 -1
  378. package/template/.cursor/skills/yss-dto/SKILL.md +1 -0
  379. package/template/.cursor/skills/yss-exception/SKILL.md +1 -0
  380. package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  381. package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  382. package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  383. package/template/.cursor/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  384. package/template/.cursor/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  385. package/template/.cursor/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  386. package/template/.cursor/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  387. package/template/.cursor/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  388. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  389. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  390. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  391. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  392. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  393. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  394. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  395. package/template/.cursor/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  396. package/template/.cursor/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  397. package/template/.cursor/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  398. package/template/.cursor/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  399. package/template/.cursor/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  400. package/template/.cursor/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  401. package/template/.cursor/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  402. package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  403. package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  404. package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  405. package/template/.cursor/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  406. package/template/.cursor/skills/yss-mybatis/SKILL.md +2 -2
  407. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +31 -7
  408. package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  409. package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  410. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  411. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  412. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +7 -2
  413. package/template/.cursor/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  414. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +9 -8
  415. package/template/.cursor/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  416. package/template/.cursor/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  417. package/template/.cursor/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  418. package/template/.cursor/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  419. package/template/.cursor/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  420. package/template/.cursor/skills/yss-repository/SKILL.md +6 -0
  421. package/template/.cursor/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  422. package/template/.cursor/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  423. package/template/.cursor/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  424. package/template/.cursor/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  425. package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  426. package/template/.cursor/skills/yss-stage-decision/SKILL.md +16 -12
  427. package/template/.cursor/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  428. package/template/.cursor/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  429. package/template/.cursor/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  430. package/template/.cursor/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  431. package/template/.cursor/skills/yss-stage-decision/references/validation-rules.md +1 -1
  432. package/template/.cursor/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  433. package/template/.cursor/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  434. package/template/.cursor/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  435. package/template/.cursor/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  436. package/template/.cursor/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  437. package/template/.cursor/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  438. package/template/.cursor/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  439. package/template/.cursor/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  440. package/template/.cursor/skills/yss-tactical-design/SKILL.md +8 -2
  441. package/template/.cursor/skills/yss-tactical-design/references/output-template.md +3 -0
  442. package/template/.cursor/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  443. package/template/.cursor/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  444. package/template/.cursor/skills/yss-ui/SKILL.md +1 -2
  445. package/template/.cursor/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  446. package/template/.cursor/skills/yss-validation/SKILL.md +1 -0
  447. package/template/.cursor/skills/yss-web-controller/SKILL.md +6 -0
  448. package/template/.cursor/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  449. package/template/.cursor/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  450. package/template/.cursor/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  451. package/template/.cursor/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  452. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  453. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  454. package/template/.cursorrules +6 -34
  455. package/template/.pi/skills/alibaba-java-code-style/SKILL.md +1 -0
  456. package/template/.pi/skills/code-review/references/yss-review-standards.md +1 -1
  457. package/template/.pi/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  458. package/template/.pi/skills/domain-modeling/SKILL.md +10 -26
  459. package/template/.pi/skills/grill-with-docs/SKILL.md +6 -5
  460. package/template/.pi/skills/lombok/SKILL.md +2 -1
  461. package/template/.pi/skills/mapstruct/SKILL.md +3 -2
  462. package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  463. package/template/.pi/skills/setup-matt-pocock-skills/domain.md +6 -20
  464. package/template/.pi/skills/wait-what/SKILL.md +1 -1
  465. package/template/.pi/skills/yss-antdv-next-design/SKILL.md +48 -0
  466. package/template/.pi/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  467. package/template/.pi/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  468. package/template/.pi/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  469. package/template/.pi/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  470. package/template/.pi/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  471. package/template/.pi/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  472. package/template/.pi/skills/yss-application/SKILL.md +6 -0
  473. package/template/.pi/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  474. package/template/.pi/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  475. package/template/.pi/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  476. package/template/.pi/skills/yss-components/SKILL.md +1 -1
  477. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  478. package/template/.pi/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  479. package/template/.pi/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  480. package/template/.pi/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  481. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  482. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  483. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  484. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  485. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  486. package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  487. package/template/.pi/skills/yss-design-system/SKILL.md +25 -22
  488. package/template/.pi/skills/yss-design-system/references/design-qa-theme.md +22 -24
  489. package/template/.pi/skills/yss-design-system/references/design-system.md +39 -56
  490. package/template/.pi/skills/yss-domain/SKILL.md +1 -1
  491. package/template/.pi/skills/yss-dto/SKILL.md +1 -0
  492. package/template/.pi/skills/yss-exception/SKILL.md +1 -0
  493. package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  494. package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  495. package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  496. package/template/.pi/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  497. package/template/.pi/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  498. package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  499. package/template/.pi/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  500. package/template/.pi/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  501. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  502. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  503. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  504. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  505. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  506. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  507. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  508. package/template/.pi/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  509. package/template/.pi/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  510. package/template/.pi/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  511. package/template/.pi/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  512. package/template/.pi/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  513. package/template/.pi/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  514. package/template/.pi/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  515. package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  516. package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  517. package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  518. package/template/.pi/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  519. package/template/.pi/skills/yss-mybatis/SKILL.md +2 -2
  520. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +31 -7
  521. package/template/.pi/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  522. package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  523. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  524. package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  525. package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +7 -2
  526. package/template/.pi/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  527. package/template/.pi/skills/yss-prototype-stage/SKILL.md +9 -8
  528. package/template/.pi/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  529. package/template/.pi/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  530. package/template/.pi/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  531. package/template/.pi/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  532. package/template/.pi/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  533. package/template/.pi/skills/yss-repository/SKILL.md +6 -0
  534. package/template/.pi/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  535. package/template/.pi/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  536. package/template/.pi/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  537. package/template/.pi/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  538. package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  539. package/template/.pi/skills/yss-stage-decision/SKILL.md +16 -12
  540. package/template/.pi/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  541. package/template/.pi/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  542. package/template/.pi/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  543. package/template/.pi/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  544. package/template/.pi/skills/yss-stage-decision/references/validation-rules.md +1 -1
  545. package/template/.pi/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  546. package/template/.pi/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  547. package/template/.pi/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  548. package/template/.pi/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  549. package/template/.pi/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  550. package/template/.pi/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  551. package/template/.pi/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  552. package/template/.pi/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  553. package/template/.pi/skills/yss-tactical-design/SKILL.md +8 -2
  554. package/template/.pi/skills/yss-tactical-design/references/output-template.md +3 -0
  555. package/template/.pi/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  556. package/template/.pi/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  557. package/template/.pi/skills/yss-ui/SKILL.md +1 -2
  558. package/template/.pi/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  559. package/template/.pi/skills/yss-validation/SKILL.md +1 -0
  560. package/template/.pi/skills/yss-web-controller/SKILL.md +6 -0
  561. package/template/.pi/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  562. package/template/.pi/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  563. package/template/.pi/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  564. package/template/.pi/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  565. package/template/.pi/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  566. package/template/.pi/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  567. package/template/.qoder/skills/alibaba-java-code-style/SKILL.md +1 -0
  568. package/template/.qoder/skills/code-review/references/yss-review-standards.md +1 -1
  569. package/template/.qoder/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  570. package/template/.qoder/skills/domain-modeling/SKILL.md +10 -26
  571. package/template/.qoder/skills/grill-with-docs/SKILL.md +6 -5
  572. package/template/.qoder/skills/lombok/SKILL.md +2 -1
  573. package/template/.qoder/skills/mapstruct/SKILL.md +3 -2
  574. package/template/.qoder/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  575. package/template/.qoder/skills/setup-matt-pocock-skills/domain.md +6 -20
  576. package/template/.qoder/skills/wait-what/SKILL.md +1 -1
  577. package/template/.qoder/skills/yss-antdv-next-design/SKILL.md +48 -0
  578. package/template/.qoder/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  579. package/template/.qoder/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  580. package/template/.qoder/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  581. package/template/.qoder/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  582. package/template/.qoder/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  583. package/template/.qoder/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  584. package/template/.qoder/skills/yss-application/SKILL.md +6 -0
  585. package/template/.qoder/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  586. package/template/.qoder/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  587. package/template/.qoder/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  588. package/template/.qoder/skills/yss-components/SKILL.md +1 -1
  589. package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  590. package/template/.qoder/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  591. package/template/.qoder/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  592. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  593. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  594. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  595. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  596. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  597. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  598. package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  599. package/template/.qoder/skills/yss-design-system/SKILL.md +25 -22
  600. package/template/.qoder/skills/yss-design-system/references/design-qa-theme.md +22 -24
  601. package/template/.qoder/skills/yss-design-system/references/design-system.md +39 -56
  602. package/template/.qoder/skills/yss-domain/SKILL.md +1 -1
  603. package/template/.qoder/skills/yss-dto/SKILL.md +1 -0
  604. package/template/.qoder/skills/yss-exception/SKILL.md +1 -0
  605. package/template/.qoder/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  606. package/template/.qoder/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  607. package/template/.qoder/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  608. package/template/.qoder/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  609. package/template/.qoder/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  610. package/template/.qoder/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  611. package/template/.qoder/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  612. package/template/.qoder/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  613. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  614. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  615. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  616. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  617. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  618. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  619. package/template/.qoder/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  620. package/template/.qoder/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  621. package/template/.qoder/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  622. package/template/.qoder/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  623. package/template/.qoder/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  624. package/template/.qoder/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  625. package/template/.qoder/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  626. package/template/.qoder/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  627. package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  628. package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  629. package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  630. package/template/.qoder/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  631. package/template/.qoder/skills/yss-mybatis/SKILL.md +2 -2
  632. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +31 -7
  633. package/template/.qoder/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  634. package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  635. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  636. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  637. package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +7 -2
  638. package/template/.qoder/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  639. package/template/.qoder/skills/yss-prototype-stage/SKILL.md +9 -8
  640. package/template/.qoder/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  641. package/template/.qoder/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  642. package/template/.qoder/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  643. package/template/.qoder/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  644. package/template/.qoder/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  645. package/template/.qoder/skills/yss-repository/SKILL.md +6 -0
  646. package/template/.qoder/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  647. package/template/.qoder/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  648. package/template/.qoder/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  649. package/template/.qoder/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  650. package/template/.qoder/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  651. package/template/.qoder/skills/yss-stage-decision/SKILL.md +16 -12
  652. package/template/.qoder/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  653. package/template/.qoder/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  654. package/template/.qoder/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  655. package/template/.qoder/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  656. package/template/.qoder/skills/yss-stage-decision/references/validation-rules.md +1 -1
  657. package/template/.qoder/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  658. package/template/.qoder/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  659. package/template/.qoder/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  660. package/template/.qoder/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  661. package/template/.qoder/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  662. package/template/.qoder/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  663. package/template/.qoder/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  664. package/template/.qoder/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  665. package/template/.qoder/skills/yss-tactical-design/SKILL.md +8 -2
  666. package/template/.qoder/skills/yss-tactical-design/references/output-template.md +3 -0
  667. package/template/.qoder/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  668. package/template/.qoder/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  669. package/template/.qoder/skills/yss-ui/SKILL.md +1 -2
  670. package/template/.qoder/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  671. package/template/.qoder/skills/yss-validation/SKILL.md +1 -0
  672. package/template/.qoder/skills/yss-web-controller/SKILL.md +6 -0
  673. package/template/.qoder/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  674. package/template/.qoder/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  675. package/template/.qoder/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  676. package/template/.qoder/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  677. package/template/.qoder/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  678. package/template/.qoder/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  679. package/template/.trae/skills/alibaba-java-code-style/SKILL.md +1 -0
  680. package/template/.trae/skills/code-review/references/yss-review-standards.md +1 -1
  681. package/template/.trae/skills/domain-modeling/CONTEXT-FORMAT.md +37 -42
  682. package/template/.trae/skills/domain-modeling/SKILL.md +10 -26
  683. package/template/.trae/skills/grill-with-docs/SKILL.md +6 -5
  684. package/template/.trae/skills/lombok/SKILL.md +2 -1
  685. package/template/.trae/skills/mapstruct/SKILL.md +3 -2
  686. package/template/.trae/skills/setup-matt-pocock-skills/SKILL.md +5 -6
  687. package/template/.trae/skills/setup-matt-pocock-skills/domain.md +6 -20
  688. package/template/.trae/skills/wait-what/SKILL.md +1 -1
  689. package/template/.trae/skills/yss-antdv-next-design/SKILL.md +48 -0
  690. package/template/.trae/skills/yss-antdv-next-design/references/boundaries.md +25 -0
  691. package/template/.trae/skills/yss-antdv-next-design/references/cli-matrix.md +34 -0
  692. package/template/.trae/skills/yss-antdv-next-design/references/fact-pack.md +38 -0
  693. package/template/.trae/skills/yss-antdv-next-design/scripts/collect-antdv-next-facts.mjs +213 -0
  694. package/template/.trae/skills/yss-antdv-next-design/scripts/validate-fact-pack.mjs +168 -0
  695. package/template/.trae/skills/yss-antdv-next-design/tests/run-scenarios.mjs +139 -0
  696. package/template/.trae/skills/yss-application/SKILL.md +6 -0
  697. package/template/.trae/skills/yss-application/references/profiles/layered-mvc-service.md +3 -0
  698. package/template/.trae/skills/yss-application/references/profiles/mvc-data-analysis-v1.md +3 -0
  699. package/template/.trae/skills/yss-application/references/profiles/target-domain-model.md +3 -0
  700. package/template/.trae/skills/yss-components/SKILL.md +1 -1
  701. package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +3 -4
  702. package/template/.trae/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +0 -13
  703. package/template/.trae/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +13 -0
  704. package/template/.trae/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +13 -4
  705. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +1 -1
  706. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/first-slice-compatibility.test.mjs +21 -7
  707. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +37 -15
  708. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +22 -10
  709. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +14 -2
  710. package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +41 -12
  711. package/template/.trae/skills/yss-design-system/SKILL.md +25 -22
  712. package/template/.trae/skills/yss-design-system/references/design-qa-theme.md +22 -24
  713. package/template/.trae/skills/yss-design-system/references/design-system.md +39 -56
  714. package/template/.trae/skills/yss-domain/SKILL.md +1 -1
  715. package/template/.trae/skills/yss-dto/SKILL.md +1 -0
  716. package/template/.trae/skills/yss-exception/SKILL.md +1 -0
  717. package/template/.trae/skills/yss-frontend-scaffold-generator/SKILL.md +1 -1
  718. package/template/.trae/skills/yss-implementation-contract-compiler/SKILL.md +8 -2
  719. package/template/.trae/skills/yss-implementation-contract-compiler/references/boundaries.md +16 -8
  720. package/template/.trae/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +72 -19
  721. package/template/.trae/skills/yss-implementation-contract-compiler/references/slice-implementation-contract.md +5 -1
  722. package/template/.trae/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -0
  723. package/template/.trae/skills/yss-implementation-contract-compiler/tests/backend-profiles.test.mjs +45 -0
  724. package/template/.trae/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +8 -6
  725. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/SKILL.md +64 -0
  726. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +4 -0
  727. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +29 -0
  728. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/generate_and_verify_scaffold.mjs +61 -0
  729. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +315 -0
  730. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/run_scaffold_verification.mjs +30 -0
  731. package/template/.trae/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +159 -0
  732. package/template/.trae/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +22 -0
  733. package/template/.trae/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +77 -0
  734. package/template/.trae/skills/yss-mvc-data-analysis-project-initializer/scripts/run_scaffold_verification.mjs +9 -0
  735. package/template/.trae/skills/yss-mvc-scaffold-generator/SKILL.md +3 -82
  736. package/template/.trae/skills/yss-mvc-scaffold-generator/references/history/generate_project.mjs.txt +137 -0
  737. package/template/.trae/skills/yss-mvc-scaffold-generator/references/history/generate_project.test.mjs.txt +341 -0
  738. package/template/.trae/skills/yss-mvc-scaffold-generator/references/history/skill.md +87 -0
  739. package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/generate_project.mjs +2 -135
  740. package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/generate_project.test.mjs +4 -332
  741. package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.mjs +11 -3
  742. package/template/.trae/skills/yss-mvc-scaffold-generator/scripts/lib/envelope.test.mjs +36 -0
  743. package/template/.trae/skills/yss-mybatis/SKILL.md +2 -2
  744. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +31 -7
  745. package/template/.trae/skills/yss-product-lifecycle/references/artifact-dependencies.md +3 -0
  746. package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +4 -6
  747. package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +119 -46
  748. package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +9 -3
  749. package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +7 -2
  750. package/template/.trae/skills/yss-product-lifecycle/references/user-decisions.md +56 -0
  751. package/template/.trae/skills/yss-prototype-stage/SKILL.md +9 -8
  752. package/template/.trae/skills/yss-prototype-stage/references/product-design-adapter.md +33 -10
  753. package/template/.trae/skills/yss-prototype-stage/references/prototype-profile-routing.md +10 -8
  754. package/template/.trae/skills/yss-prototype-stage/scripts/prototype-contract.mjs +129 -22
  755. package/template/.trae/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs +314 -0
  756. package/template/.trae/skills/yss-prototype-stage/tests/run-scenarios.mjs +96 -17
  757. package/template/.trae/skills/yss-repository/SKILL.md +6 -0
  758. package/template/.trae/skills/yss-repository/references/profiles/layered-mvc-service.md +3 -0
  759. package/template/.trae/skills/yss-repository/references/profiles/mvc-data-analysis-v1.md +3 -0
  760. package/template/.trae/skills/yss-repository/references/profiles/target-domain-model.md +3 -0
  761. package/template/.trae/skills/yss-skill-source-index-refresh/references/source-map-config.md +0 -1
  762. package/template/.trae/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +1 -1
  763. package/template/.trae/skills/yss-stage-decision/SKILL.md +16 -12
  764. package/template/.trae/skills/yss-stage-decision/references/domain-strategy-contract.md +16 -10
  765. package/template/.trae/skills/yss-stage-decision/references/domain-strategy.schema.json +23 -5
  766. package/template/.trae/skills/yss-stage-decision/references/stage-decision-package-contract.md +5 -2
  767. package/template/.trae/skills/yss-stage-decision/references/stage-decision-package.schema.json +16 -4
  768. package/template/.trae/skills/yss-stage-decision/references/validation-rules.md +1 -1
  769. package/template/.trae/skills/yss-stage-decision/scripts/migrate-context-references.mjs +62 -0
  770. package/template/.trae/skills/yss-stage-decision/scripts/validate-domain-strategy.mjs +18 -7
  771. package/template/.trae/skills/yss-stage-decision/scripts/validate-stage-decision-package.mjs +20 -9
  772. package/template/.trae/skills/yss-stage-decision/tests/fixtures/domain-strategy-approval.yaml +1 -1
  773. package/template/.trae/skills/yss-stage-decision/tests/fixtures/stage-decision-approval.yaml +1 -1
  774. package/template/.trae/skills/yss-stage-decision/tests/fixtures/valid-stage-decision-package.yaml +12 -7
  775. package/template/.trae/skills/yss-stage-decision/tests/fixtures/valid-supplier-domain.yaml +9 -4
  776. package/template/.trae/skills/yss-stage-decision/tests/run-scenarios.mjs +134 -56
  777. package/template/.trae/skills/yss-tactical-design/SKILL.md +8 -2
  778. package/template/.trae/skills/yss-tactical-design/references/output-template.md +3 -0
  779. package/template/.trae/skills/yss-tactical-design/references/tactical-design-contract.md +3 -1
  780. package/template/.trae/skills/yss-tactical-design/scripts/validate-tactical-design.mjs +10 -2
  781. package/template/.trae/skills/yss-ui/SKILL.md +1 -2
  782. package/template/.trae/skills/yss-ui-business-page-generation/SKILL.md +3 -3
  783. package/template/.trae/skills/yss-validation/SKILL.md +1 -0
  784. package/template/.trae/skills/yss-web-controller/SKILL.md +6 -0
  785. package/template/.trae/skills/yss-web-controller/references/profiles/layered-mvc-service.md +3 -0
  786. package/template/.trae/skills/yss-web-controller/references/profiles/mvc-data-analysis-v1.md +3 -0
  787. package/template/.trae/skills/yss-web-controller/references/profiles/target-domain-model.md +3 -0
  788. package/template/.trae/skills/yss-web-controller/references/web-generation-contract.schema.json +3 -2
  789. package/template/.trae/skills/yss-web-controller/scripts/generate_controller.mjs +27 -10
  790. package/template/.trae/skills/yss-web-controller/scripts/generate_controller.test.mjs +29 -1
  791. package/template/AGENTS.md +52 -91
  792. package/template/CONTEXT.md +15 -5
  793. package/template/DESIGN.md +85 -41
  794. package/template/__yss_dotfile__.gitignore +1 -0
  795. package/template/docs/agents/backend-architecture-profiles.md +25 -0
  796. package/template/docs/agents/digital-human-roles.md +3 -3
  797. package/template/docs/agents/digital-human-roles.yaml +46 -13
  798. package/template/docs/agents/domain.md +7 -6
  799. package/template/docs/agents/skill-migrations.md +20 -2
  800. package/template/docs/agents/skills-maintenance.md +3 -3
  801. package/template/docs/agents/strategic-design-skills-integration.md +6 -1
  802. package/template/docs/agents/yss-skill-registry.yaml +78 -94
  803. package/template/docs/agents/yss-ui-skills-integration.md +3 -3
  804. package/template/docs/api/templates/openapi-draft-review-checklist.md +2 -2
  805. package/template/docs/architecture/templates/engineering-baseline-review-template.md +18 -6
  806. package/template/docs/design/README.md +9 -6
  807. package/template/docs/design/design-system-sync.yaml +1 -1
  808. package/template/docs/design/design.md +86 -118
  809. package/template/docs/design/facts/antdv-next/1.5.2/cli-help.txt +38 -0
  810. package/template/docs/design/facts/antdv-next/1.5.2/component-list.json +434 -0
  811. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/demo-basic.json +7 -0
  812. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/info.json +246 -0
  813. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/semantic.json +40 -0
  814. package/template/docs/design/facts/antdv-next/1.5.2/components/Alert/token.json +32 -0
  815. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/demo-basic.json +7 -0
  816. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/info.json +190 -0
  817. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/semantic.json +20 -0
  818. package/template/docs/design/facts/antdv-next/1.5.2/components/Button/token.json +256 -0
  819. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/demo-basic.json +7 -0
  820. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/info.json +460 -0
  821. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/semantic.json +70 -0
  822. package/template/docs/design/facts/antdv-next/1.5.2/components/Input/token.json +123 -0
  823. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/demo-basic.json +7 -0
  824. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/info.json +646 -0
  825. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/semantic.json +50 -0
  826. package/template/docs/design/facts/antdv-next/1.5.2/components/Modal/token.json +130 -0
  827. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/demo-basic.json +7 -0
  828. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/info.json +640 -0
  829. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/semantic.json +70 -0
  830. package/template/docs/design/facts/antdv-next/1.5.2/components/Select/token.json +172 -0
  831. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/demo-basic.json +7 -0
  832. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/info.json +1010 -0
  833. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/semantic.json +70 -0
  834. package/template/docs/design/facts/antdv-next/1.5.2/components/Table/token.json +263 -0
  835. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/demo-basic.json +7 -0
  836. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/info.json +321 -0
  837. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/semantic.json +25 -0
  838. package/template/docs/design/facts/antdv-next/1.5.2/components/Tag/token.json +25 -0
  839. package/template/docs/design/facts/antdv-next/1.5.2/design-md.json +3 -0
  840. package/template/docs/design/facts/antdv-next/1.5.2/manifest.json +215 -0
  841. package/template/docs/design/facts/antdv-next/1.5.2/resolution-probe.json +5 -0
  842. package/template/docs/design/preview-dark.html +170 -7
  843. package/template/docs/design/preview.css +730 -0
  844. package/template/docs/design/preview.html +168 -10
  845. package/template/docs/design/preview.js +71 -0
  846. package/template/docs/design/schemas/visual-baseline.schema.json +66 -0
  847. package/template/docs/design/templates/interaction-spec-template.md +1 -1
  848. package/template/docs/design/templates/product-overview-design-template.md +6 -6
  849. package/template/docs/design/templates/prototype-evidence-template.yaml +21 -8
  850. package/template/docs/design/templates/prototype-review-checklist.md +1 -1
  851. package/template/docs/design/templates/visual-baseline-template.yaml +70 -0
  852. package/template/docs/design/tokens/.design-md-projection.json +3 -3
  853. package/template/docs/design/tokens/theme.json +2 -2
  854. package/template/docs/design/tokens/variables.css +5 -0
  855. package/template/docs/process/harness-executive-blueprint.md +1 -1
  856. package/template/docs/process/harness-process-tailoring.md +1 -0
  857. package/template/docs/process/lifecycle-artifact-map.md +5 -4
  858. package/template/docs/process/lifecycle-registry-baseline.json +7 -5
  859. package/template/docs/process/lifecycle-registry.yaml +22 -0
  860. package/template/docs/process/schemas/backend-architecture-identity.schema.json +19 -0
  861. package/template/docs/process/schemas/context-reconciliation.schema.json +57 -0
  862. package/template/docs/process/schemas/digital-human-task-package.schema.json +10 -0
  863. package/template/docs/process/schemas/frontend-implementation-evidence.schema.json +62 -29
  864. package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +16 -2
  865. package/template/docs/process/schemas/lifecycle-registry.schema.json +4 -4
  866. package/template/docs/process/schemas/scaffold-architecture-decisions.schema.json +68 -0
  867. package/template/docs/process/schemas/strategic-design-handoff.schema.json +670 -0
  868. package/template/docs/process/schemas/strategic-handoff-domain-strategy.schema.json +146 -0
  869. package/template/docs/process/schemas/strategic-handoff-export.schema.json +295 -0
  870. package/template/docs/process/schemas/strategic-handoff-package.schema.json +97 -0
  871. package/template/docs/process/schemas/strategic-handoff-stage-decision-package.schema.json +98 -0
  872. package/template/docs/process/schemas/user-decision.schema.json +357 -0
  873. package/template/docs/process/strategic-handoff-package.md +56 -0
  874. package/template/docs/process/template-verification-profiles.yaml +60 -1
  875. package/template/docs/process/templates/context-reconciliation-template.yaml +18 -0
  876. package/template/docs/process/templates/frontend-implementation-plan-template.yaml +11 -5
  877. package/template/docs/process/templates/frontend-implementation-verification-template.yaml +25 -5
  878. package/template/docs/process/templates/lifecycle-checkpoint-template.yaml +9 -0
  879. package/template/docs/process/templates/scaffold-architecture-decisions-template.yaml +32 -0
  880. package/template/docs/process/templates/stage-checkpoint-template.md +5 -0
  881. package/template/docs/process/templates/user-decision-template.yaml +30 -0
  882. package/template/docs/templates/approval-record-template.yaml +4 -0
  883. package/template/docs/templates/build-architecture-checklist-template.md +3 -3
  884. package/template/docs/templates/implementation-repo-registry-template.md +3 -1
  885. package/template/docs/templates/implementation-routing-template.md +8 -6
  886. package/template/docs/templates/requirement-freeze-template.md +1 -1
  887. package/template/docs/templates/review-report-template.md +1 -1
  888. package/template/docs/templates/spec-template.md +5 -5
  889. package/template/docs/user-guide//346/210/230/346/234/257/350/256/276/350/256/241/345/255/220/351/241/271/347/233/256/347/224/250/346/210/267/346/211/213/345/206/214.md +3 -1
  890. package/template/docs/user-guide//347/224/250/346/210/267/346/211/213/345/206/214.md +1 -1
  891. package/template/scripts/fixtures/strategic-handoff/base-stage.json +91 -0
  892. package/template/scripts/fixtures/strategic-handoff/base-strategy.json +205 -0
  893. package/template/scripts/fixtures/strategic-handoff/fixture.mjs +57 -0
  894. package/template/scripts/fixtures/strategic-handoff/source-roles.json +528 -0
  895. package/template/scripts/fixtures/user-decision/build-fixture.mjs +61 -0
  896. package/template/scripts/lib/approval-record.mjs +32 -1
  897. package/template/scripts/lib/backend-architecture.mjs +43 -0
  898. package/template/scripts/lib/context-contract.mjs +203 -0
  899. package/template/scripts/lib/digital-human-roles.mjs +21 -3
  900. package/template/scripts/lib/first-slice-architecture.mjs +23 -0
  901. package/template/scripts/lib/implementation-contract-compiler.mjs +34 -1
  902. package/template/scripts/lib/lifecycle-registry.mjs +14 -6
  903. package/template/scripts/lib/lifecycle-transition.mjs +19 -4
  904. package/template/scripts/lib/scaffold-local-database.mjs +26 -0
  905. package/template/scripts/lib/scenario-checks.mjs +25 -12
  906. package/template/scripts/lib/skill-governance.mjs +25 -10
  907. package/template/scripts/lib/skill-registry.mjs +1 -1
  908. package/template/scripts/lib/skill-supply-chain.mjs +1 -1
  909. package/template/scripts/lib/strategic-handoff-consumption.mjs +76 -0
  910. package/template/scripts/lib/strategic-handoff-io.mjs +75 -0
  911. package/template/scripts/lib/strategic-handoff-rules.mjs +37 -0
  912. package/template/scripts/lib/strategic-handoff-zip.py +52 -0
  913. package/template/scripts/lib/strategic-handoff.mjs +259 -0
  914. package/template/scripts/lib/task-package.mjs +10 -2
  915. package/template/scripts/lib/user-decision.mjs +210 -0
  916. package/template/scripts/strategic-handoff +14 -0
  917. package/template/scripts/sync-strategic-handoff-tools +18 -0
  918. package/template/scripts/verify-approval-record +5 -4
  919. package/template/scripts/verify-business-language-scenarios +59 -0
  920. package/template/scripts/verify-context-contract +15 -0
  921. package/template/scripts/verify-context-contract-scenarios +105 -0
  922. package/template/scripts/verify-context-reconciliation +58 -0
  923. package/template/scripts/verify-context-reconciliation-scenarios +69 -0
  924. package/template/scripts/verify-digital-human-roles-scenarios +1 -1
  925. package/template/scripts/verify-frontend-implementation-evidence +31 -8
  926. package/template/scripts/verify-frontend-implementation-evidence-scenarios +56 -0
  927. package/template/scripts/verify-grill-with-docs-context-scenarios +15 -0
  928. package/template/scripts/verify-lifecycle-checkpoint +9 -1
  929. package/template/scripts/verify-lifecycle-transition-scenarios +13 -3
  930. package/template/scripts/verify-retired-skill-ids +30 -4
  931. package/template/scripts/verify-scaffold-architecture-decision-scenarios +30 -0
  932. package/template/scripts/verify-scaffold-architecture-decisions +61 -0
  933. package/template/scripts/verify-scaffold-generator-scenarios +74 -3
  934. package/template/scripts/verify-strategic-context-import +65 -0
  935. package/template/scripts/verify-strategic-context-import-scenarios +50 -0
  936. package/template/scripts/verify-strategic-handoff-consumption +10 -0
  937. package/template/scripts/verify-strategic-handoff-package-scenarios +102 -0
  938. package/template/scripts/verify-subagent-task-package-scenarios +17 -3
  939. package/template/scripts/verify-template-verification-scenarios +6 -1
  940. package/template/scripts/verify-user-decision +17 -0
  941. package/template/scripts/verify-user-decision-scenarios +103 -0
  942. package/template/skills-lock.json +77 -270
  943. package/template/yss-public-skills.json +4 -4
  944. package/template.snapshot.json +4 -4
  945. package/template/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  946. package/template/.agents/skills/ask-matt/SKILL.md +0 -95
  947. package/template/.agents/skills/ask-matt/agents/openai.yaml +0 -5
  948. package/template/.agents/skills/dispatching-parallel-agents/SKILL.md +0 -185
  949. package/template/.agents/skills/loop-me/SKILL.md +0 -32
  950. package/template/.agents/skills/loop-me/agents/openai.yaml +0 -5
  951. package/template/.agents/skills/migrate-to-shoehorn/SKILL.md +0 -118
  952. package/template/.agents/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  953. package/template/.agents/skills/prototype-page-acceptance/SKILL.md +0 -62
  954. package/template/.agents/skills/scaffold-exercises/SKILL.md +0 -106
  955. package/template/.agents/skills/scaffold-exercises/agents/openai.yaml +0 -3
  956. package/template/.agents/skills/setup-pre-commit/SKILL.md +0 -91
  957. package/template/.agents/skills/setup-pre-commit/agents/openai.yaml +0 -3
  958. package/template/.agents/skills/setup-ts-deep-modules/SKILL.md +0 -102
  959. package/template/.agents/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  960. package/template/.agents/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  961. package/template/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
  962. package/template/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  963. package/template/.agents/skills/teach/MISSION-FORMAT.md +0 -31
  964. package/template/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
  965. package/template/.agents/skills/teach/SKILL.md +0 -140
  966. package/template/.agents/skills/teach/agents/openai.yaml +0 -5
  967. package/template/.agents/skills/writing-beats/SKILL.md +0 -67
  968. package/template/.agents/skills/writing-beats/agents/openai.yaml +0 -5
  969. package/template/.agents/skills/writing-fragments/SKILL.md +0 -79
  970. package/template/.agents/skills/writing-fragments/agents/openai.yaml +0 -5
  971. package/template/.agents/skills/writing-shape/SKILL.md +0 -79
  972. package/template/.agents/skills/writing-shape/agents/openai.yaml +0 -5
  973. package/template/.agents/skills/yss-microapp-commit/SKILL.md +0 -201
  974. package/template/.agents/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  975. package/template/.agents/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  976. package/template/.agents/skills/yss-page-module-development/SKILL.md +0 -165
  977. package/template/.agents/skills/yss-page-module-development/agents/openai.yaml +0 -5
  978. package/template/.agents/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  979. package/template/.agents/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  980. package/template/.agents/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  981. package/template/.agents/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  982. package/template/.agents/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  983. package/template/.agents/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  984. package/template/.agents/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  985. package/template/.agents/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  986. package/template/.agents/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  987. package/template/.agents/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  988. package/template/.agents/skills/yss-page-module-development/references/component-map.md +0 -34
  989. package/template/.agents/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  990. package/template/.agents/skills/yss-page-module-development/references/hooks-map.md +0 -11
  991. package/template/.agents/skills/yss-page-module-development/references/utils-map.md +0 -14
  992. package/template/.claude/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  993. package/template/.claude/skills/ask-matt/SKILL.md +0 -95
  994. package/template/.claude/skills/ask-matt/agents/openai.yaml +0 -5
  995. package/template/.claude/skills/dispatching-parallel-agents/SKILL.md +0 -185
  996. package/template/.claude/skills/loop-me/SKILL.md +0 -32
  997. package/template/.claude/skills/loop-me/agents/openai.yaml +0 -5
  998. package/template/.claude/skills/migrate-to-shoehorn/SKILL.md +0 -118
  999. package/template/.claude/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1000. package/template/.claude/skills/prototype-page-acceptance/SKILL.md +0 -62
  1001. package/template/.claude/skills/scaffold-exercises/SKILL.md +0 -106
  1002. package/template/.claude/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1003. package/template/.claude/skills/setup-pre-commit/SKILL.md +0 -91
  1004. package/template/.claude/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1005. package/template/.claude/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1006. package/template/.claude/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1007. package/template/.claude/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1008. package/template/.claude/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1009. package/template/.claude/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1010. package/template/.claude/skills/teach/MISSION-FORMAT.md +0 -31
  1011. package/template/.claude/skills/teach/RESOURCES-FORMAT.md +0 -32
  1012. package/template/.claude/skills/teach/SKILL.md +0 -140
  1013. package/template/.claude/skills/teach/agents/openai.yaml +0 -5
  1014. package/template/.claude/skills/writing-beats/SKILL.md +0 -67
  1015. package/template/.claude/skills/writing-beats/agents/openai.yaml +0 -5
  1016. package/template/.claude/skills/writing-fragments/SKILL.md +0 -79
  1017. package/template/.claude/skills/writing-fragments/agents/openai.yaml +0 -5
  1018. package/template/.claude/skills/writing-shape/SKILL.md +0 -79
  1019. package/template/.claude/skills/writing-shape/agents/openai.yaml +0 -5
  1020. package/template/.claude/skills/yss-microapp-commit/SKILL.md +0 -201
  1021. package/template/.claude/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1022. package/template/.claude/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1023. package/template/.claude/skills/yss-page-module-development/SKILL.md +0 -165
  1024. package/template/.claude/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1025. package/template/.claude/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1026. package/template/.claude/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1027. package/template/.claude/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1028. package/template/.claude/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1029. package/template/.claude/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1030. package/template/.claude/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1031. package/template/.claude/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1032. package/template/.claude/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1033. package/template/.claude/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1034. package/template/.claude/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1035. package/template/.claude/skills/yss-page-module-development/references/component-map.md +0 -34
  1036. package/template/.claude/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1037. package/template/.claude/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1038. package/template/.claude/skills/yss-page-module-development/references/utils-map.md +0 -14
  1039. package/template/.codex/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  1040. package/template/.codex/skills/ask-matt/SKILL.md +0 -95
  1041. package/template/.codex/skills/ask-matt/agents/openai.yaml +0 -5
  1042. package/template/.codex/skills/dispatching-parallel-agents/SKILL.md +0 -185
  1043. package/template/.codex/skills/loop-me/SKILL.md +0 -32
  1044. package/template/.codex/skills/loop-me/agents/openai.yaml +0 -5
  1045. package/template/.codex/skills/migrate-to-shoehorn/SKILL.md +0 -118
  1046. package/template/.codex/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1047. package/template/.codex/skills/prototype-page-acceptance/SKILL.md +0 -62
  1048. package/template/.codex/skills/scaffold-exercises/SKILL.md +0 -106
  1049. package/template/.codex/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1050. package/template/.codex/skills/setup-pre-commit/SKILL.md +0 -91
  1051. package/template/.codex/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1052. package/template/.codex/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1053. package/template/.codex/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1054. package/template/.codex/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1055. package/template/.codex/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1056. package/template/.codex/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1057. package/template/.codex/skills/teach/MISSION-FORMAT.md +0 -31
  1058. package/template/.codex/skills/teach/RESOURCES-FORMAT.md +0 -32
  1059. package/template/.codex/skills/teach/SKILL.md +0 -140
  1060. package/template/.codex/skills/teach/agents/openai.yaml +0 -5
  1061. package/template/.codex/skills/writing-beats/SKILL.md +0 -67
  1062. package/template/.codex/skills/writing-beats/agents/openai.yaml +0 -5
  1063. package/template/.codex/skills/writing-fragments/SKILL.md +0 -79
  1064. package/template/.codex/skills/writing-fragments/agents/openai.yaml +0 -5
  1065. package/template/.codex/skills/writing-shape/SKILL.md +0 -79
  1066. package/template/.codex/skills/writing-shape/agents/openai.yaml +0 -5
  1067. package/template/.codex/skills/yss-microapp-commit/SKILL.md +0 -201
  1068. package/template/.codex/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1069. package/template/.codex/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1070. package/template/.codex/skills/yss-page-module-development/SKILL.md +0 -165
  1071. package/template/.codex/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1072. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1073. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1074. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1075. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1076. package/template/.codex/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1077. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1078. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1079. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1080. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1081. package/template/.codex/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1082. package/template/.codex/skills/yss-page-module-development/references/component-map.md +0 -34
  1083. package/template/.codex/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1084. package/template/.codex/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1085. package/template/.codex/skills/yss-page-module-development/references/utils-map.md +0 -14
  1086. package/template/.cursor/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  1087. package/template/.cursor/skills/ask-matt/SKILL.md +0 -95
  1088. package/template/.cursor/skills/ask-matt/agents/openai.yaml +0 -5
  1089. package/template/.cursor/skills/dispatching-parallel-agents/SKILL.md +0 -185
  1090. package/template/.cursor/skills/loop-me/SKILL.md +0 -32
  1091. package/template/.cursor/skills/loop-me/agents/openai.yaml +0 -5
  1092. package/template/.cursor/skills/migrate-to-shoehorn/SKILL.md +0 -118
  1093. package/template/.cursor/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1094. package/template/.cursor/skills/prototype-page-acceptance/SKILL.md +0 -62
  1095. package/template/.cursor/skills/scaffold-exercises/SKILL.md +0 -106
  1096. package/template/.cursor/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1097. package/template/.cursor/skills/setup-pre-commit/SKILL.md +0 -91
  1098. package/template/.cursor/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1099. package/template/.cursor/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1100. package/template/.cursor/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1101. package/template/.cursor/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1102. package/template/.cursor/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1103. package/template/.cursor/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1104. package/template/.cursor/skills/teach/MISSION-FORMAT.md +0 -31
  1105. package/template/.cursor/skills/teach/RESOURCES-FORMAT.md +0 -32
  1106. package/template/.cursor/skills/teach/SKILL.md +0 -140
  1107. package/template/.cursor/skills/teach/agents/openai.yaml +0 -5
  1108. package/template/.cursor/skills/writing-beats/SKILL.md +0 -67
  1109. package/template/.cursor/skills/writing-beats/agents/openai.yaml +0 -5
  1110. package/template/.cursor/skills/writing-fragments/SKILL.md +0 -79
  1111. package/template/.cursor/skills/writing-fragments/agents/openai.yaml +0 -5
  1112. package/template/.cursor/skills/writing-shape/SKILL.md +0 -79
  1113. package/template/.cursor/skills/writing-shape/agents/openai.yaml +0 -5
  1114. package/template/.cursor/skills/yss-microapp-commit/SKILL.md +0 -201
  1115. package/template/.cursor/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1116. package/template/.cursor/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1117. package/template/.cursor/skills/yss-page-module-development/SKILL.md +0 -165
  1118. package/template/.cursor/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1119. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1120. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1121. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1122. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1123. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1124. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1125. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1126. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1127. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1128. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1129. package/template/.cursor/skills/yss-page-module-development/references/component-map.md +0 -34
  1130. package/template/.cursor/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1131. package/template/.cursor/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1132. package/template/.cursor/skills/yss-page-module-development/references/utils-map.md +0 -14
  1133. package/template/.pi/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  1134. package/template/.pi/skills/ask-matt/SKILL.md +0 -95
  1135. package/template/.pi/skills/ask-matt/agents/openai.yaml +0 -5
  1136. package/template/.pi/skills/dispatching-parallel-agents/SKILL.md +0 -185
  1137. package/template/.pi/skills/loop-me/SKILL.md +0 -32
  1138. package/template/.pi/skills/loop-me/agents/openai.yaml +0 -5
  1139. package/template/.pi/skills/migrate-to-shoehorn/SKILL.md +0 -118
  1140. package/template/.pi/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1141. package/template/.pi/skills/prototype-page-acceptance/SKILL.md +0 -62
  1142. package/template/.pi/skills/scaffold-exercises/SKILL.md +0 -106
  1143. package/template/.pi/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1144. package/template/.pi/skills/setup-pre-commit/SKILL.md +0 -91
  1145. package/template/.pi/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1146. package/template/.pi/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1147. package/template/.pi/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1148. package/template/.pi/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1149. package/template/.pi/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1150. package/template/.pi/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1151. package/template/.pi/skills/teach/MISSION-FORMAT.md +0 -31
  1152. package/template/.pi/skills/teach/RESOURCES-FORMAT.md +0 -32
  1153. package/template/.pi/skills/teach/SKILL.md +0 -140
  1154. package/template/.pi/skills/teach/agents/openai.yaml +0 -5
  1155. package/template/.pi/skills/writing-beats/SKILL.md +0 -67
  1156. package/template/.pi/skills/writing-beats/agents/openai.yaml +0 -5
  1157. package/template/.pi/skills/writing-fragments/SKILL.md +0 -79
  1158. package/template/.pi/skills/writing-fragments/agents/openai.yaml +0 -5
  1159. package/template/.pi/skills/writing-shape/SKILL.md +0 -79
  1160. package/template/.pi/skills/writing-shape/agents/openai.yaml +0 -5
  1161. package/template/.pi/skills/yss-microapp-commit/SKILL.md +0 -201
  1162. package/template/.pi/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1163. package/template/.pi/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1164. package/template/.pi/skills/yss-page-module-development/SKILL.md +0 -165
  1165. package/template/.pi/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1166. package/template/.pi/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1167. package/template/.pi/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1168. package/template/.pi/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1169. package/template/.pi/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1170. package/template/.pi/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1171. package/template/.pi/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1172. package/template/.pi/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1173. package/template/.pi/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1174. package/template/.pi/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1175. package/template/.pi/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1176. package/template/.pi/skills/yss-page-module-development/references/component-map.md +0 -34
  1177. package/template/.pi/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1178. package/template/.pi/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1179. package/template/.pi/skills/yss-page-module-development/references/utils-map.md +0 -14
  1180. package/template/.qoder/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  1181. package/template/.qoder/skills/ask-matt/SKILL.md +0 -95
  1182. package/template/.qoder/skills/ask-matt/agents/openai.yaml +0 -5
  1183. package/template/.qoder/skills/dispatching-parallel-agents/SKILL.md +0 -185
  1184. package/template/.qoder/skills/loop-me/SKILL.md +0 -32
  1185. package/template/.qoder/skills/loop-me/agents/openai.yaml +0 -5
  1186. package/template/.qoder/skills/migrate-to-shoehorn/SKILL.md +0 -118
  1187. package/template/.qoder/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1188. package/template/.qoder/skills/prototype-page-acceptance/SKILL.md +0 -62
  1189. package/template/.qoder/skills/scaffold-exercises/SKILL.md +0 -106
  1190. package/template/.qoder/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1191. package/template/.qoder/skills/setup-pre-commit/SKILL.md +0 -91
  1192. package/template/.qoder/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1193. package/template/.qoder/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1194. package/template/.qoder/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1195. package/template/.qoder/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1196. package/template/.qoder/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1197. package/template/.qoder/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1198. package/template/.qoder/skills/teach/MISSION-FORMAT.md +0 -31
  1199. package/template/.qoder/skills/teach/RESOURCES-FORMAT.md +0 -32
  1200. package/template/.qoder/skills/teach/SKILL.md +0 -140
  1201. package/template/.qoder/skills/teach/agents/openai.yaml +0 -5
  1202. package/template/.qoder/skills/writing-beats/SKILL.md +0 -67
  1203. package/template/.qoder/skills/writing-beats/agents/openai.yaml +0 -5
  1204. package/template/.qoder/skills/writing-fragments/SKILL.md +0 -79
  1205. package/template/.qoder/skills/writing-fragments/agents/openai.yaml +0 -5
  1206. package/template/.qoder/skills/writing-shape/SKILL.md +0 -79
  1207. package/template/.qoder/skills/writing-shape/agents/openai.yaml +0 -5
  1208. package/template/.qoder/skills/yss-microapp-commit/SKILL.md +0 -201
  1209. package/template/.qoder/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1210. package/template/.qoder/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1211. package/template/.qoder/skills/yss-page-module-development/SKILL.md +0 -165
  1212. package/template/.qoder/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1213. package/template/.qoder/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1214. package/template/.qoder/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1215. package/template/.qoder/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1216. package/template/.qoder/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1217. package/template/.qoder/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1218. package/template/.qoder/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1219. package/template/.qoder/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1220. package/template/.qoder/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1221. package/template/.qoder/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1222. package/template/.qoder/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1223. package/template/.qoder/skills/yss-page-module-development/references/component-map.md +0 -34
  1224. package/template/.qoder/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1225. package/template/.qoder/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1226. package/template/.qoder/skills/yss-page-module-development/references/utils-map.md +0 -14
  1227. package/template/.trae/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  1228. package/template/.trae/skills/ask-matt/SKILL.md +0 -95
  1229. package/template/.trae/skills/ask-matt/agents/openai.yaml +0 -5
  1230. package/template/.trae/skills/dispatching-parallel-agents/SKILL.md +0 -185
  1231. package/template/.trae/skills/loop-me/SKILL.md +0 -32
  1232. package/template/.trae/skills/loop-me/agents/openai.yaml +0 -5
  1233. package/template/.trae/skills/migrate-to-shoehorn/SKILL.md +0 -118
  1234. package/template/.trae/skills/migrate-to-shoehorn/agents/openai.yaml +0 -3
  1235. package/template/.trae/skills/prototype-page-acceptance/SKILL.md +0 -62
  1236. package/template/.trae/skills/scaffold-exercises/SKILL.md +0 -106
  1237. package/template/.trae/skills/scaffold-exercises/agents/openai.yaml +0 -3
  1238. package/template/.trae/skills/setup-pre-commit/SKILL.md +0 -91
  1239. package/template/.trae/skills/setup-pre-commit/agents/openai.yaml +0 -3
  1240. package/template/.trae/skills/setup-ts-deep-modules/SKILL.md +0 -102
  1241. package/template/.trae/skills/setup-ts-deep-modules/agents/openai.yaml +0 -5
  1242. package/template/.trae/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +0 -95
  1243. package/template/.trae/skills/teach/GLOSSARY-FORMAT.md +0 -35
  1244. package/template/.trae/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  1245. package/template/.trae/skills/teach/MISSION-FORMAT.md +0 -31
  1246. package/template/.trae/skills/teach/RESOURCES-FORMAT.md +0 -32
  1247. package/template/.trae/skills/teach/SKILL.md +0 -140
  1248. package/template/.trae/skills/teach/agents/openai.yaml +0 -5
  1249. package/template/.trae/skills/writing-beats/SKILL.md +0 -67
  1250. package/template/.trae/skills/writing-beats/agents/openai.yaml +0 -5
  1251. package/template/.trae/skills/writing-fragments/SKILL.md +0 -79
  1252. package/template/.trae/skills/writing-fragments/agents/openai.yaml +0 -5
  1253. package/template/.trae/skills/writing-shape/SKILL.md +0 -79
  1254. package/template/.trae/skills/writing-shape/agents/openai.yaml +0 -5
  1255. package/template/.trae/skills/yss-microapp-commit/SKILL.md +0 -201
  1256. package/template/.trae/skills/yss-microapp-commit/agents/openai.yaml +0 -5
  1257. package/template/.trae/skills/yss-microapp-commit/references/scope-mapping.md +0 -204
  1258. package/template/.trae/skills/yss-page-module-development/SKILL.md +0 -165
  1259. package/template/.trae/skills/yss-page-module-development/agents/openai.yaml +0 -5
  1260. package/template/.trae/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +0 -32
  1261. package/template/.trae/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +0 -158
  1262. package/template/.trae/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +0 -188
  1263. package/template/.trae/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +0 -256
  1264. package/template/.trae/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +0 -76
  1265. package/template/.trae/skills/yss-page-module-development/examples/StandardListPage/constant.ts +0 -128
  1266. package/template/.trae/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +0 -144
  1267. package/template/.trae/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +0 -141
  1268. package/template/.trae/skills/yss-page-module-development/examples/StandardListPage/index.vue +0 -175
  1269. package/template/.trae/skills/yss-page-module-development/examples/StandardListPage/style.less +0 -83
  1270. package/template/.trae/skills/yss-page-module-development/references/component-map.md +0 -34
  1271. package/template/.trae/skills/yss-page-module-development/references/frontend-docs.md +0 -11
  1272. package/template/.trae/skills/yss-page-module-development/references/hooks-map.md +0 -11
  1273. package/template/.trae/skills/yss-page-module-development/references/utils-map.md +0 -14
@@ -1,4 +1,19 @@
1
1
  schema_version: 1
2
+ backend_architecture_identity_policy:
3
+ source: docs/agents/yss-skill-registry.yaml#architecture_profiles
4
+ schema: docs/process/schemas/backend-architecture-identity.schema.json
5
+ required_surfaces: [engineering-baseline, repository-registration, scaffold-manifest, slice-contract, work-unit, execution-result]
6
+ agreement: exact-identity-and-digest
7
+ missing_or_drift: blocked-and-recompile
8
+ new_profile_readiness: supported-only
9
+ service_project_initialization:
10
+ work_unit: work-unit.service-project-initialization
11
+ skill: yss-mvc-data-analysis-project-initializer
12
+ architecture_profile: mvc-data-analysis-v1
13
+ context_inputs: [context_handoff_ref, context_handoff_digest]
14
+ approval: current-schema-v3-scaffold-contract-and-user-confirmed-architecture
15
+ parent_ownership: service-references-and-handoff-only
16
+ child_ownership: independent-git-project-instance-root-context-and-lifecycle
2
17
  supported_state_schema_versions: [1]
3
18
 
4
19
  implementation_path_policy:
@@ -25,6 +40,7 @@ checkpoint_policy:
25
40
  flush_immediately_on: [blocked, responsibility_changed, asset_approval]
26
41
  preserve_stage_causality: true
27
42
  required_stage_trace_fields: [stage, upstream_refs, artifact_refs, gate_decisions, downstream_impacts]
43
+ project_instance_stage_exit_requires_context_reconciliation: true
28
44
 
29
45
  modes:
30
46
  route: read_only
@@ -38,14 +54,6 @@ entry_routing:
38
54
  valid_modes: [template-source, project-instance]
39
55
  invalid_manifest:
40
56
  action: migration-check
41
- direct_matt_entry:
42
- skill: ask-matt
43
- delegate_to: yss-product-lifecycle
44
- requires_valid_manifest: true
45
- action: navigate-only
46
- lifecycle_state_mutation: forbidden
47
- lifecycle_artifact_write: forbidden
48
- return_to_orchestrator: required
49
57
  formal_user_entry:
50
58
  skills: [setup-matt-pocock-skills, grill-with-docs, to-spec, to-tickets, implement]
51
59
  action: lifecycle-validate-and-accept
@@ -87,7 +95,7 @@ workflow_execution_result:
87
95
  normalize_to: workflow-execution-result-v1
88
96
  removal_target: schema_version_2
89
97
  result_values: [completed, blocked, needs-human, failed]
90
- required: [result_schema, work_unit, workflow_reference, result, evidence_refs, changed_artifacts, new_impacts, stale_candidates, next_route, blocking_signals]
98
+ required: [result_schema, work_unit, workflow_reference, result, context_reconciliation, evidence_refs, changed_artifacts, new_impacts, stale_candidates, next_route, blocking_signals]
91
99
  unavailable_skill:
92
100
  required: [skill, provider, fallback, resolution]
93
101
  blocking_result: blocked
@@ -97,6 +105,12 @@ workflow_execution_result:
97
105
  completed_requires_readable_evidence_refs: true
98
106
  evidence_ref_validation: readable-or-resolvable
99
107
  completed_requires_no_blocking_signals: true
108
+ context_reconciliation:
109
+ schema_ref: docs/process/schemas/context-reconciliation.schema.json
110
+ validator: scripts/verify-context-reconciliation
111
+ project-instance: {required_status: reconciled, readable_ref_required: true, transition_without_reconciliation: blocked}
112
+ template-source: {required_status: not-applicable, reason_required: true}
113
+ creates_gate: false
100
114
  workflow_reference:
101
115
  required: [source, skill, invocation_mode]
102
116
  allowed_sources: [yss-product-lifecycle, mattpocock/skills]
@@ -170,9 +184,9 @@ task_package:
170
184
  # may prepare, validate and accept their results, but cannot invoke them or create
171
185
  # their formal artifacts on their behalf.
172
186
  matt_invocation_boundary:
173
- user_invoked_skills: [ask-matt, grill-me, grill-with-docs, handoff, implement, improve-codebase-architecture, loop-me, setup-matt-pocock-skills, setup-ts-deep-modules, teach, to-questionnaire, to-spec, to-tickets, triage, wait-what, wayfinder, writing-beats, writing-fragments, writing-shape]
187
+ user_invoked_skills: [grill-me, grill-with-docs, handoff, implement, improve-codebase-architecture, setup-matt-pocock-skills, to-questionnaire, to-spec, to-tickets, triage, wait-what, wayfinder]
174
188
  lifecycle_managed_user_entries: [setup-matt-pocock-skills, grill-with-docs, to-spec, to-tickets, implement]
175
- model_invoked_skills: [code-review, codebase-design, diagnosing-bugs, domain-modeling, grilling, migrate-to-shoehorn, prototype, resolving-merge-conflicts, scaffold-exercises, setup-pre-commit, tdd, writing-for-agents, yss-research]
189
+ model_invoked_skills: [code-review, codebase-design, diagnosing-bugs, domain-modeling, grilling, prototype, resolving-merge-conflicts, tdd, writing-for-agents, yss-research]
176
190
  lifecycle_allowed_model_invoked_skills: [code-review, codebase-design, diagnosing-bugs, domain-modeling, grilling, prototype, tdd, yss-research]
177
191
  lifecycle_may_invoke_user_invoked: false
178
192
  formal_artifact_owner: explicit-user-entry
@@ -183,13 +197,13 @@ skill_source_contract:
183
197
  lock_version: 3
184
198
  source_revisions_required: [mattpocock/skills, iloveZzz/yss-ui]
185
199
  adaptation_ref_required_when_effective_diff: true
186
- retired_shared_skills: [batch-grill-me, product-design-prototype, yss-dictionary, yss-jdbc, yss-log, yss-taskflow, yss-backend-scaffold-application, yss-backend-scaffold-domain, yss-backend-scaffold-infrastructure, yss-backend-scaffold-web]
200
+ retired_shared_skills: [ask-matt, batch-grill-me, dispatching-parallel-agents, loop-me, migrate-to-shoehorn, product-design-prototype, prototype-page-acceptance, scaffold-exercises, setup-pre-commit, setup-ts-deep-modules, teach, writing-beats, writing-fragments, writing-shape, yss-dictionary, yss-jdbc, yss-log, yss-microapp-commit, yss-page-module-development, yss-taskflow, yss-backend-scaffold-application, yss-backend-scaffold-domain, yss-backend-scaffold-infrastructure, yss-backend-scaffold-web]
187
201
 
188
202
  # 生命周期默认走原生工作单元;Matt user-invoked skill 仅保留为兼容入口。
189
203
  lifecycle_native_entries:
190
204
  default_entry: yss-product-lifecycle
191
205
  formal_artifact_owner: yss-product-lifecycle
192
- user_confirmation_required_at: [spec-baseline, prototype-confirmation, openapi-freeze, merge-or-release]
206
+ user_confirmation_policy_ref: docs/agents/digital-human-roles.yaml#user_decision_policy
193
207
  compatibility_entries:
194
208
  to-spec: lifecycle-validate-and-accept
195
209
  to-tickets: lifecycle-validate-and-accept
@@ -241,8 +255,8 @@ work_unit_routes:
241
255
  work-unit.prototype-design:
242
256
  native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
243
257
  primary_skill: yss-prototype-stage
244
- supporting_skills: [prototype-review, yss-design-system, product-design:index, yss-antd-design]
245
- skills: [prototype-review, yss-design-system, yss-prototype-stage, product-design:index, yss-antd-design]
258
+ supporting_skills: [prototype-review, yss-design-system, product-design:index, yss-antdv-next-design, yss-antd-design]
259
+ skills: [prototype-review, yss-design-system, yss-prototype-stage, product-design:index, yss-antdv-next-design, yss-antd-design]
246
260
  execution_order: [yss-design-system, low-fidelity-assets, prototype-review, prototype-profile-routing, profile-adapter-build, browser-design-qa-accessibility, user-confirmation]
247
261
  profile_routing_ref: .agents/skills/yss-prototype-stage/references/prototype-profile-routing.md
248
262
  prototype_adapter_ref: .agents/skills/yss-prototype-stage/references/product-design-adapter.md
@@ -254,7 +268,7 @@ work_unit_routes:
254
268
  H1: {kind: visual-review, adapter: static-html, node_runtime_required: false, antd_facts: not-applicable}
255
269
  H2: {kind: flow-review, adapter: runnable-flow, react_antd: supported-not-required, antd_facts: conditional}
256
270
  implementation_handoff: {production_component_assumptions: required-array, verification_targets: frontend-implementation-only}
257
- version_boundary: {h2_design_standard: ant-design-v6-when-applicable, prototype_must_not_call: yss-ui, production_version_source: implementation-lockfile}
271
+ version_boundary: {h2_design_standard: vue-antdv-next-default-react-antd-explicit-compatibility, prototype_must_not_call: yss-ui, production_version_source: implementation-lockfile}
258
272
  human_gate: prototype-confirmation
259
273
  applies_when: product_design_impact
260
274
  not_applicable_reason: no_ui_or_product_design_impact
@@ -287,13 +301,13 @@ work_unit_routes:
287
301
  work-unit.slice-implementation:
288
302
  native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
289
303
  primary_skill: yss-implementation-contract-compiler
290
- supporting_skills: [tdd, yss-ui, yss-ui-business-page-generation, yss-page-module-development]
304
+ supporting_skills: [tdd, yss-ui, yss-ui-business-page-generation]
291
305
  compatibility: {source: mattpocock/skills, skill: implement, invocation_mode: reference, formal_artifact_owner: explicit-user-entry}
292
- skills: [tdd, yss-implementation-contract-compiler, yss-ui, yss-ui-business-page-generation, yss-page-module-development]
306
+ skills: [tdd, yss-implementation-contract-compiler, yss-ui, yss-ui-business-page-generation]
293
307
  frontend_route:
294
308
  primary_skill: yss-ui
295
309
  page_generation_skill: yss-ui-business-page-generation
296
- page_orchestration_skill: yss-page-module-development
310
+ page_orchestration_skill: yss-ui-business-page-generation
297
311
  conditional_skills:
298
312
  api_impact: [yss-api-integration]
299
313
  formily_impact: [yss-formily, formily-foundation, formily-linkage-effects, formily-mode-slot-detail, formily-step-flow]
@@ -323,8 +337,8 @@ work_unit_routes:
323
337
  work-unit.code-review:
324
338
  native: {source: yss-product-lifecycle, skill: code-review, invocation_mode: model-invoked}
325
339
  primary_skill: code-review
326
- supporting_skills: [alibaba-java-code-style, yss-ui, yss-design-system, yss-page-module-development, yss-domain, yss-application, yss-repository, yss-web-controller, yss-dto, mapstruct, lombok]
327
- skills: [code-review, alibaba-java-code-style, yss-ui, yss-design-system, yss-page-module-development, yss-domain, yss-application, yss-repository, yss-web-controller, yss-dto, mapstruct, lombok]
340
+ supporting_skills: [alibaba-java-code-style, yss-ui, yss-design-system, yss-ui-business-page-generation, yss-domain, yss-application, yss-repository, yss-web-controller, yss-dto, mapstruct, lombok]
341
+ skills: [code-review, alibaba-java-code-style, yss-ui, yss-design-system, yss-ui-business-page-generation, yss-domain, yss-application, yss-repository, yss-web-controller, yss-dto, mapstruct, lombok]
328
342
  review_standards_route:
329
343
  unique_default_skill: code-review
330
344
  second_generic_review_skill: forbidden
@@ -337,7 +351,7 @@ work_unit_routes:
337
351
  checkable_rule_without_machine: not-a-pass
338
352
  conditional_skills:
339
353
  backend_impact: [alibaba-java-code-style, yss-domain, yss-application, yss-repository, yss-web-controller, yss-dto, mapstruct, lombok]
340
- ui_impact: [yss-ui, yss-design-system, yss-page-module-development]
354
+ ui_impact: [yss-ui, yss-design-system, yss-ui-business-page-generation]
341
355
  not_applicable_reasons:
342
356
  backend_impact: no_backend_impact
343
357
  ui_impact: no_ui_impact
@@ -506,6 +520,7 @@ review_input:
506
520
 
507
521
  git_authorization:
508
522
  natural_language_intent_is_authorization: false
523
+ explicit_scoped_user_reply_may_be_normalized: true
509
524
  commit:
510
525
  requires_explicit_user_authorization: true
511
526
  required: [commit_authorized, commit_scope, commit_authorization_ref]
@@ -541,21 +556,66 @@ git_authorization:
541
556
 
542
557
  seam_deferred_required: [risk, owner, follow_up_ticket, verification_plan, target_version_or_release_date]
543
558
 
559
+ scaffold_architecture_decision:
560
+ applies_when: [backend_impact, scaffold_status_required]
561
+ owner: yss-product-lifecycle
562
+ stage: work-unit.technical-analysis
563
+ timing: after-impact-and-engineering-baseline-inputs-before-scaffold-contract-compilation
564
+ source: scaffold-architecture-decisions.yaml
565
+ schema_version: 1
566
+ statuses: [undecided, recommended, awaiting-user-decision, user-confirmed, lifecycle-approved, consumed, stale]
567
+ user_choices:
568
+ domain-driven:
569
+ display_name: DDD 开发脚手架
570
+ recommendation_signals: [aggregate-invariant, complex-state-machine, cross-aggregate-consistency, domain-event, complex-concurrency]
571
+ layered-mvc:
572
+ display_name: MVC 开发脚手架
573
+ recommendation_signals: [crud, reporting-query, data-transformation, external-system-orchestration, thin-domain]
574
+ recommendation_policy:
575
+ evidence_required: true
576
+ strong_domain_signal_prefers: domain-driven
577
+ all_strong_domain_signals_absent_and_thin_domain_prefers: layered-mvc
578
+ user_may_override_soft_recommendation: true
579
+ override_reason_required: true
580
+ unsupported_profile_is_hard_blocker: true
581
+ interaction:
582
+ generator_is_non_interactive: true
583
+ main_project_has_no_silent_default: true
584
+ child_projects_prefill_parent_default: true
585
+ batch_confirmation_required: true
586
+ prompt_fields: [project, responsibility, agent_recommendation, recommendation_reasons, inherited_from, current_choice, platform_profile, architecture_profile, verification_database, production_database, resolved_modules, warnings]
587
+ missing_or_deferred_action: blocked
588
+ inheritance:
589
+ modes: [root-default, inherit, override]
590
+ parent_change_stales_inherited_children: true
591
+ explicit_overrides_survive_parent_change: true
592
+ shared_profile_change_stales_all_affected: true
593
+ new_child_requires_confirmation: true
594
+ persistence:
595
+ required: [decision_id, project_id, parent_project_id, recommended_architecture, recommendation_reasons, confirmed_architecture, override_reason, inheritance_mode, inherited_from, platform_profile, architecture_profile, verification_database, production_database, requested_capabilities, resolved_modules, resolution_version, user_confirmation, decision_inputs_digest, status]
596
+ downstream_reference: [decision_ref, decision_id, decision_digest]
597
+ no_new_gate: true
598
+ change_policy:
599
+ before_lifecycle_approval: update-decision
600
+ after_lifecycle_approval_before_generation: stale-contract-and-recompile
601
+ after_generation: separate-architecture-migration-work-unit
602
+
544
603
  backend_scaffold:
545
604
  applies_when: [backend_impact]
546
605
  scaffold_statuses: [existing, required, initialized]
547
606
  required_status: required
548
607
  sequence:
549
608
  after: [prototype_review, prototype_verification, antd_cli_verification, browser_verification, prototype_confirmation, engineering_baseline]
550
- before_generator: [yss-implementation-contract-compiler-scaffold-contract, lifecycle-approve-scaffold-contract]
609
+ before_generator: [scaffold-architecture-decision-user-confirmed, scaffold-architecture-decision-lifecycle-approved, yss-implementation-contract-compiler-scaffold-contract, lifecycle-approve-scaffold-contract]
551
610
  before: [business_code_generation, implement]
552
- generator_skill: yss-ddd-scaffold-generator
553
- baseline_skill: yss-backend-scaffold-parent
611
+ generator_routes:
612
+ domain-driven: { recipe: backend.ddd-scaffold, generator_skill: yss-ddd-scaffold-generator, baseline_skills: [yss-backend-scaffold-parent] }
613
+ layered-mvc: { recipe: backend.mvc-scaffold, generator_skill: yss-layered-mvc-scaffold-generator, baseline_skills: [] }
554
614
  tdd_mode: controlled-generation
555
615
  contract_schema:
556
- schema_version: 2
616
+ schema_version: 3
557
617
  identity: service-engineering-baseline
558
- required: [contract_id, contract_version, scaffold_request_id, status, compiler_draft_ref, lifecycle_approval_ref, persisted_ref, current_version, implementation_repository, backend_repository, scaffold_status, project_name, target_output_dir, base_package, maven_coordinates, profiles, allowed_write_paths, expected_evidence_files, verification_commands, approval, work_unit, generation_policy]
618
+ required: [contract_id, contract_version, scaffold_request_id, status, compiler_draft_ref, lifecycle_approval_ref, persisted_ref, current_version, implementation_repository, backend_repository, scaffold_status, project_name, target_output_dir, base_package, architecture_family, generator_skill, decision_ref, decision_id, decision_digest, maven_coordinates, profiles, module_profile, allowed_write_paths, expected_evidence_files, verification_commands, approval, work_unit, generation_policy]
559
619
  status_by_owner:
560
620
  router: [draft, ready-for-lifecycle-review, blocked]
561
621
  lifecycle: [approved, stale, blocked]
@@ -572,22 +632,20 @@ backend_scaffold:
572
632
  parent_required: [group_id, artifact_id, version]
573
633
  yss_components_version: 2.0.0-SNAPSHOT
574
634
  profiles:
575
- required: [architecture, persistence, database, platform, validation_namespace, dto_placement, repository]
576
- supported_initial:
577
- architecture: target-domain-model
578
- persistence: mybatis-plus
579
- database: mysql
580
- platform: spring-boot-2.7-jdk8
581
- validation_namespace: javax
582
- dto_placement: web
583
- repository: yss-internal
584
- unsupported: [old-architecture-profile, client-in-domain, mybatis, spring-boot-3, jakarta, separate-client-module]
635
+ discriminant: architecture_family
636
+ domain-driven: { generator_skill: yss-ddd-scaffold-generator, architecture: target-domain-model, persistence: mybatis-plus, verification_database: h2, production_database: not-bound, platform: spring-boot-2.7-jdk8, validation_namespace: javax, dto_placement: web, repository: yss-internal }
637
+ layered-mvc: { generator_skill: yss-layered-mvc-scaffold-generator, architecture: layered-mvc, persistence: mybatis-plus, verification_database: h2, production_database: not-bound, platform: spring-boot-2.7-jdk8, validation_namespace: javax, repository: yss-internal }
638
+ unsupported: [old-architecture-profile, mybatis, spring-boot-3, jakarta, arbitrary-module-combination]
639
+ module_profile:
640
+ required: [requested_capabilities, resolved_modules, resolution_version]
641
+ resolution_version: 1
585
642
  unsupported_inputs:
586
643
  schema_v1: reject-no-auto-upgrade
644
+ schema_v2_new_generation: reject-no-auto-upgrade
587
645
  slice_id: forbidden-as-scaffold-identity
588
646
  existing_project: reject-no-scaffold-migration
589
- required_inputs: [implementation_repository, backend_repository, scaffold_status, scaffold_target_confirmed, scaffold_request_id, target_output_dir, project_name, base_package, maven_group_id, project_version, parent_group_id, parent_artifact_id, parent_version, yss_components_version, architecture_profile, persistence_profile, database, platform_profile, validation_namespace, dto_placement, repository_profile, scaffold_contract_file, scaffold_contract_draft, scaffold_contract_id, scaffold_contract_version, scaffold_contract_status, scaffold_contract_approved, scaffold_contract_compiler_draft_ref, scaffold_contract_lifecycle_approval_ref, scaffold_contract_persisted, scaffold_contract_persisted_ref, scaffold_contract_current_version]
590
- required_evidence: [generator_inputs, expected_files, scaffold_generation_manifest_v2, generated_project_structure, generation_execution_result, verification_execution_result, architecture_rules, ./mvnw_validate, ./mvnw_test, ./mvnw_package, yss_skill_execution_result]
647
+ required_inputs: [implementation_repository, backend_repository, scaffold_status, scaffold_target_confirmed, scaffold_request_id, target_output_dir, project_name, base_package, architecture_family, generator_skill, decision_ref, decision_id, decision_digest, maven_group_id, project_version, parent_group_id, parent_artifact_id, parent_version, yss_components_version, architecture_profile, persistence_profile, verification_database, production_database, platform_profile, validation_namespace, dto_placement, repository_profile, requested_capabilities, resolved_modules, resolution_version, scaffold_contract_file, scaffold_contract_draft, scaffold_contract_id, scaffold_contract_version, scaffold_contract_status, scaffold_contract_approved, scaffold_contract_compiler_draft_ref, scaffold_contract_lifecycle_approval_ref, scaffold_contract_persisted, scaffold_contract_persisted_ref, scaffold_contract_current_version]
648
+ required_evidence: [scaffold_architecture_decision, user_confirmation_ref, decision_digest, generator_inputs, expected_files, scaffold_generation_manifest_v3, generated_project_structure, generation_execution_result, verification_execution_result, architecture_rules, ./mvnw_validate, ./mvnw_test, ./mvnw_package, yss_skill_execution_result]
591
649
  generation_options:
592
650
  with_example: false
593
651
  force: forbidden-by-default
@@ -595,7 +653,9 @@ backend_scaffold:
595
653
  template_upgrade: unsupported
596
654
  old_project_migration: unsupported-separate-architecture-modernization-initiative
597
655
  forbidden_generation: [business_rules, state_machine, permission, transaction, complex_query, error_mapping, user_visible_behavior, business_example_crud, unapproved_force_overwrite]
598
- after_generation: [yss-backend-scaffold-parent, yss-implementation-contract-compiler]
656
+ after_generation:
657
+ domain-driven: [yss-backend-scaffold-parent, yss-implementation-contract-compiler]
658
+ layered-mvc: [yss-implementation-contract-compiler]
599
659
  existing_or_initialized: [baseline_evidence, wrapper_verification, implementation_contract_recompile]
600
660
  verification:
601
661
  commands: ["./mvnw validate", "./mvnw test", "./mvnw package"]
@@ -739,19 +799,19 @@ ready_for_agent:
739
799
  frontend_implementation_plan:
740
800
  applies_when: [ui_impact]
741
801
  required_before: [ready_for_agent]
742
- required: [prototype_ref, spec_ref, route_and_page_inventory, visual_acceptance_cases, desktop_viewport, narrow_viewport, state_cases, pnpm_commands]
802
+ required: [prototype_ref, spec_ref, visual_baseline, route_and_page_inventory, baseline_case_ids, desktop_viewport, narrow_viewport, state_cases, pnpm_commands]
743
803
  schema: docs/process/schemas/frontend-implementation-evidence.schema.json
744
804
  validator: scripts/verify-frontend-implementation-evidence
745
- acceptance: [kind_plan, template_false, status_approved, no_template_placeholders, readable_baseline_refs, non_empty_acceptance_cases]
805
+ acceptance: [kind_plan, template_false, status_approved, no_template_placeholders, readable_baseline_refs, approved_visual_baseline_digest_current, selected_case_ids_exist]
746
806
 
747
807
  frontend_implementation_verification:
748
808
  applies_when: [ui_impact]
749
809
  required_before: [release]
750
- required: [prototype_ref, spec_ref, route_and_page_inventory, desktop_visual_evidence, narrow_view_visual_evidence, loading_empty_error_permission_interaction_results, console_warning_check, pnpm_commands, uncovered_differences, difference_owner]
810
+ required: [prototype_ref, spec_ref, visual_baseline, route_and_page_inventory, case_results, interaction_results, console_warning_check, pnpm_commands, actual_verification, uncovered_differences, difference_owner]
751
811
  verification: [actual_command, exit_code, executed_at, evidence_ref]
752
812
  schema: docs/process/schemas/frontend-implementation-evidence.schema.json
753
813
  validator: scripts/verify-frontend-implementation-evidence
754
- acceptance: [kind_verification, template_false, status_approved, no_template_placeholders, console_warning_pass, independent_review_approved]
814
+ acceptance: [kind_verification, template_false, status_approved, no_template_placeholders, visual_baseline_identity_and_digest_match, case_results_pair_every_selected_case, no_unexplained_difference, console_warning_pass, pnpm_exit_codes_zero, independent_review_approved]
755
815
  blocked_when: [unexplained_visual_difference, missing_visual_evidence, typecheck_only, claimed_alignment_without_evidence]
756
816
  on_new_impact: [new_impacts, drift, reroute]
757
817
 
@@ -850,8 +910,8 @@ external_input_pause:
850
910
  reason_code: external-input-required
851
911
  reason: required decision-maker input is not available to the Agent
852
912
  required: [questionnaire_ref, recipient_role, requested_outputs, resume_route]
853
- response_required: [response_ref, reclassified_impact, updated_authoritative_asset]
854
- resume_requires: [response_ref, reclassified_impact, updated_authoritative_asset]
913
+ response_required: [response_ref, user_decisions, reclassified_impact, updated_authoritative_asset]
914
+ resume_requires: [response_ref, user_decisions, reclassified_impact, updated_authoritative_asset]
855
915
 
856
916
  prototype_modes:
857
917
  matt_logic:
@@ -871,3 +931,16 @@ behavioral_invariants:
871
931
  wait_what_preserves_state: true
872
932
  human_checkpoint_required_for_manual_steps: true
873
933
  diagnostics_redact_secrets: true
934
+
935
+ user_decision_evidence:
936
+ policy_ref: docs/agents/digital-human-roles.yaml#user_decision_policy
937
+ schema_ref: docs/process/schemas/user-decision.schema.json
938
+ protocol_ref: references/user-decisions.md
939
+ verifier: scripts/verify-user-decision
940
+ workflow_result_fields: [user_decisions, user_decision_not_applicable]
941
+ implementation_fields: [user_decisions, slice_contract_ref, vertical_slice_ticket_ref]
942
+ checkpoint_carrier: human_review
943
+ professional_review_replaced: false
944
+ response_absent: paused-human-gate
945
+ invalid_response: blocked
946
+ basis_changed: stale
@@ -27,9 +27,11 @@ Matt phase boundary 是工作阶段之间的上下文决策,不是新的生命
27
27
 
28
28
  ## 原型到后端脚手架的接力
29
29
 
30
- `prototype_confirmation` 通过后,先判断实现仓库登记中的 backend `scaffold_status`。当状态为 `required` 时,先完成工程基线,由 `yss-implementation-contract-compiler` 编译脚手架 `controlled-generation` 工作单元合同,生命周期编排器批准并持久化后才能运行生成器;顺序为:工程基线 → 实现合同编译器 脚手架合同 draft → 生命周期批准/持久化 → 脚手架生成 → `yss-backend-scaffold-parent` 基线校验 → 实现合同编译器 合同重编译。`existing` / `initialized` 不重复全量生成,但不能跳过基线校验和 实现合同编译器 重编译。
30
+ `prototype_confirmation` 通过后,先判断实现仓库登记中的 backend `scaffold_status`。当状态为 `required` 时,在工程基线中先完成脚手架架构选择:Agent 按领域复杂度给出 `domain-driven` / `layered-mvc` 推荐和依据,本体选择作为子项目预填默认值,用户通过批量表确认全部项目或逐项覆盖。选择写入 `scaffold-architecture-decisions.yaml`;处于 `undecided`、`recommended`、`awaiting-user-decision` 或 `stale` 时必须阻断,不得默认 DDD,也不得在生成器内交互。
31
31
 
32
- 脚手架工作单元必须使用结构化合同 JSON 文件,至少记录 `contract_id`、`contract_version`、`slice_id`、实现合同编译器 draft 引用、生命周期批准引用、持久化引用、当前版本、允许写路径、预期证据文件和验证命令;批准记录至少含 `approval_ref`、`approver`、`persisted_ref`、`current_version`。生成器必须读取该合同文件并校验状态、版本、skill、工作模式和固定命令,不能只接受任意字符串参数。它还必须记录生成器输入、预期文件、目标目录、实际 `./mvnw validate` / `./mvnw test` / `./mvnw package` 结果和 YSS Skill Execution Result。三条命令必须由受控工作单元真实执行,逐条留存 `exit_code`、`duration_ms`、stdout/stderr 引用和执行时间;生成器打印的下一步命令不构成证据。生命周期生成关闭 `--with-example`;非空目标目录使用 `--force` 默认阻断,除非覆盖范围、备份、回滚点和批准引用已进入合同。脚手架不得把业务规则、状态机、权限、事务、复杂查询、错误映射或用户可见行为放进生成物;`validate` 通过、输出目录存在或生成器成功都不是生命周期批准、架构放行或 `ready-for-agent`。
32
+ 选择达到 `lifecycle-approved` 且 digest 当前后,由 `yss-implementation-contract-compiler` 编译脚手架 schema v3 `controlled-generation` 工作单元合同,生命周期批准并持久化后才能运行对应生成器。顺序为:工程基线与架构推荐 → 用户确认与选择持久化 → 实现合同编译器脚手架合同 draft → 生命周期批准/持久化 → `domain-driven` 使用 `yss-ddd-scaffold-generator` 或 `layered-mvc` 使用 `yss-layered-mvc-scaffold-generator` → 对应基线/Manifest v3 校验 → 实现合同编译器业务合同重编译。`existing` / `initialized` 不重复生成;架构转换必须单独立项。
33
+
34
+ 脚手架工作单元必须使用结构化 schema v3 合同 JSON,至少记录 `contract_id`、`contract_version`、`scaffold_request_id`、`architecture_family`、`generator_skill`、`decision_ref/id/digest`、Profile、能力模块闭包、实现合同编译器 draft 引用、生命周期批准引用、持久化引用、当前版本、允许写路径、预期证据文件和验证命令;不得使用 `slice_id` 伪造工程基线身份。生成器必须读取合同和决策文件并校验状态、digest、版本、skill、工作模式与固定命令。三条 Wrapper 命令必须由受控工作单元真实执行,逐条留存 `exit_code`、`duration_ms`、stdout/stderr 引用和执行时间;生成器打印的下一步命令不构成证据。非空目标、`--force`、旧项目迁移和模板升级均阻断。脚手架不得生成业务规则、状态机、权限、事务、复杂查询、错误映射、用户可见行为或示例业务 API;`validate` 通过、输出目录存在或生成器成功都不是生命周期批准、架构放行或 `ready-for-agent`。
33
35
 
34
36
  脚手架完成后,所有后续生成的后端代码仍必须重新消费当前版本的批准 Slice Implementation Contract、YSS skill 依赖闭包、允许写路径、预期证据和 Execution Result。业务行为使用 `behavior-tdd`;只有机械结构、样板、配置和冻结客户端使用 `controlled-generation`。缺少合同、skill、证据或实际验证时立即阻断;生成范围从机械内容变成业务行为时触发完整重路由。
35
37
 
@@ -76,9 +78,13 @@ tracker 选择和冲突按 `docs/agents/issue-tracker.md` 裁决:已持久化
76
78
 
77
79
  `repository_scope: git-submodule` 时授权按仓分别计算:禁止在 detached HEAD 提交;commit / push 顺序必须先子仓、再父仓 gitlink(`superproject-gitlink-update`);父仓 push 使用 `git push --recurse-submodules=check`。空 gitlink、detached HEAD、`--force` 覆盖挂载点不得当成普通目录脚手架,也不得把实现源码复制进 Harness。登记字段必须能与 `harness-apps` / `external-repository` 区分,并对照工作树 gitlink。
78
80
 
81
+ ## 用户决定与恢复
82
+
83
+ 关键决定使用 [真实用户回复协议](user-decisions.md),消费角色注册表的 `user_decision_policy`。会签前先形成可审阅资产;恢复、阶段流转、实施派发和发布时校验原始回复及当前资产摘要。普通会签的数字人审查与用户决定分别保留,关键决定不得以数字人会签、无反对意见或超时放行。等待只阻断依赖事项;新的 `user_decisions` 引用通过 Workflow Execution Result、checkpoint 和任务包传递。
84
+
79
85
  ## 必须暂停
80
86
 
81
- - Spec baseline、需求冻结、原型确认、OpenAPI Freeze 或 Architecture Review 等普通门禁等待会签裁决(数字人或生物人,以 `docs/agents/digital-human-roles.yaml` 的 `gate_policy` 为准)。暂停输出必须包含:门禁 ID、指定 `role_id`、`runtime_id`、会签文件路径。恢复前执行 `scripts/verify-approval-record`;角色错误、起草者自签或生物人门禁被数字人关闭时返回 `blocked`,不得标 `approved`。
87
+ - Spec baseline、需求冻结、原型确认、OpenAPI Freeze 或 Architecture Review 等普通门禁等待会签裁决(数字人或生物人,以 `docs/agents/digital-human-roles.yaml` 的 `gate_policy` 为准)。暂停输出必须包含:门禁 ID、指定 `role_id`、`runtime_id`、会签文件路径。恢复前执行 `scripts/verify-approval-record --require-approved`;角色错误、起草者自签或生物人门禁被数字人关闭时返回 `blocked`,不得标 `approved`。
82
88
  - 需要目标仓库、外部凭据、发布窗口或其他新授权。
83
89
  - 状态与证据冲突且无法可靠重建。
84
90
  - 专项 skill 失败或返回不可验收结果。
@@ -11,7 +11,7 @@
11
11
  | `tracker.kind` | `local-markdown`、`github`、`gitlab` |
12
12
  | `ticket.role` | `needs-triage`、`needs-info`、`ready-for-agent`、`ready-for-human`、`wontfix` |
13
13
 
14
- Matt 五态不得扩义。资产的 `ready-for-human` 与 Ticket label 必须带命名空间表达。`paused-human-gate` 表示等待 `docs/agents/digital-human-roles.yaml` 指定的会签人(数字人或生物人),不是「必须是生物人」。
14
+ Matt 五态不得扩义。资产的 `ready-for-human` 与 Ticket label 必须带命名空间表达。`paused-human-gate` 表示等待 `docs/agents/digital-human-roles.yaml` 指定的会签人(数字人或生物人),不是「必须是生物人」。但 `user_decision_policy` 命中的关键决定还必须有真实用户回复,数字人会签不能解除该等待。
15
15
 
16
16
  ## 上下文与外部输入证据
17
17
 
@@ -38,6 +38,7 @@ phase_boundary:
38
38
 
39
39
  ```text
40
40
  required gates ∈ {approved, not-applicable}
41
+ AND 关键决定及当前切片实施范围已有可追溯、当前且未撤回的真实用户批准
41
42
  AND related artifacts 不含 stale(若命中领域影响,`artifact.tactical-design` 或嵌入式 Tactical DDD Check 引用必须为当前版本)
42
43
  AND blocking edges 全部关闭
43
44
  AND implementation repo/branch/CI/test/rollback 已明确
@@ -49,7 +50,7 @@ AND Slice Implementation Contract 已由生命周期编排器批准并持久化
49
50
  AND Slice Implementation Contract 的 `ticket_ref` 与 `vertical_slice_ticket_ref` 完全一致
50
51
  AND 当前工作单元消费的 contract_id/version 与最新批准版本一致
51
52
  AND Backend Slice Implementation Contract(后端适用)和 Build Architecture Checklist 已完成
52
- AND backend 影响且 scaffold_status=required 时,原型确认后的脚手架策略、`yss-backend-scaffold-parent` 基线、Wrapper 验证和 实现合同编译器 重编译均已完成
53
+ AND backend 影响且 scaffold_status=required 时,脚手架架构选择已由用户确认并达到 lifecycle-approved、schema v3 合同与 Manifest v3 当前、对应 DDD / Layered MVC 基线、Wrapper 验证和 实现合同编译器重编译均已完成
53
54
  AND 所有后续生成代码均绑定主 YSS skill、依赖闭包、允许写路径、预期证据和 YSS Skill Execution Result
54
55
  AND UI 影响切片的前端实现还原计划已通过 schema 校验、`template=false`、`status=approved`,且基线引用可读取
55
56
  ```
@@ -58,6 +59,8 @@ AND UI 影响切片的前端实现还原计划已通过 schema 校验、`templat
58
59
 
59
60
  发布前还必须满足所有已触发门禁均为 `approved` 或 `not-applicable`;UI 影响切片必须额外通过 `gate.frontend-implementation-verified`,不能只凭 fresh verification 和回滚点放行。
60
61
 
62
+ 任何 `project-instance` 工作单元进入下一步、任何阶段会签暂停或阶段完成 checkpoint,还必须引用当前工作单元的 `context_reconciliation`。其中 `status=reconciled`、`context_ref=CONTEXT.md`、`document_digest` 与 `referenced_terms_digest` 必须和根目录唯一 `CONTEXT.md` 一致;该证据不改变门禁数量。`template-source` 仅允许以带原因的 `not-applicable` 表示它只校验模板合同,不产生产品业务术语。
63
+
61
64
  用户显式运行 `to-tickets` 后,垂直切片初始 Ticket 状态固定为 `ready-for-human`。原生路径执行 `work-unit.ticket-decomposition` 时同样必须产生等价的垂直切片和 `Workflow Execution Result` 证据。只有 `yss-product-lifecycle` 复算上述公式全部为真后,才能把它提升为 `ready-for-agent`;生命周期不会自动调用 `to-tickets`,但不得跳过 Ticket 正式化工作单元。其默认标签也不参与该裁决。
62
65
 
63
66
  ## Review 与 Git 授权状态
@@ -110,3 +113,5 @@ pause:
110
113
  读取状态块后必须重新读取引用资产、审查记录、Ticket 最新事件和相关 Git 变化。时间戳只能提示变化,不能单独证明语义失效;应比较内容和影响面。冲突时以权威资产为准,记录修复原因,然后重算依赖、门禁和可执行 frontier。
111
114
 
112
115
  所有暂停/阻塞必须填写结构化 `pause`:`reason_code`、`gate_ref` 或证据引用、`owner_or_authority`、`resume_condition`、`next_work_unit`。`lifecycle.status` 保持粗粒度,恢复条件以 `pause` 为准。
116
+
117
+ 用户决定不新增状态;等待和恢复的引用字段、失效与复用规则见 [user-decisions.md](user-decisions.md)。
@@ -0,0 +1,56 @@
1
+ # 关键决策的真实用户回复协议
2
+
3
+ 适用门禁、工作单元和条件事项只由 `docs/agents/digital-human-roles.yaml.user_decision_policy` 定义。本协议解释执行和证据格式,不新增阶段、门禁或 Ticket 状态。专业审查记录与用户决定分别保存;关键决定缺少任一适用条件都不能放行。
4
+
5
+ ## 六条执行规则
6
+
7
+ 1. **先展示,再决定**:先完成可独立执行的检查和可审阅材料,展示资产链接、版本、关键变化、风险、推荐方案、批准范围和批准后的动作。优先使用 `renderDecisionRequest(request)` 生成完整展示文本;也接受原始消息已完整覆盖各项资产、版本、变化、风险、范围、推荐方案和后续动作的等价展示,不能因格式不同重复询问。不得请用户批准尚未形成的资产。
8
+ 2. **绑定原始回复**:保存回复人、原始消息引用、回复时间、原文、决定、对应事项、范围及请求摘要。Agent 只能整理,不得生成、推测或补造用户同意。来源记录是可追溯证据,不是密码学身份认证。
9
+ 3. **无回复就等待**:超时、默认选项、数字人同意、无反对意见和 Agent 自述均无效。依赖该决定的工作保持 `paused-human-gate` / `ready-for-human`;来源错误等使用 `blocked`。独立工作可以继续,不得借其完成清除未决决定。
10
+ 4. **回复必须指向明确**:单项明确请求的“同意”有效。多项需要逐项指定、清楚的子集或“同意以上全部事项”;“继续”不算全部批准。拒绝、修改意见和撤回均保留为有效回复,但不放行。编排器结合原文判定语义;机器核验结构、明确性底线、来源和绑定,不能用自填 `approved` 覆盖相反原文。
11
+ 5. **复用已有有效确认**:同一版本、范围和依据不重复询问,不按时间自动过期。相关资产或依据摘要变化、范围扩大或撤回时,旧批准失效;展示差异后重新确认。无关文件变化不触发重新确认。回复按来源时间追加,禁止删除拒绝、修改或撤回记录来恢复旧批准。
12
+ 6. **提问者和负责人分开**:默认回复人为提问者。其他业务、技术或发布负责人必须由提问者在原始消息中明确指定,包含对应事项和负责人;数字人不得自行代任。用户表达使用自然语言,内部 ID 和引用由 Agent 整理。
13
+
14
+ ## 记录与来源
15
+
16
+ 使用 `docs/process/schemas/user-decision.schema.json` 和 `docs/process/templates/user-decision-template.yaml`。存于 `docs/.scratch/<feature>/decisions/<request-id>.yaml`;已展示的请求快照不改写,修改方案产生新请求并保留旧引用。请求中的 `subject` 指向可独立摘要的资产正文或冻结快照,批准记录另存,避免正文包含自己的批准摘要形成循环。`basis` 列出影响决定的额外冻结依据。
17
+
18
+ 原始消息可由运行时直接读取,或保存为原始会话导出 / 用户提供的确认文件。跨平台统一捕获封装如下;字段必须来自原始来源,保留原始引用和完整原文,不能把 Agent 编写的摘要包装成来源:
19
+
20
+ ```yaml
21
+ source_kind: session-export # platform-message | session-export | user-confirmation-file
22
+ messages:
23
+ - id: <原始消息 ID>
24
+ original_ref: <平台消息链接或用户文件原始位置>
25
+ principal_ref: <原始作者标识>
26
+ actor_kind: biological-human # 展示请求的 Agent 消息使用 digital-human
27
+ sent_at: <原始时间,ISO 8601>
28
+ text: <完整原文>
29
+ reply_to: <回复关联的原始请求展示消息引用> # 回复必需;用户确认文件也可携带 request_digest
30
+ ```
31
+
32
+ 决定记录中的 `source` 绑定 `kind/ref/digest/message_id`。`ref` 必须可读;平台引用可经运行时的只读解析器提供,CLI 默认读取本地原始捕获封装。不能读取消息时使用原始导出或用户确认文件,不能仅填 URL 假定读取成功。文件摘要只能证明捕获内容一致,不证明作者身份;可信作者与消息内容由运行时或用户提供来源建立。
33
+
34
+ 回复人、时间、原文必须与来源一致。来源还须通过原始 `reply_to` 或用户确认文件中的 `request_digest` 指向当前展示,不能把其他对话中的“同意”嫁接到本次批准。平台没有显式 reply-to 时,可以使用同一原始会话导出中紧邻回复之前、原文和原始引用均匹配的请求消息建立关联;无法建立来源关联就保持等待,不由 Agent 虚构。多项映射使用 `single`、`explicit-items`、`explicit-all`;负责人不同的事项分别回复。`decision` 为 `approved/rejected/changes-requested/unclear/revoked`,只对回复列出的事项和范围生效。需要自然语言补充澄清时保持等待,不要求用户手填内部 schema。
35
+
36
+ `requestDigest` 对请求除 `presented_source` 外的字段按键排序摘要,避免展示来源循环;展示文本包含该摘要。历史有效回复可导入原始展示消息的完整记录;只要原始展示覆盖当前决定且来源、范围与摘要可核验,即可复用,不要求补发模板消息。不能伪造已展示的新格式。无法证明历史请求与当前资产等价时,重新展示并确认。
37
+
38
+ ## 消费边界
39
+
40
+ `scripts/verify-user-decision --requirements <当前事项.json> <决定记录.yaml>` 校验当前消费者要求的 `boundary/subject_ref/scope`;未给 `--requirements` 时校验请求中全部事项。无回复的草案可以保存,但不能通过批准验证。局部批准只允许已明确批准的事项推进。
41
+
42
+ 会签记录新增 `subject_ref`、`approval_scope` 和 `user_decision_ref`;checkpoint 门禁同时声明 `subject_ref/approval_scope` 并与会签记录一致。`verify-approval-record` 默认严格验证当前放行条件,`--require-approved` 是显式等价选项;只有 `--history` 仅检查历史记录结构,不构成批准。恢复和门禁关闭必须使用严格校验。旧数字人记录仍可读取和用于专业审查,不自动升级成用户决定。
43
+
44
+ Workflow Execution Result 使用 `user_decisions` 保存当前要求与证据引用。`user_decision_not_applicable` 仅对未命中的既有技术条件门禁记录 `boundary/reason`,不得跳过已经执行的业务决策。完成结果通过 `validateNextRoute(..., result)` 检查;两参数调用仅检查路由结构,不能证明可以实际流转。
45
+
46
+ checkpoint 的 `human_review` 保存 `user_decisions`、`required_decisions`、`not_applicable` 和需要时的 `external_input`。`stage_trace.completed_work_unit` 标识已完成单元;进入实施时 `human_review.implementation` 保存当前切片及持久化合同引用。等待态可以保存;恢复、流转和完成时重新核验。外部回复、新授权、风险接受均以同一决定记录作为恢复依据,不能以工具恢复或默认答案替代。
47
+
48
+ ## 首次实施与脚手架
49
+
50
+ 首次实施批准的主体为功能级 `implementation-scope` 清单,`slices` 每行包含:`ticket_ref`、`contract`(ref/version/digest)、`repositories`、`allowed_write_paths`、`baselines`(ref/version/digest)。仓库与写路径必须对应当前合同 `common.project_roots/allowed_write_paths`;基线包含合同引用的工程基线。`scope` 使用批准的切片引用集合。合同、范围或基线变化时回到确认;已覆盖的后续切片复用原记录。
51
+
52
+ 实施就绪和派发必须同时提供 `user_decisions`、`slice_contract_ref` 与 `vertical_slice_ticket_ref`。Worker 任务包通过 `user_decisions` 传递记录,不能只声明 `ready_for_agent=true`。
53
+
54
+ 脚手架 `user_confirmation` 新增 `user_decision_ref/decision_subject_ref`,主体为生成前的决策输入快照;当前范围至少包含项目 ID、确认的架构和 `decision_inputs_digest`。先获得真实回复,再由生命周期批准生成合同;不能回到生成器内提问。
55
+
56
+ Git commit/push、外部动作仍分别检查已有授权和其范围。用户对一个具体动作的明确自然语言授权可整理成结构化记录,不必再次要求填写内部字段;生命周期批准不隐含其他动作授权。
@@ -10,11 +10,11 @@ description: Use when a YSS feature has product-design impact on a primary flow,
10
10
  ## 进入条件与主入口
11
11
 
12
12
  - 先由 `yss-product-lifecycle` 判断产品设计影响;无行为变化的孤立视觉修复记录 `not-applicable`,不创建空资产。
13
- - 先读取 Spec、产品总体设计、`CONTEXT.md`、`yss-design-system` 与 `docs/design/design.md`,形成交互说明、低保真页面/流程和状态矩阵。
13
+ - 先读取 Spec、产品总体设计、`CONTEXT.md`、`yss-design-system`,再按 `DESIGN.md` → `docs/design/design.md` → `docs/design/tokens/*` 顺序消费设计基线,形成交互说明、低保真页面/流程和状态矩阵。
14
14
  - 用独立 `prototype-review` 评审低保真与状态;未通过不得选择档位或构建原型交付物。
15
15
  - 按 [原型档位路由](references/prototype-profile-routing.md) 选择 H1/H2 中满足当前决策风险的最低档位。没有充分证据时默认 H2。
16
16
  - Codex 按档位消费 `product-design:index` 的 focused workflow;H1 可直接走静态适配器,H2 使用 `get-context/image-to-code/design-qa`。其他 Agent 必须交付等价合同资产。
17
- - `high-fidelity-html-prototype` 仅为历史兼容入口;新资产统一为 `artifact.prototype-deliverable` 与 schema v3。
17
+ - `high-fidelity-html-prototype` 仅为历史兼容入口;新资产统一为 `artifact.prototype-deliverable`、Prototype Evidence schema v4 与 Visual Baseline schema v1。
18
18
 
19
19
  ## 执行顺序
20
20
 
@@ -22,23 +22,23 @@ description: Use when a YSS feature has product-design impact on a primary flow,
22
22
  2. 完成独立 `prototype-review`,提取仍需由原型回答的风险。
23
23
  3. 计算并记录 `prototype_profile`。新视觉方向或信息架构不确定时执行三方案 ideation;复用已批准模式时记录 `not-applicable` 与 source visual。
24
24
  4. H1 用 `prototype-contract.mjs prepare-static` 生成无 Node 运行时的静态适配器;H2 按 `references/product-design-adapter.md` 构建可运行流程。
25
- 5. 自动采集版本、digest、视口、截图、console 与扫描结果,写入 feature 级 schema v3 `prototype-evidence.yaml`;人工只补决策、风险、允许差异和用户确认。
25
+ 5. 自动采集版本、digest、视口、截图、console 与扫描结果。截图按 `route + page + state + viewport + theme + locale + data_scenario` 写入 `Visual Baseline Bundle`,执行 `visual-baseline-contract.mjs seal` 后由 feature 级 schema v4 `prototype-evidence.yaml` 引用;人工只补决策、风险、允许差异和用户确认。
26
26
  6. 以统一六轴 Design QA 和档位验证矩阵完成浏览器/无障碍验证。用户确认后才可校准 Spec、分析 API 影响或进入 实现合同编译器 readiness。
27
27
 
28
28
  ## 档位边界
29
29
 
30
30
  - H1 `visual-review`:浏览器可复验的 HTML/CSS/少量 JS 或设计工具导出;不得要求 `package.json`、lockfile、Node 或 AntD CLI。
31
- - H2 `flow-review`:主流程与关键异常状态可操作;React/Vite + Ant Design v6 是受支持默认,但不是唯一实现。只有实际使用 AntD 时才消费版本事实或新鲜 fact pack。
31
+ - H2 `flow-review`:主流程与关键异常状态可操作;Vue 3/Vite + Antdv Next 是受支持默认。React/Vite + Ant Design v6 仅作为显式兼容路线;只消费与实际 `component_basis` 匹配的精确版本事实或 fresh fact pack。
32
32
  - 原型代码默认 throwaway;可复用的是项目 Token、组件语义映射、状态、测试场景和验收标准。任何源码进入生产仍需 实现合同编译器、Slice Contract 和 TDD。
33
33
  - 原型阶段不得调用 `yss-ui`,不得读取生产组件 API 来制造“真实组件原型”。需要核验真实 YSS/AntDV 组件的事项写入 `implementation_handoff`,由前端实现计划、已批准切片的实现和实现还原验证负责。
34
34
 
35
35
  ## 事实、QA 与确认
36
36
 
37
- 优先级固定为:项目 `docs/design/design.md` / Token 覆盖 → 当前功能语义 → 相关上游组件事实。H2 使用 AntD 时,fact pack 仅在精确版本、组件集合和项目 Token digest 均匹配且无新 API 疑问时可复用;否则做增量查询。`antd lint/doctor` 只对相关 React 源执行。
37
+ 优先级固定为:项目根 `DESIGN.md` 规范 Token / 组件变体 → `docs/design/design.md` 治理解释 → `docs/design/tokens/*` 派生快照 → 当前功能语义 → 相关上游组件事实。H2 默认通过 `yss-antdv-next-design` 使用 Antdv Next exact-version fact pack;只有显式选择 `react-antd-6` 时才调用 `yss-antd-design`。fact pack 仅在精确版本、组件集合、根 `DESIGN.md` digest 和项目 Token digest 均匹配且无新 API 疑问时可复用;否则做增量查询。`antd lint/doctor` 只对 React 兼容路线的相关源文件执行。
38
38
 
39
- Design QA 合并 visual、layout、interaction、content、accessibility、cross-platform 六轴,不再建立第二份评审。所有档位至少证明 desktop/narrow 非空渲染、项目 Token、console 和基础键盘/焦点/对比度;H2 追加主流程、关键异常、200% zoom/reduced motion 与按风险视觉回归。
39
+ Design QA 合并 visual、layout、interaction、content、accessibility、cross-platform 六轴,不再建立第二份评审。所有档位至少证明 desktop/narrow 非空渲染、项目 Token、console 和基础键盘/焦点/对比度;H2 追加主流程、关键异常、200% zoom/reduced motion 与按风险视觉回归。图片是视觉基准而非唯一事实来源;模型必须从 `visual-baseline.yaml` 的 `case_id` 读取对应语义引用,禁止靠目录 glob 猜测页面含义。
40
40
 
41
- 用户确认只描述原型确认了什么、哪些范围可操作、哪些为模拟或 gap,以及接受/拒绝结论;不要求用户确认技术栈、CLI 或构建细节。
41
+ 用户确认必须绑定提问者或其明确指定负责人的原始回复,使用生命周期 `user_decision_policy` 和统一用户决定记录;产品数字人只提供确认建议,不能代答。正式证据追加 `user_decision_ref/decision_subject_ref`,校验原型、视觉基线和操作范围与用户所见快照一致。用户确认只描述原型确认了什么、哪些范围可操作、哪些为模拟或 gap,以及接受/拒绝结论;不要求用户确认技术栈、CLI 或构建细节。
42
42
 
43
43
  `gate.prototype-reviewed`、`gate.prototype-verified`、`gate.user-confirmation` 保持三个既有门禁。档位选择是 `gate.prototype-verified` 的输入证据,不增加新门禁,也不授权实现。
44
44
 
@@ -47,10 +47,11 @@ Design QA 合并 visual、layout、interaction、content、accessibility、cross
47
47
  - 档位、上游融合与迁移:[prototype-profile-routing.md](references/prototype-profile-routing.md)
48
48
  - 渲染适配、fact pack 与命令:[product-design-adapter.md](references/product-design-adapter.md)
49
49
  - 证据模板:`docs/design/templates/prototype-evidence-template.yaml`
50
+ - Visual Baseline 模板与 schema:`docs/design/templates/visual-baseline-template.yaml`、`docs/design/schemas/visual-baseline.schema.json`
50
51
 
51
52
  ## 常见错误
52
53
 
53
- - 把所有原型强制成 React/AntD,或把单个 HTML 文件当成所有档位的答案。
54
+ - 继续把 React/AntD 当作 H2 默认,或把单个 HTML 文件当成所有档位的答案。
54
55
  - 低保真未评审就选择技术栈;用主观评分代替确定性触发规则。
55
56
  - H1 伪造 lockfile/AntD 段,或 H2 声称已验证生产 YSS/AntDV 真实组件。
56
57
  - 重复抄写机器可采集的版本、digest、截图和 console;创建第二份状态机、QA 或 handoff 资产。
@@ -24,36 +24,59 @@ node .agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs validate-
24
24
 
25
25
  ## H2:可运行流程
26
26
 
27
- H2 可选择任何能稳定浏览器交付的轻量前端实现。采用 Product Design React/Vite + Ant Design v6 时:
27
+ H2 可选择任何能稳定浏览器交付的轻量前端实现。默认 `component_basis=vue-antdv-next`,使用 Vue 3/Vite + Antdv Next:
28
28
 
29
29
  ```bash
30
30
  node .agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs prepare-flow \
31
31
  --project-root <project-root> \
32
32
  --root <prototype-root> \
33
33
  --feature <feature> \
34
- --target-antd-version <exact-6.x-version> \
35
34
  --pnpm-version <actual-pnpm-version>
36
35
 
37
36
  node .agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs validate-project \
38
- --profile H2 --root <prototype-root> \
39
- --target-antd-version <exact-6.x-version>
37
+ --profile H2 --root <prototype-root>
40
38
  ```
41
39
 
42
- `prepare-flow` 只做机械适配:精确写入 `antd`、登记 pnpm、生成 `src/yss-theme.js` 与 adapter manifest。随后用 `ConfigProvider theme={yssTheme}`、`pnpm install`、`pnpm build` 形成可移植静态输出。H2 不使用 AntD 时无需执行该命令,在证据中写明 component basis,不能创建空 AntD 段。
40
+ 默认命令生成最小 Vue/Vite starter,精确写入 `antdv-next@1.5.2`、`vue@3.5.21`、`vite@6.4.2`、`@vitejs/plugin-vue@5.2.4`,登记实际 pnpm,生成 Vue 入口、`src/yss-theme.js` 与 provider-neutral adapter schema v3。设计 workflow 在 starter 中替换占位页面,再以 `ConfigProvider`、`pnpm install`、`pnpm build` 形成可移植静态输出。已有 Vue 页面不会被重写,但必须通过合同验证。
43
41
 
44
- ### AntD fact pack
42
+ 显式兼容 React/Vite + Ant Design v6 时传入:
45
43
 
46
- 建议目录为 `docs/design/facts/antd/<exact-version>/`,至少包含 `manifest.json`、design-md 摘要、组件事实与 digest。只有以下全部相等才为 fresh:
44
+ ```bash
45
+ node .agents/skills/yss-prototype-stage/scripts/prototype-contract.mjs prepare-flow \
46
+ --project-root <project-root> \
47
+ --root <prototype-root> \
48
+ --feature <feature> \
49
+ --component-basis react-antd-6 \
50
+ --library-version <exact-6.x-version> \
51
+ --pnpm-version <actual-pnpm-version>
52
+ ```
53
+
54
+ 历史 `--target-antd-version` 继续映射到 `react-antd-6`,只为在途兼容,不再是默认调用。其他 H2 基座必须在证据中明确记录,不得伪造 Antdv Next 或 AntD 字段。
47
55
 
48
- - manifest 的 exact AntD version 等于原型 lockfile;
56
+ ### Provider fact pack
57
+
58
+ 默认目录为 `docs/design/facts/antdv-next/<exact-version>/`;React 兼容路线使用 `docs/design/facts/antd/<exact-version>/`。至少包含 `manifest.json`、design-md 摘要、组件事实与 digest。只有以下全部相等才为 fresh:
59
+
60
+ - manifest 的 package 与 exact version 等于原型 lockfile;
49
61
  - 所需组件均被覆盖;
50
- - `project_token_baseline_digest` 等于当前设计基线;
62
+ - 根 `DESIGN.md` path / digest 与当前规范源相等;
63
+ - `project_token_baseline_digest` 等于当前 Token 派生基线;
51
64
  - 没有新的 API/semantic 疑问。
52
65
 
53
- 不满足时只查询缺失或变化的事实。`lint/doctor` 只在存在相关 React 源时运行。不要创建占位 fact 目录;feature 证据只引用实际 manifest。
66
+ 不满足时只查询缺失或变化的事实。默认 Vue 路线调用 `yss-antdv-next-design`;React 兼容路线调用 `yss-antd-design`,且 `lint/doctor` 只在存在相关 React 源时运行。不要创建占位 fact 目录;feature 证据只引用实际 manifest。
54
67
 
55
68
  ## 共同映射与验证
56
69
 
57
70
  映射的是 semantic role、项目 Token、状态和验收行为,不是 React API 表面。默认视口为 desktop `1440x900` 与 narrow `390x844`;按影响追加其他断点。Design QA 固定写 feature 级 verification 路径,并按 visual/layout/interaction/content/accessibility/cross-platform 六轴执行。
58
71
 
72
+ 浏览器/Design QA 将每个风险驱动 case 捕获为 PNG,写入 `docs/.scratch/<feature>/handoff/visual-baseline-v<version>/images/`,并从 `docs/design/templates/visual-baseline-template.yaml` 生成 manifest。截图必须使用固定数据、sRGB、DPR 1,等待字体完成,关闭动画、过渡和光标闪烁;长页面使用固定滚动分段。捕获完成后运行:
73
+
74
+ ```bash
75
+ node .agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs seal \
76
+ docs/.scratch/<feature>/handoff/visual-baseline-v1/visual-baseline.yaml \
77
+ --bundle-root docs/.scratch/<feature>/handoff/visual-baseline-v1
78
+ ```
79
+
80
+ `seal` 校验 PNG 尺寸与大小并写入图像和整包摘要;随后以 `validate` 重验。模型和下游实现只从 manifest 的 `case_id` 取图,不通过 glob 推断含义。工作目录可位于被忽略的 `.scratch`,但 Strategic Design Handoff 必须携带或引用可读取的自包含 Bundle。
81
+
59
82
  H1/H2 的条件验证矩阵与实现阶段交接规则见 [prototype-profile-routing.md](prototype-profile-routing.md)。原型阶段禁止调用 `yss-ui`;真实组件事实只在批准后的前端实现与实现还原验证中取得。