create-yss-spec 2.1.9 → 2.1.11

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 (1016) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/cli.js +82 -15
  4. package/template/.agents/skills/ask-matt/SKILL.md +8 -2
  5. package/template/.agents/skills/code-review/SKILL.md +6 -4
  6. package/template/.agents/skills/diagnosing-bugs/SKILL.md +2 -4
  7. package/template/.agents/skills/domain-modeling/SKILL.md +1 -1
  8. package/template/.agents/skills/grilling/SKILL.md +7 -1
  9. package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  10. package/template/.agents/skills/implement/SKILL.md +1 -1
  11. package/template/.agents/skills/to-spec/SKILL.md +1 -1
  12. package/template/.agents/skills/triage/SKILL.md +2 -2
  13. package/template/.agents/skills/wait-what/SKILL.md +2 -2
  14. package/template/.agents/skills/wayfinder/SKILL.md +1 -1
  15. package/template/.agents/skills/yss-api-integration/SKILL.md +2 -0
  16. package/template/.agents/skills/yss-application/SKILL.md +52 -0
  17. package/template/.agents/skills/yss-application/agents/openai.yaml +5 -0
  18. package/template/.agents/skills/{yss-backend-scaffold-application/SKILL.md → yss-application/references/application-layer-guide.md} +0 -7
  19. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  20. package/template/.agents/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  21. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  22. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  23. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  24. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  25. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  26. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  27. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  28. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  29. package/template/.agents/skills/yss-domain/SKILL.md +5 -0
  30. package/template/{.claude/skills/yss-backend-scaffold-domain/SKILL.md → .agents/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  31. package/template/.agents/skills/yss-microapp-commit/SKILL.md +2 -0
  32. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +43 -91
  33. package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  34. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  35. package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  36. package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +4 -1
  37. package/template/.agents/skills/yss-prototype-stage/SKILL.md +1 -1
  38. package/template/.agents/skills/yss-repository/SKILL.md +5 -0
  39. package/template/{.codex/skills/yss-backend-scaffold-infrastructure/SKILL.md → .agents/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  40. package/template/.agents/skills/yss-router/references/boundaries.md +2 -6
  41. package/template/.agents/skills/yss-router/references/router-contract.yaml +8 -12
  42. package/template/.agents/skills/yss-source-index/references/source-map-config.md +0 -4
  43. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  44. package/template/.agents/skills/yss-web-controller/SKILL.md +1 -0
  45. package/template/{.codex/skills/yss-backend-scaffold-web/SKILL.md → .agents/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  46. package/template/.claude/skills/ask-matt/SKILL.md +8 -2
  47. package/template/.claude/skills/code-review/SKILL.md +6 -4
  48. package/template/.claude/skills/diagnosing-bugs/SKILL.md +2 -4
  49. package/template/.claude/skills/domain-modeling/SKILL.md +1 -1
  50. package/template/.claude/skills/grilling/SKILL.md +7 -1
  51. package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  52. package/template/.claude/skills/implement/SKILL.md +1 -1
  53. package/template/.claude/skills/to-spec/SKILL.md +1 -1
  54. package/template/.claude/skills/triage/SKILL.md +2 -2
  55. package/template/.claude/skills/wait-what/SKILL.md +2 -2
  56. package/template/.claude/skills/wayfinder/SKILL.md +1 -1
  57. package/template/.claude/skills/yss-api-integration/SKILL.md +2 -0
  58. package/template/.claude/skills/yss-application/SKILL.md +52 -0
  59. package/template/.claude/skills/yss-application/agents/openai.yaml +5 -0
  60. package/template/{.codex/skills/yss-backend-scaffold-application/SKILL.md → .claude/skills/yss-application/references/application-layer-guide.md} +0 -7
  61. package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  62. package/template/.claude/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  63. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  64. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  65. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  66. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  67. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  68. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  69. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  70. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  71. package/template/.claude/skills/yss-domain/SKILL.md +5 -0
  72. package/template/{.agents/skills/yss-backend-scaffold-domain/SKILL.md → .claude/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  73. package/template/.claude/skills/yss-microapp-commit/SKILL.md +2 -0
  74. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +43 -91
  75. package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  76. package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  77. package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  78. package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +4 -1
  79. package/template/.claude/skills/yss-prototype-stage/SKILL.md +1 -1
  80. package/template/.claude/skills/yss-repository/SKILL.md +5 -0
  81. package/template/.claude/skills/{yss-backend-scaffold-infrastructure/SKILL.md → yss-repository/references/infrastructure-layer-guide.md} +0 -7
  82. package/template/.claude/skills/yss-router/references/boundaries.md +2 -6
  83. package/template/.claude/skills/yss-router/references/router-contract.yaml +8 -12
  84. package/template/.claude/skills/yss-source-index/references/source-map-config.md +0 -4
  85. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  86. package/template/.claude/skills/yss-web-controller/SKILL.md +1 -0
  87. package/template/{.hermes/skills/yss-backend-scaffold-web/SKILL.md → .claude/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  88. package/template/.codex/skills/ask-matt/SKILL.md +8 -2
  89. package/template/.codex/skills/code-review/SKILL.md +6 -4
  90. package/template/.codex/skills/diagnosing-bugs/SKILL.md +2 -4
  91. package/template/.codex/skills/domain-modeling/SKILL.md +1 -1
  92. package/template/.codex/skills/grilling/SKILL.md +7 -1
  93. package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  94. package/template/.codex/skills/implement/SKILL.md +1 -1
  95. package/template/.codex/skills/to-spec/SKILL.md +1 -1
  96. package/template/.codex/skills/triage/SKILL.md +2 -2
  97. package/template/.codex/skills/wait-what/SKILL.md +2 -2
  98. package/template/.codex/skills/wayfinder/SKILL.md +1 -1
  99. package/template/.codex/skills/yss-api-integration/SKILL.md +2 -0
  100. package/template/.codex/skills/yss-application/SKILL.md +52 -0
  101. package/template/.codex/skills/yss-application/agents/openai.yaml +5 -0
  102. package/template/{.claude/skills/yss-backend-scaffold-application/SKILL.md → .codex/skills/yss-application/references/application-layer-guide.md} +0 -7
  103. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  104. package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  105. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  106. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  107. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  108. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  109. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  110. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  111. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  112. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  113. package/template/.codex/skills/yss-domain/SKILL.md +5 -0
  114. package/template/.codex/skills/{yss-backend-scaffold-domain/SKILL.md → yss-domain/references/domain-layer-guide.md} +0 -7
  115. package/template/.codex/skills/yss-microapp-commit/SKILL.md +2 -0
  116. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +43 -91
  117. package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  118. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  119. package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  120. package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +4 -1
  121. package/template/.codex/skills/yss-prototype-stage/SKILL.md +1 -1
  122. package/template/.codex/skills/yss-repository/SKILL.md +5 -0
  123. package/template/{.hermes/skills/yss-backend-scaffold-infrastructure/SKILL.md → .codex/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  124. package/template/.codex/skills/yss-router/references/boundaries.md +2 -6
  125. package/template/.codex/skills/yss-router/references/router-contract.yaml +8 -12
  126. package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -4
  127. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  128. package/template/.codex/skills/yss-web-controller/SKILL.md +1 -0
  129. package/template/{.agents/skills/yss-backend-scaffold-web/SKILL.md → .codex/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  130. package/template/.cursor/environment.json +5 -0
  131. package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +51 -0
  132. package/template/.cursor/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
  133. package/template/.cursor/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
  134. package/template/.cursor/skills/alibaba-java-code-style/references/java-programming.md +178 -0
  135. package/template/.cursor/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
  136. package/template/.cursor/skills/ask-matt/PHASE-BOUNDARIES.md +55 -0
  137. package/template/.cursor/skills/ask-matt/SKILL.md +95 -0
  138. package/template/.cursor/skills/ask-matt/agents/openai.yaml +5 -0
  139. package/template/.cursor/skills/code-review/SKILL.md +117 -0
  140. package/template/.cursor/skills/code-review/agents/openai.yaml +3 -0
  141. package/template/.cursor/skills/codebase-design/DEEPENING.md +37 -0
  142. package/template/.cursor/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  143. package/template/.cursor/skills/codebase-design/SKILL.md +114 -0
  144. package/template/.cursor/skills/codebase-design/agents/openai.yaml +3 -0
  145. package/template/.cursor/skills/competitive-intelligence/SKILL.md +94 -0
  146. package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +51 -0
  147. package/template/.cursor/skills/diagnosing-bugs/SKILL.md +138 -0
  148. package/template/.cursor/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  149. package/template/.cursor/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  150. package/template/.cursor/skills/dispatching-parallel-agents/SKILL.md +185 -0
  151. package/template/.cursor/skills/domain-modeling/ADR-FORMAT.md +47 -0
  152. package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  153. package/template/.cursor/skills/domain-modeling/SKILL.md +74 -0
  154. package/template/.cursor/skills/domain-modeling/agents/openai.yaml +3 -0
  155. package/template/.cursor/skills/grill-me/SKILL.md +7 -0
  156. package/template/.cursor/skills/grill-me/agents/openai.yaml +5 -0
  157. package/template/.cursor/skills/grill-with-docs/SKILL.md +19 -0
  158. package/template/.cursor/skills/grill-with-docs/agents/openai.yaml +5 -0
  159. package/template/{.agents/skills/batch-grill-me → .cursor/skills/grilling}/SKILL.md +19 -6
  160. package/template/.cursor/skills/grilling/agents/openai.yaml +3 -0
  161. package/template/.cursor/skills/handoff/SKILL.md +16 -0
  162. package/template/.cursor/skills/handoff/agents/openai.yaml +5 -0
  163. package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +106 -0
  164. package/template/.cursor/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
  165. package/template/.cursor/skills/implement/SKILL.md +15 -0
  166. package/template/.cursor/skills/implement/agents/openai.yaml +5 -0
  167. package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +50 -0
  168. package/template/.cursor/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  169. package/template/.cursor/skills/improve-codebase-architecture/SKILL.md +71 -0
  170. package/template/.cursor/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  171. package/template/.cursor/skills/lombok/SKILL.md +351 -0
  172. package/template/.cursor/skills/loop-me/SKILL.md +32 -0
  173. package/template/.cursor/skills/loop-me/agents/openai.yaml +5 -0
  174. package/template/.cursor/skills/maintaining-skills/SKILL.md +25 -0
  175. package/template/.cursor/skills/mapstruct/SKILL.md +334 -0
  176. package/template/.cursor/skills/migrate-to-shoehorn/SKILL.md +118 -0
  177. package/template/.cursor/skills/migrate-to-shoehorn/agents/openai.yaml +3 -0
  178. package/template/.cursor/skills/prototype/LOGIC.md +67 -0
  179. package/template/.cursor/skills/prototype/SKILL.md +26 -0
  180. package/template/.cursor/skills/prototype/UI.md +112 -0
  181. package/template/.cursor/skills/prototype/agents/openai.yaml +3 -0
  182. package/template/.cursor/skills/prototype-review/SKILL.md +74 -0
  183. package/template/.cursor/skills/prototype-review/agents/openai.yaml +4 -0
  184. package/template/.cursor/skills/research/SKILL.md +12 -0
  185. package/template/.cursor/skills/research/agents/openai.yaml +3 -0
  186. package/template/.cursor/skills/resolving-merge-conflicts/SKILL.md +14 -0
  187. package/template/.cursor/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  188. package/template/.cursor/skills/scaffold-exercises/SKILL.md +106 -0
  189. package/template/.cursor/skills/scaffold-exercises/agents/openai.yaml +3 -0
  190. package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +125 -0
  191. package/template/.cursor/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  192. package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +51 -0
  193. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  194. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  195. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-local.md +66 -0
  196. package/template/.cursor/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  197. package/template/.cursor/skills/setup-pre-commit/SKILL.md +91 -0
  198. package/template/.cursor/skills/setup-pre-commit/agents/openai.yaml +3 -0
  199. package/template/.cursor/skills/setup-ts-deep-modules/SKILL.md +102 -0
  200. package/template/.cursor/skills/setup-ts-deep-modules/agents/openai.yaml +5 -0
  201. package/template/.cursor/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +95 -0
  202. package/template/.cursor/skills/tdd/SKILL.md +38 -0
  203. package/template/.cursor/skills/tdd/agents/openai.yaml +3 -0
  204. package/template/.cursor/skills/tdd/mocking.md +59 -0
  205. package/template/.cursor/skills/tdd/tests.md +77 -0
  206. package/template/.cursor/skills/teach/GLOSSARY-FORMAT.md +35 -0
  207. package/template/.cursor/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  208. package/template/.cursor/skills/teach/MISSION-FORMAT.md +31 -0
  209. package/template/.cursor/skills/teach/RESOURCES-FORMAT.md +32 -0
  210. package/template/.cursor/skills/teach/SKILL.md +140 -0
  211. package/template/.cursor/skills/teach/agents/openai.yaml +5 -0
  212. package/template/.cursor/skills/to-questionnaire/SKILL.md +53 -0
  213. package/template/.cursor/skills/to-questionnaire/agents/openai.yaml +5 -0
  214. package/template/.cursor/skills/to-spec/SKILL.md +75 -0
  215. package/template/.cursor/skills/to-spec/agents/openai.yaml +5 -0
  216. package/template/.cursor/skills/to-tickets/SKILL.md +105 -0
  217. package/template/.cursor/skills/to-tickets/agents/openai.yaml +5 -0
  218. package/template/.cursor/skills/triage/AGENT-BRIEF.md +207 -0
  219. package/template/.cursor/skills/triage/OUT-OF-SCOPE.md +105 -0
  220. package/template/.cursor/skills/triage/SKILL.md +112 -0
  221. package/template/.cursor/skills/triage/agents/openai.yaml +5 -0
  222. package/template/.cursor/skills/using-git-worktrees/SKILL.md +202 -0
  223. package/template/.cursor/skills/wait-what/SKILL.md +7 -0
  224. package/template/.cursor/skills/wait-what/agents/openai.yaml +5 -0
  225. package/template/.cursor/skills/wayfinder/SKILL.md +128 -0
  226. package/template/.cursor/skills/wayfinder/agents/openai.yaml +5 -0
  227. package/template/.cursor/skills/writing-beats/SKILL.md +67 -0
  228. package/template/.cursor/skills/writing-beats/agents/openai.yaml +5 -0
  229. package/template/.cursor/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
  230. package/template/.cursor/skills/writing-for-agents/SKILL.md +81 -0
  231. package/template/.cursor/skills/writing-for-agents/agents/openai.yaml +3 -0
  232. package/template/.cursor/skills/writing-fragments/SKILL.md +79 -0
  233. package/template/.cursor/skills/writing-fragments/agents/openai.yaml +5 -0
  234. package/template/.cursor/skills/writing-shape/SKILL.md +79 -0
  235. package/template/.cursor/skills/writing-shape/agents/openai.yaml +5 -0
  236. package/template/.cursor/skills/yss-api-integration/SKILL.md +429 -0
  237. package/template/.cursor/skills/yss-api-integration/agents/openai.yaml +5 -0
  238. package/template/.cursor/skills/yss-application/SKILL.md +52 -0
  239. package/template/.cursor/skills/yss-application/agents/openai.yaml +5 -0
  240. package/template/{.hermes/skills/yss-backend-scaffold-application/SKILL.md → .cursor/skills/yss-application/references/application-layer-guide.md} +0 -7
  241. package/template/.cursor/skills/yss-audit-log/SKILL.md +67 -0
  242. package/template/.cursor/skills/yss-audit-log/agents/openai.yaml +5 -0
  243. package/template/.cursor/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
  244. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
  245. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
  246. package/template/.cursor/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
  247. package/template/.cursor/skills/yss-audit-log/references/README.md +69 -0
  248. package/template/.cursor/skills/yss-audit-log/references/source-index.md +43 -0
  249. package/template/.cursor/skills/yss-cache/SKILL.md +44 -0
  250. package/template/.cursor/skills/yss-cache/agents/openai.yaml +5 -0
  251. package/template/.cursor/skills/yss-cache/references/annotations.md +39 -0
  252. package/template/.cursor/skills/yss-cache/references/architecture.md +25 -0
  253. package/template/.cursor/skills/yss-cache/references/configuration.md +34 -0
  254. package/template/.cursor/skills/yss-cache/references/redis-fallback.md +23 -0
  255. package/template/.cursor/skills/yss-cache/references/redis-topology.md +62 -0
  256. package/template/.cursor/skills/yss-cache/references/serialization.md +17 -0
  257. package/template/.cursor/skills/yss-cache/references/source-index.md +67 -0
  258. package/template/.cursor/skills/yss-cache/references/troubleshooting.md +33 -0
  259. package/template/.cursor/skills/yss-cache/references/verification.md +34 -0
  260. package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  261. package/template/.cursor/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  262. package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  263. package/template/.cursor/skills/yss-components/SKILL.md +386 -0
  264. package/template/.cursor/skills/yss-components/agents/openai.yaml +5 -0
  265. package/template/.cursor/skills/yss-components/references/frontend-docs.md +9 -0
  266. package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +96 -0
  267. package/template/.cursor/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
  268. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
  269. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
  270. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
  271. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
  272. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
  273. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +50 -0
  274. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
  275. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
  276. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
  277. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
  278. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
  279. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
  280. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
  281. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
  282. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
  283. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +18 -0
  284. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
  285. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
  286. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
  287. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +420 -0
  288. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
  289. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
  290. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +8 -0
  291. package/template/{.agents/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  292. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +8 -0
  293. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  294. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +8 -0
  295. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  296. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +138 -0
  297. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
  298. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +8 -0
  299. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  300. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  301. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  302. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  303. package/template/.cursor/skills/yss-design-system/SKILL.md +99 -0
  304. package/template/.cursor/skills/yss-design-system/agents/openai.yaml +5 -0
  305. package/template/.cursor/skills/yss-design-system/references/design-system.md +237 -0
  306. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  307. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  308. package/template/.cursor/skills/yss-distributed-id/SKILL.md +69 -0
  309. package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +5 -0
  310. package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
  311. package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
  312. package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +36 -0
  313. package/template/.cursor/skills/yss-distributed-id/references/README.md +51 -0
  314. package/template/.cursor/skills/yss-distributed-id/references/source-index.md +86 -0
  315. package/template/.cursor/skills/yss-domain/SKILL.md +68 -0
  316. package/template/.cursor/skills/yss-domain/agents/openai.yaml +5 -0
  317. package/template/{.hermes/skills/yss-backend-scaffold-domain/SKILL.md → .cursor/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  318. package/template/.cursor/skills/yss-dto/SKILL.md +86 -0
  319. package/template/.cursor/skills/yss-dto/agents/openai.yaml +5 -0
  320. package/template/.cursor/skills/yss-dto/assets/CommandDTO.java +8 -0
  321. package/template/.cursor/skills/yss-dto/assets/PageQuery.java +133 -0
  322. package/template/.cursor/skills/yss-dto/assets/QueryDTO.java +6 -0
  323. package/template/.cursor/skills/yss-dto/assets/Result.java +105 -0
  324. package/template/.cursor/skills/yss-dto/references/README.md +67 -0
  325. package/template/.cursor/skills/yss-dto/references/openapi-wire-profile.yaml +181 -0
  326. package/template/.cursor/skills/yss-dto/references/source-index.md +55 -0
  327. package/template/.cursor/skills/yss-excel-mvc/SKILL.md +66 -0
  328. package/template/.cursor/skills/yss-excel-mvc/agents/openai.yaml +5 -0
  329. package/template/.cursor/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
  330. package/template/.cursor/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
  331. package/template/.cursor/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
  332. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
  333. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
  334. package/template/.cursor/skills/yss-excel-mvc/references/README.md +5 -0
  335. package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +74 -0
  336. package/template/.cursor/skills/yss-exception/SKILL.md +55 -0
  337. package/template/.cursor/skills/yss-exception/agents/openai.yaml +4 -0
  338. package/template/{.claude/skills/yss-log → .cursor/skills/yss-exception}/references/source-index.md +8 -7
  339. package/template/.cursor/skills/yss-formily/SKILL.md +304 -0
  340. package/template/.cursor/skills/yss-formily/agents/openai.yaml +5 -0
  341. package/template/.cursor/skills/yss-formily/references/examples.md +65 -0
  342. package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +189 -0
  343. package/template/.cursor/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
  344. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
  345. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
  346. package/template/.cursor/skills/yss-formily-schema-generator/references/workflow.md +240 -0
  347. package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +76 -0
  348. package/template/.cursor/skills/yss-hook/SKILL.md +200 -0
  349. package/template/.cursor/skills/yss-hook/agents/openai.yaml +5 -0
  350. package/template/.cursor/skills/yss-hook/references/frontend-docs.md +10 -0
  351. package/template/.cursor/skills/yss-microapp-commit/SKILL.md +201 -0
  352. package/template/.cursor/skills/yss-microapp-commit/agents/openai.yaml +5 -0
  353. package/template/.cursor/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
  354. package/template/.cursor/skills/yss-mybatis/SKILL.md +77 -0
  355. package/template/.cursor/skills/yss-mybatis/agents/openai.yaml +5 -0
  356. package/template/.cursor/skills/yss-mybatis/assets/BaseRepository.java +112 -0
  357. package/template/.cursor/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
  358. package/template/.cursor/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
  359. package/template/.cursor/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
  360. package/template/.cursor/skills/yss-mybatis/references/README.md +57 -0
  361. package/template/.cursor/skills/yss-mybatis/references/source-index.md +93 -0
  362. package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +82 -0
  363. package/template/.cursor/skills/yss-openapi-governance/SKILL.md +130 -0
  364. package/template/.cursor/skills/yss-openapi-governance/agents/openai.yaml +4 -0
  365. package/template/.cursor/skills/yss-page-module-development/SKILL.md +153 -0
  366. package/template/.cursor/skills/yss-page-module-development/agents/openai.yaml +5 -0
  367. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
  368. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
  369. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
  370. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
  371. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
  372. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
  373. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
  374. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
  375. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
  376. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
  377. package/template/.cursor/skills/yss-page-module-development/references/frontend-docs.md +11 -0
  378. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +49 -0
  379. package/template/.cursor/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
  380. package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +32 -0
  381. package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +122 -0
  382. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +521 -0
  383. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +103 -0
  384. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +107 -0
  385. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +40 -0
  386. package/template/.cursor/skills/yss-repository/SKILL.md +76 -0
  387. package/template/.cursor/skills/yss-repository/agents/openai.yaml +5 -0
  388. package/template/{.agents/skills/yss-backend-scaffold-infrastructure/SKILL.md → .cursor/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  389. package/template/.cursor/skills/yss-resilience4j/SKILL.md +46 -0
  390. package/template/.cursor/skills/yss-resilience4j/agents/openai.yaml +4 -0
  391. package/template/{.codex/skills/yss-jdbc → .cursor/skills/yss-resilience4j}/references/source-index.md +6 -6
  392. package/template/.cursor/skills/yss-router/SKILL.md +49 -0
  393. package/template/.cursor/skills/yss-router/agents/openai.yaml +4 -0
  394. package/template/.cursor/skills/yss-router/references/boundaries.md +50 -0
  395. package/template/.cursor/skills/yss-router/references/router-contract.yaml +245 -0
  396. package/template/.cursor/skills/yss-router/references/slice-implementation-contract.md +113 -0
  397. package/template/.cursor/skills/yss-router/references/yss-skill-execution-result.md +62 -0
  398. package/template/.cursor/skills/yss-security-algorithm/SKILL.md +52 -0
  399. package/template/.cursor/skills/yss-security-algorithm/agents/openai.yaml +4 -0
  400. package/template/{.hermes/skills/yss-jdbc → .cursor/skills/yss-security-algorithm}/references/source-index.md +7 -5
  401. package/template/.cursor/skills/yss-source-index/SKILL.md +63 -0
  402. package/template/.cursor/skills/yss-source-index/agents/openai.yaml +4 -0
  403. package/template/.cursor/skills/yss-source-index/references/source-location.md +18 -0
  404. package/template/.cursor/skills/yss-source-index/references/source-map-config.md +30 -0
  405. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  406. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  407. package/template/.cursor/skills/yss-ui/SKILL.md +169 -0
  408. package/template/.cursor/skills/yss-ui/agents/openai.yaml +5 -0
  409. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
  410. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
  411. package/template/.cursor/skills/yss-ui/assets/demos/button/permission.vue +10 -0
  412. package/template/.cursor/skills/yss-ui/assets/demos/button/size.vue +12 -0
  413. package/template/.cursor/skills/yss-ui/assets/demos/button/states.vue +12 -0
  414. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
  415. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
  416. package/template/.cursor/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
  417. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
  418. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
  419. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
  420. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
  421. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
  422. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
  423. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
  424. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
  425. package/template/.cursor/skills/yss-ui/assets/demos/card/loading/index.vue +19 -0
  426. package/template/.cursor/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
  427. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
  428. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
  429. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
  430. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
  431. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
  432. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
  433. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
  434. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
  435. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
  436. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
  437. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
  438. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
  439. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
  440. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
  441. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
  442. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
  443. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
  444. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
  445. package/template/.cursor/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
  446. package/template/.cursor/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
  447. package/template/.cursor/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
  448. package/template/.cursor/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
  449. package/template/.cursor/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
  450. package/template/.cursor/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
  451. package/template/.cursor/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
  452. package/template/.cursor/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
  453. package/template/.cursor/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
  454. package/template/.cursor/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
  455. package/template/.cursor/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
  456. package/template/.cursor/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
  457. package/template/.cursor/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
  458. package/template/.cursor/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
  459. package/template/.cursor/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
  460. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
  461. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
  462. package/template/.cursor/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
  463. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
  464. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
  465. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
  466. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
  467. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
  468. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
  469. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
  470. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
  471. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
  472. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
  473. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
  474. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
  475. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
  476. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
  477. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
  478. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
  479. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
  480. package/template/.cursor/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
  481. package/template/.cursor/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
  482. package/template/.cursor/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
  483. package/template/.cursor/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
  484. package/template/.cursor/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
  485. package/template/.cursor/skills/yss-ui/assets/demos/formily/align.vue +56 -0
  486. package/template/.cursor/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
  487. package/template/.cursor/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
  488. package/template/.cursor/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
  489. package/template/.cursor/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
  490. package/template/.cursor/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
  491. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
  492. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
  493. package/template/.cursor/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
  494. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
  495. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
  496. package/template/.cursor/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
  497. package/template/.cursor/skills/yss-ui/assets/demos/formily/group.vue +102 -0
  498. package/template/.cursor/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
  499. package/template/.cursor/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
  500. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
  501. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
  502. package/template/.cursor/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
  503. package/template/.cursor/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
  504. package/template/.cursor/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
  505. package/template/.cursor/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
  506. package/template/.cursor/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
  507. package/template/.cursor/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
  508. package/template/.cursor/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
  509. package/template/.cursor/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
  510. package/template/.cursor/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
  511. package/template/.cursor/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
  512. package/template/.cursor/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
  513. package/template/.cursor/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
  514. package/template/.cursor/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
  515. package/template/.cursor/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
  516. package/template/.cursor/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
  517. package/template/.cursor/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
  518. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
  519. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
  520. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
  521. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
  522. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
  523. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
  524. package/template/.cursor/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
  525. package/template/.cursor/skills/yss-ui/assets/demos/table/action/style.less +3 -0
  526. package/template/.cursor/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
  527. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
  528. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
  529. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
  530. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
  531. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
  532. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
  533. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
  534. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
  535. package/template/.cursor/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
  536. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
  537. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
  538. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
  539. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
  540. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
  541. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
  542. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
  543. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
  544. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
  545. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
  546. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
  547. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
  548. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
  549. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
  550. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
  551. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
  552. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
  553. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
  554. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
  555. package/template/.cursor/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
  556. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
  557. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
  558. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
  559. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
  560. package/template/.cursor/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
  561. package/template/.cursor/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
  562. package/template/.cursor/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
  563. package/template/.cursor/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
  564. package/template/.cursor/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
  565. package/template/.cursor/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
  566. package/template/.cursor/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
  567. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
  568. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
  569. package/template/.cursor/skills/yss-ui/assets/docs/components/button.md +79 -0
  570. package/template/.cursor/skills/yss-ui/assets/docs/components/card.md +162 -0
  571. package/template/.cursor/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
  572. package/template/.cursor/skills/yss-ui/assets/docs/components/cron.md +77 -0
  573. package/template/.cursor/skills/yss-ui/assets/docs/components/echarts.md +110 -0
  574. package/template/.cursor/skills/yss-ui/assets/docs/components/editTable.md +212 -0
  575. package/template/.cursor/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
  576. package/template/.cursor/skills/yss-ui/assets/docs/components/formily.md +370 -0
  577. package/template/.cursor/skills/yss-ui/assets/docs/components/monaco.md +369 -0
  578. package/template/.cursor/skills/yss-ui/assets/docs/components/sheet.md +169 -0
  579. package/template/.cursor/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
  580. package/template/.cursor/skills/yss-ui/assets/docs/components/table.md +398 -0
  581. package/template/.cursor/skills/yss-ui/assets/docs/components/tree.md +102 -0
  582. package/template/.cursor/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
  583. package/template/.cursor/skills/yss-ui/assets/docs/guide/index.md +132 -0
  584. package/template/.cursor/skills/yss-ui/assets/docs/guide/installation.md +97 -0
  585. package/template/.cursor/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
  586. package/template/.cursor/skills/yss-ui/assets/docs/guide/llms.md +295 -0
  587. package/template/.cursor/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
  588. package/template/.cursor/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
  589. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
  590. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
  591. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
  592. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
  593. package/template/.cursor/skills/yss-ui/assets/docs/root/resources.md +18 -0
  594. package/template/.cursor/skills/yss-ui/assets/keyword-index.json +53 -0
  595. package/template/.cursor/skills/yss-ui/assets/keyword-index.md +47 -0
  596. package/template/.cursor/skills/yss-ui/assets/reference-index.json +55 -0
  597. package/template/.cursor/skills/yss-ui/assets/reference-index.md +74 -0
  598. package/template/.cursor/skills/yss-ui/assets/scenario-index.json +50 -0
  599. package/template/.cursor/skills/yss-ui/assets/scenario-index.md +41 -0
  600. package/template/.cursor/skills/yss-ui/references/accessibility.md +23 -0
  601. package/template/.cursor/skills/yss-ui/references/antdv-compatibility.md +39 -0
  602. package/template/.cursor/skills/yss-ui/references/checklist.md +110 -0
  603. package/template/.cursor/skills/yss-ui/references/component-routing.md +31 -0
  604. package/template/.cursor/skills/yss-ui/references/frontend-docs.md +11 -0
  605. package/template/.cursor/skills/yss-ui/references/migration-antdv-to-yss.md +20 -0
  606. package/template/.cursor/skills/yss-ui/references/quick-recipes.md +280 -0
  607. package/template/.cursor/skills/yss-ui/references/theme-locale-overlay.md +25 -0
  608. package/template/.cursor/skills/yss-ui/references/verification.md +20 -0
  609. package/template/.cursor/skills/yss-up-springboot3/SKILL.md +40 -0
  610. package/template/.cursor/skills/yss-up-springboot3/agents/openai.yaml +4 -0
  611. package/template/.cursor/skills/yss-use-table-height/SKILL.md +340 -0
  612. package/template/.cursor/skills/yss-use-table-height/agents/openai.yaml +5 -0
  613. package/template/.cursor/skills/yss-use-table-height/references/frontend-docs.md +9 -0
  614. package/template/.cursor/skills/yss-use-tree-height/SKILL.md +431 -0
  615. package/template/.cursor/skills/yss-use-tree-height/agents/openai.yaml +5 -0
  616. package/template/.cursor/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
  617. package/template/.cursor/skills/yss-userinfo/SKILL.md +49 -0
  618. package/template/.cursor/skills/yss-userinfo/agents/openai.yaml +4 -0
  619. package/template/{.claude/skills/yss-jdbc → .cursor/skills/yss-userinfo}/references/source-index.md +6 -5
  620. package/template/.cursor/skills/yss-validation/SKILL.md +56 -0
  621. package/template/.cursor/skills/yss-validation/agents/openai.yaml +4 -0
  622. package/template/{.agents/skills/yss-jdbc → .cursor/skills/yss-validation}/references/source-index.md +6 -6
  623. package/template/.cursor/skills/yss-web-controller/SKILL.md +78 -0
  624. package/template/.cursor/skills/yss-web-controller/agents/openai.yaml +5 -0
  625. package/template/.cursor/skills/yss-web-controller/assets/templates/Controller.java.template +73 -0
  626. package/template/.cursor/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
  627. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
  628. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
  629. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
  630. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
  631. package/template/{.claude/skills/yss-backend-scaffold-web/SKILL.md → .cursor/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  632. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  633. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  634. package/template/.hermes/skills/ask-matt/SKILL.md +8 -2
  635. package/template/.hermes/skills/code-review/SKILL.md +6 -4
  636. package/template/.hermes/skills/diagnosing-bugs/SKILL.md +2 -4
  637. package/template/.hermes/skills/domain-modeling/SKILL.md +1 -1
  638. package/template/.hermes/skills/grilling/SKILL.md +7 -1
  639. package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  640. package/template/.hermes/skills/implement/SKILL.md +1 -1
  641. package/template/.hermes/skills/to-spec/SKILL.md +1 -1
  642. package/template/.hermes/skills/triage/SKILL.md +2 -2
  643. package/template/.hermes/skills/wait-what/SKILL.md +2 -2
  644. package/template/.hermes/skills/wayfinder/SKILL.md +1 -1
  645. package/template/.hermes/skills/yss-api-integration/SKILL.md +2 -0
  646. package/template/.hermes/skills/yss-application/SKILL.md +52 -0
  647. package/template/.hermes/skills/yss-application/agents/openai.yaml +5 -0
  648. package/template/.hermes/skills/yss-application/references/application-layer-guide.md +132 -0
  649. package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  650. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  651. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  652. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  653. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  654. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  655. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  656. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  657. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  658. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  659. package/template/.hermes/skills/yss-domain/SKILL.md +5 -0
  660. package/template/.hermes/skills/yss-domain/references/domain-layer-guide.md +274 -0
  661. package/template/.hermes/skills/yss-microapp-commit/SKILL.md +2 -0
  662. package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +43 -91
  663. package/template/.hermes/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  664. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  665. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  666. package/template/.hermes/skills/yss-product-lifecycle/references/state-model.md +4 -1
  667. package/template/.hermes/skills/yss-prototype-stage/SKILL.md +1 -1
  668. package/template/.hermes/skills/yss-repository/SKILL.md +5 -0
  669. package/template/.hermes/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  670. package/template/.hermes/skills/yss-router/references/boundaries.md +2 -6
  671. package/template/.hermes/skills/yss-router/references/router-contract.yaml +8 -12
  672. package/template/.hermes/skills/yss-source-index/references/source-map-config.md +0 -4
  673. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  674. package/template/.hermes/skills/yss-web-controller/SKILL.md +1 -0
  675. package/template/.hermes/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  676. package/template/.pi/skills/ask-matt/SKILL.md +8 -2
  677. package/template/.pi/skills/code-review/SKILL.md +6 -4
  678. package/template/.pi/skills/diagnosing-bugs/SKILL.md +2 -4
  679. package/template/.pi/skills/domain-modeling/SKILL.md +1 -1
  680. package/template/.pi/skills/grilling/SKILL.md +7 -1
  681. package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  682. package/template/.pi/skills/implement/SKILL.md +1 -1
  683. package/template/.pi/skills/to-spec/SKILL.md +1 -1
  684. package/template/.pi/skills/triage/SKILL.md +2 -2
  685. package/template/.pi/skills/wait-what/SKILL.md +2 -2
  686. package/template/.pi/skills/wayfinder/SKILL.md +1 -1
  687. package/template/.pi/skills/yss-api-integration/SKILL.md +2 -0
  688. package/template/.pi/skills/yss-application/SKILL.md +52 -0
  689. package/template/.pi/skills/yss-application/agents/openai.yaml +5 -0
  690. package/template/.pi/skills/yss-application/references/application-layer-guide.md +132 -0
  691. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  692. package/template/.pi/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  693. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  694. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  695. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  696. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  697. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  698. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  699. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  700. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  701. package/template/.pi/skills/yss-domain/SKILL.md +5 -0
  702. package/template/.pi/skills/yss-domain/references/domain-layer-guide.md +274 -0
  703. package/template/.pi/skills/yss-microapp-commit/SKILL.md +2 -0
  704. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +43 -91
  705. package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  706. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  707. package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  708. package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +4 -1
  709. package/template/.pi/skills/yss-prototype-stage/SKILL.md +1 -1
  710. package/template/.pi/skills/yss-repository/SKILL.md +5 -0
  711. package/template/.pi/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  712. package/template/.pi/skills/yss-router/references/boundaries.md +2 -6
  713. package/template/.pi/skills/yss-router/references/router-contract.yaml +8 -12
  714. package/template/.pi/skills/yss-source-index/references/source-map-config.md +0 -4
  715. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  716. package/template/.pi/skills/yss-web-controller/SKILL.md +1 -0
  717. package/template/.pi/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  718. package/template/.qoder/skills/ask-matt/SKILL.md +8 -2
  719. package/template/.qoder/skills/code-review/SKILL.md +6 -4
  720. package/template/.qoder/skills/diagnosing-bugs/SKILL.md +2 -4
  721. package/template/.qoder/skills/domain-modeling/SKILL.md +1 -1
  722. package/template/.qoder/skills/grilling/SKILL.md +7 -1
  723. package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  724. package/template/.qoder/skills/implement/SKILL.md +1 -1
  725. package/template/.qoder/skills/to-spec/SKILL.md +1 -1
  726. package/template/.qoder/skills/triage/SKILL.md +2 -2
  727. package/template/.qoder/skills/wait-what/SKILL.md +2 -2
  728. package/template/.qoder/skills/wayfinder/SKILL.md +1 -1
  729. package/template/.qoder/skills/yss-api-integration/SKILL.md +2 -0
  730. package/template/.qoder/skills/yss-application/SKILL.md +52 -0
  731. package/template/.qoder/skills/yss-application/agents/openai.yaml +5 -0
  732. package/template/.qoder/skills/yss-application/references/application-layer-guide.md +132 -0
  733. package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  734. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  735. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  736. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  737. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  738. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  739. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  740. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  741. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  742. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  743. package/template/.qoder/skills/yss-domain/SKILL.md +5 -0
  744. package/template/.qoder/skills/yss-domain/references/domain-layer-guide.md +274 -0
  745. package/template/.qoder/skills/yss-microapp-commit/SKILL.md +2 -0
  746. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +43 -91
  747. package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  748. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  749. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  750. package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +4 -1
  751. package/template/.qoder/skills/yss-prototype-stage/SKILL.md +1 -1
  752. package/template/.qoder/skills/yss-repository/SKILL.md +5 -0
  753. package/template/.qoder/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  754. package/template/.qoder/skills/yss-router/references/boundaries.md +2 -6
  755. package/template/.qoder/skills/yss-router/references/router-contract.yaml +8 -12
  756. package/template/.qoder/skills/yss-source-index/references/source-map-config.md +0 -4
  757. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  758. package/template/.qoder/skills/yss-web-controller/SKILL.md +1 -0
  759. package/template/.qoder/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  760. package/template/.trae/skills/ask-matt/SKILL.md +8 -2
  761. package/template/.trae/skills/code-review/SKILL.md +6 -4
  762. package/template/.trae/skills/diagnosing-bugs/SKILL.md +2 -4
  763. package/template/.trae/skills/domain-modeling/SKILL.md +1 -1
  764. package/template/.trae/skills/grilling/SKILL.md +7 -1
  765. package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  766. package/template/.trae/skills/implement/SKILL.md +1 -1
  767. package/template/.trae/skills/to-spec/SKILL.md +1 -1
  768. package/template/.trae/skills/triage/SKILL.md +2 -2
  769. package/template/.trae/skills/wait-what/SKILL.md +2 -2
  770. package/template/.trae/skills/wayfinder/SKILL.md +1 -1
  771. package/template/.trae/skills/yss-api-integration/SKILL.md +2 -0
  772. package/template/.trae/skills/yss-application/SKILL.md +52 -0
  773. package/template/.trae/skills/yss-application/agents/openai.yaml +5 -0
  774. package/template/.trae/skills/yss-application/references/application-layer-guide.md +132 -0
  775. package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  776. package/template/.trae/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  777. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  778. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  779. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  780. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  781. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  782. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  783. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  784. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  785. package/template/.trae/skills/yss-domain/SKILL.md +5 -0
  786. package/template/.trae/skills/yss-domain/references/domain-layer-guide.md +274 -0
  787. package/template/.trae/skills/yss-microapp-commit/SKILL.md +2 -0
  788. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +43 -91
  789. package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  790. package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  791. package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  792. package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +4 -1
  793. package/template/.trae/skills/yss-prototype-stage/SKILL.md +1 -1
  794. package/template/.trae/skills/yss-repository/SKILL.md +5 -0
  795. package/template/.trae/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  796. package/template/.trae/skills/yss-router/references/boundaries.md +2 -6
  797. package/template/.trae/skills/yss-router/references/router-contract.yaml +8 -12
  798. package/template/.trae/skills/yss-source-index/references/source-map-config.md +0 -4
  799. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  800. package/template/.trae/skills/yss-web-controller/SKILL.md +1 -0
  801. package/template/.trae/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  802. package/template/AGENTS.md +16 -3
  803. package/template/CONTEXT.md +8 -4
  804. package/template/README.md +2 -1
  805. package/template/docs/adr/0007-lifecycle-native-work-units.md +5 -0
  806. package/template/docs/agents/README.md +6 -4
  807. package/template/docs/agents/skills-maintenance.md +14 -4
  808. package/template/docs/agents/yss-skill-registry.yaml +498 -0
  809. package/template/docs/architecture/templates/engineering-baseline-review-template.md +2 -2
  810. package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +1 -1
  811. package/template/docs/process/lifecycle-artifact-map.md +19 -15
  812. package/template/docs/process/lifecycle-registry-baseline.json +15 -1
  813. package/template/docs/process/lifecycle-registry.yaml +77 -0
  814. package/template/docs/process/schemas/frontend-implementation-evidence.schema.json +39 -0
  815. package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +56 -0
  816. package/template/docs/process/schemas/lifecycle-registry.schema.json +2 -2
  817. package/template/docs/process/templates/frontend-implementation-plan-template.yaml +16 -0
  818. package/template/docs/process/templates/frontend-implementation-verification-template.yaml +21 -0
  819. package/template/docs/process/templates/lifecycle-checkpoint-template.yaml +30 -0
  820. package/template/docs/process/templates/stage-checkpoint-template.md +9 -5
  821. package/template/docs/templates/build-architecture-checklist-template.md +5 -5
  822. package/template/docs/templates/implementation-routing-template.md +5 -5
  823. package/template/docs/templates/review-report-template.md +3 -3
  824. package/template/docs/templates/vertical-slice-ticket-template.md +4 -4
  825. package/template/docs/user-guide//344/272/247/345/223/201/347/240/224/345/217/221/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +2 -1
  826. package/template/docs/user-guide//347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +2 -2
  827. package/template/scripts/lib/lifecycle-registry.mjs +9 -4
  828. package/template/scripts/lib/scenario-checks.mjs +37 -15
  829. package/template/scripts/lib/skill-registry.mjs +198 -0
  830. package/template/scripts/lib/skill-supply-chain.mjs +39 -11
  831. package/template/scripts/verify-frontend-implementation-evidence +51 -0
  832. package/template/scripts/verify-lifecycle-checkpoint +37 -0
  833. package/template/scripts/verify-skill-registry +10 -0
  834. package/template/scripts/verify-template +6 -2
  835. package/template/scripts/verify-upstream-skill-source +32 -0
  836. package/template/skills-lock.json +205 -195
  837. package/template/yss-public-skills.json +2 -16
  838. package/template.manifest.json +12 -0
  839. package/template.snapshot.json +4 -4
  840. package/template/.agents/skills/batch-grill-me/agents/openai.yaml +0 -5
  841. package/template/.agents/skills/product-design-prototype/SKILL.md +0 -91
  842. package/template/.agents/skills/product-design-prototype/agents/openai.yaml +0 -4
  843. package/template/.agents/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  844. package/template/.agents/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  845. package/template/.agents/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  846. package/template/.agents/skills/yss-dictionary/SKILL.md +0 -49
  847. package/template/.agents/skills/yss-dictionary/agents/openai.yaml +0 -4
  848. package/template/.agents/skills/yss-dictionary/references/source-index.md +0 -80
  849. package/template/.agents/skills/yss-jdbc/SKILL.md +0 -73
  850. package/template/.agents/skills/yss-jdbc/agents/openai.yaml +0 -5
  851. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  852. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  853. package/template/.agents/skills/yss-jdbc/assets/DsParam.java +0 -19
  854. package/template/.agents/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  855. package/template/.agents/skills/yss-jdbc/references/README.md +0 -55
  856. package/template/.agents/skills/yss-log/SKILL.md +0 -48
  857. package/template/.agents/skills/yss-log/agents/openai.yaml +0 -4
  858. package/template/.agents/skills/yss-log/references/source-index.md +0 -34
  859. package/template/.agents/skills/yss-taskflow/SKILL.md +0 -58
  860. package/template/.agents/skills/yss-taskflow/agents/openai.yaml +0 -4
  861. package/template/.agents/skills/yss-taskflow/references/source-index.md +0 -158
  862. package/template/.claude/skills/batch-grill-me/SKILL.md +0 -15
  863. package/template/.claude/skills/batch-grill-me/agents/openai.yaml +0 -5
  864. package/template/.claude/skills/product-design-prototype/SKILL.md +0 -91
  865. package/template/.claude/skills/product-design-prototype/agents/openai.yaml +0 -4
  866. package/template/.claude/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  867. package/template/.claude/skills/yss-dictionary/SKILL.md +0 -49
  868. package/template/.claude/skills/yss-dictionary/agents/openai.yaml +0 -4
  869. package/template/.claude/skills/yss-dictionary/references/source-index.md +0 -80
  870. package/template/.claude/skills/yss-jdbc/SKILL.md +0 -73
  871. package/template/.claude/skills/yss-jdbc/agents/openai.yaml +0 -5
  872. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  873. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  874. package/template/.claude/skills/yss-jdbc/assets/DsParam.java +0 -19
  875. package/template/.claude/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  876. package/template/.claude/skills/yss-jdbc/references/README.md +0 -55
  877. package/template/.claude/skills/yss-log/SKILL.md +0 -48
  878. package/template/.claude/skills/yss-log/agents/openai.yaml +0 -4
  879. package/template/.claude/skills/yss-taskflow/SKILL.md +0 -58
  880. package/template/.claude/skills/yss-taskflow/agents/openai.yaml +0 -4
  881. package/template/.claude/skills/yss-taskflow/references/source-index.md +0 -158
  882. package/template/.codex/skills/batch-grill-me/SKILL.md +0 -15
  883. package/template/.codex/skills/batch-grill-me/agents/openai.yaml +0 -5
  884. package/template/.codex/skills/product-design-prototype/SKILL.md +0 -91
  885. package/template/.codex/skills/product-design-prototype/agents/openai.yaml +0 -4
  886. package/template/.codex/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  887. package/template/.codex/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  888. package/template/.codex/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  889. package/template/.codex/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  890. package/template/.codex/skills/yss-dictionary/SKILL.md +0 -49
  891. package/template/.codex/skills/yss-dictionary/agents/openai.yaml +0 -4
  892. package/template/.codex/skills/yss-dictionary/references/source-index.md +0 -80
  893. package/template/.codex/skills/yss-jdbc/SKILL.md +0 -73
  894. package/template/.codex/skills/yss-jdbc/agents/openai.yaml +0 -5
  895. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  896. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  897. package/template/.codex/skills/yss-jdbc/assets/DsParam.java +0 -19
  898. package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  899. package/template/.codex/skills/yss-jdbc/references/README.md +0 -55
  900. package/template/.codex/skills/yss-log/SKILL.md +0 -48
  901. package/template/.codex/skills/yss-log/agents/openai.yaml +0 -4
  902. package/template/.codex/skills/yss-log/references/source-index.md +0 -34
  903. package/template/.codex/skills/yss-taskflow/SKILL.md +0 -58
  904. package/template/.codex/skills/yss-taskflow/agents/openai.yaml +0 -4
  905. package/template/.codex/skills/yss-taskflow/references/source-index.md +0 -158
  906. package/template/.hermes/skills/batch-grill-me/SKILL.md +0 -15
  907. package/template/.hermes/skills/batch-grill-me/agents/openai.yaml +0 -5
  908. package/template/.hermes/skills/product-design-prototype/SKILL.md +0 -91
  909. package/template/.hermes/skills/product-design-prototype/agents/openai.yaml +0 -4
  910. package/template/.hermes/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  911. package/template/.hermes/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  912. package/template/.hermes/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  913. package/template/.hermes/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  914. package/template/.hermes/skills/yss-dictionary/SKILL.md +0 -49
  915. package/template/.hermes/skills/yss-dictionary/agents/openai.yaml +0 -4
  916. package/template/.hermes/skills/yss-dictionary/references/source-index.md +0 -80
  917. package/template/.hermes/skills/yss-jdbc/SKILL.md +0 -73
  918. package/template/.hermes/skills/yss-jdbc/agents/openai.yaml +0 -5
  919. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  920. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  921. package/template/.hermes/skills/yss-jdbc/assets/DsParam.java +0 -19
  922. package/template/.hermes/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  923. package/template/.hermes/skills/yss-jdbc/references/README.md +0 -55
  924. package/template/.hermes/skills/yss-log/SKILL.md +0 -48
  925. package/template/.hermes/skills/yss-log/agents/openai.yaml +0 -4
  926. package/template/.hermes/skills/yss-log/references/source-index.md +0 -34
  927. package/template/.hermes/skills/yss-taskflow/SKILL.md +0 -58
  928. package/template/.hermes/skills/yss-taskflow/agents/openai.yaml +0 -4
  929. package/template/.hermes/skills/yss-taskflow/references/source-index.md +0 -158
  930. package/template/.pi/skills/batch-grill-me/SKILL.md +0 -15
  931. package/template/.pi/skills/batch-grill-me/agents/openai.yaml +0 -5
  932. package/template/.pi/skills/product-design-prototype/SKILL.md +0 -91
  933. package/template/.pi/skills/product-design-prototype/agents/openai.yaml +0 -4
  934. package/template/.pi/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  935. package/template/.pi/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  936. package/template/.pi/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  937. package/template/.pi/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  938. package/template/.pi/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  939. package/template/.pi/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  940. package/template/.pi/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  941. package/template/.pi/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  942. package/template/.pi/skills/yss-dictionary/SKILL.md +0 -49
  943. package/template/.pi/skills/yss-dictionary/agents/openai.yaml +0 -4
  944. package/template/.pi/skills/yss-dictionary/references/source-index.md +0 -80
  945. package/template/.pi/skills/yss-jdbc/SKILL.md +0 -73
  946. package/template/.pi/skills/yss-jdbc/agents/openai.yaml +0 -5
  947. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  948. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  949. package/template/.pi/skills/yss-jdbc/assets/DsParam.java +0 -19
  950. package/template/.pi/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  951. package/template/.pi/skills/yss-jdbc/references/README.md +0 -55
  952. package/template/.pi/skills/yss-jdbc/references/source-index.md +0 -33
  953. package/template/.pi/skills/yss-log/SKILL.md +0 -48
  954. package/template/.pi/skills/yss-log/agents/openai.yaml +0 -4
  955. package/template/.pi/skills/yss-log/references/source-index.md +0 -34
  956. package/template/.pi/skills/yss-taskflow/SKILL.md +0 -58
  957. package/template/.pi/skills/yss-taskflow/agents/openai.yaml +0 -4
  958. package/template/.pi/skills/yss-taskflow/references/source-index.md +0 -158
  959. package/template/.qoder/skills/batch-grill-me/SKILL.md +0 -15
  960. package/template/.qoder/skills/batch-grill-me/agents/openai.yaml +0 -5
  961. package/template/.qoder/skills/product-design-prototype/SKILL.md +0 -91
  962. package/template/.qoder/skills/product-design-prototype/agents/openai.yaml +0 -4
  963. package/template/.qoder/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  964. package/template/.qoder/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  965. package/template/.qoder/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  966. package/template/.qoder/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  967. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  968. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  969. package/template/.qoder/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  970. package/template/.qoder/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  971. package/template/.qoder/skills/yss-dictionary/SKILL.md +0 -49
  972. package/template/.qoder/skills/yss-dictionary/agents/openai.yaml +0 -4
  973. package/template/.qoder/skills/yss-dictionary/references/source-index.md +0 -80
  974. package/template/.qoder/skills/yss-jdbc/SKILL.md +0 -73
  975. package/template/.qoder/skills/yss-jdbc/agents/openai.yaml +0 -5
  976. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  977. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  978. package/template/.qoder/skills/yss-jdbc/assets/DsParam.java +0 -19
  979. package/template/.qoder/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  980. package/template/.qoder/skills/yss-jdbc/references/README.md +0 -55
  981. package/template/.qoder/skills/yss-jdbc/references/source-index.md +0 -33
  982. package/template/.qoder/skills/yss-log/SKILL.md +0 -48
  983. package/template/.qoder/skills/yss-log/agents/openai.yaml +0 -4
  984. package/template/.qoder/skills/yss-log/references/source-index.md +0 -34
  985. package/template/.qoder/skills/yss-taskflow/SKILL.md +0 -58
  986. package/template/.qoder/skills/yss-taskflow/agents/openai.yaml +0 -4
  987. package/template/.qoder/skills/yss-taskflow/references/source-index.md +0 -158
  988. package/template/.trae/skills/batch-grill-me/SKILL.md +0 -15
  989. package/template/.trae/skills/batch-grill-me/agents/openai.yaml +0 -5
  990. package/template/.trae/skills/product-design-prototype/SKILL.md +0 -91
  991. package/template/.trae/skills/product-design-prototype/agents/openai.yaml +0 -4
  992. package/template/.trae/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  993. package/template/.trae/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  994. package/template/.trae/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  995. package/template/.trae/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  996. package/template/.trae/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  997. package/template/.trae/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  998. package/template/.trae/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  999. package/template/.trae/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1000. package/template/.trae/skills/yss-dictionary/SKILL.md +0 -49
  1001. package/template/.trae/skills/yss-dictionary/agents/openai.yaml +0 -4
  1002. package/template/.trae/skills/yss-dictionary/references/source-index.md +0 -80
  1003. package/template/.trae/skills/yss-jdbc/SKILL.md +0 -73
  1004. package/template/.trae/skills/yss-jdbc/agents/openai.yaml +0 -5
  1005. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1006. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1007. package/template/.trae/skills/yss-jdbc/assets/DsParam.java +0 -19
  1008. package/template/.trae/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1009. package/template/.trae/skills/yss-jdbc/references/README.md +0 -55
  1010. package/template/.trae/skills/yss-jdbc/references/source-index.md +0 -33
  1011. package/template/.trae/skills/yss-log/SKILL.md +0 -48
  1012. package/template/.trae/skills/yss-log/agents/openai.yaml +0 -4
  1013. package/template/.trae/skills/yss-log/references/source-index.md +0 -34
  1014. package/template/.trae/skills/yss-taskflow/SKILL.md +0 -58
  1015. package/template/.trae/skills/yss-taskflow/agents/openai.yaml +0 -4
  1016. package/template/.trae/skills/yss-taskflow/references/source-index.md +0 -158
@@ -81,6 +81,9 @@ evidence:
81
81
  - id: evidence.yss-skill-execution-result
82
82
  name: YSS Skill Execution Result
83
83
  description: 专项 skill 的合同版本、写入、验证、延期 seam 与偏离证据。
84
+ - id: evidence.frontend-implementation-verification
85
+ name: 前端实现还原验证证据
86
+ description: UI 实现相对冻结原型和 Spec 的桌面/窄屏视觉、状态、交互、控制台与 pnpm 验证记录。
84
87
  - id: evidence.fresh-verification
85
88
  name: Fresh Verification 记录
86
89
  description: 本轮实际执行的验证命令、结果和时间。
@@ -149,11 +152,17 @@ gates:
149
152
  stage: stage.ticket-formalization
150
153
  trigger: 垂直切片具备直接实现条件。
151
154
  evidence: [evidence.contract-approval, evidence.approval-record]
155
+ - id: gate.frontend-implementation-verified
156
+ name: 前端实现还原验证
157
+ stage: stage.verification-release-retrospective
158
+ trigger: UI 影响切片完成实现并准备合并、发布或阶段完成。
159
+ evidence: [evidence.frontend-implementation-verification]
152
160
  - id: gate.release-ready
153
161
  name: 发布就绪
154
162
  stage: stage.verification-release-retrospective
155
163
  trigger: 合并、发布或阶段完成。
156
164
  evidence: [evidence.fresh-verification, evidence.checkpoint-and-rollback]
165
+ requires_gates: [gate.frontend-implementation-verified]
157
166
 
158
167
  artifacts:
159
168
  - id: artifact.impact-assessment
@@ -236,6 +245,14 @@ artifacts:
236
245
  name: Slice Implementation Contract
237
246
  stage: stage.ticket-formalization
238
247
  trigger: Agent 进入实现。
248
+ - id: artifact.frontend-implementation-plan
249
+ name: 前端实现还原计划
250
+ stage: stage.ticket-formalization
251
+ trigger: UI 影响切片提升 ready-for-agent 前。
252
+ - id: artifact.frontend-implementation-verification
253
+ name: 前端实现还原验证记录
254
+ stage: stage.verification-release-retrospective
255
+ trigger: UI 影响切片完成实现并准备合并、发布或阶段完成。
239
256
  - id: artifact.retrospective
240
257
  name: 复盘记录
241
258
  stage: stage.verification-release-retrospective
@@ -290,3 +307,63 @@ work_units:
290
307
  input: 已审查 commit。
291
308
  output: release note、观察信号、回滚点。
292
309
  completion: 两仓库顺序和恢复动作明确。
310
+ - id: work-unit.discovery-opportunity
311
+ name: 机会调研
312
+ scope: project-instance
313
+ input: 用户问题、市场/竞品事实需求和现有上下文。
314
+ output: Discovery 机会结论、证据、替代方案和关键假设。
315
+ completion: 机会继续/停止建议可审查;事实已 research 或记录为假设。
316
+ - id: work-unit.discovery-requirements
317
+ name: 需求分析
318
+ scope: project-instance
319
+ input: 机会结论、用户反馈和领域词汇。
320
+ output: 用户、MVP、非目标、成功标准、测试 seam 和未决项。
321
+ completion: frontier 清空;用户确认;无 runnable blocker。
322
+ - id: work-unit.spec-synthesis
323
+ name: Spec 综合
324
+ scope: project-instance
325
+ input: 已确认的 Discovery 记录和测试 seam。
326
+ output: Spec、产品总体设计和功能架构。
327
+ completion: Spec 内容完整并进入 ready-for-human;下游推进仍需 gate.spec-baseline-approved。
328
+ - id: work-unit.prototype-design
329
+ name: 原型设计与验证
330
+ scope: project-instance
331
+ input: Spec、产品设计影响和状态矩阵。
332
+ output: 交互说明、低/高保真原型、评审、AntD CLI 和浏览器证据。
333
+ completion: 原型评审、高保真验证和用户确认门禁均通过。
334
+ - id: work-unit.technical-analysis
335
+ name: 技术分析与契约冻结
336
+ scope: project-instance
337
+ input: Spec、原型、API/数据/工程影响面。
338
+ output: OpenAPI、数据架构、工程基线、架构审查和 Slice 合同草案。
339
+ completion: 命中契约已冻结;无 API 影响有可读记录;工程基线通过。
340
+ - id: work-unit.ticket-decomposition
341
+ name: 垂直切片 Ticket 正式化
342
+ scope: project-instance
343
+ input: 冻结 Spec、设计、契约和阻塞关系。
344
+ output: 功能父 Ticket、垂直切片和批准的 Slice Implementation Contract。
345
+ completion: 切片可独立验证;生命周期复算后才能 ready-for-agent。
346
+ - id: work-unit.slice-implementation
347
+ name: 垂直切片实现
348
+ scope: project-instance
349
+ input: 当前版本 Slice Implementation Contract 和允许写路径。
350
+ output: 前后端实现、TDD 和 YSS Skill Execution Result。
351
+ completion: 行为通过 `behavior-tdd`;UI 影响完成还原验证计划;无 drift/violation。
352
+ - id: work-unit.frontend-implementation-verification
353
+ name: 前端实现还原验证
354
+ scope: project-instance
355
+ input: 冻结原型、状态矩阵、实现候选和视觉验收用例。
356
+ output: 桌面/窄屏视觉、状态、交互、console 和 pnpm 验证证据。
357
+ completion: 关键场景无未解释差异;独立 Reviewer 通过 UI fidelity 轴。
358
+ - id: work-unit.code-review
359
+ name: 独立代码审查与验证
360
+ scope: project-instance
361
+ input: 不可变候选快照、Spec、Ticket、合同和执行结果。
362
+ output: Standards、Spec、UI fidelity 三轴 Review 与 fresh verification。
363
+ completion: findings 已处理;修复后重新捕获候选并全量复审。
364
+ - id: work-unit.release-and-retrospective
365
+ name: 发布与复盘
366
+ scope: project-instance
367
+ input: 已审查候选、发布窗口和回滚点。
368
+ output: 发布/回滚证据和复盘记录。
369
+ completion: 人工发布裁决、fresh verification 和治理回流均完成。
@@ -0,0 +1,39 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://yss.dev/schemas/frontend-implementation-evidence.schema.json",
4
+ "title": "YSS 前端实现还原证据",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": ["schema_version", "kind", "template", "status", "prototype_ref", "spec_ref", "route_and_page_inventory"],
8
+ "properties": {
9
+ "schema_version": { "const": 1 },
10
+ "kind": { "enum": ["plan", "verification"] },
11
+ "template": { "type": "boolean" },
12
+ "status": { "enum": ["draft", "approved", "blocked"] },
13
+ "prototype_ref": { "type": "string", "minLength": 1 },
14
+ "spec_ref": { "type": "string", "minLength": 1 },
15
+ "route_and_page_inventory": { "type": "array", "minItems": 1 },
16
+ "visual_acceptance_cases": { "type": "array", "minItems": 1 },
17
+ "desktop_viewport": { "type": "string", "minLength": 3 },
18
+ "narrow_viewport": { "type": "string", "minLength": 3 },
19
+ "state_cases": { "type": "array", "minItems": 1 },
20
+ "pnpm_commands": { "type": "array", "minItems": 1 },
21
+ "desktop_visual_evidence": { "type": "array", "minItems": 1 },
22
+ "narrow_view_visual_evidence": { "type": "array", "minItems": 1 },
23
+ "interaction_results": { "type": "array", "minItems": 1 },
24
+ "console_warning_check": { "enum": ["pass", "blocked"] },
25
+ "uncovered_differences": { "type": "array" },
26
+ "difference_owner": { "type": ["string", "null"] },
27
+ "independent_review": { "type": "object" }
28
+ },
29
+ "allOf": [
30
+ {
31
+ "if": { "properties": { "kind": { "const": "plan" } } },
32
+ "then": { "required": ["visual_acceptance_cases", "desktop_viewport", "narrow_viewport", "state_cases", "pnpm_commands"] }
33
+ },
34
+ {
35
+ "if": { "properties": { "kind": { "const": "verification" } } },
36
+ "then": { "required": ["desktop_visual_evidence", "narrow_view_visual_evidence", "interaction_results", "console_warning_check", "pnpm_commands", "uncovered_differences", "difference_owner", "independent_review"] }
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://yss.dev/schemas/lifecycle-checkpoint.schema.json",
4
+ "title": "YSS 生命周期 Checkpoint",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["schema_version", "mode", "status", "stage", "artifacts", "gates", "next_work_unit", "ticket_sync", "verification", "human_review", "git_checkpoint", "blockers", "rollback"],
8
+ "properties": {
9
+ "schema_version": { "const": 1 },
10
+ "mode": { "enum": ["route", "orchestrate", "resume", "audit"] },
11
+ "status": { "enum": ["routing", "running", "paused-human-gate", "blocked", "completed"] },
12
+ "stage": { "type": "string", "pattern": "^stage\\.[a-z0-9][a-z0-9-]*$" },
13
+ "artifacts": {
14
+ "type": "object",
15
+ "patternProperties": {
16
+ "^artifact\\.[a-z0-9][a-z0-9-]*$": {
17
+ "type": "object",
18
+ "additionalProperties": false,
19
+ "required": ["status", "ref", "evidence_refs"],
20
+ "properties": {
21
+ "status": { "enum": ["missing", "draft", "ready-for-human", "approved", "stale", "not-applicable"] },
22
+ "ref": { "type": ["string", "null"] },
23
+ "evidence_refs": { "type": "array", "items": { "type": "string" } },
24
+ "stale_by": { "type": "array", "items": { "type": "string" } }
25
+ }
26
+ }
27
+ },
28
+ "additionalProperties": false
29
+ },
30
+ "gates": {
31
+ "type": "object",
32
+ "patternProperties": {
33
+ "^gate\\.[a-z0-9][a-z0-9-]*$": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "required": ["status", "reason", "evidence_refs"],
37
+ "properties": {
38
+ "status": { "enum": ["not-evaluated", "blocked", "ready-for-human", "approved", "stale", "not-applicable"] },
39
+ "reason": { "type": "string" },
40
+ "evidence_refs": { "type": "array", "items": { "type": "string" } }
41
+ }
42
+ }
43
+ },
44
+ "additionalProperties": false
45
+ },
46
+ "next_work_unit": { "type": ["string", "null"], "pattern": "^work-unit\\.[a-z0-9][a-z0-9-]*$" },
47
+ "phase_boundary": { "type": "object" },
48
+ "stage_trace": { "type": "object" },
49
+ "ticket_sync": { "type": "object" },
50
+ "verification": { "type": "object" },
51
+ "human_review": { "type": "object" },
52
+ "git_checkpoint": { "type": "object" },
53
+ "blockers": { "type": "array" },
54
+ "rollback": { "type": "array" }
55
+ }
56
+ }
@@ -28,8 +28,8 @@
28
28
  "$defs": {
29
29
  "id": { "type": "string", "pattern": "^(stage|gate|artifact|work-unit|evidence)\\.[a-z0-9][a-z0-9-]*$" },
30
30
  "stages": { "type": "array", "minItems": 1, "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "goal", "exit_criteria"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "goal": { "type": "string", "minLength": 1 }, "exit_criteria": { "type": "string", "minLength": 1 } } } },
31
- "objects": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "stage", "trigger"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "stage": { "type": "string", "pattern": "^stage\\." }, "trigger": { "type": "string", "minLength": 1 }, "evidence": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^evidence\\." } } } } },
32
- "workUnits": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "scope", "input", "output", "completion"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "scope": { "const": "template-source" }, "input": { "type": "string", "minLength": 1 }, "output": { "type": "string", "minLength": 1 }, "completion": { "type": "string", "minLength": 1 } } } },
31
+ "objects": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "stage", "trigger"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "stage": { "type": "string", "pattern": "^stage\\." }, "trigger": { "type": "string", "minLength": 1 }, "evidence": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^evidence\\." } }, "requires_gates": { "type": "array", "uniqueItems": true, "items": { "type": "string", "pattern": "^gate\\." } } } } },
32
+ "workUnits": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "scope", "input", "output", "completion"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "scope": { "enum": ["template-source", "project-instance"] }, "input": { "type": "string", "minLength": 1 }, "output": { "type": "string", "minLength": 1 }, "completion": { "type": "string", "minLength": 1 } } } },
33
33
  "evidence": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "description"], "properties": { "id": { "$ref": "#/$defs/id" }, "name": { "type": "string", "minLength": 1 }, "description": { "type": "string", "minLength": 1 } } } }
34
34
  }
35
35
  }
@@ -0,0 +1,16 @@
1
+ schema_version: 1
2
+ kind: plan
3
+ template: true
4
+ status: draft
5
+ prototype_ref: docs/.scratch/example/design/prototype.html
6
+ spec_ref: docs/.scratch/example/spec.md
7
+ route_and_page_inventory:
8
+ - route: /example
9
+ page: ExamplePage
10
+ visual_acceptance_cases:
11
+ - primary desktop flow
12
+ - narrow viewport flow
13
+ desktop_viewport: 1440x900
14
+ narrow_viewport: 390x844
15
+ state_cases: [loading, empty, error, permission, selected, key-interaction]
16
+ pnpm_commands: [pnpm lint, pnpm type-check, pnpm test]
@@ -0,0 +1,21 @@
1
+ schema_version: 1
2
+ kind: verification
3
+ template: true
4
+ status: draft
5
+ prototype_ref: docs/.scratch/example/design/prototype.html
6
+ spec_ref: docs/.scratch/example/spec.md
7
+ route_and_page_inventory:
8
+ - route: /example
9
+ page: ExamplePage
10
+ desktop_visual_evidence: [docs/.scratch/example/verification/desktop.png]
11
+ narrow_view_visual_evidence: [docs/.scratch/example/verification/narrow.png]
12
+ interaction_results: [loading, empty, error, permission, selected, key-interaction]
13
+ console_warning_check: blocked
14
+ pnpm_commands: [pnpm lint, pnpm type-check, pnpm test]
15
+ uncovered_differences: []
16
+ difference_owner: null
17
+ independent_review:
18
+ reviewer: non-implementer
19
+ candidate_digest: pending
20
+ status: pending
21
+ findings_ref: docs/.scratch/example/verification/ui-fidelity-review.md
@@ -0,0 +1,30 @@
1
+ schema_version: 1
2
+ mode: route
3
+ status: routing
4
+ stage: stage.entry-triage
5
+ artifacts: {}
6
+ gates: {}
7
+ next_work_unit: work-unit.discovery-opportunity
8
+ phase_boundary:
9
+ decision: continue
10
+ reason: initial routing
11
+ stage_trace:
12
+ stage: stage.entry-triage
13
+ upstream_refs: []
14
+ artifact_refs: []
15
+ gate_decisions: []
16
+ downstream_impacts: []
17
+ ticket_sync:
18
+ status: pending
19
+ refs: []
20
+ verification:
21
+ commands: []
22
+ evidence_refs: []
23
+ human_review:
24
+ required: false
25
+ status: not-applicable
26
+ git_checkpoint:
27
+ required: false
28
+ status: not-applicable
29
+ blockers: []
30
+ rollback: []
@@ -2,14 +2,17 @@
2
2
 
3
3
  ```yaml
4
4
  schema_version: 1
5
- mode: project-instance
5
+ mode: <route|orchestrate|resume|audit>
6
+ status: <routing|running|paused-human-gate|blocked|completed>
6
7
  stage: <lifecycle stage>
7
8
  artifacts:
8
- - path: <artifact path>
9
- status: <draft|ready-for-human|ready-for-agent|completed|blocked|not-applicable>
9
+ <stable-artifact-id>:
10
+ status: <missing|draft|ready-for-human|approved|stale|not-applicable>
11
+ ref: <readable artifact reference>
12
+ evidence_refs: []
10
13
  gates:
11
- - name: <gate name>
12
- status: <passed|failed|blocked|not-applicable>
14
+ <stable-gate-id>:
15
+ status: <not-evaluated|blocked|ready-for-human|approved|stale|not-applicable>
13
16
  reason: <why this status applies>
14
17
  phase_boundary:
15
18
  decision: <continue|clear|handoff|subagent|compact>
@@ -24,6 +27,7 @@ stage_trace:
24
27
  ticket_sync:
25
28
  status: <pending|synced|not-applicable>
26
29
  refs: []
30
+ next_work_unit: <stable work-unit id>
27
31
  verification:
28
32
  commands: []
29
33
  evidence_refs: []
@@ -39,8 +39,8 @@ owner: ai
39
39
  | 实际验证:Execution Result 包含实际命令、exit_code、`duration_ms`、stdout/stderr 引用和执行时间;只列计划命令或生成器打印不构成 fresh verification | YSS Skill Execution Result / `orchestration-contract.yaml` | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 缺实际结果或时间时不得进入完成结论 |
40
40
  | 新影响与偏离:`new_impacts`、`deviations`、`drift`、`violation` 已核验并触发相应重路由、Architecture Re-check 或生命周期回退 | YSS Skill Execution Result / implementation routing | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 非空新影响使当前合同相关部分失效并暂停工作单元 |
41
41
  | Web Adapter / DTO:必须按 `yss-dto` 定义或复用 CMD / Query / VO / Result;不得在 Controller 内部类或非约定包临时定义主要 DTO,不得手工分页主要业务集合 | `yss-web-controller` / `yss-dto` / OpenAPI Freeze | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 命中时回到 Controller / DTO 设计 |
42
- | Application:负责用例编排、事务边界和跨聚合协调,不承载核心领域规则 | `yss-backend-scaffold-application` / 系统架构 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 领域规则下沉 Domain,事务边界留在 Application |
43
- | Infrastructure:需要持久化的切片必须有 PO / Repository / Convertor / GatewayImpl;`InMemory*Gateway` 只能作为显式 `seam-deferred` | `yss-repository` / `yss-backend-scaffold-infrastructure` / 数据架构 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 未补齐时不得声称生产持久化完成 |
42
+ | Application:负责用例编排、事务边界和跨聚合协调,不承载核心领域规则 | `yss-application` / 系统架构 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 领域规则下沉 Domain,事务边界留在 Application |
43
+ | Infrastructure:需要持久化的切片必须有 PO / Repository / Convertor / GatewayImpl;`InMemory*Gateway` 只能作为显式 `seam-deferred` | `yss-repository` / 数据架构 | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 未补齐时不得声称生产持久化完成 |
44
44
  | POJO / Convertor:DTO / VO / CMD / Query / PO / Domain Model 样板代码默认使用 Lombok;对象转换默认使用 MapStruct,禁止 `BeanUtils.copyProperties`、反射拷贝和重复手写字段赋值 | `lombok` / `mapstruct` / `AGENTS.md` | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 未加载 skill、缺注解处理器配置、缺 Convertor 或无例外说明时标记 `violation` |
45
45
  | 后端工程工具链:构建、测试、运行、OpenAPI 生成、CI 和 Release 命令必须使用项目根目录 `./mvnw ...`;裸 `mvn ...` 必须有受控例外记录 | `yss-ddd-scaffold-generator` / `yss-backend-scaffold-parent` / implementation routing | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 无例外记录时改为 `./mvnw ...`,否则不得进入完成 / 可合并结论 |
46
46
  | 工程项目路径:每个 Harness 内项目必须有具体项目段,禁止直接写入容器根或单数 `app/...` | `docs/process/implementation-repo-integration.md` / implementation path validator | | `implemented` / `seam-deferred` / `drift` / `violation` / `not-applicable` | | 路径违规时停止 build,并回到实现路由 |
@@ -80,9 +80,9 @@ owner: ai
80
80
  | 层级 | required_skills | 代码证据 | 测试 / 验证证据 | 状态 | 备注 |
81
81
  |---|---|---|---|---|---|
82
82
  | Adapter / Web | `yss-web-controller`、`yss-dto`、`mapstruct`、`lombok` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
83
- | Application | `yss-backend-scaffold-application` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
84
- | Domain | `yss-domain` / `yss-backend-scaffold-domain` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
85
- | Infrastructure | `yss-repository` / `yss-backend-scaffold-infrastructure` / `yss-mybatis` / `mapstruct` / `lombok` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
83
+ | Application | `yss-application` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
84
+ | Domain | `yss-domain` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
85
+ | Infrastructure | `yss-repository` / `yss-mybatis` / `mapstruct` / `lombok` | | | `implemented` / `seam-deferred` / `violation` / `not-applicable` | |
86
86
 
87
87
  ## 3.2 工作单元与 Execution Result 回勾
88
88
 
@@ -133,7 +133,7 @@ owner: ai
133
133
  | slice_id | |
134
134
  | status | required / not-applicable |
135
135
  | affected_layers | Adapter / Application / Domain / Infrastructure / Bootstrap / not-applicable |
136
- | required_skills | `yss-domain` / `yss-backend-scaffold-application` / `yss-repository` / `yss-mybatis` / `yss-backend-scaffold-infrastructure` / `yss-web-controller` / `yss-dto` / `mapstruct` / `lombok` / `alibaba-java-code-style` / other |
136
+ | required_skills | `yss-domain` / `yss-application` / `yss-repository` / `yss-mybatis` / `yss-web-controller` / `yss-dto` / `mapstruct` / `lombok` / `alibaba-java-code-style` / other |
137
137
  | application_boundary | |
138
138
  | transaction_boundary | |
139
139
  | persistence_strategy | |
@@ -146,10 +146,10 @@ owner: ai
146
146
 
147
147
  | 层级 | 必需 skill | 预期文件 / 证据 | 状态 |
148
148
  |---|---|---|---|
149
- | Adapter / Web | `yss-web-controller`、`yss-dto`、`yss-backend-scaffold-web`、`mapstruct`、`lombok` | Controller、CMD / Query / VO、WebConvertor、统一响应包装、Lombok 注解和 MapStruct 转换证据 | pending / implemented / seam-deferred / violation / not-applicable |
150
- | Application | `yss-backend-scaffold-application` | AppService / UseCase、事务边界、跨聚合协调、异常处理 | pending / implemented / seam-deferred / violation / not-applicable |
151
- | Domain | `yss-domain`、`yss-backend-scaffold-domain`;术语 / 边界 / ADR 变化时增加 `domain-modeling` | Entity / ValueObject / DomainService / Gateway interface / 状态方法;命中通用建模时补 CONTEXT / ADR 证据 | pending / implemented / seam-deferred / violation / not-applicable |
152
- | Infrastructure | `yss-repository`、`yss-mybatis`、`yss-backend-scaffold-infrastructure`、`mapstruct`、`lombok` | PO、Repository、Convertor、GatewayImpl、Mapper / XML / 查询策略、Lombok 注解和 MapStruct 转换证据 | pending / implemented / seam-deferred / violation / not-applicable |
149
+ | Adapter / Web | `yss-web-controller`、`yss-dto`、`mapstruct`、`lombok` | Controller、CMD / Query / VO、WebConvertor、统一响应包装、Lombok 注解和 MapStruct 转换证据 | pending / implemented / seam-deferred / violation / not-applicable |
150
+ | Application | `yss-application` | AppService / UseCase、事务边界、跨聚合协调、异常处理 | pending / implemented / seam-deferred / violation / not-applicable |
151
+ | Domain | `yss-domain`;术语 / 边界 / ADR 变化时增加 `domain-modeling` | Entity / ValueObject / DomainService / Gateway interface / 状态方法;命中通用建模时补 CONTEXT / ADR 证据 | pending / implemented / seam-deferred / violation / not-applicable |
152
+ | Infrastructure | `yss-repository`、`yss-mybatis`、`mapstruct`、`lombok` | PO、Repository、Convertor、GatewayImpl、Mapper / XML / 查询策略、Lombok 注解和 MapStruct 转换证据 | pending / implemented / seam-deferred / violation / not-applicable |
153
153
  | Java 规范 | `alibaba-java-code-style` | 命名、异常、日志、ORM、Maven、单测和安全项审查记录 | pending / implemented / seam-deferred / violation / not-applicable |
154
154
 
155
155
  ### 3.3 Contract 子合同
@@ -57,9 +57,9 @@ Approved / Changes requested / Blocked
57
57
  | 检查项 | 结论 | 证据 |
58
58
  |---|---|---|
59
59
  | 已存在 `Backend Slice Implementation Contract`,且 required skills / allowed paths / forbidden patterns / evidence / seam / verification 完整 | pass / violation / not-applicable | |
60
- | `yss-domain` / `yss-backend-scaffold-domain` 已按影响面落实,Domain 不依赖 Adapter、Infrastructure、Mapper、Controller 或 Web DTO | pass / violation / not-applicable | |
61
- | `yss-backend-scaffold-application` 已按影响面落实,Application 只做用例编排、事务边界和跨聚合协调 | pass / violation / not-applicable | |
62
- | `yss-repository` / `yss-backend-scaffold-infrastructure` 已按影响面落实,需要持久化的切片有 PO / Repository / Convertor / GatewayImpl | pass / seam-deferred / violation / not-applicable | |
60
+ | `yss-domain` 已按影响面落实,Domain 不依赖 Adapter、Infrastructure、Mapper、Controller 或 Web DTO | pass / violation / not-applicable | |
61
+ | `yss-application` 已按影响面落实,Application 只做用例编排、事务边界和跨聚合协调 | pass / violation / not-applicable | |
62
+ | `yss-repository` 已按影响面落实,需要持久化的切片有 PO / Repository / Convertor / GatewayImpl | pass / seam-deferred / violation / not-applicable | |
63
63
  | `yss-web-controller` / `yss-dto` 已按影响面落实,CMD / Query / VO / Result 按既有 DTO 体系定义或复用,Controller 不用内部类或非约定包临时承载主要 DTO / VO、不手工分页主要业务集合、不穿透 Repository | pass / violation / not-applicable | |
64
64
  | `mapstruct` 已按影响面落实,PO / Domain Model / DTO / VO / CMD / Query 转换使用 MapStruct Convertor / Mapper,未使用 `BeanUtils.copyProperties`、反射拷贝或重复手写字段赋值;例外已记录测试和补齐落点 | pass / violation / not-applicable | |
65
65
  | `lombok` 已按影响面落实,POJO 样板代码使用 Lombok,未成片手写 getter/setter、constructor、builder、logger;实体 / POJO 未触发 `@Data` 等反模式或已说明例外 | pass / violation / not-applicable | |
@@ -71,10 +71,10 @@ Status: ready-for-human
71
71
 
72
72
  | 影响面 | 必需 skill | 需要 / 不需要的理由 | 预期证据 |
73
73
  |---|---|---|---|
74
- | Domain / 领域行为 | `yss-domain` / `yss-backend-scaffold-domain` | | |
75
- | Application / 用例编排 | `yss-backend-scaffold-application` | | |
76
- | Infrastructure / Repository | `yss-repository` / `yss-mybatis` / `yss-backend-scaffold-infrastructure` | | |
77
- | Web Adapter / DTO | `yss-web-controller` / `yss-dto` / `yss-backend-scaffold-web` | | |
74
+ | Domain / 领域行为 | `yss-domain` | | |
75
+ | Application / 用例编排 | `yss-application` | | |
76
+ | Infrastructure / Repository | `yss-repository` / `yss-mybatis` | | |
77
+ | Web Adapter / DTO | `yss-web-controller` / `yss-dto` | | |
78
78
  | POJO / 对象转换 | `lombok` / `mapstruct` | | |
79
79
  | Java 规范 | `alibaba-java-code-style` | | |
80
80
 
@@ -800,7 +800,8 @@ TDD 顺序示例:
800
800
 
801
801
  | 场景 | 技能 |
802
802
  |---|---|
803
- | 后端领域行为 | `yss-domain`、`yss-backend-scaffold-domain` |
803
+ | 后端领域行为 | `yss-domain` |
804
+ | 后端用例编排 | `yss-application` |
804
805
  | 持久化 | `yss-repository`、需要分页/批量/数据源时加 `yss-mybatis` |
805
806
  | Web 接口 | `yss-web-controller`、`yss-dto` |
806
807
  | 前端页面 | `yss-ui`、`yss-page-module-development`、`api-integration` |
@@ -261,7 +261,7 @@ Competitive Matrix
261
261
  | 新建完整 Vue 业务页面 | `yss-ui` | `yss-page-module-development`、`yss-openapi-governance`、`api-integration` |
262
262
  | YTable / YTree / YssFormily 页面 | `yss-ui` | `yss-use-table-height`、`yss-use-tree-height`、`yss-formily` |
263
263
  | 从零创建后端服务 | `yss-ddd-scaffold-generator` | 后续接 `yss-domain`、`yss-repository`、`yss-web-controller` |
264
- | 领域建模和状态规则 | `yss-domain` | `yss-backend-scaffold-domain` |
264
+ | 领域建模和状态规则 | `yss-domain` | — |
265
265
  | PO / Repository / GatewayImpl | `yss-repository` | `yss-mybatis` |
266
266
  | Controller / DTO / VO / Web Convertor | `yss-web-controller` | `yss-dto` |
267
267
  | MyBatis 分页、批量、多数据源或排障 | `yss-mybatis` | `yss-source-index` |
@@ -306,7 +306,7 @@ yss-router(脚手架合同)
306
306
  -> yss-ddd-scaffold-generator
307
307
  -> yss-backend-scaffold-parent
308
308
  -> yss-router(合同重编译)
309
- -> yss-domain / yss-backend-scaffold-domain
309
+ -> yss-domain / yss-application / yss-repository / yss-web-controller
310
310
  -> yss-repository
311
311
  -> yss-mybatis
312
312
  -> yss-web-controller
@@ -128,6 +128,11 @@ export function validateRegistry(registry, { baseline = DEFAULT_BASELINE } = {})
128
128
  requireReference(ids, reference, `${gate.id}.evidence`);
129
129
  if (ids.get(reference) !== "evidence") fail(`${gate.id}.evidence 必须引用 evidence.*`);
130
130
  }
131
+ for (const reference of gate.requires_gates ?? []) {
132
+ requireReference(ids, reference, `${gate.id}.requires_gates`);
133
+ if (ids.get(reference) !== "gates") fail(`${gate.id}.requires_gates 必须引用 gate.*`);
134
+ if (reference === gate.id) fail(`${gate.id}.requires_gates 不得引用自身`);
135
+ }
131
136
  }
132
137
  for (const artifact of registry.artifacts) {
133
138
  requireReference(ids, artifact.stage, `${artifact.id}.stage`);
@@ -144,8 +149,8 @@ export function renderLifecycleStructure(registry) {
144
149
  "## 1. 主阶段", "", "| 稳定 ID | 阶段 | 目标 | 退出标准 |", "|---|---|---|---|"
145
150
  ];
146
151
  for (const stage of registry.stages) lines.push(`| \`${stage.id}\` | ${stage.name} | ${stage.goal} | ${stage.exit_criteria} |`);
147
- lines.push("", "## 2. 生命周期对象", "", "门禁是需要裁决的审查点;产物、工作单元和证据不是门禁的同义词。未命中条件的门禁记录 \`not-applicable\` 及原因,不生成空文档。", "", "### 2.1 条件门禁", "", "| 稳定 ID | 门禁 | 所属阶段 | 触发条件 | 必须留下的证据 |", "|---|---|---|---|---|");
148
- for (const gate of registry.gates) lines.push(`| \`${gate.id}\` | ${gate.name} | \`${gate.stage}\` | ${gate.trigger} | ${gate.evidence.map((id) => `\`${id}\``).join("、")} |`);
152
+ lines.push("", "## 2. 生命周期对象", "", "门禁是需要裁决的审查点;产物、工作单元和证据不是门禁的同义词。未命中条件的门禁记录 \`not-applicable\` 及原因,不生成空文档。", "", "### 2.1 条件门禁", "", "| 稳定 ID | 门禁 | 所属阶段 | 触发条件 | 前置门禁 | 必须留下的证据 |", "|---|---|---|---|---|---|");
153
+ for (const gate of registry.gates) lines.push(`| \`${gate.id}\` | ${gate.name} | \`${gate.stage}\` | ${gate.trigger} | ${(gate.requires_gates ?? []).map((id) => `\`${id}\``).join("、") || "无"} | ${gate.evidence.map((id) => `\`${id}\``).join("、")} |`);
149
154
  lines.push("", "### 2.2 生命周期产物", "", "| 稳定 ID | 产物 | 所属阶段 | 触发条件 |", "|---|---|---|---|");
150
155
  for (const artifact of registry.artifacts) lines.push(`| \`${artifact.id}\` | ${artifact.name} | \`${artifact.stage}\` | ${artifact.trigger} |`);
151
156
  lines.push("", "### 2.3 执行证据", "", "| 稳定 ID | 证据 | 说明 |", "|---|---|---|");
@@ -155,8 +160,8 @@ export function renderLifecycleStructure(registry) {
155
160
  }
156
161
 
157
162
  export function renderWorkUnits(registry) {
158
- const lines = ["<!-- lifecycle-registry:work-units:start -->", "> 此表由 `docs/process/lifecycle-registry.yaml` 生成;它只描述 `template-source` 的 Harness 工作单元。", "", "| 稳定 ID | 工作单元 | 输入 | 输出 | 完成条件 |", "|---|---|---|---|---|"];
159
- for (const unit of registry.work_units) lines.push(`| \`${unit.id}\` | ${unit.name} | ${unit.input} | ${unit.output} | ${unit.completion} |`);
163
+ const lines = ["<!-- lifecycle-registry:work-units:start -->", "> 此表由 `docs/process/lifecycle-registry.yaml` 生成;工作单元按 `scope` 区分模板维护与项目实例流程。", "", "| 稳定 ID | 范围 | 工作单元 | 输入 | 输出 | 完成条件 |", "|---|---|---|---|---|---|"];
164
+ for (const unit of registry.work_units) lines.push(`| \`${unit.id}\` | ${unit.scope} | ${unit.name} | ${unit.input} | ${unit.output} | ${unit.completion} |`);
160
165
  lines.push("<!-- lifecycle-registry:work-units:end -->");
161
166
  return `${lines.join("\n")}\n`;
162
167
  }
@@ -32,11 +32,14 @@ function validateMattContract(data) {
32
32
 
33
33
  function validateInvocationBoundary(data) {
34
34
  const boundary = data.matt_invocation_boundary;
35
- const expectedUserInvoked = ["ask-matt", "batch-grill-me", "grill-me", "grill-with-docs", "handoff", "implement", "improve-codebase-architecture", "loop-me", "setup-matt-pocock-skills", "setup-ts-deep-modules", "teach", "to-questionnaire", "to-spec", "to-tickets", "triage", "wait-what", "wayfinder", "writing-beats", "writing-fragments", "writing-shape"];
35
+ const expectedUserInvoked = ["ask-matt", "grill-me", "grill-with-docs", "handoff", "implement", "improve-codebase-architecture", "loop-me", "setup-matt-pocock-skills", "setup-ts-deep-modules", "teach", "to-questionnaire", "to-spec", "to-tickets", "triage", "wait-what", "wayfinder", "writing-beats", "writing-fragments", "writing-shape"];
36
+ const expectedModelInvoked = ["code-review", "codebase-design", "diagnosing-bugs", "domain-modeling", "grilling", "migrate-to-shoehorn", "prototype", "research", "resolving-merge-conflicts", "scaffold-exercises", "setup-pre-commit", "tdd", "writing-for-agents"];
37
+ const expectedLifecycleModelInvoked = ["code-review", "codebase-design", "diagnosing-bugs", "domain-modeling", "grilling", "prototype", "research", "tdd"];
36
38
  ensure(JSON.stringify(boundary?.user_invoked_skills) === JSON.stringify(expectedUserInvoked), "Matt user-invoked skills 清单不完整或已漂移");
37
39
  ensure(JSON.stringify(boundary?.lifecycle_managed_user_entries) === JSON.stringify(["setup-matt-pocock-skills", "grill-with-docs", "to-spec", "to-tickets", "implement"]), "生命周期管理的显式用户入口清单不完整");
38
40
  ensure(boundary?.lifecycle_may_invoke_user_invoked === false && boundary?.formal_artifact_owner === "explicit-user-entry", "生命周期仍可能自动调用 user-invoked skill 或产出其正式资产");
39
- ensure(JSON.stringify(boundary?.model_invoked_skills) === JSON.stringify(["grilling", "domain-modeling", "code-review"]) && boundary?.continuous_orchestration === "prepare-and-validate-only", "连续编排未被限制为允许的 model-invoked 原语与准备/校验动作");
41
+ ensure(JSON.stringify(boundary?.model_invoked_skills) === JSON.stringify(expectedModelInvoked) && JSON.stringify(boundary?.lifecycle_allowed_model_invoked_skills) === JSON.stringify(expectedLifecycleModelInvoked) && boundary?.continuous_orchestration === "compatibility-prepare-and-validate-only", "Matt invocation inventory 或生命周期 model-invoked 白名单不完整");
42
+ ensure(JSON.stringify(data.skill_source_contract?.source_revisions_required) === JSON.stringify(["mattpocock/skills"]) && data.skill_source_contract?.adaptation_ref_required_when_effective_diff === true && data.skill_source_contract?.retired_shared_skills?.includes("batch-grill-me"), "上游来源或退役 skill 供应链契约不完整");
40
43
  validateInvocationMetadata(boundary, (skill) => read(`.agents/skills/${skill}/SKILL.md`));
41
44
  const setup = data.setup_readiness;
42
45
  ensure(setup?.missing_action === "needs-human" && setup?.requested_skill === "setup-matt-pocock-skills" && setup?.resume_route === "setup-readiness" && setup?.preserves?.includes("lifecycle.status"), "readiness=missing 未形成显式用户 setup 的结构化暂停");
@@ -44,22 +47,31 @@ function validateInvocationBoundary(data) {
44
47
  ensure(data.matt_skill_result?.status === "compatibility-read-only" && data.matt_skill_result?.may_influence_routing === false && data.matt_skill_result?.normalize_to === "workflow-execution-result-v1", "旧 Matt Skill Result 未限制为只读兼容 adapter");
45
48
  ensure(result?.canonical_output_schema === "workflow-execution-result-v1" && JSON.stringify(result?.accepted_input_schemas) === JSON.stringify(["workflow-execution-result-v1"]) && result?.legacy?.["matt-skill-result-v1"]?.status === "compatibility-read-only" && result.legacy["matt-skill-result-v1"].may_influence_routing === false && result.legacy["matt-skill-result-v1"].normalize_to === "workflow-execution-result-v1", "Workflow Execution Result 未将旧 Matt Skill Result 限制为只读兼容");
46
49
  ensure(includesAll(result?.required, ["result_schema", "work_unit", "workflow_reference", "result", "evidence_refs", "changed_artifacts", "new_impacts", "stale_candidates", "next_route", "blocking_signals"]) && includesAll(result?.result_values, ["completed", "blocked", "needs-human", "failed"]) && includesAll(result?.blocking_signals, ["drift", "new_impacts", "violation", "missing_evidence", "stale_candidates"]) && includesAll(result?.completed_requires_empty, ["new_impacts", "stale_candidates"]) && includesAll(result?.completed_requires_non_empty, ["evidence_refs"]) && result?.completed_requires_readable_evidence_refs === true && result?.evidence_ref_validation === "readable-or-resolvable" && result?.completed_requires_no_blocking_signals === true && includesAll(result?.workflow_reference?.required, ["source", "skill", "invocation_mode"]), "Workflow Execution Result 的完成态证据、阻断信号或 workflow_reference 契约不完整");
47
- const units = data.lifecycle_workflow_references;
48
- ensure(units?.["work-unit.discovery-interview"]?.invocation_mode === "model-invoked" && includesAll(units["work-unit.discovery-interview"].skills, ["grilling", "domain-modeling"]), "Discovery work unit 未调用允许的原语");
49
- ensure(units?.["work-unit.code-review"]?.invocation_mode === "model-invoked" && units["work-unit.code-review"].skill === "code-review", "Code review work unit 未使用 model-invoked code-review");
50
+ const native = data.lifecycle_native_entries;
51
+ ensure(native?.default_entry === "yss-product-lifecycle" && native?.formal_artifact_owner === "yss-product-lifecycle", "生命周期原生入口未持有默认正式资产所有权");
52
+ ensure(JSON.stringify(native?.user_confirmation_required_at) === JSON.stringify(["spec-baseline", "prototype-confirmation", "openapi-freeze", "merge-or-release"]), "生命周期人工门禁集合已漂移");
53
+ const routes = data.work_unit_routes;
54
+ ensure(routes?.["work-unit.discovery-requirements"]?.skills?.includes("grilling") && routes?.["work-unit.discovery-requirements"]?.skills?.includes("domain-modeling"), "需求分析工作单元缺少 grilling/domain-modeling");
55
+ ensure(routes?.["work-unit.discovery-opportunity"]?.route_by?.market_or_competitor_fact === "competitive-intelligence" && routes["work-unit.discovery-opportunity"].route_by.technical_or_standard_fact === "research", "机会调研事实路由不准确");
56
+ ensure(routes?.["work-unit.slice-implementation"]?.skills?.includes("tdd") && routes?.["work-unit.slice-implementation"]?.skills?.includes("yss-ui"), "原生实现工作单元缺少 TDD 或 UI 路由");
57
+ ensure(routes?.["work-unit.frontend-implementation-verification"]?.skills?.includes("code-review") && routes?.["work-unit.frontend-implementation-verification"]?.applies_when === "ui_impact", "前端还原验证未绑定 UI fidelity 审查轴");
50
58
  for (const id of ["work-unit.spec-synthesis", "work-unit.ticket-decomposition", "work-unit.slice-implementation"]) {
51
- ensure(units?.[id]?.invocation_mode === "reference" && units[id].formal_artifact_owner === "explicit-user-entry", `${id} 未限制为 workflow reference 与显式正式入口`);
59
+ ensure(routes?.[id]?.native?.source === "yss-product-lifecycle" && routes[id].compatibility?.source === "mattpocock/skills" && routes[id].compatibility.formal_artifact_owner === "explicit-user-entry", `${id} 未分离原生执行定义与 Matt 兼容输入`);
60
+ }
61
+ for (const route of Object.values(routes ?? {})) {
62
+ for (const skill of route.skills ?? []) ensure(!boundary.user_invoked_skills.includes(skill), `工作单元不能自动调用 user-invoked skill: ${skill}`);
63
+ for (const skill of route.skills ?? []) if (boundary.model_invoked_skills.includes(skill)) ensure(boundary.lifecycle_allowed_model_invoked_skills.includes(skill), `工作单元调用了未进入生命周期白名单的 model-invoked skill: ${skill}`);
52
64
  }
53
65
  }
54
66
 
55
- function validateWorkflowExecutionResult(payload, contract, workUnits) {
67
+ function validateWorkflowExecutionResult(payload, contract, workUnitRoutes) {
56
68
  for (const field of contract.required) ensure(Object.hasOwn(payload, field), `Workflow Execution Result 缺少 ${field}`);
57
69
  ensure(contract.result_values.includes(payload.result), "Workflow Execution Result result 无效");
58
70
  for (const field of contract.workflow_reference.required) ensure(typeof payload.workflow_reference?.[field] === "string" && payload.workflow_reference[field].trim(), `workflow_reference.${field} 无效`);
59
- const workUnit = workUnits?.[payload.work_unit];
71
+ const workUnit = workUnitRoutes?.[payload.work_unit];
60
72
  ensure(workUnit, `未知 Workflow Execution Result work_unit: ${payload.work_unit}`);
61
- const expectedSkills = workUnit.workflow_reference ? [workUnit.workflow_reference] : workUnit.skills ?? [workUnit.skill];
62
- ensure(payload.workflow_reference.source === contract.workflow_reference.source && includesAll(expectedSkills, [payload.workflow_reference.skill]) && payload.workflow_reference.invocation_mode === workUnit.invocation_mode, "Workflow Execution Result workflow_reference 与 work_unit 不匹配");
73
+ const accepted = [workUnit.native, workUnit.compatibility].filter(Boolean);
74
+ ensure(contract.workflow_reference.allowed_sources.includes(payload.workflow_reference.source) && accepted.some((route) => route.source === payload.workflow_reference.source && route.skill === payload.workflow_reference.skill && route.invocation_mode === payload.workflow_reference.invocation_mode), "Workflow Execution Result workflow_reference 与 work_unit route 不匹配");
63
75
  if (payload.result !== "completed") return;
64
76
  for (const field of contract.completed_requires_empty) ensure(Array.isArray(payload[field]) && payload[field].length === 0, `completed 的 ${field} 必须为空`);
65
77
  for (const field of contract.completed_requires_non_empty) ensure(Array.isArray(payload[field]) && payload[field].length > 0, `completed 的 ${field} 不能为空`);
@@ -96,7 +108,7 @@ const profiles = {
96
108
  },
97
109
  matt: {
98
110
  message: "Matt/YSS 集成压力场景验证通过",
99
- files: [".agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md", ".agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml"],
111
+ files: [".agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md", ".agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml", "docs/process/templates/lifecycle-checkpoint-template.yaml", "docs/process/templates/frontend-implementation-plan-template.yaml", "docs/process/templates/frontend-implementation-verification-template.yaml"],
100
112
  markers: [[".agents/skills/yss-product-lifecycle/SKILL.md", "Workflow Execution Result"]]
101
113
  },
102
114
  prototype: {
@@ -146,6 +158,13 @@ export function runScenario(name) {
146
158
  if (name === "lifecycle") {
147
159
  const result = spawnSync("scripts/verify-lifecycle-registry", [], { cwd: root, encoding: "utf8" });
148
160
  ensure(result.status === 0, result.stderr || result.stdout);
161
+ const registry = parseDocument(read("docs/process/lifecycle-registry.yaml"), { uniqueKeys: true }).toJS({ maxAliasCount: 0 });
162
+ const releaseGate = registry.gates.find((gate) => gate.id === "gate.release-ready");
163
+ ensure(releaseGate?.requires_gates?.includes("gate.frontend-implementation-verified"), "发布就绪未依赖前端实现还原门禁");
164
+ const contract = parseDocument(read(".agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml"), { uniqueKeys: true }).toJS({ maxAliasCount: 0 });
165
+ ensure(contract.release_readiness?.conditional?.ui_impact?.includes("gate.frontend-implementation-verified") && contract.frontend_implementation_plan?.acceptance?.includes("no_template_placeholders"), "发布公式或前端计划实质校验不完整");
166
+ const templateRejected = spawnSync("scripts/verify-frontend-implementation-evidence", ["docs/process/templates/frontend-implementation-plan-template.yaml"], { cwd: root, encoding: "utf8" });
167
+ ensure(templateRejected.status !== 0 && templateRejected.stderr.includes("template: false"), "前端实现计划占位模板可冒充正式批准证据");
149
168
  }
150
169
  if (name === "matt") {
151
170
  const contract = parseDocument(read(".agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml"), { uniqueKeys: true });
@@ -156,7 +175,7 @@ export function runScenario(name) {
156
175
  const validResult = {
157
176
  result_schema: "workflow-execution-result-v1",
158
177
  work_unit: "work-unit.spec-synthesis",
159
- workflow_reference: { source: "mattpocock/skills", skill: "to-spec", invocation_mode: "reference" },
178
+ workflow_reference: { source: "yss-product-lifecycle", skill: "yss-product-lifecycle", invocation_mode: "model-invoked" },
160
179
  result: "completed",
161
180
  evidence_refs: ["docs/process/lifecycle-registry.yaml"],
162
181
  changed_artifacts: [],
@@ -165,7 +184,10 @@ export function runScenario(name) {
165
184
  next_route: "work-unit.ticket-decomposition",
166
185
  blocking_signals: []
167
186
  };
168
- validateWorkflowExecutionResult(validResult, data.workflow_execution_result, data.lifecycle_workflow_references);
187
+ validateWorkflowExecutionResult(validResult, data.workflow_execution_result, data.work_unit_routes);
188
+ const compatibleResult = structuredClone(validResult);
189
+ compatibleResult.workflow_reference = { source: "mattpocock/skills", skill: "to-spec", invocation_mode: "reference" };
190
+ validateWorkflowExecutionResult(compatibleResult, data.workflow_execution_result, data.work_unit_routes);
169
191
  for (const mutate of [
170
192
  (item) => { delete item.workflow_reference; },
171
193
  (item) => { item.evidence_refs = []; },
@@ -174,11 +196,11 @@ export function runScenario(name) {
174
196
  (item) => { item.new_impacts = ["new-api"]; },
175
197
  (item) => { item.workflow_reference.source = "untrusted/source"; },
176
198
  (item) => { item.workflow_reference.skill = "implement"; },
177
- (item) => { item.workflow_reference.invocation_mode = "model-invoked"; }
199
+ (item) => { item.workflow_reference.invocation_mode = "reference"; }
178
200
  ]) {
179
201
  const invalid = structuredClone(validResult); mutate(invalid);
180
202
  let rejected = false;
181
- try { validateWorkflowExecutionResult(invalid, data.workflow_execution_result, data.lifecycle_workflow_references); } catch { rejected = true; }
203
+ try { validateWorkflowExecutionResult(invalid, data.workflow_execution_result, data.work_unit_routes); } catch { rejected = true; }
182
204
  ensure(rejected, "Workflow Execution Result 完成态变异未被拒绝");
183
205
  }
184
206
  let metadataRejected = false;