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
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env node
2
+ import assert from "node:assert/strict";
3
+ import { readFileSync } from "node:fs";
4
+ import path from "node:path";
5
+ import { loadRegistry, renderLifecycleStructure, renderWorkUnits, semanticDigest, validateRegistry } from "./lib/lifecycle-registry.mjs";
6
+
7
+ const ROOT = path.resolve(import.meta.dirname, "..");
8
+ const PUBLIC_FILES = [
9
+ "CONTEXT.md",
10
+ "docs/templates/spec-template.md",
11
+ "docs/design/templates/product-overview-design-template.md",
12
+ "docs/process/harness-executive-blueprint.md",
13
+ ".agents/skills/yss-stage-decision/SKILL.md",
14
+ ];
15
+ const JARGON = ["DDD", "子域", "限界上下文", "Context Map", "统一语言", "不变量", "Strategic Design", "Tactical Design"];
16
+
17
+ function read(relativePath) {
18
+ return readFileSync(path.join(ROOT, relativePath), "utf8");
19
+ }
20
+
21
+ for (const relativePath of PUBLIC_FILES) {
22
+ const source = read(relativePath);
23
+ for (const term of JARGON) {
24
+ assert.equal(source.includes(term), false, `${relativePath} 不应向业务角色展示术语: ${term}`);
25
+ }
26
+ }
27
+
28
+ const lifecycle = read(".agents/skills/yss-product-lifecycle/SKILL.md");
29
+ for (const phrase of [
30
+ "机会与目标 → 业务故事 → 责任与交接 → 规则、例子与疑问 → 可验收需求 → 页面验证 → 业务任务 → 交接研发",
31
+ "业务方案总览",
32
+ "不成为新的事实源",
33
+ ]) assert.match(lifecycle, new RegExp(phrase));
34
+
35
+ const registry = read("docs/process/lifecycle-registry.yaml");
36
+ for (const stableId of ["work-unit.domain-strategy-design", "artifact.domain-strategy", "gate.domain-strategy-approved"]) {
37
+ assert.match(registry, new RegExp(`id: ${stableId.replaceAll(".", "\\.")}`));
38
+ }
39
+ for (const displayName of ["业务边界与协作梳理", "业务边界与规则设计", "业务边界与规则确认", "方案决策包"]) {
40
+ assert.match(registry, new RegExp(displayName));
41
+ }
42
+
43
+ const registryContract = loadRegistry();
44
+ const withoutPublicPresentation = structuredClone(registryContract);
45
+ for (const collection of ["stages", "gates", "artifacts", "work_units", "evidence"]) {
46
+ for (const record of withoutPublicPresentation[collection]) {
47
+ for (const key of Object.keys(record).filter((key) => key.startsWith("public_"))) delete record[key];
48
+ }
49
+ }
50
+ assert.equal(semanticDigest(registryContract), semanticDigest(withoutPublicPresentation), "public_* 展示字段不得改变稳定 ID 语义摘要");
51
+ const rendered = `${renderLifecycleStructure(registryContract)}${renderWorkUnits(registryContract)}`;
52
+ for (const displayName of ["业务边界与协作梳理", "业务边界与规则设计", "业务边界与规则确认", "方案决策包"]) {
53
+ assert.match(rendered, new RegExp(displayName));
54
+ }
55
+ const invalidPresentation = structuredClone(registryContract);
56
+ invalidPresentation.artifacts[0].public_name = "";
57
+ assert.throws(() => validateRegistry(invalidPresentation, { baseline: null }), /public_name 必须是非空字符串/);
58
+
59
+ process.stdout.write("本体业务角色通俗语言场景验证通过\n");
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ import { parseArgs } from "node:util";
3
+ import { parseContextContract, resolveContextTermRefs } from "./lib/context-contract.mjs";
4
+
5
+ try {
6
+ const { values } = parseArgs({ options: { root: { type: "string", default: process.cwd() }, "allowed-context": { type: "string", multiple: true }, "term-ref": { type: "string", multiple: true }, json: { type: "boolean", default: false } }, strict: true });
7
+ const contract = parseContextContract({ root: values.root, allowedContextIds: values["allowed-context"] });
8
+ const resolved = resolveContextTermRefs(contract, values["term-ref"] || []);
9
+ const contextSnapshot = { context_ref: contract.context_ref, context_schema_version: contract.context_schema_version, document_digest: contract.document_digest, referenced_terms_digest: resolved.referenced_terms_digest, term_refs: resolved.terms.map((term) => term.term_ref) };
10
+ const result = { result: "completed", ...contextSnapshot, context_snapshot: contextSnapshot, process_term_count: contract.process_terms, business_term_count: contract.business_terms.length };
11
+ process.stdout.write(`${JSON.stringify(result, null, values.json ? 2 : 0)}\n`);
12
+ } catch (error) {
13
+ process.stderr.write(`${JSON.stringify({ result: "blocked", reason_code: error.code || "context-contract-invalid", errors: error.problems || [error.message] }, null, 2)}\n`);
14
+ process.exitCode = 1;
15
+ }
@@ -0,0 +1,105 @@
1
+ #!/usr/bin/env node
2
+ import assert from "node:assert/strict";
3
+ import { mkdtempSync, mkdirSync, rmSync, writeFileSync } from "node:fs";
4
+ import { tmpdir } from "node:os";
5
+ import path from "node:path";
6
+ import { spawnSync } from "node:child_process";
7
+
8
+ const ROOT = path.resolve(import.meta.dirname, "..");
9
+ const validator = path.join(ROOT, "scripts/verify-context-contract");
10
+
11
+ function contextSource(rows = [], scopeHeader = "适用业务责任区") {
12
+ return `---
13
+ context_schema_version: 1
14
+ ---
15
+ # 领域上下文
16
+
17
+ 本文档只记录稳定业务语言。
18
+
19
+ ## 流程术语
20
+
21
+ | 术语 | 含义 | 英文标识 | 避免 / 备注 |
22
+ |---|---|---|---|
23
+ | Spec | 产品研发规格。 | — | |
24
+
25
+ ## 业务术语
26
+
27
+ | 术语 | 含义 | 英文标识 | ${scopeHeader} | 避免 / 备注 |
28
+ |---|---|---|---|---|
29
+ ${rows.join("\n")}
30
+ `;
31
+ }
32
+
33
+ function run(root, ...args) {
34
+ return spawnSync(process.execPath, [validator, "--root", root, ...args], {
35
+ cwd: ROOT,
36
+ encoding: "utf8",
37
+ });
38
+ }
39
+
40
+ function expectBlocked(result, pattern, label) {
41
+ assert.notEqual(result.status, 0, `${label} 应被阻断`);
42
+ assert.match(`${result.stdout}\n${result.stderr}`, pattern, label);
43
+ }
44
+
45
+ const sandbox = mkdtempSync(path.join(tmpdir(), "yss-context-contract-"));
46
+ try {
47
+ const valid = path.join(sandbox, "valid");
48
+ mkdirSync(valid);
49
+ writeFileSync(path.join(valid, "CONTEXT.md"), contextSource([
50
+ "| 供应商 | 提供商品或服务的业务主体。 | Supplier | Global | 避免:`厂商` |",
51
+ "| 准入决定 | 合规审查形成的准入结论。 | AdmissionDecision | ComplianceReview | 避免:`审批结果` |",
52
+ ]));
53
+ const validResult = run(valid, "--allowed-context", "ComplianceReview", "--term-ref", "Global/Supplier", "--term-ref", "ComplianceReview/AdmissionDecision", "--json");
54
+ assert.equal(validResult.status, 0, validResult.stderr);
55
+ const validOutput = JSON.parse(validResult.stdout);
56
+ assert.equal(validOutput.result, "completed");
57
+ assert.match(validOutput.document_digest, /^sha256:[0-9a-f]{64}$/);
58
+ assert.match(validOutput.referenced_terms_digest, /^sha256:[0-9a-f]{64}$/);
59
+
60
+ const legacyHeader = path.join(sandbox, "legacy-header");
61
+ mkdirSync(legacyHeader);
62
+ writeFileSync(path.join(legacyHeader, "CONTEXT.md"), contextSource([
63
+ "| 供应商 | 提供商品或服务的业务主体。 | Supplier | Global | |",
64
+ ], "适用限界上下文"));
65
+ assert.equal(run(legacyHeader, "--term-ref", "Global/Supplier").status, 0, "旧表头应继续兼容读取");
66
+
67
+ const lowercase = path.join(sandbox, "lowercase");
68
+ mkdirSync(lowercase);
69
+ writeFileSync(path.join(lowercase, "context.md"), contextSource());
70
+ expectBlocked(run(lowercase), /根目录.*CONTEXT\.md|大小写/, "小写文件名");
71
+
72
+ const nested = path.join(sandbox, "nested");
73
+ mkdirSync(path.join(nested, "contexts/Foo"), { recursive: true });
74
+ writeFileSync(path.join(nested, "CONTEXT.md"), contextSource());
75
+ writeFileSync(path.join(nested, "contexts/Foo/CONTEXT.md"), contextSource());
76
+ expectBlocked(run(nested), /嵌套.*CONTEXT\.md|只允许项目根目录/, "嵌套 CONTEXT.md");
77
+
78
+ const mapped = path.join(sandbox, "mapped");
79
+ mkdirSync(mapped);
80
+ writeFileSync(path.join(mapped, "CONTEXT.md"), contextSource());
81
+ writeFileSync(path.join(mapped, "CONTEXT-MAP.md"), "# Context Map\n");
82
+ expectBlocked(run(mapped), /CONTEXT-MAP\.md.*禁止/, "CONTEXT-MAP.md");
83
+
84
+ const duplicate = path.join(sandbox, "duplicate");
85
+ mkdirSync(duplicate);
86
+ writeFileSync(path.join(duplicate, "CONTEXT.md"), contextSource([
87
+ "| 准入决定 | 第一种定义。 | AdmissionDecision | ComplianceReview | |",
88
+ "| 准入结论 | 第二种定义。 | AdmissionDecision | ComplianceReview | |",
89
+ ]));
90
+ expectBlocked(run(duplicate, "--allowed-context", "ComplianceReview"), /术语身份重复/, "重复术语身份");
91
+
92
+ const unknownContext = path.join(sandbox, "unknown-context");
93
+ mkdirSync(unknownContext);
94
+ writeFileSync(path.join(unknownContext, "CONTEXT.md"), contextSource([
95
+ "| 准入决定 | 合规审查形成的准入结论。 | AdmissionDecision | UnknownContext | |",
96
+ ]));
97
+ expectBlocked(run(unknownContext, "--allowed-context", "ComplianceReview"), /未在业务边界与规则设计中登记/, "未知作用域");
98
+
99
+ expectBlocked(run(valid, "--allowed-context", "ComplianceReview", "--term-ref", "CONTEXT.md#Supplier"), /术语引用格式非法/, "Markdown 伪锚点");
100
+ expectBlocked(run(valid, "--allowed-context", "ComplianceReview", "--term-ref", "ComplianceReview/Missing"), /无法解析/, "缺失术语引用");
101
+
102
+ process.stdout.write("CONTEXT Contract 场景验证通过\n");
103
+ } finally {
104
+ rmSync(sandbox, { recursive: true, force: true });
105
+ }
@@ -0,0 +1,58 @@
1
+ #!/usr/bin/env node
2
+ import { existsSync, readFileSync } from "node:fs";
3
+ import path from "node:path";
4
+ import { spawnSync } from "node:child_process";
5
+ import { parseArgs } from "node:util";
6
+ import { fileURLToPath } from "node:url";
7
+ import { parseDocument } from "./vendor/yaml.mjs";
8
+ import { resolveContextTermRefs, verifyContextSnapshot } from "./lib/context-contract.mjs";
9
+
10
+ const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
11
+ const schemaPath = path.join(repoRoot, "docs/process/schemas/context-reconciliation.schema.json");
12
+ const pythonValidator = String.raw`
13
+ import json, sys
14
+ from jsonschema import Draft202012Validator
15
+ schema = json.load(open(sys.argv[1], encoding="utf-8"))
16
+ value = json.load(sys.stdin)
17
+ errors = sorted(Draft202012Validator(schema).iter_errors(value), key=lambda error: list(error.absolute_path))
18
+ for error in errors:
19
+ where = ".".join(str(part) for part in error.absolute_path) or "<root>"
20
+ print(f"{where}: {error.message}", file=sys.stderr)
21
+ sys.exit(1 if errors else 0)
22
+ `;
23
+
24
+ function parseFile(file) {
25
+ const document = parseDocument(readFileSync(file, "utf8"), { maxAliasCount: 0, uniqueKeys: true });
26
+ if (document.errors.length) throw new TypeError(document.errors[0].message);
27
+ return document.toJS({ maxAliasCount: 0 });
28
+ }
29
+
30
+ try {
31
+ const { values, positionals } = parseArgs({ options: { root: { type: "string", default: process.cwd() } }, allowPositionals: true, strict: true });
32
+ if (positionals.length !== 1) throw new TypeError("用法: scripts/verify-context-reconciliation [--root <repo>] <record.yaml|json>");
33
+ const root = path.resolve(values.root);
34
+ const file = path.resolve(positionals[0]);
35
+ const value = parseFile(file);
36
+ const schemaResult = spawnSync("python3", ["-c", pythonValidator, schemaPath], { encoding: "utf8", input: JSON.stringify(value) });
37
+ if (schemaResult.status !== 0) throw new TypeError(`${schemaResult.stdout}${schemaResult.stderr}`.trim());
38
+ const manifest = parseFile(path.join(root, "yss-project.yaml"));
39
+ if (value.repository_mode !== manifest.repository_mode) throw new TypeError("repository_mode 必须与根目录 yss-project.yaml 一致");
40
+ const contract = verifyContextSnapshot(value.context_snapshot, { root });
41
+ const changedRefs = [...value.changes.added, ...value.changes.updated, ...value.changes.deprecated];
42
+ resolveContextTermRefs(contract, changedRefs);
43
+ if (new Set(changedRefs).size !== changedRefs.length) throw new TypeError("changes 中的术语引用不得跨分类重复");
44
+ if (value.repository_mode === "project-instance" && value.status !== "reconciled") throw new TypeError("project-instance 工作单元只有 status=reconciled 才允许批准或进入下一步");
45
+ if (value.status === "reconciled" && value.unresolved_terms.length) throw new TypeError("reconciled 不得包含 unresolved_terms");
46
+ if (value.status === "blocked" && value.unresolved_terms.length === 0) throw new TypeError("blocked 必须说明 unresolved_terms");
47
+ if (value.status === "not-applicable" && (value.repository_mode !== "template-source" || !value.reason)) throw new TypeError("not-applicable 只适用于 template-source 且必须说明 reason");
48
+ for (const ref of value.evidence_refs) {
49
+ if (/^https?:\/\//.test(ref)) continue;
50
+ const resolved = path.resolve(root, ref);
51
+ if (!resolved.startsWith(`${root}${path.sep}`) && resolved !== root) throw new TypeError(`evidence_ref 越出仓库: ${ref}`);
52
+ if (!existsSync(resolved)) throw new TypeError(`evidence_ref 不可读: ${ref}`);
53
+ }
54
+ process.stdout.write("Context reconciliation 验证通过\n");
55
+ } catch (error) {
56
+ process.stderr.write(`Context reconciliation 验证失败: ${error.message}\n`);
57
+ process.exitCode = 1;
58
+ }
@@ -0,0 +1,69 @@
1
+ #!/usr/bin/env node
2
+ import { mkdtempSync, mkdirSync, writeFileSync } from "node:fs";
3
+ import { tmpdir } from "node:os";
4
+ import path from "node:path";
5
+ import { spawnSync } from "node:child_process";
6
+
7
+ const repoRoot = path.resolve(import.meta.dirname, "..");
8
+ const root = mkdtempSync(path.join(tmpdir(), "yss-context-reconciliation-"));
9
+ mkdirSync(path.join(root, "docs", "evidence"), { recursive: true });
10
+ writeFileSync(path.join(root, "yss-project.yaml"), "schema_version: 1\nrepository_mode: project-instance\n");
11
+ writeFileSync(path.join(root, "CONTEXT.md"), `---
12
+ context_schema_version: 1
13
+ ---
14
+
15
+ # CONTEXT
16
+
17
+ ## 流程术语
18
+
19
+ | 术语 | 含义 | 英文标识 | 避免 / 备注 |
20
+ |---|---|---|---|
21
+ | 阶段 | 生命周期阶段 | — | |
22
+
23
+ ## 业务术语
24
+
25
+ | 术语 | 含义 | 英文标识 | 适用限界上下文 | 避免 / 备注 |
26
+ |---|---|---|---|---|
27
+ | 供应商 | 提供产品或服务的主体 | Supplier | Global | |
28
+ | 准入结论 | 合规审查的准入结果 | AdmissionDecision | ComplianceReview | |
29
+ `);
30
+
31
+ function run(command, args) {
32
+ return spawnSync(command, args, { cwd: repoRoot, encoding: "utf8" });
33
+ }
34
+
35
+ const snapshotResult = run("scripts/verify-context-contract", ["--root", root, "--allowed-context", "ComplianceReview", "--term-ref", "Global/Supplier", "--term-ref", "ComplianceReview/AdmissionDecision", "--json"]);
36
+ if (snapshotResult.status !== 0) throw new Error(snapshotResult.stderr || snapshotResult.stdout);
37
+ const snapshot = JSON.parse(snapshotResult.stdout).context_snapshot;
38
+
39
+ function record(overrides = {}) {
40
+ return {
41
+ schema_version: 1,
42
+ repository_mode: "project-instance",
43
+ stage: "stage.discovery",
44
+ work_unit: "work-unit.domain-strategy-design",
45
+ status: "reconciled",
46
+ context_snapshot: snapshot,
47
+ changes: { added: ["Global/Supplier", "ComplianceReview/AdmissionDecision"], updated: [], deprecated: [] },
48
+ unresolved_terms: [],
49
+ evidence_refs: ["CONTEXT.md"],
50
+ ...overrides,
51
+ };
52
+ }
53
+
54
+ function verify(name, value, expectedStatus) {
55
+ const file = path.join(root, "docs", "evidence", `${name}.json`);
56
+ writeFileSync(file, JSON.stringify(value, null, 2));
57
+ const result = run("scripts/verify-context-reconciliation", ["--root", root, file]);
58
+ if (result.status !== expectedStatus) throw new Error(`${name}: expected ${expectedStatus}, got ${result.status}\n${result.stdout}${result.stderr}`);
59
+ }
60
+
61
+ verify("valid", record(), 0);
62
+ verify("stale", record({ context_snapshot: { ...snapshot, document_digest: "sha256:stale" } }), 1);
63
+ verify("blocked", record({ status: "blocked", unresolved_terms: [{ term: "准入状态", reason: "英文标识未确认", owner: "product-owner", next_action: "确认命名" }] }), 1);
64
+ verify("missing-term", record({ changes: { added: ["ComplianceReview/Unknown"], updated: [], deprecated: [] } }), 1);
65
+ verify("not-applicable-project", record({ status: "not-applicable", reason: "无术语变化" }), 1);
66
+ writeFileSync(path.join(root, "yss-project.yaml"), "schema_version: 1\nrepository_mode: template-source\n");
67
+ verify("template-source", record({ repository_mode: "template-source", status: "not-applicable", reason: "模板源仅校验 CONTEXT.md 结构", changes: { added: [], updated: [], deprecated: [] } }), 0);
68
+
69
+ process.stdout.write("Context reconciliation scenarios passed\n");
@@ -39,7 +39,7 @@ function mustFail(doc, pattern, label) {
39
39
  validateDefaultDigitalHumanRoles();
40
40
 
41
41
  const tester = loadDigitalHumanRoles().roles.find((role) => role.id === "role.test-engineer");
42
- for (const skill of ["code-review", "alibaba-java-code-style", "yss-ui", "yss-page-module-development", "yss-domain", "yss-application", "yss-web-controller", "yss-dto", "mapstruct", "lombok"]) {
42
+ for (const skill of ["code-review", "alibaba-java-code-style", "yss-ui", "yss-ui-business-page-generation", "yss-domain", "yss-application", "yss-web-controller", "yss-dto", "mapstruct", "lombok"]) {
43
43
  if (!tester.core_skills.includes(skill)) throw new TypeError(`role.test-engineer 缺少只读专项检查 skill: ${skill}`);
44
44
  }
45
45
  if (tester.forbidden_skills.includes("yss-ui") || tester.forbidden_skills.includes("alibaba-java-code-style")) {
@@ -5,9 +5,10 @@ import path from "node:path";
5
5
  import { parseArgs } from "node:util";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { parseDocument } from "./vendor/yaml.mjs";
8
+ import { validateVisualBaseline } from "../.agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs";
8
9
 
9
- const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
10
- const schemaPath = path.join(root, "docs/process/schemas/frontend-implementation-evidence.schema.json");
10
+ const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
11
+ const schemaPath = path.join(repoRoot, "docs/process/schemas/frontend-implementation-evidence.schema.json");
11
12
  const validator = String.raw`
12
13
  import json
13
14
  import sys
@@ -22,27 +23,49 @@ sys.exit(1 if errors else 0)
22
23
  `;
23
24
 
24
25
  try {
25
- const { values, positionals } = parseArgs({ options: { "allow-template": { type: "boolean" } }, allowPositionals: true, strict: true });
26
- if (positionals.length !== 1) throw new TypeError("用法: scripts/verify-frontend-implementation-evidence [--allow-template] <file.yaml>");
26
+ const { values, positionals } = parseArgs({ options: { "allow-template": { type: "boolean" }, root: { type: "string", default: repoRoot } }, allowPositionals: true, strict: true });
27
+ if (positionals.length !== 1) throw new TypeError("用法: scripts/verify-frontend-implementation-evidence [--allow-template] [--root <repo>] <file.yaml>");
28
+ const root = path.resolve(values.root);
27
29
  const document = parseDocument(readFileSync(path.resolve(positionals[0]), "utf8"), { maxAliasCount: 0, uniqueKeys: true });
28
30
  if (document.errors.length) throw new TypeError(document.errors[0].message);
29
31
  const value = document.toJS({ maxAliasCount: 0 });
30
- const result = spawnSync("python3", ["-c", validator, schemaPath], { cwd: root, encoding: "utf8", input: JSON.stringify(value) });
32
+ if (value.schema_version === 1 && !values["allow-template"]) throw new TypeError("migration-required: frontend implementation evidence v1 是只读历史资产;在途 UI 工作必须升级 v2 并绑定 Visual Baseline case_id");
33
+ const result = spawnSync("python3", ["-c", validator, schemaPath], { cwd: repoRoot, encoding: "utf8", input: JSON.stringify(value) });
31
34
  if (result.status !== 0) throw new TypeError(`${result.stdout}${result.stderr}`.trim());
32
35
  if (!values["allow-template"] && value.template !== false) throw new TypeError("正式证据必须设置 template: false");
33
36
  if (!values["allow-template"] && value.status !== "approved") throw new TypeError("正式证据必须达到 status: approved");
34
37
  const serialized = JSON.stringify(value);
35
38
  if (!values["allow-template"] && /REPLACE_ME|<[^>]+>|docs\/\.scratch\/example/.test(serialized)) throw new TypeError("正式证据不得保留模板占位值");
36
39
  if (!values["allow-template"]) {
37
- for (const field of ["prototype_ref", "spec_ref"]) {
38
- const reference = value[field];
40
+ for (const field of ["prototype_ref", "spec_ref", "visual_baseline.manifest_ref"]) {
41
+ const reference = field === "visual_baseline.manifest_ref" ? value.visual_baseline.manifest_ref : value[field];
39
42
  if (!/^https?:\/\//.test(reference) && !existsSync(path.resolve(root, reference))) throw new TypeError(`${field} 不可读取: ${reference}`);
40
43
  }
44
+ const baselineDocument = parseDocument(readFileSync(path.resolve(root, value.visual_baseline.manifest_ref), "utf8"), { maxAliasCount: 0, uniqueKeys: true });
45
+ if (baselineDocument.errors.length) throw new TypeError(baselineDocument.errors[0].message);
46
+ const baseline = baselineDocument.toJS({ maxAliasCount: 0 });
47
+ const baselineValidation = await validateVisualBaseline(baseline, { bundleRoot: path.dirname(path.resolve(root, value.visual_baseline.manifest_ref)) });
48
+ if (baselineValidation.errors.length) throw new TypeError(`Visual Baseline Bundle 无效:\n${baselineValidation.errors.join("\n")}`);
49
+ if (baseline.baseline_id !== value.visual_baseline.baseline_id || baseline.version !== value.visual_baseline.version || baseline.bundle?.digest !== value.visual_baseline.digest || baseline.status !== "approved") throw new TypeError("Visual Baseline 身份、版本、digest 或状态不一致");
50
+ const manifestCaseIds = new Set((baseline.cases ?? []).map((item) => item.case_id));
51
+ const selectedCaseIds = value.visual_baseline.case_ids;
52
+ if (selectedCaseIds.some((id) => !manifestCaseIds.has(id))) throw new TypeError("前端证据引用了 Visual Baseline 中不存在的 case_id");
53
+ for (const item of value.route_and_page_inventory) if (item.case_ids.some((id) => !selectedCaseIds.includes(id))) throw new TypeError("route_and_page_inventory.case_ids 必须属于选定 Visual Baseline cases");
54
+ if (value.kind === "plan" && value.baseline_case_ids.some((id) => !selectedCaseIds.includes(id))) throw new TypeError("baseline_case_ids 必须属于选定 Visual Baseline cases");
41
55
  }
42
56
  if (!values["allow-template"] && value.kind === "verification") {
43
57
  if (value.console_warning_check !== "pass") throw new TypeError("前端验证必须通过 console warning 检查");
44
- if (value.uncovered_differences.length > 0 && !value.difference_owner) throw new TypeError("存在未覆盖差异时必须填写 difference_owner");
58
+ if (value.uncovered_differences.length > 0) throw new TypeError("存在未解释视觉差异,不能通过前端实现还原验证");
45
59
  if (value.independent_review?.status !== "approved") throw new TypeError("前端验证必须通过独立 UI fidelity review");
60
+ const expected = [...value.visual_baseline.case_ids].sort();
61
+ const actual = value.case_results.map((item) => item.case_id).sort();
62
+ if (new Set(actual).size !== actual.length || JSON.stringify(actual) !== JSON.stringify(expected)) throw new TypeError("case_results 必须与选定 Visual Baseline case_ids 一一对应");
63
+ for (const item of value.case_results) {
64
+ if (item.result !== "pass" || item.uncovered_difference !== false) throw new TypeError(`${item.case_id} 存在未通过或未解释差异`);
65
+ for (const field of ["baseline_image_ref", "implementation_image_ref", "diff_ref"]) if (!existsSync(path.resolve(root, item[field]))) throw new TypeError(`${item.case_id}.${field} 不可读取`);
66
+ if (item.mask_ref !== "not-applicable" && !existsSync(path.resolve(root, item.mask_ref))) throw new TypeError(`${item.case_id}.mask_ref 不可读取`);
67
+ }
68
+ if (value.actual_verification.some((item) => item.exit_code !== 0)) throw new TypeError("pnpm fresh verification 存在非零退出码");
46
69
  }
47
70
  process.stdout.write(`前端实现还原 ${value.kind} 验证通过\n`);
48
71
  } catch (error) {
@@ -0,0 +1,56 @@
1
+ #!/usr/bin/env node
2
+ import { mkdtempSync, mkdirSync, writeFileSync } from "node:fs";
3
+ import os from "node:os";
4
+ import path from "node:path";
5
+ import { spawnSync } from "node:child_process";
6
+ import { sealVisualBaseline } from "../.agents/skills/yss-prototype-stage/scripts/visual-baseline-contract.mjs";
7
+
8
+ const repoRoot = path.resolve(import.meta.dirname, "..");
9
+ const root = mkdtempSync(path.join(os.tmpdir(), "yss-frontend-evidence-"));
10
+ const write = (relative, value = relative) => {
11
+ const file = path.join(root, relative); mkdirSync(path.dirname(file), { recursive: true }); writeFileSync(file, Buffer.isBuffer(value) || typeof value === "string" ? value : JSON.stringify(value, null, 2)); return relative;
12
+ };
13
+ write("docs/spec.md"); write("docs/prototype.html");
14
+ for (const file of ["verification/desktop.png", "verification/narrow.png", "verification/desktop-diff.png", "verification/narrow-diff.png", "verification/pnpm.txt", "verification/review.md"]) write(file);
15
+ const digest = `sha256:${"a".repeat(64)}`;
16
+ function pngHeader(width, height) { const value = Buffer.alloc(24); Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]).copy(value, 0); value.writeUInt32BE(13, 8); value.write("IHDR", 12, "ascii"); value.writeUInt32BE(width, 16); value.writeUInt32BE(height, 20); return value; }
17
+ write("baseline/images/primary-desktop.png", pngHeader(1440, 900)); write("baseline/images/primary-narrow.png", pngHeader(390, 844));
18
+ write("baseline/sources/prototype.html", "<main>demo</main>\n"); write("baseline/sources/interaction.md", "# Interaction\n"); write("baseline/sources/states.md", "# States\n");
19
+ write("baseline/capture/capture.mjs", "// capture\n"); write("baseline/capture/result.json", "{\"result\":\"passed\"}\n");
20
+ const baselineFile = write("baseline/visual-baseline.yaml", {
21
+ schema_version: 1, baseline_id: "visual-baseline.demo", feature: "demo", version: "v1", status: "approved",
22
+ bundle: { format: "portable-directory", root_ref: "baseline", digest, size_bytes: 0, max_image_bytes: 5242880, max_bundle_bytes: 104857600 },
23
+ source: { prototype_ref: "sources/prototype.html", prototype_digest: digest, interaction_spec_ref: "sources/interaction.md", interaction_spec_digest: digest, state_matrix_ref: "sources/states.md", state_matrix_digest: digest },
24
+ capture_environment: { browser: "chromium", browser_version: "140.0.0", operating_system: "linux", fonts_digest: digest, device_scale_factor: 1, color_space: "srgb", locale: "zh-CN", timezone: "Asia/Shanghai", animations_disabled: true, cursor_hidden: true, capture_script_ref: "capture/capture.mjs", capture_script_digest: digest, capture_result_ref: "capture/result.json", capture_result_digest: digest },
25
+ cases: [
26
+ { case_id: "primary-desktop", route: "/demo", page: "DemoPage", state: "normal", viewport: { name: "desktop", width: 1440, height: 900, scroll_mode: "viewport", scroll_position: 0 }, theme: "compact-light", locale: "zh-CN", data_scenario: "primary", image_ref: "images/primary-desktop.png", image_digest: digest, image_size_bytes: 1, mask_ref: "not-applicable", mask_digest: "not-applicable", mask_size_bytes: 0, semantic_refs: ["sources/prototype.html", "sources/interaction.md"], allowed_differences: [], result: "passed" },
27
+ { case_id: "primary-narrow", route: "/demo", page: "DemoPage", state: "normal", viewport: { name: "narrow", width: 390, height: 844, scroll_mode: "viewport", scroll_position: 0 }, theme: "compact-light", locale: "zh-CN", data_scenario: "primary", image_ref: "images/primary-narrow.png", image_digest: digest, image_size_bytes: 1, mask_ref: "not-applicable", mask_digest: "not-applicable", mask_size_bytes: 0, semantic_refs: ["sources/states.md"], allowed_differences: [], result: "passed" }
28
+ ]
29
+ });
30
+ const sealedBaseline = await sealVisualBaseline(path.join(root, baselineFile), path.join(root, "baseline"));
31
+ const visual_baseline = { baseline_id: "visual-baseline.demo", version: "v1", digest: sealedBaseline.bundle.digest, manifest_ref: "baseline/visual-baseline.yaml", status: "approved", case_ids: ["primary-desktop", "primary-narrow"] };
32
+ const base = {
33
+ schema_version: 2, template: false, status: "approved", prototype_ref: "docs/prototype.html", spec_ref: "docs/spec.md", visual_baseline,
34
+ route_and_page_inventory: [{ route: "/demo", page: "DemoPage", case_ids: ["primary-desktop", "primary-narrow"] }], pnpm_commands: ["pnpm test"]
35
+ };
36
+ const plan = { ...base, kind: "plan", baseline_case_ids: ["primary-desktop", "primary-narrow"], desktop_viewport: "1440x900", narrow_viewport: "390x844", state_cases: ["normal"] };
37
+ const verification = {
38
+ ...base, kind: "verification",
39
+ case_results: [
40
+ { case_id: "primary-desktop", baseline_image_ref: "baseline/images/primary-desktop.png", implementation_image_ref: "verification/desktop.png", diff_ref: "verification/desktop-diff.png", mask_ref: "not-applicable", result: "pass", uncovered_difference: false, explanation: "无未解释差异" },
41
+ { case_id: "primary-narrow", baseline_image_ref: "baseline/images/primary-narrow.png", implementation_image_ref: "verification/narrow.png", diff_ref: "verification/narrow-diff.png", mask_ref: "not-applicable", result: "pass", uncovered_difference: false, explanation: "无未解释差异" }
42
+ ],
43
+ interaction_results: ["normal passed"], console_warning_check: "pass", actual_verification: [{ command: "pnpm test", exit_code: 0, executed_at: "2026-09-05T00:00:00Z", evidence_ref: "verification/pnpm.txt" }],
44
+ uncovered_differences: [], difference_owner: null, independent_review: { reviewer: "reviewer-1", candidate_digest: digest, status: "approved", findings_ref: "verification/review.md" }
45
+ };
46
+ const run = (name, value, expected, pattern) => {
47
+ const file = write(`${name}.json`, value);
48
+ const result = spawnSync("scripts/verify-frontend-implementation-evidence", ["--root", root, path.join(root, file)], { cwd: repoRoot, encoding: "utf8" });
49
+ if (result.status !== expected || (pattern && !pattern.test(`${result.stdout}${result.stderr}`))) throw new Error(`${name} unexpected\n${result.stdout}${result.stderr}`);
50
+ };
51
+ run("valid-plan", plan, 0);
52
+ run("valid-verification", verification, 0);
53
+ run("missing-case", { ...verification, case_results: verification.case_results.slice(0, 1) }, 1, /一一对应/);
54
+ run("unexplained", { ...verification, uncovered_differences: ["间距偏差"], difference_owner: "frontend" }, 1, /未解释视觉差异/);
55
+ run("nonzero", { ...verification, actual_verification: [{ ...verification.actual_verification[0], exit_code: 1 }] }, 1, /非零退出码/);
56
+ process.stdout.write("Frontend implementation evidence v2 scenarios passed\n");
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ import { readFileSync } from "node:fs";
3
+ import { spawnSync } from "node:child_process";
4
+ import path from "node:path";
5
+
6
+ const root = path.resolve(import.meta.dirname, "..");
7
+ const skill = readFileSync(path.join(root, ".agents/skills/grill-with-docs/SKILL.md"), "utf8");
8
+ for (const marker of ["scripts/verify-context-contract --root . --json", "domain-modeling/CONTEXT-FORMAT.md", "<ContextId>/<EnglishIdentifier>", "context_reconciliation", "referenced_terms_digest", "template-source", "not-applicable", "yss-product-lifecycle"]) {
9
+ if (!skill.includes(marker)) throw new Error(`grill-with-docs 缺少统一 Context Contract 标记: ${marker}`);
10
+ }
11
+ for (const script of ["scripts/verify-context-contract-scenarios", "scripts/verify-context-reconciliation-scenarios"]) {
12
+ const result = spawnSync(path.join(root, script), { cwd: root, encoding: "utf8" });
13
+ if (result.status !== 0) throw new Error(`${script} failed\n${result.stdout}${result.stderr}`);
14
+ }
15
+ process.stdout.write("grill-with-docs Context Contract scenarios passed\n");
@@ -5,7 +5,7 @@ import path from "node:path";
5
5
  import { parseArgs } from "node:util";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { parseDocument } from "./vendor/yaml.mjs";
8
- import { assertCheckpointApprovals } from "./lib/approval-record.mjs";
8
+ import { assertCheckpointApprovals, assertCheckpointUserDecisions } from "./lib/approval-record.mjs";
9
9
 
10
10
  const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
11
11
  const schemaPath = path.join(root, "docs/process/schemas/lifecycle-checkpoint.schema.json");
@@ -32,6 +32,14 @@ try {
32
32
  const result = spawnSync("python3", ["-c", validator, schemaPath], { cwd: root, encoding: "utf8", input: JSON.stringify(value) });
33
33
  if (result.status !== 0) throw new TypeError(`${result.stdout}${result.stderr}`.trim());
34
34
  assertCheckpointApprovals(value, sourcePath);
35
+ assertCheckpointUserDecisions(value);
36
+ if (value.repository_mode === "project-instance" && ["paused-human-gate", "completed"].includes(value.status)) {
37
+ if (value.context_reconciliation?.status !== "reconciled" || !value.context_reconciliation?.ref) throw new TypeError("project-instance 在会签或完成前必须具有 reconciled context_reconciliation");
38
+ const reconciliation = path.resolve(root, value.context_reconciliation.ref);
39
+ const checked = spawnSync(path.join(root, "scripts/verify-context-reconciliation"), ["--root", root, reconciliation], { cwd: root, encoding: "utf8" });
40
+ if (checked.status !== 0) throw new TypeError(checked.stderr.trim() || "context_reconciliation 无效");
41
+ }
42
+ if (value.repository_mode === "template-source" && value.context_reconciliation?.status !== "not-applicable") throw new TypeError("template-source context_reconciliation 必须为 not-applicable");
35
43
  process.stdout.write("生命周期 checkpoint 验证通过\n");
36
44
  } catch (error) {
37
45
  process.stderr.write(`生命周期 checkpoint 验证失败: ${error.message}\n`);
@@ -1,17 +1,25 @@
1
1
  #!/usr/bin/env node
2
2
  import assert from "node:assert/strict";
3
+ import { mkdtempSync, rmSync, readFileSync, existsSync } from "node:fs";
4
+ import os from "node:os";
5
+ import path from "node:path";
6
+ import { buildImplementationFixture } from "./fixtures/user-decision/build-fixture.mjs";
7
+ const temp = mkdtempSync(path.join(os.tmpdir(), "lifecycle-decision-test-"));
8
+ process.on("exit", () => rmSync(temp, { recursive: true, force: true }));
9
+ const approval = buildImplementationFixture(temp, "docs/.scratch/demo/issues/01-valid-slice.md");
3
10
  import { validateImplementationEntry, validateNextRoute, validateTicketFormalization } from "./lib/lifecycle-transition.mjs";
4
11
 
5
12
  const exists = (ref) => [
6
13
  "docs/process/lifecycle-registry.yaml",
7
14
  "docs/.scratch/demo/issues/01-valid-slice.md",
8
15
  "docs/.scratch/demo/evidence/ticket-decomposition-result.yaml",
9
- ].includes(ref);
16
+ ].includes(ref) || existsSync(ref);
10
17
  const decompositionResult = `result_schema: workflow-execution-result-v1\nwork_unit: work-unit.ticket-decomposition\nresult: completed\nevidence_refs:\n - docs/.scratch/demo/evidence/ticket-decomposition-result.yaml\n`;
11
- const read = (ref) => ref === "docs/.scratch/demo/evidence/ticket-decomposition-result.yaml" ? decompositionResult : "";
18
+ const read = (ref) => ref === "docs/.scratch/demo/evidence/ticket-decomposition-result.yaml" ? decompositionResult : readFileSync(ref, "utf8");
12
19
  const options = { exists, read };
13
20
 
14
21
  const validTicketState = {
22
+ ...approval.state,
15
23
  predecessor_work_unit: "work-unit.ticket-decomposition",
16
24
  tracker_kind: "local-markdown",
17
25
  ticket_decomposition_result_ref: "docs/.scratch/demo/evidence/ticket-decomposition-result.yaml",
@@ -92,14 +100,16 @@ const arbitraryReadable = validateTicketFormalization({
92
100
  }, options);
93
101
  assert.equal(arbitraryReadable.result, "blocked");
94
102
  assert.ok(arbitraryReadable.blocking_signals.includes("ticket-decomposition-incomplete"));
103
+ const remoteApproval = buildImplementationFixture(path.join(temp, "remote"), "https://github.com/example/project/issues/1");
95
104
  assert.equal(validateTicketFormalization({
96
105
  ...validTicketState,
106
+ ...remoteApproval.state,
97
107
  tracker_kind: "github",
98
108
  ticket_decomposition_result_ref: "https://github.com/example/project/issues/1",
99
109
  ticket_decomposition_result: { result: "completed", evidence_refs: ["https://github.com/example/project/issues/1"] },
100
110
  vertical_slice_ticket_ref: "https://github.com/example/project/issues/1",
101
111
  vertical_slice_ticket: { ref: "https://github.com/example/project/issues/1", kind: "vertical-slice-ticket", role: "ready-for-agent" },
102
112
  slice_contract: { ...validTicketState.slice_contract, ticket_ref: "https://github.com/example/project/issues/1" },
103
- }, { ...options, exists: (ref) => ref === "https://github.com/example/project/issues/1", read: (ref) => ref === "https://github.com/example/project/issues/1" ? decompositionResult.replace("docs/.scratch/demo/evidence/ticket-decomposition-result.yaml", "https://github.com/example/project/issues/1") : "" }).result, "allowed");
113
+ }, { ...options, exists: (ref) => ref === "https://github.com/example/project/issues/1", read: (ref) => ref === "https://github.com/example/project/issues/1" ? decompositionResult.replace("docs/.scratch/demo/evidence/ticket-decomposition-result.yaml", "https://github.com/example/project/issues/1") : readFileSync(ref, "utf8") }).result, "allowed");
104
114
 
105
115
  process.stdout.write("生命周期转换压力场景验证通过\n");
@@ -4,18 +4,44 @@ import { existsSync } from "node:fs";
4
4
  import path from "node:path";
5
5
  import { PROJECTION_ROOTS, ROOT } from "./lib/skill-supply-chain.mjs";
6
6
 
7
- const retired = ["yss-router", "yss-source-index"];
8
- const allowed = (relative) => relative === "docs/agents/skill-migrations.md"
7
+ const retired = [
8
+ "ask-matt",
9
+ "dispatching-parallel-agents",
10
+ "loop-me",
11
+ "migrate-to-shoehorn",
12
+ "prototype-page-acceptance",
13
+ "scaffold-exercises",
14
+ "setup-pre-commit",
15
+ "setup-ts-deep-modules",
16
+ "teach",
17
+ "writing-beats",
18
+ "writing-fragments",
19
+ "writing-shape",
20
+ "yss-microapp-commit",
21
+ "yss-page-module-development",
22
+ "yss-router",
23
+ "yss-source-index",
24
+ ];
25
+ const allowed = (relative, line) => relative === "docs/agents/skill-migrations.md"
9
26
  || relative.includes("/docs/agents/skill-migrations.md")
10
27
  || relative.endsWith(".template-source/wiki/raw/skill-migrations.md")
11
28
  || relative.startsWith(".template-source/evidence/")
12
29
  || relative.includes("/.template-source/evidence/")
13
30
  || relative.includes("/tests/")
31
+ || relative.startsWith(".template-source/tooling/node/test/")
32
+ || relative.endsWith("/skills/.yss-skills-manifest.json")
33
+ || relative === "docs/agents/yss-ui-skills-integration.md"
34
+ || relative === "scripts/lib/skill-governance.mjs"
35
+ || (relative.endsWith("/skills/yss-product-lifecycle/references/orchestration-contract.yaml") && line.includes("retired_shared_skills:"))
14
36
  || relative.endsWith("scripts/verify-retired-skill-ids")
15
37
  || relative.endsWith("scripts/lib/skill-supply-chain.mjs")
16
38
  || relative.endsWith("scripts/lib/implementation-contract-compiler.mjs");
17
39
 
18
- const search = spawnSync("rg", ["-n", "--hidden", "--glob", "!.git/**", "--glob", "!.codegraph/**", "--glob", "!submodules/**", retired.join("|"), "."], {
40
+ const escaped = retired.filter((id) => id !== "teach").map((id) => id.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
41
+ const exactSkillIdPattern = `(?<![a-z0-9-])(?:${escaped.join("|")})(?![a-z0-9-])`;
42
+ const teachSkillPattern = "(?:`teach`|/teach(?:/|\\b)|(?:^|[\\[,])\\s*[\"']?teach[\"']?\\s*(?=[,\\]])|\\b(?:id|name)\\s*:\\s*[\"']?teach[\"']?\\b)";
43
+ const retiredSkillPattern = `(?:${exactSkillIdPattern}|${teachSkillPattern})`;
44
+ const search = spawnSync("rg", ["-n", "--pcre2", "--hidden", "--glob", "!.git/**", "--glob", "!.codegraph/**", "--glob", "!submodules/**", retiredSkillPattern, "."], {
19
45
  cwd: ROOT,
20
46
  encoding: "utf8"
21
47
  });
@@ -25,7 +51,7 @@ if (![0, 1].includes(search.status)) {
25
51
  }
26
52
  const violations = search.stdout.split(/\r?\n/).filter(Boolean).filter((line) => {
27
53
  const match = line.match(/^\.\/(.*?):\d+:/);
28
- return !match || !allowed(match[1]);
54
+ return !match || !allowed(match[1], line);
29
55
  });
30
56
  for (const name of retired) {
31
57
  const roots = [".agents/skills", ...PROJECTION_ROOTS];