create-yss-spec 2.1.10 → 2.1.13

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 (1222) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/template/.agents/skills/ask-matt/SKILL.md +8 -2
  4. package/template/.agents/skills/code-review/SKILL.md +6 -4
  5. package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  6. package/template/.agents/skills/implement/SKILL.md +1 -1
  7. package/template/.agents/skills/llm-wiki/SKILL.md +60 -0
  8. package/template/.agents/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  9. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  10. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  11. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  12. package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  13. package/template/.agents/skills/llm-wiki/references/compile.md +126 -0
  14. package/template/.agents/skills/llm-wiki/references/discover.md +41 -0
  15. package/template/.agents/skills/llm-wiki/references/ingest.md +36 -0
  16. package/template/.agents/skills/llm-wiki/references/lint.md +54 -0
  17. package/template/.agents/skills/llm-wiki/references/query.md +21 -0
  18. package/template/.agents/skills/llm-wiki/references/schema.md +45 -0
  19. package/template/.agents/skills/llm-wiki/references/writing.md +35 -0
  20. package/template/.agents/skills/llm-wiki/scripts/advise.mjs +196 -0
  21. package/template/.agents/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  22. package/template/.agents/skills/llm-wiki/scripts/extract.mjs +55 -0
  23. package/template/.agents/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  24. package/template/.agents/skills/llm-wiki/scripts/inventory.mjs +174 -0
  25. package/template/.agents/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  26. package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  27. package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  28. package/template/.agents/skills/to-spec/SKILL.md +1 -1
  29. package/template/.agents/skills/yss-antd-design/SKILL.md +34 -0
  30. package/template/.agents/skills/yss-antd-design/references/boundaries.md +30 -0
  31. package/template/.agents/skills/yss-antd-design/references/cli-matrix.md +38 -0
  32. package/template/.agents/skills/yss-antd-design/references/evidence.md +26 -0
  33. package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  34. package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  35. package/template/.agents/skills/yss-api-integration/SKILL.md +2 -0
  36. package/template/.agents/skills/yss-application/SKILL.md +52 -0
  37. package/template/.agents/skills/yss-application/agents/openai.yaml +5 -0
  38. package/template/{.claude/skills/yss-backend-scaffold-application/SKILL.md → .agents/skills/yss-application/references/application-layer-guide.md} +0 -7
  39. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  40. package/template/.agents/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  41. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  42. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  43. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  44. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  45. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  46. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  47. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  48. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  49. package/template/.agents/skills/yss-design-system/SKILL.md +9 -5
  50. package/template/.agents/skills/yss-design-system/references/design-qa-theme.md +64 -0
  51. package/template/.agents/skills/yss-design-system/references/design-system.md +20 -12
  52. package/template/.agents/skills/yss-domain/SKILL.md +5 -0
  53. package/template/{.claude/skills/yss-backend-scaffold-domain/SKILL.md → .agents/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  54. package/template/.agents/skills/yss-microapp-commit/SKILL.md +2 -0
  55. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +1 -1
  56. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  57. package/template/.agents/skills/yss-prototype-stage/SKILL.md +4 -2
  58. package/template/.agents/skills/yss-repository/SKILL.md +5 -0
  59. package/template/{.codex/skills/yss-backend-scaffold-infrastructure/SKILL.md → .agents/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  60. package/template/.agents/skills/yss-router/references/boundaries.md +2 -6
  61. package/template/.agents/skills/yss-router/references/router-contract.yaml +8 -12
  62. package/template/.agents/skills/yss-source-index/references/source-map-config.md +0 -4
  63. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  64. package/template/.agents/skills/yss-ui/SKILL.md +1 -1
  65. package/template/.agents/skills/yss-web-controller/SKILL.md +1 -0
  66. package/template/.agents/skills/{yss-backend-scaffold-web/SKILL.md → yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  67. package/template/.claude/skills/ask-matt/SKILL.md +8 -2
  68. package/template/.claude/skills/code-review/SKILL.md +6 -4
  69. package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  70. package/template/.claude/skills/implement/SKILL.md +1 -1
  71. package/template/.claude/skills/llm-wiki/SKILL.md +60 -0
  72. package/template/.claude/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  73. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  74. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  75. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  76. package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  77. package/template/.claude/skills/llm-wiki/references/compile.md +126 -0
  78. package/template/.claude/skills/llm-wiki/references/discover.md +41 -0
  79. package/template/.claude/skills/llm-wiki/references/ingest.md +36 -0
  80. package/template/.claude/skills/llm-wiki/references/lint.md +54 -0
  81. package/template/.claude/skills/llm-wiki/references/query.md +21 -0
  82. package/template/.claude/skills/llm-wiki/references/schema.md +45 -0
  83. package/template/.claude/skills/llm-wiki/references/writing.md +35 -0
  84. package/template/.claude/skills/llm-wiki/scripts/advise.mjs +196 -0
  85. package/template/.claude/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  86. package/template/.claude/skills/llm-wiki/scripts/extract.mjs +55 -0
  87. package/template/.claude/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  88. package/template/.claude/skills/llm-wiki/scripts/inventory.mjs +174 -0
  89. package/template/.claude/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  90. package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  91. package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  92. package/template/.claude/skills/to-spec/SKILL.md +1 -1
  93. package/template/.claude/skills/yss-antd-design/SKILL.md +34 -0
  94. package/template/.claude/skills/yss-antd-design/references/boundaries.md +30 -0
  95. package/template/.claude/skills/yss-antd-design/references/cli-matrix.md +38 -0
  96. package/template/.claude/skills/yss-antd-design/references/evidence.md +26 -0
  97. package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  98. package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  99. package/template/.claude/skills/yss-api-integration/SKILL.md +2 -0
  100. package/template/.claude/skills/yss-application/SKILL.md +52 -0
  101. package/template/.claude/skills/yss-application/agents/openai.yaml +5 -0
  102. package/template/{.codex/skills/yss-backend-scaffold-application/SKILL.md → .claude/skills/yss-application/references/application-layer-guide.md} +0 -7
  103. package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  104. package/template/.claude/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  105. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  106. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  107. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  108. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  109. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  110. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  111. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  112. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  113. package/template/.claude/skills/yss-design-system/SKILL.md +9 -5
  114. package/template/.claude/skills/yss-design-system/references/design-qa-theme.md +64 -0
  115. package/template/.claude/skills/yss-design-system/references/design-system.md +20 -12
  116. package/template/.claude/skills/yss-domain/SKILL.md +5 -0
  117. package/template/{.agents/skills/yss-backend-scaffold-domain/SKILL.md → .claude/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  118. package/template/.claude/skills/yss-microapp-commit/SKILL.md +2 -0
  119. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +1 -1
  120. package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  121. package/template/.claude/skills/yss-prototype-stage/SKILL.md +4 -2
  122. package/template/.claude/skills/yss-repository/SKILL.md +5 -0
  123. package/template/.claude/skills/{yss-backend-scaffold-infrastructure/SKILL.md → yss-repository/references/infrastructure-layer-guide.md} +0 -7
  124. package/template/.claude/skills/yss-router/references/boundaries.md +2 -6
  125. package/template/.claude/skills/yss-router/references/router-contract.yaml +8 -12
  126. package/template/.claude/skills/yss-source-index/references/source-map-config.md +0 -4
  127. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  128. package/template/.claude/skills/yss-ui/SKILL.md +1 -1
  129. package/template/.claude/skills/yss-web-controller/SKILL.md +1 -0
  130. package/template/{.codex/skills/yss-backend-scaffold-web/SKILL.md → .claude/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  131. package/template/.codex/skills/ask-matt/SKILL.md +8 -2
  132. package/template/.codex/skills/code-review/SKILL.md +6 -4
  133. package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  134. package/template/.codex/skills/implement/SKILL.md +1 -1
  135. package/template/.codex/skills/llm-wiki/SKILL.md +60 -0
  136. package/template/.codex/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  137. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  138. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  139. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  140. package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  141. package/template/.codex/skills/llm-wiki/references/compile.md +126 -0
  142. package/template/.codex/skills/llm-wiki/references/discover.md +41 -0
  143. package/template/.codex/skills/llm-wiki/references/ingest.md +36 -0
  144. package/template/.codex/skills/llm-wiki/references/lint.md +54 -0
  145. package/template/.codex/skills/llm-wiki/references/query.md +21 -0
  146. package/template/.codex/skills/llm-wiki/references/schema.md +45 -0
  147. package/template/.codex/skills/llm-wiki/references/writing.md +35 -0
  148. package/template/.codex/skills/llm-wiki/scripts/advise.mjs +196 -0
  149. package/template/.codex/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  150. package/template/.codex/skills/llm-wiki/scripts/extract.mjs +55 -0
  151. package/template/.codex/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  152. package/template/.codex/skills/llm-wiki/scripts/inventory.mjs +174 -0
  153. package/template/.codex/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  154. package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  155. package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  156. package/template/.codex/skills/to-spec/SKILL.md +1 -1
  157. package/template/.codex/skills/yss-antd-design/SKILL.md +34 -0
  158. package/template/.codex/skills/yss-antd-design/references/boundaries.md +30 -0
  159. package/template/.codex/skills/yss-antd-design/references/cli-matrix.md +38 -0
  160. package/template/.codex/skills/yss-antd-design/references/evidence.md +26 -0
  161. package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  162. package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  163. package/template/.codex/skills/yss-api-integration/SKILL.md +2 -0
  164. package/template/.codex/skills/yss-application/SKILL.md +52 -0
  165. package/template/.codex/skills/yss-application/agents/openai.yaml +5 -0
  166. package/template/{.agents/skills/yss-backend-scaffold-application/SKILL.md → .codex/skills/yss-application/references/application-layer-guide.md} +0 -7
  167. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  168. package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  169. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  170. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  171. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  172. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  173. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  174. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  175. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  176. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  177. package/template/.codex/skills/yss-design-system/SKILL.md +9 -5
  178. package/template/.codex/skills/yss-design-system/references/design-qa-theme.md +64 -0
  179. package/template/.codex/skills/yss-design-system/references/design-system.md +20 -12
  180. package/template/.codex/skills/yss-domain/SKILL.md +5 -0
  181. package/template/.codex/skills/{yss-backend-scaffold-domain/SKILL.md → yss-domain/references/domain-layer-guide.md} +0 -7
  182. package/template/.codex/skills/yss-microapp-commit/SKILL.md +2 -0
  183. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +1 -1
  184. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  185. package/template/.codex/skills/yss-prototype-stage/SKILL.md +4 -2
  186. package/template/.codex/skills/yss-repository/SKILL.md +5 -0
  187. package/template/{.hermes/skills/yss-backend-scaffold-infrastructure/SKILL.md → .codex/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  188. package/template/.codex/skills/yss-router/references/boundaries.md +2 -6
  189. package/template/.codex/skills/yss-router/references/router-contract.yaml +8 -12
  190. package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -4
  191. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  192. package/template/.codex/skills/yss-ui/SKILL.md +1 -1
  193. package/template/.codex/skills/yss-web-controller/SKILL.md +1 -0
  194. package/template/{.hermes/skills/yss-backend-scaffold-web/SKILL.md → .codex/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  195. package/template/.cursor/environment.json +5 -0
  196. package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +51 -0
  197. package/template/.cursor/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
  198. package/template/.cursor/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
  199. package/template/.cursor/skills/alibaba-java-code-style/references/java-programming.md +178 -0
  200. package/template/.cursor/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
  201. package/template/.cursor/skills/ask-matt/PHASE-BOUNDARIES.md +55 -0
  202. package/template/.cursor/skills/ask-matt/SKILL.md +95 -0
  203. package/template/.cursor/skills/ask-matt/agents/openai.yaml +5 -0
  204. package/template/.cursor/skills/code-review/SKILL.md +117 -0
  205. package/template/.cursor/skills/code-review/agents/openai.yaml +3 -0
  206. package/template/.cursor/skills/codebase-design/DEEPENING.md +37 -0
  207. package/template/.cursor/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  208. package/template/.cursor/skills/codebase-design/SKILL.md +114 -0
  209. package/template/.cursor/skills/codebase-design/agents/openai.yaml +3 -0
  210. package/template/.cursor/skills/competitive-intelligence/SKILL.md +94 -0
  211. package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +51 -0
  212. package/template/.cursor/skills/diagnosing-bugs/SKILL.md +138 -0
  213. package/template/.cursor/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  214. package/template/.cursor/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  215. package/template/.cursor/skills/dispatching-parallel-agents/SKILL.md +185 -0
  216. package/template/.cursor/skills/domain-modeling/ADR-FORMAT.md +47 -0
  217. package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  218. package/template/.cursor/skills/domain-modeling/SKILL.md +74 -0
  219. package/template/.cursor/skills/domain-modeling/agents/openai.yaml +3 -0
  220. package/template/.cursor/skills/grill-me/SKILL.md +7 -0
  221. package/template/.cursor/skills/grill-me/agents/openai.yaml +5 -0
  222. package/template/.cursor/skills/grill-with-docs/SKILL.md +19 -0
  223. package/template/.cursor/skills/grill-with-docs/agents/openai.yaml +5 -0
  224. package/template/.cursor/skills/grilling/SKILL.md +28 -0
  225. package/template/.cursor/skills/grilling/agents/openai.yaml +3 -0
  226. package/template/.cursor/skills/handoff/SKILL.md +16 -0
  227. package/template/.cursor/skills/handoff/agents/openai.yaml +5 -0
  228. package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +89 -0
  229. package/template/.cursor/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
  230. package/template/.cursor/skills/implement/SKILL.md +15 -0
  231. package/template/.cursor/skills/implement/agents/openai.yaml +5 -0
  232. package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +50 -0
  233. package/template/.cursor/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  234. package/template/.cursor/skills/improve-codebase-architecture/SKILL.md +71 -0
  235. package/template/.cursor/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  236. package/template/.cursor/skills/llm-wiki/SKILL.md +60 -0
  237. package/template/.cursor/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  238. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  239. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  240. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  241. package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  242. package/template/.cursor/skills/llm-wiki/references/compile.md +126 -0
  243. package/template/.cursor/skills/llm-wiki/references/discover.md +41 -0
  244. package/template/.cursor/skills/llm-wiki/references/ingest.md +36 -0
  245. package/template/.cursor/skills/llm-wiki/references/lint.md +54 -0
  246. package/template/.cursor/skills/llm-wiki/references/query.md +21 -0
  247. package/template/.cursor/skills/llm-wiki/references/schema.md +45 -0
  248. package/template/.cursor/skills/llm-wiki/references/writing.md +35 -0
  249. package/template/.cursor/skills/llm-wiki/scripts/advise.mjs +196 -0
  250. package/template/.cursor/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  251. package/template/.cursor/skills/llm-wiki/scripts/extract.mjs +55 -0
  252. package/template/.cursor/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  253. package/template/.cursor/skills/llm-wiki/scripts/inventory.mjs +174 -0
  254. package/template/.cursor/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  255. package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  256. package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  257. package/template/.cursor/skills/lombok/SKILL.md +351 -0
  258. package/template/.cursor/skills/loop-me/SKILL.md +32 -0
  259. package/template/.cursor/skills/loop-me/agents/openai.yaml +5 -0
  260. package/template/.cursor/skills/maintaining-skills/SKILL.md +25 -0
  261. package/template/.cursor/skills/mapstruct/SKILL.md +334 -0
  262. package/template/.cursor/skills/migrate-to-shoehorn/SKILL.md +118 -0
  263. package/template/.cursor/skills/migrate-to-shoehorn/agents/openai.yaml +3 -0
  264. package/template/.cursor/skills/prototype/LOGIC.md +67 -0
  265. package/template/.cursor/skills/prototype/SKILL.md +26 -0
  266. package/template/.cursor/skills/prototype/UI.md +112 -0
  267. package/template/.cursor/skills/prototype/agents/openai.yaml +3 -0
  268. package/template/.cursor/skills/prototype-review/SKILL.md +74 -0
  269. package/template/.cursor/skills/prototype-review/agents/openai.yaml +4 -0
  270. package/template/.cursor/skills/research/SKILL.md +12 -0
  271. package/template/.cursor/skills/research/agents/openai.yaml +3 -0
  272. package/template/.cursor/skills/resolving-merge-conflicts/SKILL.md +14 -0
  273. package/template/.cursor/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  274. package/template/.cursor/skills/scaffold-exercises/SKILL.md +106 -0
  275. package/template/.cursor/skills/scaffold-exercises/agents/openai.yaml +3 -0
  276. package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +125 -0
  277. package/template/.cursor/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  278. package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +51 -0
  279. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  280. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  281. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-local.md +66 -0
  282. package/template/.cursor/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  283. package/template/.cursor/skills/setup-pre-commit/SKILL.md +91 -0
  284. package/template/.cursor/skills/setup-pre-commit/agents/openai.yaml +3 -0
  285. package/template/.cursor/skills/setup-ts-deep-modules/SKILL.md +102 -0
  286. package/template/.cursor/skills/setup-ts-deep-modules/agents/openai.yaml +5 -0
  287. package/template/.cursor/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +95 -0
  288. package/template/.cursor/skills/tdd/SKILL.md +38 -0
  289. package/template/.cursor/skills/tdd/agents/openai.yaml +3 -0
  290. package/template/.cursor/skills/tdd/mocking.md +59 -0
  291. package/template/.cursor/skills/tdd/tests.md +77 -0
  292. package/template/.cursor/skills/teach/GLOSSARY-FORMAT.md +35 -0
  293. package/template/.cursor/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  294. package/template/.cursor/skills/teach/MISSION-FORMAT.md +31 -0
  295. package/template/.cursor/skills/teach/RESOURCES-FORMAT.md +32 -0
  296. package/template/.cursor/skills/teach/SKILL.md +140 -0
  297. package/template/.cursor/skills/teach/agents/openai.yaml +5 -0
  298. package/template/.cursor/skills/to-questionnaire/SKILL.md +53 -0
  299. package/template/.cursor/skills/to-questionnaire/agents/openai.yaml +5 -0
  300. package/template/.cursor/skills/to-spec/SKILL.md +75 -0
  301. package/template/.cursor/skills/to-spec/agents/openai.yaml +5 -0
  302. package/template/.cursor/skills/to-tickets/SKILL.md +105 -0
  303. package/template/.cursor/skills/to-tickets/agents/openai.yaml +5 -0
  304. package/template/.cursor/skills/triage/AGENT-BRIEF.md +207 -0
  305. package/template/.cursor/skills/triage/OUT-OF-SCOPE.md +105 -0
  306. package/template/.cursor/skills/triage/SKILL.md +112 -0
  307. package/template/.cursor/skills/triage/agents/openai.yaml +5 -0
  308. package/template/.cursor/skills/using-git-worktrees/SKILL.md +202 -0
  309. package/template/.cursor/skills/wait-what/SKILL.md +7 -0
  310. package/template/.cursor/skills/wait-what/agents/openai.yaml +5 -0
  311. package/template/.cursor/skills/wayfinder/SKILL.md +128 -0
  312. package/template/.cursor/skills/wayfinder/agents/openai.yaml +5 -0
  313. package/template/.cursor/skills/writing-beats/SKILL.md +67 -0
  314. package/template/.cursor/skills/writing-beats/agents/openai.yaml +5 -0
  315. package/template/.cursor/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
  316. package/template/.cursor/skills/writing-for-agents/SKILL.md +81 -0
  317. package/template/.cursor/skills/writing-for-agents/agents/openai.yaml +3 -0
  318. package/template/.cursor/skills/writing-fragments/SKILL.md +79 -0
  319. package/template/.cursor/skills/writing-fragments/agents/openai.yaml +5 -0
  320. package/template/.cursor/skills/writing-shape/SKILL.md +79 -0
  321. package/template/.cursor/skills/writing-shape/agents/openai.yaml +5 -0
  322. package/template/.cursor/skills/yss-antd-design/SKILL.md +34 -0
  323. package/template/.cursor/skills/yss-antd-design/references/boundaries.md +30 -0
  324. package/template/.cursor/skills/yss-antd-design/references/cli-matrix.md +38 -0
  325. package/template/.cursor/skills/yss-antd-design/references/evidence.md +26 -0
  326. package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  327. package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  328. package/template/.cursor/skills/yss-api-integration/SKILL.md +429 -0
  329. package/template/.cursor/skills/yss-api-integration/agents/openai.yaml +5 -0
  330. package/template/.cursor/skills/yss-application/SKILL.md +52 -0
  331. package/template/.cursor/skills/yss-application/agents/openai.yaml +5 -0
  332. package/template/{.hermes/skills/yss-backend-scaffold-application/SKILL.md → .cursor/skills/yss-application/references/application-layer-guide.md} +0 -7
  333. package/template/.cursor/skills/yss-audit-log/SKILL.md +67 -0
  334. package/template/.cursor/skills/yss-audit-log/agents/openai.yaml +5 -0
  335. package/template/.cursor/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
  336. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
  337. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
  338. package/template/.cursor/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
  339. package/template/.cursor/skills/yss-audit-log/references/README.md +69 -0
  340. package/template/.cursor/skills/yss-audit-log/references/source-index.md +43 -0
  341. package/template/.cursor/skills/yss-cache/SKILL.md +44 -0
  342. package/template/.cursor/skills/yss-cache/agents/openai.yaml +5 -0
  343. package/template/.cursor/skills/yss-cache/references/annotations.md +39 -0
  344. package/template/.cursor/skills/yss-cache/references/architecture.md +25 -0
  345. package/template/.cursor/skills/yss-cache/references/configuration.md +34 -0
  346. package/template/.cursor/skills/yss-cache/references/redis-fallback.md +23 -0
  347. package/template/.cursor/skills/yss-cache/references/redis-topology.md +62 -0
  348. package/template/.cursor/skills/yss-cache/references/serialization.md +17 -0
  349. package/template/.cursor/skills/yss-cache/references/source-index.md +67 -0
  350. package/template/.cursor/skills/yss-cache/references/troubleshooting.md +33 -0
  351. package/template/.cursor/skills/yss-cache/references/verification.md +34 -0
  352. package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  353. package/template/.cursor/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  354. package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  355. package/template/.cursor/skills/yss-components/SKILL.md +386 -0
  356. package/template/.cursor/skills/yss-components/agents/openai.yaml +5 -0
  357. package/template/.cursor/skills/yss-components/references/frontend-docs.md +9 -0
  358. package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +96 -0
  359. package/template/.cursor/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
  360. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
  361. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
  362. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
  363. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
  364. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
  365. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +50 -0
  366. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
  367. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
  368. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
  369. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
  370. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
  371. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
  372. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
  373. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
  374. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
  375. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +18 -0
  376. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
  377. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
  378. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
  379. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +420 -0
  380. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
  381. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
  382. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +8 -0
  383. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  384. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +8 -0
  385. package/template/{.agents/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  386. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +8 -0
  387. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  388. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +138 -0
  389. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
  390. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +8 -0
  391. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  392. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  393. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  394. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  395. package/template/.cursor/skills/yss-design-system/SKILL.md +103 -0
  396. package/template/.cursor/skills/yss-design-system/agents/openai.yaml +5 -0
  397. package/template/.cursor/skills/yss-design-system/references/design-qa-theme.md +64 -0
  398. package/template/.cursor/skills/yss-design-system/references/design-system.md +245 -0
  399. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  400. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  401. package/template/.cursor/skills/yss-distributed-id/SKILL.md +69 -0
  402. package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +5 -0
  403. package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
  404. package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
  405. package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +36 -0
  406. package/template/.cursor/skills/yss-distributed-id/references/README.md +51 -0
  407. package/template/.cursor/skills/yss-distributed-id/references/source-index.md +86 -0
  408. package/template/.cursor/skills/yss-domain/SKILL.md +68 -0
  409. package/template/.cursor/skills/yss-domain/agents/openai.yaml +5 -0
  410. package/template/{.hermes/skills/yss-backend-scaffold-domain/SKILL.md → .cursor/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  411. package/template/.cursor/skills/yss-dto/SKILL.md +86 -0
  412. package/template/.cursor/skills/yss-dto/agents/openai.yaml +5 -0
  413. package/template/.cursor/skills/yss-dto/assets/CommandDTO.java +8 -0
  414. package/template/.cursor/skills/yss-dto/assets/PageQuery.java +133 -0
  415. package/template/.cursor/skills/yss-dto/assets/QueryDTO.java +6 -0
  416. package/template/.cursor/skills/yss-dto/assets/Result.java +105 -0
  417. package/template/.cursor/skills/yss-dto/references/README.md +67 -0
  418. package/template/.cursor/skills/yss-dto/references/openapi-wire-profile.yaml +181 -0
  419. package/template/.cursor/skills/yss-dto/references/source-index.md +55 -0
  420. package/template/.cursor/skills/yss-excel-mvc/SKILL.md +66 -0
  421. package/template/.cursor/skills/yss-excel-mvc/agents/openai.yaml +5 -0
  422. package/template/.cursor/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
  423. package/template/.cursor/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
  424. package/template/.cursor/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
  425. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
  426. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
  427. package/template/.cursor/skills/yss-excel-mvc/references/README.md +5 -0
  428. package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +74 -0
  429. package/template/.cursor/skills/yss-exception/SKILL.md +55 -0
  430. package/template/.cursor/skills/yss-exception/agents/openai.yaml +4 -0
  431. package/template/{.agents/skills/yss-log → .cursor/skills/yss-exception}/references/source-index.md +8 -7
  432. package/template/.cursor/skills/yss-formily/SKILL.md +304 -0
  433. package/template/.cursor/skills/yss-formily/agents/openai.yaml +5 -0
  434. package/template/.cursor/skills/yss-formily/references/examples.md +65 -0
  435. package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +189 -0
  436. package/template/.cursor/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
  437. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
  438. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
  439. package/template/.cursor/skills/yss-formily-schema-generator/references/workflow.md +240 -0
  440. package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +76 -0
  441. package/template/.cursor/skills/yss-hook/SKILL.md +200 -0
  442. package/template/.cursor/skills/yss-hook/agents/openai.yaml +5 -0
  443. package/template/.cursor/skills/yss-hook/references/frontend-docs.md +10 -0
  444. package/template/.cursor/skills/yss-microapp-commit/SKILL.md +201 -0
  445. package/template/.cursor/skills/yss-microapp-commit/agents/openai.yaml +5 -0
  446. package/template/.cursor/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
  447. package/template/.cursor/skills/yss-mybatis/SKILL.md +77 -0
  448. package/template/.cursor/skills/yss-mybatis/agents/openai.yaml +5 -0
  449. package/template/.cursor/skills/yss-mybatis/assets/BaseRepository.java +112 -0
  450. package/template/.cursor/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
  451. package/template/.cursor/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
  452. package/template/.cursor/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
  453. package/template/.cursor/skills/yss-mybatis/references/README.md +57 -0
  454. package/template/.cursor/skills/yss-mybatis/references/source-index.md +93 -0
  455. package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +82 -0
  456. package/template/.cursor/skills/yss-openapi-governance/SKILL.md +130 -0
  457. package/template/.cursor/skills/yss-openapi-governance/agents/openai.yaml +4 -0
  458. package/template/.cursor/skills/yss-page-module-development/SKILL.md +153 -0
  459. package/template/.cursor/skills/yss-page-module-development/agents/openai.yaml +5 -0
  460. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
  461. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
  462. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
  463. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
  464. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
  465. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
  466. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
  467. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
  468. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
  469. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
  470. package/template/.cursor/skills/yss-page-module-development/references/frontend-docs.md +11 -0
  471. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +49 -0
  472. package/template/.cursor/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
  473. package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +32 -0
  474. package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +122 -0
  475. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +521 -0
  476. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +103 -0
  477. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +107 -0
  478. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +42 -0
  479. package/template/.cursor/skills/yss-repository/SKILL.md +76 -0
  480. package/template/.cursor/skills/yss-repository/agents/openai.yaml +5 -0
  481. package/template/{.agents/skills/yss-backend-scaffold-infrastructure/SKILL.md → .cursor/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  482. package/template/.cursor/skills/yss-resilience4j/SKILL.md +46 -0
  483. package/template/.cursor/skills/yss-resilience4j/agents/openai.yaml +4 -0
  484. package/template/{.hermes/skills/yss-jdbc → .cursor/skills/yss-resilience4j}/references/source-index.md +6 -6
  485. package/template/.cursor/skills/yss-router/SKILL.md +49 -0
  486. package/template/.cursor/skills/yss-router/agents/openai.yaml +4 -0
  487. package/template/.cursor/skills/yss-router/references/boundaries.md +50 -0
  488. package/template/.cursor/skills/yss-router/references/router-contract.yaml +245 -0
  489. package/template/.cursor/skills/yss-router/references/slice-implementation-contract.md +113 -0
  490. package/template/.cursor/skills/yss-router/references/yss-skill-execution-result.md +62 -0
  491. package/template/.cursor/skills/yss-security-algorithm/SKILL.md +52 -0
  492. package/template/.cursor/skills/yss-security-algorithm/agents/openai.yaml +4 -0
  493. package/template/{.agents/skills/yss-jdbc → .cursor/skills/yss-security-algorithm}/references/source-index.md +7 -5
  494. package/template/.cursor/skills/yss-source-index/SKILL.md +63 -0
  495. package/template/.cursor/skills/yss-source-index/agents/openai.yaml +4 -0
  496. package/template/.cursor/skills/yss-source-index/references/source-location.md +18 -0
  497. package/template/.cursor/skills/yss-source-index/references/source-map-config.md +30 -0
  498. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  499. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  500. package/template/.cursor/skills/yss-ui/SKILL.md +169 -0
  501. package/template/.cursor/skills/yss-ui/agents/openai.yaml +5 -0
  502. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
  503. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
  504. package/template/.cursor/skills/yss-ui/assets/demos/button/permission.vue +10 -0
  505. package/template/.cursor/skills/yss-ui/assets/demos/button/size.vue +12 -0
  506. package/template/.cursor/skills/yss-ui/assets/demos/button/states.vue +12 -0
  507. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
  508. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
  509. package/template/.cursor/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
  510. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
  511. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
  512. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
  513. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
  514. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
  515. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
  516. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
  517. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
  518. package/template/.cursor/skills/yss-ui/assets/demos/card/loading/index.vue +19 -0
  519. package/template/.cursor/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
  520. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
  521. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
  522. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
  523. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
  524. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
  525. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
  526. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
  527. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
  528. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
  529. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
  530. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
  531. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
  532. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
  533. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
  534. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
  535. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
  536. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
  537. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
  538. package/template/.cursor/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
  539. package/template/.cursor/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
  540. package/template/.cursor/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
  541. package/template/.cursor/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
  542. package/template/.cursor/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
  543. package/template/.cursor/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
  544. package/template/.cursor/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
  545. package/template/.cursor/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
  546. package/template/.cursor/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
  547. package/template/.cursor/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
  548. package/template/.cursor/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
  549. package/template/.cursor/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
  550. package/template/.cursor/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
  551. package/template/.cursor/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
  552. package/template/.cursor/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
  553. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
  554. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
  555. package/template/.cursor/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
  556. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
  557. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
  558. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
  559. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
  560. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
  561. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
  562. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
  563. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
  564. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
  565. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
  566. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
  567. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
  568. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
  569. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
  570. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
  571. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
  572. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
  573. package/template/.cursor/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
  574. package/template/.cursor/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
  575. package/template/.cursor/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
  576. package/template/.cursor/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
  577. package/template/.cursor/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
  578. package/template/.cursor/skills/yss-ui/assets/demos/formily/align.vue +56 -0
  579. package/template/.cursor/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
  580. package/template/.cursor/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
  581. package/template/.cursor/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
  582. package/template/.cursor/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
  583. package/template/.cursor/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
  584. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
  585. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
  586. package/template/.cursor/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
  587. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
  588. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
  589. package/template/.cursor/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
  590. package/template/.cursor/skills/yss-ui/assets/demos/formily/group.vue +102 -0
  591. package/template/.cursor/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
  592. package/template/.cursor/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
  593. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
  594. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
  595. package/template/.cursor/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
  596. package/template/.cursor/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
  597. package/template/.cursor/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
  598. package/template/.cursor/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
  599. package/template/.cursor/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
  600. package/template/.cursor/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
  601. package/template/.cursor/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
  602. package/template/.cursor/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
  603. package/template/.cursor/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
  604. package/template/.cursor/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
  605. package/template/.cursor/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
  606. package/template/.cursor/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
  607. package/template/.cursor/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
  608. package/template/.cursor/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
  609. package/template/.cursor/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
  610. package/template/.cursor/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
  611. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
  612. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
  613. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
  614. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
  615. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
  616. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
  617. package/template/.cursor/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
  618. package/template/.cursor/skills/yss-ui/assets/demos/table/action/style.less +3 -0
  619. package/template/.cursor/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
  620. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
  621. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
  622. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
  623. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
  624. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
  625. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
  626. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
  627. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
  628. package/template/.cursor/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
  629. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
  630. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
  631. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
  632. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
  633. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
  634. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
  635. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
  636. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
  637. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
  638. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
  639. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
  640. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
  641. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
  642. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
  643. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
  644. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
  645. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
  646. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
  647. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
  648. package/template/.cursor/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
  649. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
  650. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
  651. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
  652. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
  653. package/template/.cursor/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
  654. package/template/.cursor/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
  655. package/template/.cursor/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
  656. package/template/.cursor/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
  657. package/template/.cursor/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
  658. package/template/.cursor/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
  659. package/template/.cursor/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
  660. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
  661. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
  662. package/template/.cursor/skills/yss-ui/assets/docs/components/button.md +79 -0
  663. package/template/.cursor/skills/yss-ui/assets/docs/components/card.md +162 -0
  664. package/template/.cursor/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
  665. package/template/.cursor/skills/yss-ui/assets/docs/components/cron.md +77 -0
  666. package/template/.cursor/skills/yss-ui/assets/docs/components/echarts.md +110 -0
  667. package/template/.cursor/skills/yss-ui/assets/docs/components/editTable.md +212 -0
  668. package/template/.cursor/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
  669. package/template/.cursor/skills/yss-ui/assets/docs/components/formily.md +370 -0
  670. package/template/.cursor/skills/yss-ui/assets/docs/components/monaco.md +369 -0
  671. package/template/.cursor/skills/yss-ui/assets/docs/components/sheet.md +169 -0
  672. package/template/.cursor/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
  673. package/template/.cursor/skills/yss-ui/assets/docs/components/table.md +398 -0
  674. package/template/.cursor/skills/yss-ui/assets/docs/components/tree.md +102 -0
  675. package/template/.cursor/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
  676. package/template/.cursor/skills/yss-ui/assets/docs/guide/index.md +132 -0
  677. package/template/.cursor/skills/yss-ui/assets/docs/guide/installation.md +97 -0
  678. package/template/.cursor/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
  679. package/template/.cursor/skills/yss-ui/assets/docs/guide/llms.md +295 -0
  680. package/template/.cursor/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
  681. package/template/.cursor/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
  682. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
  683. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
  684. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
  685. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
  686. package/template/.cursor/skills/yss-ui/assets/docs/root/resources.md +18 -0
  687. package/template/.cursor/skills/yss-ui/assets/keyword-index.json +53 -0
  688. package/template/.cursor/skills/yss-ui/assets/keyword-index.md +47 -0
  689. package/template/.cursor/skills/yss-ui/assets/reference-index.json +55 -0
  690. package/template/.cursor/skills/yss-ui/assets/reference-index.md +74 -0
  691. package/template/.cursor/skills/yss-ui/assets/scenario-index.json +50 -0
  692. package/template/.cursor/skills/yss-ui/assets/scenario-index.md +41 -0
  693. package/template/.cursor/skills/yss-ui/references/accessibility.md +23 -0
  694. package/template/.cursor/skills/yss-ui/references/antdv-compatibility.md +39 -0
  695. package/template/.cursor/skills/yss-ui/references/checklist.md +110 -0
  696. package/template/.cursor/skills/yss-ui/references/component-routing.md +31 -0
  697. package/template/.cursor/skills/yss-ui/references/frontend-docs.md +11 -0
  698. package/template/.cursor/skills/yss-ui/references/migration-antdv-to-yss.md +20 -0
  699. package/template/.cursor/skills/yss-ui/references/quick-recipes.md +280 -0
  700. package/template/.cursor/skills/yss-ui/references/theme-locale-overlay.md +25 -0
  701. package/template/.cursor/skills/yss-ui/references/verification.md +20 -0
  702. package/template/.cursor/skills/yss-up-springboot3/SKILL.md +40 -0
  703. package/template/.cursor/skills/yss-up-springboot3/agents/openai.yaml +4 -0
  704. package/template/.cursor/skills/yss-use-table-height/SKILL.md +340 -0
  705. package/template/.cursor/skills/yss-use-table-height/agents/openai.yaml +5 -0
  706. package/template/.cursor/skills/yss-use-table-height/references/frontend-docs.md +9 -0
  707. package/template/.cursor/skills/yss-use-tree-height/SKILL.md +431 -0
  708. package/template/.cursor/skills/yss-use-tree-height/agents/openai.yaml +5 -0
  709. package/template/.cursor/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
  710. package/template/.cursor/skills/yss-userinfo/SKILL.md +49 -0
  711. package/template/.cursor/skills/yss-userinfo/agents/openai.yaml +4 -0
  712. package/template/{.codex/skills/yss-jdbc → .cursor/skills/yss-userinfo}/references/source-index.md +6 -5
  713. package/template/.cursor/skills/yss-validation/SKILL.md +56 -0
  714. package/template/.cursor/skills/yss-validation/agents/openai.yaml +4 -0
  715. package/template/{.claude/skills/yss-jdbc → .cursor/skills/yss-validation}/references/source-index.md +6 -6
  716. package/template/.cursor/skills/yss-web-controller/SKILL.md +78 -0
  717. package/template/.cursor/skills/yss-web-controller/agents/openai.yaml +5 -0
  718. package/template/.cursor/skills/yss-web-controller/assets/templates/Controller.java.template +73 -0
  719. package/template/.cursor/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
  720. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
  721. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
  722. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
  723. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
  724. package/template/{.claude/skills/yss-backend-scaffold-web/SKILL.md → .cursor/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  725. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  726. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  727. package/template/.hermes/skills/ask-matt/SKILL.md +8 -2
  728. package/template/.hermes/skills/code-review/SKILL.md +6 -4
  729. package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  730. package/template/.hermes/skills/implement/SKILL.md +1 -1
  731. package/template/.hermes/skills/llm-wiki/SKILL.md +60 -0
  732. package/template/.hermes/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  733. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  734. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  735. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  736. package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  737. package/template/.hermes/skills/llm-wiki/references/compile.md +126 -0
  738. package/template/.hermes/skills/llm-wiki/references/discover.md +41 -0
  739. package/template/.hermes/skills/llm-wiki/references/ingest.md +36 -0
  740. package/template/.hermes/skills/llm-wiki/references/lint.md +54 -0
  741. package/template/.hermes/skills/llm-wiki/references/query.md +21 -0
  742. package/template/.hermes/skills/llm-wiki/references/schema.md +45 -0
  743. package/template/.hermes/skills/llm-wiki/references/writing.md +35 -0
  744. package/template/.hermes/skills/llm-wiki/scripts/advise.mjs +196 -0
  745. package/template/.hermes/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  746. package/template/.hermes/skills/llm-wiki/scripts/extract.mjs +55 -0
  747. package/template/.hermes/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  748. package/template/.hermes/skills/llm-wiki/scripts/inventory.mjs +174 -0
  749. package/template/.hermes/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  750. package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  751. package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  752. package/template/.hermes/skills/to-spec/SKILL.md +1 -1
  753. package/template/.hermes/skills/yss-antd-design/SKILL.md +34 -0
  754. package/template/.hermes/skills/yss-antd-design/references/boundaries.md +30 -0
  755. package/template/.hermes/skills/yss-antd-design/references/cli-matrix.md +38 -0
  756. package/template/.hermes/skills/yss-antd-design/references/evidence.md +26 -0
  757. package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  758. package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  759. package/template/.hermes/skills/yss-api-integration/SKILL.md +2 -0
  760. package/template/.hermes/skills/yss-application/SKILL.md +52 -0
  761. package/template/.hermes/skills/yss-application/agents/openai.yaml +5 -0
  762. package/template/.hermes/skills/yss-application/references/application-layer-guide.md +132 -0
  763. package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  764. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  765. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  766. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  767. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  768. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  769. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  770. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  771. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  772. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  773. package/template/.hermes/skills/yss-design-system/SKILL.md +9 -5
  774. package/template/.hermes/skills/yss-design-system/references/design-qa-theme.md +64 -0
  775. package/template/.hermes/skills/yss-design-system/references/design-system.md +20 -12
  776. package/template/.hermes/skills/yss-domain/SKILL.md +5 -0
  777. package/template/.hermes/skills/yss-domain/references/domain-layer-guide.md +274 -0
  778. package/template/.hermes/skills/yss-microapp-commit/SKILL.md +2 -0
  779. package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +1 -1
  780. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  781. package/template/.hermes/skills/yss-prototype-stage/SKILL.md +4 -2
  782. package/template/.hermes/skills/yss-repository/SKILL.md +5 -0
  783. package/template/.hermes/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  784. package/template/.hermes/skills/yss-router/references/boundaries.md +2 -6
  785. package/template/.hermes/skills/yss-router/references/router-contract.yaml +8 -12
  786. package/template/.hermes/skills/yss-source-index/references/source-map-config.md +0 -4
  787. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  788. package/template/.hermes/skills/yss-ui/SKILL.md +1 -1
  789. package/template/.hermes/skills/yss-web-controller/SKILL.md +1 -0
  790. package/template/.hermes/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  791. package/template/.pi/skills/ask-matt/SKILL.md +8 -2
  792. package/template/.pi/skills/code-review/SKILL.md +6 -4
  793. package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  794. package/template/.pi/skills/implement/SKILL.md +1 -1
  795. package/template/.pi/skills/llm-wiki/SKILL.md +60 -0
  796. package/template/.pi/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  797. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  798. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  799. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  800. package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  801. package/template/.pi/skills/llm-wiki/references/compile.md +126 -0
  802. package/template/.pi/skills/llm-wiki/references/discover.md +41 -0
  803. package/template/.pi/skills/llm-wiki/references/ingest.md +36 -0
  804. package/template/.pi/skills/llm-wiki/references/lint.md +54 -0
  805. package/template/.pi/skills/llm-wiki/references/query.md +21 -0
  806. package/template/.pi/skills/llm-wiki/references/schema.md +45 -0
  807. package/template/.pi/skills/llm-wiki/references/writing.md +35 -0
  808. package/template/.pi/skills/llm-wiki/scripts/advise.mjs +196 -0
  809. package/template/.pi/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  810. package/template/.pi/skills/llm-wiki/scripts/extract.mjs +55 -0
  811. package/template/.pi/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  812. package/template/.pi/skills/llm-wiki/scripts/inventory.mjs +174 -0
  813. package/template/.pi/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  814. package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  815. package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  816. package/template/.pi/skills/to-spec/SKILL.md +1 -1
  817. package/template/.pi/skills/yss-antd-design/SKILL.md +34 -0
  818. package/template/.pi/skills/yss-antd-design/references/boundaries.md +30 -0
  819. package/template/.pi/skills/yss-antd-design/references/cli-matrix.md +38 -0
  820. package/template/.pi/skills/yss-antd-design/references/evidence.md +26 -0
  821. package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  822. package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  823. package/template/.pi/skills/yss-api-integration/SKILL.md +2 -0
  824. package/template/.pi/skills/yss-application/SKILL.md +52 -0
  825. package/template/.pi/skills/yss-application/agents/openai.yaml +5 -0
  826. package/template/.pi/skills/yss-application/references/application-layer-guide.md +132 -0
  827. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  828. package/template/.pi/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  829. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  830. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  831. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  832. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  833. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  834. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  835. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  836. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  837. package/template/.pi/skills/yss-design-system/SKILL.md +9 -5
  838. package/template/.pi/skills/yss-design-system/references/design-qa-theme.md +64 -0
  839. package/template/.pi/skills/yss-design-system/references/design-system.md +20 -12
  840. package/template/.pi/skills/yss-domain/SKILL.md +5 -0
  841. package/template/.pi/skills/yss-domain/references/domain-layer-guide.md +274 -0
  842. package/template/.pi/skills/yss-microapp-commit/SKILL.md +2 -0
  843. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +1 -1
  844. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  845. package/template/.pi/skills/yss-prototype-stage/SKILL.md +4 -2
  846. package/template/.pi/skills/yss-repository/SKILL.md +5 -0
  847. package/template/.pi/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  848. package/template/.pi/skills/yss-router/references/boundaries.md +2 -6
  849. package/template/.pi/skills/yss-router/references/router-contract.yaml +8 -12
  850. package/template/.pi/skills/yss-source-index/references/source-map-config.md +0 -4
  851. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  852. package/template/.pi/skills/yss-ui/SKILL.md +1 -1
  853. package/template/.pi/skills/yss-web-controller/SKILL.md +1 -0
  854. package/template/.pi/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  855. package/template/.qoder/skills/ask-matt/SKILL.md +8 -2
  856. package/template/.qoder/skills/code-review/SKILL.md +6 -4
  857. package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  858. package/template/.qoder/skills/implement/SKILL.md +1 -1
  859. package/template/.qoder/skills/llm-wiki/SKILL.md +60 -0
  860. package/template/.qoder/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  861. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  862. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  863. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  864. package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  865. package/template/.qoder/skills/llm-wiki/references/compile.md +126 -0
  866. package/template/.qoder/skills/llm-wiki/references/discover.md +41 -0
  867. package/template/.qoder/skills/llm-wiki/references/ingest.md +36 -0
  868. package/template/.qoder/skills/llm-wiki/references/lint.md +54 -0
  869. package/template/.qoder/skills/llm-wiki/references/query.md +21 -0
  870. package/template/.qoder/skills/llm-wiki/references/schema.md +45 -0
  871. package/template/.qoder/skills/llm-wiki/references/writing.md +35 -0
  872. package/template/.qoder/skills/llm-wiki/scripts/advise.mjs +196 -0
  873. package/template/.qoder/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  874. package/template/.qoder/skills/llm-wiki/scripts/extract.mjs +55 -0
  875. package/template/.qoder/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  876. package/template/.qoder/skills/llm-wiki/scripts/inventory.mjs +174 -0
  877. package/template/.qoder/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  878. package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  879. package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  880. package/template/.qoder/skills/to-spec/SKILL.md +1 -1
  881. package/template/.qoder/skills/yss-antd-design/SKILL.md +34 -0
  882. package/template/.qoder/skills/yss-antd-design/references/boundaries.md +30 -0
  883. package/template/.qoder/skills/yss-antd-design/references/cli-matrix.md +38 -0
  884. package/template/.qoder/skills/yss-antd-design/references/evidence.md +26 -0
  885. package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  886. package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  887. package/template/.qoder/skills/yss-api-integration/SKILL.md +2 -0
  888. package/template/.qoder/skills/yss-application/SKILL.md +52 -0
  889. package/template/.qoder/skills/yss-application/agents/openai.yaml +5 -0
  890. package/template/.qoder/skills/yss-application/references/application-layer-guide.md +132 -0
  891. package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  892. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  893. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  894. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  895. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  896. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  897. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  898. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  899. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  900. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  901. package/template/.qoder/skills/yss-design-system/SKILL.md +9 -5
  902. package/template/.qoder/skills/yss-design-system/references/design-qa-theme.md +64 -0
  903. package/template/.qoder/skills/yss-design-system/references/design-system.md +20 -12
  904. package/template/.qoder/skills/yss-domain/SKILL.md +5 -0
  905. package/template/.qoder/skills/yss-domain/references/domain-layer-guide.md +274 -0
  906. package/template/.qoder/skills/yss-microapp-commit/SKILL.md +2 -0
  907. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +1 -1
  908. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  909. package/template/.qoder/skills/yss-prototype-stage/SKILL.md +4 -2
  910. package/template/.qoder/skills/yss-repository/SKILL.md +5 -0
  911. package/template/.qoder/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  912. package/template/.qoder/skills/yss-router/references/boundaries.md +2 -6
  913. package/template/.qoder/skills/yss-router/references/router-contract.yaml +8 -12
  914. package/template/.qoder/skills/yss-source-index/references/source-map-config.md +0 -4
  915. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  916. package/template/.qoder/skills/yss-ui/SKILL.md +1 -1
  917. package/template/.qoder/skills/yss-web-controller/SKILL.md +1 -0
  918. package/template/.qoder/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  919. package/template/.trae/skills/ask-matt/SKILL.md +8 -2
  920. package/template/.trae/skills/code-review/SKILL.md +6 -4
  921. package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +2 -19
  922. package/template/.trae/skills/implement/SKILL.md +1 -1
  923. package/template/.trae/skills/llm-wiki/SKILL.md +60 -0
  924. package/template/.trae/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
  925. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
  926. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
  927. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
  928. package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
  929. package/template/.trae/skills/llm-wiki/references/compile.md +126 -0
  930. package/template/.trae/skills/llm-wiki/references/discover.md +41 -0
  931. package/template/.trae/skills/llm-wiki/references/ingest.md +36 -0
  932. package/template/.trae/skills/llm-wiki/references/lint.md +54 -0
  933. package/template/.trae/skills/llm-wiki/references/query.md +21 -0
  934. package/template/.trae/skills/llm-wiki/references/schema.md +45 -0
  935. package/template/.trae/skills/llm-wiki/references/writing.md +35 -0
  936. package/template/.trae/skills/llm-wiki/scripts/advise.mjs +196 -0
  937. package/template/.trae/skills/llm-wiki/scripts/advise.test.mjs +91 -0
  938. package/template/.trae/skills/llm-wiki/scripts/extract.mjs +55 -0
  939. package/template/.trae/skills/llm-wiki/scripts/extract.test.mjs +34 -0
  940. package/template/.trae/skills/llm-wiki/scripts/inventory.mjs +174 -0
  941. package/template/.trae/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
  942. package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
  943. package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
  944. package/template/.trae/skills/to-spec/SKILL.md +1 -1
  945. package/template/.trae/skills/yss-antd-design/SKILL.md +34 -0
  946. package/template/.trae/skills/yss-antd-design/references/boundaries.md +30 -0
  947. package/template/.trae/skills/yss-antd-design/references/cli-matrix.md +38 -0
  948. package/template/.trae/skills/yss-antd-design/references/evidence.md +26 -0
  949. package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
  950. package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
  951. package/template/.trae/skills/yss-api-integration/SKILL.md +2 -0
  952. package/template/.trae/skills/yss-application/SKILL.md +52 -0
  953. package/template/.trae/skills/yss-application/agents/openai.yaml +5 -0
  954. package/template/.trae/skills/yss-application/references/application-layer-guide.md +132 -0
  955. package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  956. package/template/.trae/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  957. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  958. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  959. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  960. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  961. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  962. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  963. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  964. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  965. package/template/.trae/skills/yss-design-system/SKILL.md +9 -5
  966. package/template/.trae/skills/yss-design-system/references/design-qa-theme.md +64 -0
  967. package/template/.trae/skills/yss-design-system/references/design-system.md +20 -12
  968. package/template/.trae/skills/yss-domain/SKILL.md +5 -0
  969. package/template/.trae/skills/yss-domain/references/domain-layer-guide.md +274 -0
  970. package/template/.trae/skills/yss-microapp-commit/SKILL.md +2 -0
  971. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +1 -1
  972. package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
  973. package/template/.trae/skills/yss-prototype-stage/SKILL.md +4 -2
  974. package/template/.trae/skills/yss-repository/SKILL.md +5 -0
  975. package/template/.trae/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  976. package/template/.trae/skills/yss-router/references/boundaries.md +2 -6
  977. package/template/.trae/skills/yss-router/references/router-contract.yaml +8 -12
  978. package/template/.trae/skills/yss-source-index/references/source-map-config.md +0 -4
  979. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  980. package/template/.trae/skills/yss-ui/SKILL.md +1 -1
  981. package/template/.trae/skills/yss-web-controller/SKILL.md +1 -0
  982. package/template/.trae/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  983. package/template/AGENTS.md +18 -3
  984. package/template/CLAUDE.md +13 -0
  985. package/template/CONTEXT.md +3 -3
  986. package/template/README.md +2 -1
  987. package/template/docs/agents/README.md +6 -4
  988. package/template/docs/agents/skills-maintenance.md +3 -1
  989. package/template/docs/agents/yss-skill-registry.yaml +510 -0
  990. package/template/docs/architecture/templates/engineering-baseline-review-template.md +2 -2
  991. package/template/docs/design/README.md +5 -5
  992. package/template/docs/design/design.md +94 -29
  993. package/template/docs/design/templates/prototype-evidence-template.yaml +12 -1
  994. package/template/docs/design/tokens/theme.json +16 -9
  995. package/template/docs/design/tokens/tokens.compact.json +35 -32
  996. package/template/docs/design/tokens/tokens.dark.json +5 -5
  997. package/template/docs/design/tokens/tokens.default.json +41 -32
  998. package/template/docs/design/tokens/variables.css +62 -37
  999. package/template/docs/design/tokens/variables.dark.css +5 -5
  1000. package/template/docs/process/implementation-repo-integration.md +9 -0
  1001. package/template/docs/templates/build-architecture-checklist-template.md +5 -5
  1002. package/template/docs/templates/implementation-routing-template.md +5 -5
  1003. package/template/docs/templates/review-report-template.md +3 -3
  1004. package/template/docs/templates/vertical-slice-ticket-template.md +4 -4
  1005. 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 +5 -4
  1006. 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
  1007. package/template/scripts/lib/skill-registry.mjs +198 -0
  1008. package/template/scripts/lib/skill-supply-chain.mjs +7 -4
  1009. package/template/scripts/verify-skill-registry +10 -0
  1010. package/template/scripts/verify-template +3 -2
  1011. package/template/skills-lock.json +125 -133
  1012. package/template/wiki/.wiki-manifest.json +390 -0
  1013. package/template/wiki/raw/AGENTS.md +42 -61
  1014. package/template/wiki/raw/CONTEXT.md +27 -1
  1015. package/template/wiki/raw/README.md +4 -1
  1016. package/template/wiki/raw/create-yss-spec-repository-mode-contract.md +95 -0
  1017. package/template/wiki/raw/harness-process-tailoring.md +64 -0
  1018. package/template/wiki/raw/implementation-repo-integration.md +62 -0
  1019. package/template/wiki/raw/issue-tracker.md +135 -0
  1020. package/template/wiki/raw/lifecycle-registry.yaml +369 -0
  1021. package/template/wiki/raw/maintenance-intensity.yaml +25 -0
  1022. package/template/wiki/raw/skills-lock-names.md +92 -0
  1023. package/template/wiki/raw/skills-maintenance.md +90 -0
  1024. package/template/wiki/raw/spec-template.md +3 -4
  1025. package/template/wiki/raw/triage-labels.md +15 -0
  1026. package/template/wiki/raw/vertical-slice-ticket-template.md +14 -8
  1027. package/template/wiki/raw/yss-skill-registry.yaml +504 -0
  1028. package/template/wiki/wiki/Agent/345/205/245/345/217/243/350/247/204/345/210/231.md +17 -5
  1029. package/template/wiki/wiki/CLAUDE.md +15 -11
  1030. package/template/wiki/wiki/Fresh/351/252/214/350/257/201/344/270/216/347/213/254/347/253/213/345/256/241/346/237/245.md +15 -5
  1031. package/template/wiki/wiki/LLM Wiki.md +30 -0
  1032. package/template/wiki/wiki/Matt/346/212/200/350/203/275/344/275/223/347/263/273.md +17 -5
  1033. package/template/wiki/wiki/OpenAPI/345/245/221/347/272/246.md +16 -5
  1034. package/template/wiki/wiki/SpecDelta.md +15 -5
  1035. package/template/wiki/wiki/Spec/345/237/272/347/272/277.md +18 -5
  1036. package/template/wiki/wiki/Ticket/344/270/216/346/265/201/347/250/213/347/212/266/346/200/201.md +17 -5
  1037. package/template/wiki/wiki/YSS/345/267/245/347/250/213/346/212/200/350/203/275/344/275/223/347/263/273.md +19 -5
  1038. package/template/wiki/wiki/YSS/350/267/257/347/224/261/344/270/216/345/220/210/345/220/214/347/274/226/350/257/221.md +16 -5
  1039. package/template/wiki/wiki/concept-table.md +9 -0
  1040. package/template/wiki/wiki/index.md +12 -11
  1041. package/template/wiki/wiki/log.md +27 -0
  1042. package/template/wiki/wiki//344/272/247/345/223/201/347/240/224/345/217/221/347/224/237/345/221/275/345/221/250/346/234/237.md +15 -4
  1043. package/template/wiki/wiki//344/272/247/345/223/201/350/256/276/350/256/241/345/275/261/345/223/215/344/270/216/345/216/237/345/236/213.md +14 -4
  1044. package/template/wiki/wiki//344/273/223/345/272/223/350/272/253/344/273/275/344/270/216/350/267/257/347/224/261.md +15 -4
  1045. package/template/wiki/wiki//345/210/207/347/211/207/345/256/236/347/216/260/345/220/210/345/220/214.md +17 -5
  1046. package/template/wiki/wiki//345/236/202/347/233/264/345/210/207/347/211/207Ticket.md +19 -5
  1047. package/template/wiki/wiki//345/244/215/347/233/230/344/270/216/346/235/203/345/250/201/350/265/204/344/272/247/344/277/256/350/256/242.md +15 -4
  1048. package/template/wiki/wiki//345/256/236/347/216/260/344/273/223/345/272/223/344/270/216/350/267/250/344/273/223/345/272/223/345/245/221/347/272/246.md +17 -4
  1049. package/template/wiki/wiki//345/275/261/345/223/215/351/235/242/345/210/206/350/257/212/344/270/216/346/265/201/347/250/213/350/243/201/345/211/252.md +15 -4
  1050. package/template/wiki/wiki//346/212/200/350/203/275/346/212/225/345/275/261/344/270/216/351/224/201/345/256/232.md +18 -4
  1051. package/template/wiki/wiki//346/235/241/344/273/266/345/274/272/345/210/266/351/227/250/347/246/201.md +13 -4
  1052. package/template/wiki/wiki//346/250/241/346/235/277/345/217/221/345/270/203/351/227/250/347/246/201/344/270/216/351/252/214/350/257/201.md +17 -4
  1053. package/template/wiki/wiki//346/250/241/346/235/277/346/200/273/350/247/210.md +16 -5
  1054. package/template/wiki/wiki//346/250/241/346/235/277/347/273/264/346/212/244/346/265/201/347/250/213.md +14 -4
  1055. package/template/yss-public-skills.json +4 -16
  1056. package/template.snapshot.json +4 -4
  1057. package/template/.agents/skills/product-design-prototype/SKILL.md +0 -91
  1058. package/template/.agents/skills/product-design-prototype/agents/openai.yaml +0 -4
  1059. package/template/.agents/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1060. package/template/.agents/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1061. package/template/.agents/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1062. package/template/.agents/skills/yss-dictionary/SKILL.md +0 -49
  1063. package/template/.agents/skills/yss-dictionary/agents/openai.yaml +0 -4
  1064. package/template/.agents/skills/yss-dictionary/references/source-index.md +0 -80
  1065. package/template/.agents/skills/yss-jdbc/SKILL.md +0 -73
  1066. package/template/.agents/skills/yss-jdbc/agents/openai.yaml +0 -5
  1067. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1068. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1069. package/template/.agents/skills/yss-jdbc/assets/DsParam.java +0 -19
  1070. package/template/.agents/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1071. package/template/.agents/skills/yss-jdbc/references/README.md +0 -55
  1072. package/template/.agents/skills/yss-log/SKILL.md +0 -48
  1073. package/template/.agents/skills/yss-log/agents/openai.yaml +0 -4
  1074. package/template/.agents/skills/yss-taskflow/SKILL.md +0 -58
  1075. package/template/.agents/skills/yss-taskflow/agents/openai.yaml +0 -4
  1076. package/template/.agents/skills/yss-taskflow/references/source-index.md +0 -158
  1077. package/template/.claude/skills/product-design-prototype/SKILL.md +0 -91
  1078. package/template/.claude/skills/product-design-prototype/agents/openai.yaml +0 -4
  1079. package/template/.claude/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1080. package/template/.claude/skills/yss-dictionary/SKILL.md +0 -49
  1081. package/template/.claude/skills/yss-dictionary/agents/openai.yaml +0 -4
  1082. package/template/.claude/skills/yss-dictionary/references/source-index.md +0 -80
  1083. package/template/.claude/skills/yss-jdbc/SKILL.md +0 -73
  1084. package/template/.claude/skills/yss-jdbc/agents/openai.yaml +0 -5
  1085. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1086. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1087. package/template/.claude/skills/yss-jdbc/assets/DsParam.java +0 -19
  1088. package/template/.claude/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1089. package/template/.claude/skills/yss-jdbc/references/README.md +0 -55
  1090. package/template/.claude/skills/yss-log/SKILL.md +0 -48
  1091. package/template/.claude/skills/yss-log/agents/openai.yaml +0 -4
  1092. package/template/.claude/skills/yss-log/references/source-index.md +0 -34
  1093. package/template/.claude/skills/yss-taskflow/SKILL.md +0 -58
  1094. package/template/.claude/skills/yss-taskflow/agents/openai.yaml +0 -4
  1095. package/template/.claude/skills/yss-taskflow/references/source-index.md +0 -158
  1096. package/template/.codex/skills/product-design-prototype/SKILL.md +0 -91
  1097. package/template/.codex/skills/product-design-prototype/agents/openai.yaml +0 -4
  1098. package/template/.codex/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1099. package/template/.codex/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1100. package/template/.codex/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1101. package/template/.codex/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1102. package/template/.codex/skills/yss-dictionary/SKILL.md +0 -49
  1103. package/template/.codex/skills/yss-dictionary/agents/openai.yaml +0 -4
  1104. package/template/.codex/skills/yss-dictionary/references/source-index.md +0 -80
  1105. package/template/.codex/skills/yss-jdbc/SKILL.md +0 -73
  1106. package/template/.codex/skills/yss-jdbc/agents/openai.yaml +0 -5
  1107. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1108. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1109. package/template/.codex/skills/yss-jdbc/assets/DsParam.java +0 -19
  1110. package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1111. package/template/.codex/skills/yss-jdbc/references/README.md +0 -55
  1112. package/template/.codex/skills/yss-log/SKILL.md +0 -48
  1113. package/template/.codex/skills/yss-log/agents/openai.yaml +0 -4
  1114. package/template/.codex/skills/yss-log/references/source-index.md +0 -34
  1115. package/template/.codex/skills/yss-taskflow/SKILL.md +0 -58
  1116. package/template/.codex/skills/yss-taskflow/agents/openai.yaml +0 -4
  1117. package/template/.codex/skills/yss-taskflow/references/source-index.md +0 -158
  1118. package/template/.hermes/skills/product-design-prototype/SKILL.md +0 -91
  1119. package/template/.hermes/skills/product-design-prototype/agents/openai.yaml +0 -4
  1120. package/template/.hermes/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1121. package/template/.hermes/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1122. package/template/.hermes/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1123. package/template/.hermes/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1124. package/template/.hermes/skills/yss-dictionary/SKILL.md +0 -49
  1125. package/template/.hermes/skills/yss-dictionary/agents/openai.yaml +0 -4
  1126. package/template/.hermes/skills/yss-dictionary/references/source-index.md +0 -80
  1127. package/template/.hermes/skills/yss-jdbc/SKILL.md +0 -73
  1128. package/template/.hermes/skills/yss-jdbc/agents/openai.yaml +0 -5
  1129. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1130. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1131. package/template/.hermes/skills/yss-jdbc/assets/DsParam.java +0 -19
  1132. package/template/.hermes/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1133. package/template/.hermes/skills/yss-jdbc/references/README.md +0 -55
  1134. package/template/.hermes/skills/yss-log/SKILL.md +0 -48
  1135. package/template/.hermes/skills/yss-log/agents/openai.yaml +0 -4
  1136. package/template/.hermes/skills/yss-log/references/source-index.md +0 -34
  1137. package/template/.hermes/skills/yss-taskflow/SKILL.md +0 -58
  1138. package/template/.hermes/skills/yss-taskflow/agents/openai.yaml +0 -4
  1139. package/template/.hermes/skills/yss-taskflow/references/source-index.md +0 -158
  1140. package/template/.pi/skills/product-design-prototype/SKILL.md +0 -91
  1141. package/template/.pi/skills/product-design-prototype/agents/openai.yaml +0 -4
  1142. package/template/.pi/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  1143. package/template/.pi/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1144. package/template/.pi/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  1145. package/template/.pi/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1146. package/template/.pi/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  1147. package/template/.pi/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1148. package/template/.pi/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  1149. package/template/.pi/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1150. package/template/.pi/skills/yss-dictionary/SKILL.md +0 -49
  1151. package/template/.pi/skills/yss-dictionary/agents/openai.yaml +0 -4
  1152. package/template/.pi/skills/yss-dictionary/references/source-index.md +0 -80
  1153. package/template/.pi/skills/yss-jdbc/SKILL.md +0 -73
  1154. package/template/.pi/skills/yss-jdbc/agents/openai.yaml +0 -5
  1155. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1156. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1157. package/template/.pi/skills/yss-jdbc/assets/DsParam.java +0 -19
  1158. package/template/.pi/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1159. package/template/.pi/skills/yss-jdbc/references/README.md +0 -55
  1160. package/template/.pi/skills/yss-jdbc/references/source-index.md +0 -33
  1161. package/template/.pi/skills/yss-log/SKILL.md +0 -48
  1162. package/template/.pi/skills/yss-log/agents/openai.yaml +0 -4
  1163. package/template/.pi/skills/yss-log/references/source-index.md +0 -34
  1164. package/template/.pi/skills/yss-taskflow/SKILL.md +0 -58
  1165. package/template/.pi/skills/yss-taskflow/agents/openai.yaml +0 -4
  1166. package/template/.pi/skills/yss-taskflow/references/source-index.md +0 -158
  1167. package/template/.qoder/skills/product-design-prototype/SKILL.md +0 -91
  1168. package/template/.qoder/skills/product-design-prototype/agents/openai.yaml +0 -4
  1169. package/template/.qoder/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  1170. package/template/.qoder/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1171. package/template/.qoder/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  1172. package/template/.qoder/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1173. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  1174. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1175. package/template/.qoder/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  1176. package/template/.qoder/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1177. package/template/.qoder/skills/yss-dictionary/SKILL.md +0 -49
  1178. package/template/.qoder/skills/yss-dictionary/agents/openai.yaml +0 -4
  1179. package/template/.qoder/skills/yss-dictionary/references/source-index.md +0 -80
  1180. package/template/.qoder/skills/yss-jdbc/SKILL.md +0 -73
  1181. package/template/.qoder/skills/yss-jdbc/agents/openai.yaml +0 -5
  1182. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1183. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1184. package/template/.qoder/skills/yss-jdbc/assets/DsParam.java +0 -19
  1185. package/template/.qoder/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1186. package/template/.qoder/skills/yss-jdbc/references/README.md +0 -55
  1187. package/template/.qoder/skills/yss-jdbc/references/source-index.md +0 -33
  1188. package/template/.qoder/skills/yss-log/SKILL.md +0 -48
  1189. package/template/.qoder/skills/yss-log/agents/openai.yaml +0 -4
  1190. package/template/.qoder/skills/yss-log/references/source-index.md +0 -34
  1191. package/template/.qoder/skills/yss-taskflow/SKILL.md +0 -58
  1192. package/template/.qoder/skills/yss-taskflow/agents/openai.yaml +0 -4
  1193. package/template/.qoder/skills/yss-taskflow/references/source-index.md +0 -158
  1194. package/template/.trae/skills/product-design-prototype/SKILL.md +0 -91
  1195. package/template/.trae/skills/product-design-prototype/agents/openai.yaml +0 -4
  1196. package/template/.trae/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  1197. package/template/.trae/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  1198. package/template/.trae/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  1199. package/template/.trae/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  1200. package/template/.trae/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  1201. package/template/.trae/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  1202. package/template/.trae/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  1203. package/template/.trae/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1204. package/template/.trae/skills/yss-dictionary/SKILL.md +0 -49
  1205. package/template/.trae/skills/yss-dictionary/agents/openai.yaml +0 -4
  1206. package/template/.trae/skills/yss-dictionary/references/source-index.md +0 -80
  1207. package/template/.trae/skills/yss-jdbc/SKILL.md +0 -73
  1208. package/template/.trae/skills/yss-jdbc/agents/openai.yaml +0 -5
  1209. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1210. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1211. package/template/.trae/skills/yss-jdbc/assets/DsParam.java +0 -19
  1212. package/template/.trae/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1213. package/template/.trae/skills/yss-jdbc/references/README.md +0 -55
  1214. package/template/.trae/skills/yss-jdbc/references/source-index.md +0 -33
  1215. package/template/.trae/skills/yss-log/SKILL.md +0 -48
  1216. package/template/.trae/skills/yss-log/agents/openai.yaml +0 -4
  1217. package/template/.trae/skills/yss-log/references/source-index.md +0 -34
  1218. package/template/.trae/skills/yss-taskflow/SKILL.md +0 -58
  1219. package/template/.trae/skills/yss-taskflow/agents/openai.yaml +0 -4
  1220. package/template/.trae/skills/yss-taskflow/references/source-index.md +0 -158
  1221. package/template/wiki/raw/create-yss-spec-contract.md +0 -59
  1222. package/template/wiki/raw/skills-lock.json +0 -1379
@@ -0,0 +1,521 @@
1
+ schema_version: 1
2
+ supported_state_schema_versions: [1]
3
+
4
+ implementation_path_policy:
5
+ harness_layout:
6
+ backend: apps/backend/<project>/
7
+ frontend: apps/frontend/<project>/
8
+ container_roots: [apps/backend/, apps/frontend/]
9
+ forbidden_roots: [app/backend/, app/frontend/]
10
+ container_roots_are_projects: false
11
+ external_repository_uses_native_root: true
12
+
13
+ review_verification:
14
+ low_medium_combined_independent_executor: true
15
+ implementer_must_be_separate: true
16
+ split_when: [new_module, high_risk, responsibility_conflict, dual_control_required]
17
+
18
+ checkpoint_policy:
19
+ strategy: consolidated
20
+ flush_on: [human_pause, handoff, implementation_entry, merge, release]
21
+ flush_immediately_on: [blocked, responsibility_changed, asset_approval]
22
+ preserve_stage_causality: true
23
+ required_stage_trace_fields: [stage, upstream_refs, artifact_refs, gate_decisions, downstream_impacts]
24
+
25
+ modes:
26
+ route: read_only
27
+ audit: read_only
28
+ orchestrate: bounded_write
29
+ resume: rebuild_then_bounded_write
30
+
31
+ # 有效的 YSS 仓库必须先由生命周期编排器接管入口;Matt flow 只负责选择工作方式。
32
+ entry_routing:
33
+ manifest: yss-project.yaml
34
+ valid_modes: [template-source, project-instance]
35
+ invalid_manifest:
36
+ action: migration-check
37
+ direct_matt_entry:
38
+ skill: ask-matt
39
+ delegate_to: yss-product-lifecycle
40
+ requires_valid_manifest: true
41
+ action: navigate-only
42
+ lifecycle_state_mutation: forbidden
43
+ lifecycle_artifact_write: forbidden
44
+ return_to_orchestrator: required
45
+ formal_user_entry:
46
+ skills: [setup-matt-pocock-skills, grill-with-docs, to-spec, to-tickets, implement]
47
+ action: lifecycle-validate-and-accept
48
+ lifecycle_artifact_write: conditional-explicit-user-entry
49
+ return_to_orchestrator: required
50
+ template_source:
51
+ route: template-maintenance
52
+ forbidden_artifacts: [product-spec, prototype, openapi, vertical-slice-tickets]
53
+ forbidden_flows: [to-spec, to-tickets, implement, release, retrospective]
54
+ on_forbidden_flow: blocked
55
+ block_reason: template-source-product-artifact-forbidden
56
+
57
+ # 旧 Matt Skill Result 只用于兼容读取;所有生命周期新输出使用 Workflow Execution Result。
58
+ matt_skill_result:
59
+ status: compatibility-read-only
60
+ may_influence_routing: false
61
+ normalize_to: workflow-execution-result-v1
62
+ schema_version: 1
63
+ result_values: [completed, blocked, needs-human, failed]
64
+ required: [result, skill, evidence_refs, changed_artifacts, new_impacts, stale_candidates, next_route, blocking_signals]
65
+ blocking_signals: [drift, new_impacts, violation, missing_evidence, stale_candidates]
66
+ completed_requires_empty: [new_impacts, stale_candidates]
67
+ completed_requires_non_empty: [evidence_refs]
68
+ completed_requires_readable_evidence_refs: true
69
+ evidence_ref_validation: readable-or-resolvable
70
+ completed_requires_no_blocking_signals: true
71
+ router_status_mapping:
72
+ draft: completed
73
+ blocked: blocked
74
+ ready-for-lifecycle-review: needs-human
75
+
76
+ workflow_execution_result:
77
+ canonical_output_schema: workflow-execution-result-v1
78
+ accepted_input_schemas: [workflow-execution-result-v1]
79
+ legacy:
80
+ matt-skill-result-v1:
81
+ status: compatibility-read-only
82
+ may_influence_routing: false
83
+ normalize_to: workflow-execution-result-v1
84
+ removal_target: schema_version_2
85
+ result_values: [completed, blocked, needs-human, failed]
86
+ required: [result_schema, work_unit, workflow_reference, result, evidence_refs, changed_artifacts, new_impacts, stale_candidates, next_route, blocking_signals]
87
+ blocking_signals: [drift, new_impacts, violation, missing_evidence, stale_candidates]
88
+ completed_requires_empty: [new_impacts, stale_candidates]
89
+ completed_requires_non_empty: [evidence_refs]
90
+ completed_requires_readable_evidence_refs: true
91
+ evidence_ref_validation: readable-or-resolvable
92
+ completed_requires_no_blocking_signals: true
93
+ workflow_reference:
94
+ required: [source, skill, invocation_mode]
95
+ allowed_sources: [yss-product-lifecycle, mattpocock/skills]
96
+
97
+ # Matt user-invoked skills remain explicit user entry points. Lifecycle work units
98
+ # may prepare, validate and accept their results, but cannot invoke them or create
99
+ # their formal artifacts on their behalf.
100
+ matt_invocation_boundary:
101
+ user_invoked_skills: [ask-matt, grill-me, grill-with-docs, handoff, implement, improve-codebase-architecture, loop-me, setup-matt-pocock-skills, setup-ts-deep-modules, teach, to-questionnaire, to-spec, to-tickets, triage, wait-what, wayfinder, writing-beats, writing-fragments, writing-shape]
102
+ lifecycle_managed_user_entries: [setup-matt-pocock-skills, grill-with-docs, to-spec, to-tickets, implement]
103
+ model_invoked_skills: [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]
104
+ lifecycle_allowed_model_invoked_skills: [code-review, codebase-design, diagnosing-bugs, domain-modeling, grilling, prototype, research, tdd]
105
+ lifecycle_may_invoke_user_invoked: false
106
+ formal_artifact_owner: explicit-user-entry
107
+ continuous_orchestration: compatibility-prepare-and-validate-only
108
+ direct_user_entry: lifecycle-validate-and-accept
109
+
110
+ skill_source_contract:
111
+ lock_version: 3
112
+ source_revisions_required: [mattpocock/skills]
113
+ adaptation_ref_required_when_effective_diff: true
114
+ retired_shared_skills: [batch-grill-me, product-design-prototype, yss-dictionary, yss-jdbc, yss-log, yss-taskflow, yss-backend-scaffold-application, yss-backend-scaffold-domain, yss-backend-scaffold-infrastructure, yss-backend-scaffold-web]
115
+
116
+ # 生命周期默认走原生工作单元;Matt user-invoked skill 仅保留为兼容入口。
117
+ lifecycle_native_entries:
118
+ default_entry: yss-product-lifecycle
119
+ formal_artifact_owner: yss-product-lifecycle
120
+ user_confirmation_required_at: [spec-baseline, prototype-confirmation, openapi-freeze, merge-or-release]
121
+ compatibility_entries:
122
+ to-spec: lifecycle-validate-and-accept
123
+ to-tickets: lifecycle-validate-and-accept
124
+ implement: lifecycle-validate-and-accept
125
+
126
+ work_unit_routes:
127
+ work-unit.discovery-opportunity:
128
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
129
+ skills: [competitive-intelligence, research]
130
+ route_by: {market_or_competitor_fact: competitive-intelligence, technical_or_standard_fact: research, no_external_fact: yss-product-lifecycle}
131
+ work-unit.discovery-requirements:
132
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
133
+ skills: [grilling, domain-modeling]
134
+ work-unit.spec-synthesis:
135
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
136
+ compatibility: {source: mattpocock/skills, skill: to-spec, invocation_mode: reference, formal_artifact_owner: explicit-user-entry}
137
+ skills: [domain-modeling]
138
+ human_gate: spec-baseline
139
+ work-unit.prototype-design:
140
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
141
+ skills: [yss-design-system, yss-prototype-stage, yss-antd-design, product-design:index]
142
+ human_gate: prototype-confirmation
143
+ work-unit.technical-analysis:
144
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
145
+ skills: [yss-openapi-governance, yss-openapi-draft-review, codebase-design, implementation-repo-onboarding, yss-router]
146
+ human_gate: openapi-freeze_if_api_impact
147
+ work-unit.ticket-decomposition:
148
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
149
+ compatibility: {source: mattpocock/skills, skill: to-tickets, invocation_mode: reference, formal_artifact_owner: explicit-user-entry}
150
+ skills: [yss-router]
151
+ work-unit.slice-implementation:
152
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
153
+ compatibility: {source: mattpocock/skills, skill: implement, invocation_mode: reference, formal_artifact_owner: explicit-user-entry}
154
+ skills: [tdd, yss-router, yss-ui, yss-page-module-development]
155
+ work-unit.frontend-implementation-verification:
156
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
157
+ skills: [yss-ui, yss-design-system, code-review]
158
+ applies_when: ui_impact
159
+ work-unit.code-review:
160
+ native: {source: yss-product-lifecycle, skill: code-review, invocation_mode: model-invoked}
161
+ skills: [code-review]
162
+ work-unit.release-and-retrospective:
163
+ native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
164
+ skills: [yss-product-lifecycle]
165
+ human_gate: merge_or_release
166
+
167
+ compatibility_flow_preconditions:
168
+ to-spec:
169
+ required: [grill_exit, no_unresolved_runnable_blocker]
170
+ evidence: [user_problem, mvp_and_non_goals, success_criteria, test_seam, terminology_review]
171
+ output_role: ready-for-human
172
+ to-tickets:
173
+ required: [openapi_freeze_or_no_api_impact, required_gates_satisfied, vertical_slice_scope, blocking_edges]
174
+ output: vertical-slice-tickets
175
+ output_role: ready-for-human
176
+ implement:
177
+ required: [ready_for_agent, slice_contract_approved, slice_contract_persisted, slice_contract_current_version, build_architecture_checklist, implementation_repo, implementation_branch, ci, verification_commands, rollback_point, backend_slice_contract_if_applicable, backend_scaffold_policy_satisfied, frontend_implementation_plan_if_ui_impact]
178
+ applies_to_single_session: true
179
+
180
+ grill_exit:
181
+ required: [frontier_empty, facts_resolved_or_routed, decisions_confirmed, shared_understanding_confirmed, no_unresolved_runnable_blocker]
182
+ facts_resolved_or_routed:
183
+ technical_fact: research
184
+ runnable_question: handoff-prototype-handoff
185
+ external_decision: external-input-required
186
+ user_confirmation_required: true
187
+ output: discovery-evidence
188
+
189
+ ticket_role_transition:
190
+ yss_active:
191
+ to_tickets_initial_role: ready-for-human
192
+ promotion_owner: yss-product-lifecycle
193
+ promoted_role: ready-for-agent
194
+ promotion_requires: ready_for_agent
195
+
196
+ review_input:
197
+ schema_version: 1
198
+ required: [review_mode, review_base_ref, implementation_candidate_ref, candidate_snapshot_ref, candidate_digest, spec_ref, ticket_ref, slice_contract_ref, build_architecture_checklist_ref, yss_execution_result_refs]
199
+ nullable: [spec_ref]
200
+ axes: [standards, spec, ui_fidelity_if_ui_impact]
201
+ repair_invalidates_candidate: true
202
+ repair_action: recapture_candidate_and_rerun_all_axes
203
+ modes: [committed, worktree]
204
+ committed:
205
+ candidate_ref: HEAD
206
+ diff_scope: merge-base-to-head
207
+ worktree:
208
+ candidate_ref: working-tree
209
+ diff_scope: merge-base-to-working-tree
210
+ required_coverage: [committed, staged, unstaged, untracked]
211
+ tracked_diff_command: git diff --no-ext-diff --binary --full-index <merge-base>
212
+ untracked_inventory_command: git ls-files -z --others --exclude-standard
213
+ untracked_files_encoding: nul-delimited-raw-path-bytes
214
+ untracked_diff_command: git diff --no-index --no-ext-diff --binary --full-index -- /dev/null <path>
215
+ capture_once: true
216
+ verify_unchanged_after_review: true
217
+ manifest_required_by_mode:
218
+ committed: [merge_base, tracked_diff_command, commit_list_command]
219
+ worktree: [merge_base, tracked_diff_command, untracked_inventory_command, untracked_diff_command, untracked_files, commit_list_command]
220
+ snapshot:
221
+ immutable: true
222
+ protocol: yss-worktree-candidate-v1
223
+ digest_algorithm: sha256
224
+ digest_framing: length-prefixed-path-and-bytes
225
+ path_order: bytewise
226
+ path_encoding: raw-bytes
227
+ length_encoding: uint64-big-endian
228
+ header_ascii: YSS-WORKTREE-CANDIDATE-V1
229
+ terminator_byte: "0x00"
230
+ tracked_record:
231
+ type_byte: "0x54"
232
+ fields: [type_byte, uint64be_content_length, binary_diff_bytes]
233
+ source: tracked_diff_command_stdout
234
+ untracked_record:
235
+ type_byte: "0x55"
236
+ fields: [type_byte, uint64be_path_length, raw_path_bytes, uint32be_file_mode, entry_kind_byte, uint64be_content_length, content_bytes]
237
+ order: bytewise-raw-path
238
+ entry_kinds: {regular: "0x52", symlink: "0x4c"}
239
+ regular_content_source: file_bytes
240
+ symlink_content_source: link_target_bytes
241
+ unsupported_entry_action: blocked
242
+ snapshot_artifact:
243
+ identity: candidate_digest
244
+ required: [candidate-manifest.yaml, tracked.diff, untracked/]
245
+ access: immutable-read-only
246
+ on_digest_change: blocked
247
+ completion_requires_current_digest: true
248
+
249
+ git_authorization:
250
+ natural_language_intent_is_authorization: false
251
+ commit:
252
+ requires_explicit_user_authorization: true
253
+ required: [commit_authorized, commit_scope, commit_authorization_ref]
254
+ authorized_value: true
255
+ non_empty: [commit_scope, commit_authorization_ref]
256
+ unauthorized_action: checkpoint-only
257
+ push:
258
+ requires_explicit_user_authorization: true
259
+ required: [push_authorized, push_scope, push_authorization_ref]
260
+ authorized_value: true
261
+ non_empty: [push_scope, push_authorization_ref]
262
+ unauthorized_action: checkpoint-only
263
+
264
+ seam_deferred_required: [risk, owner, follow_up_ticket, verification_plan, target_version_or_release_date]
265
+
266
+ backend_scaffold:
267
+ applies_when: [backend_impact]
268
+ scaffold_statuses: [existing, required, initialized]
269
+ required_status: required
270
+ sequence:
271
+ after: [prototype_review, prototype_verification, antd_cli_verification, browser_verification, prototype_confirmation, engineering_baseline]
272
+ before_generator: [yss-router-scaffold-contract, lifecycle-approve-scaffold-contract]
273
+ before: [business_code_generation, implement]
274
+ generator_skill: yss-ddd-scaffold-generator
275
+ baseline_skill: yss-backend-scaffold-parent
276
+ tdd_mode: controlled-generation
277
+ contract_schema:
278
+ schema_version: 1
279
+ required: [contract_id, contract_version, slice_id, status, router_draft_ref, lifecycle_approval_ref, persisted_ref, current_version, implementation_repository, backend_repository, scaffold_status, target_git_url_or_output_dir, allowed_write_paths, expected_evidence_files, verification_commands, approval, work_unit, overwrite_policy]
280
+ status_by_owner:
281
+ router: [draft, ready-for-lifecycle-review, blocked]
282
+ lifecycle: [approved, stale, blocked]
283
+ approval:
284
+ required: [approval_ref, approver, persisted_ref, current_version]
285
+ overwrite_policy:
286
+ required: [force_allowed, overwrite_scope, rollback_ref]
287
+ required_inputs: [implementation_repository, backend_repository, scaffold_status, scaffold_target_confirmed, target_git_url_or_output_dir, project_name, base_package, database, scaffold_contract_file, scaffold_contract_draft, scaffold_contract_id, scaffold_contract_version, scaffold_contract_status, scaffold_contract_approved, scaffold_contract_router_draft_ref, scaffold_contract_lifecycle_approval_ref, scaffold_contract_persisted, scaffold_contract_persisted_ref, scaffold_contract_current_version]
288
+ required_evidence: [generator_inputs, expected_files, scaffold_generation_manifest, generated_project_structure, generation_execution_result, verification_execution_result, ./mvnw_validate, ./mvnw_test, ./mvnw_package, yss_skill_execution_result]
289
+ generation_options:
290
+ with_example: false
291
+ force: forbidden-by-default
292
+ force_requires: [contract_file, contract_id, contract_version, approval_ref, router_draft_ref, persisted_ref, overwrite_scope, rollback_ref]
293
+ forbidden_generation: [business_rules, state_machine, permission, transaction, complex_query, error_mapping, user_visible_behavior, business_example_crud, unapproved_force_overwrite]
294
+ after_generation: [yss-backend-scaffold-parent, yss-router]
295
+ existing_or_initialized: [baseline_evidence, wrapper_verification, yss_router_contract_recompile]
296
+ verification:
297
+ commands: ["./mvnw validate", "./mvnw test", "./mvnw package"]
298
+ requires_execution: true
299
+ printed_commands_are_not_evidence: true
300
+ evidence: [command, exit_code, duration_ms, stdout_ref, stderr_ref, executed_at]
301
+ failure_action: blocked
302
+ failure_action: blocked
303
+
304
+ scaffold_work_unit_policy:
305
+ applies_to: [scaffold_generator_output]
306
+ scope: pre_business_code_generation
307
+ required: [approved_scaffold_contract, primary_yss_skill, allowed_write_paths, expected_evidence_files, verification_commands]
308
+ controlled_generation:
309
+ allowed_for: [project_scaffold, pom, mechanical_config, wrapper]
310
+ forbidden_when: [business_behavior, business_fields, business_state, permission, transaction, complex_query, error_mapping, business_example_crud]
311
+ on_violation: blocked
312
+
313
+ post_scaffold_generated_code_policy:
314
+ applies_to: [post_scaffold_backend_code]
315
+ scope: post_scaffold_generated_code
316
+ required: [approved_persisted_current_slice_contract, primary_yss_skill, dependency_closure, allowed_write_paths, expected_evidence_files, yss_skill_execution_result]
317
+ business_behavior:
318
+ tdd_mode: behavior-tdd
319
+ impacts: [domain-rule, state-machine, transaction, permission, complex-query, error-mapping, user-visible-behavior]
320
+ controlled_generation:
321
+ allowed_for: [dto_boilerplate, po_boilerplate, mapstruct_generated, frozen_openapi_client, mechanical_config]
322
+ forbidden_when: [business_behavior, business_fields, business_state, permission, transaction, complex_query, error_mapping, business_example_crud]
323
+ on_violation: blocked
324
+
325
+ tracker:
326
+ allowed_platforms: [local-markdown, github, gitlab]
327
+ default_platform: local-markdown
328
+ selection_precedence: [persisted_project_configuration, explicit_user_choice, template_default]
329
+ remote_origin_role: code_host_only
330
+ no_automatic_cross_platform_switch: true
331
+ local_markdown:
332
+ root: docs/.scratch
333
+ legacy_roots: [.scratch, docs/requirements/tickets]
334
+ feature_layout: [map.md, discovery, spec.md, spec-delta, parent-ticket.md, design, api, architecture, gates, verification, issues]
335
+ primary_sync: local
336
+ remote_ticket_required: false
337
+ remote_mirror: optional
338
+ default_remote_mirror: false
339
+ remote_platforms:
340
+ primary_sync: remote
341
+ remote_ticket_required: true
342
+ unavailable_fallback_root: docs/.scratch
343
+ unavailable_fallback_marker: pending-publication
344
+ unavailable_fallback_record: parent-ticket.md
345
+ unavailable_fallback_fields: [tracker, publication, pending_publication_to]
346
+
347
+ setup_readiness:
348
+ evaluation: once_per_task
349
+ recheck_when: [tracker_changed, remote_changed, labels_changed, configuration_changed]
350
+ missing_action: needs-human
351
+ requested_skill: setup-matt-pocock-skills
352
+ resume_route: setup-readiness
353
+ preserves: [lifecycle.status, gate.status, ticket.role]
354
+ lifecycle_may_invoke_setup: false
355
+ legacy_artifacts_detected:
356
+ action: migration-check
357
+ setup: forbidden
358
+ write: paused
359
+ states: [ready, missing, conflict, degraded, not-applicable]
360
+ evidence: [platform, label_check, domain_layout, artifact_root, migration_ref]
361
+ semantics:
362
+ ready: [tracker_compatible, labels_verified, domain_layout_verified, artifact_root_verified]
363
+ missing: [required_configuration_absent, legacy_artifacts_detected_requires_migration]
364
+ conflict: [persistent_configuration_or_tracker_conflict, canonical_and_legacy_artifacts]
365
+ degraded: [target_platform_unavailable]
366
+ not-applicable: [template_source_validate_only]
367
+ template_source:
368
+ action: validate-only
369
+
370
+ lifecycle_owned_work_units: [release, retrospective]
371
+ lifecycle_work_unit_requirements:
372
+ release: [fresh_verification, release_or_rollback_evidence, independent_review, all_triggered_gates_approved_or_not_applicable]
373
+ retrospective: [fresh_verification, retrospective_record, governance_reflow_decision]
374
+
375
+ release_readiness:
376
+ required: [fresh_verification, release_or_rollback_evidence, independent_review, all_triggered_gates_approved_or_not_applicable]
377
+ conditional:
378
+ ui_impact: [gate.frontend-implementation-verified, evidence.frontend-implementation-verification]
379
+ blocked_when: [triggered_gate_blocked, triggered_gate_stale, triggered_gate_not_evaluated, missing_evidence]
380
+
381
+ wayfinder_completion:
382
+ required: [no_open_children, no_open_blocked_or_claimed_children, no_fog, destination_clear]
383
+
384
+ ready_for_agent:
385
+ required: [gates_satisfied, no_stale_artifacts, blockers_closed, implementation_context_ready, implementation_repo, implementation_branch, ci, verification_commands, rollback_point, slice_contract_approved, slice_contract_persisted, slice_contract_current_version, build_architecture_checklist, backend_slice_contract_if_applicable, backend_scaffold_policy_satisfied, frontend_implementation_plan_if_ui_impact]
386
+
387
+ frontend_implementation_plan:
388
+ applies_when: [ui_impact]
389
+ required_before: [ready_for_agent]
390
+ required: [prototype_ref, spec_ref, route_and_page_inventory, visual_acceptance_cases, desktop_viewport, narrow_viewport, state_cases, pnpm_commands]
391
+ schema: docs/process/schemas/frontend-implementation-evidence.schema.json
392
+ validator: scripts/verify-frontend-implementation-evidence
393
+ acceptance: [kind_plan, template_false, status_approved, no_template_placeholders, readable_baseline_refs, non_empty_acceptance_cases]
394
+
395
+ frontend_implementation_verification:
396
+ applies_when: [ui_impact]
397
+ required_before: [release]
398
+ required: [prototype_ref, spec_ref, route_and_page_inventory, desktop_visual_evidence, narrow_view_visual_evidence, loading_empty_error_permission_interaction_results, console_warning_check, pnpm_commands, uncovered_differences, difference_owner]
399
+ verification: [actual_command, exit_code, executed_at, evidence_ref]
400
+ schema: docs/process/schemas/frontend-implementation-evidence.schema.json
401
+ validator: scripts/verify-frontend-implementation-evidence
402
+ acceptance: [kind_verification, template_false, status_approved, no_template_placeholders, console_warning_pass, independent_review_approved]
403
+ blocked_when: [unexplained_visual_difference, missing_visual_evidence, typecheck_only, claimed_alignment_without_evidence]
404
+ on_new_impact: [new_impacts, drift, reroute]
405
+
406
+ unknown_impact:
407
+ action: pause
408
+ reason_code: impact-classification-required
409
+
410
+ # 每个 target 必须声明 kind、传播层级和适用条件。条件不满足时保持原状态,尤其不得把 not-applicable 改成 stale。
411
+ impact_propagation:
412
+ wording:
413
+ targets:
414
+ - {kind: artifact, name: spec, level: direct, when: always}
415
+ ui-state:
416
+ targets:
417
+ - {kind: artifact, name: product-design, level: direct, when: ui_impact}
418
+ - {kind: artifact, name: prototype, level: direct, when: ui_impact}
419
+ - {kind: gate, name: requirement-freeze, level: direct, when: ui_impact}
420
+ - {kind: artifact, name: openapi-draft, level: transitive, when: api_impact}
421
+ - {kind: gate, name: openapi-freeze, level: transitive, when: api_impact}
422
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: always}
423
+ api-schema:
424
+ targets:
425
+ - {kind: artifact, name: spec, level: direct, when: always}
426
+ - {kind: artifact, name: spec-delta, level: direct, when: existing_frozen_baseline}
427
+ - {kind: artifact, name: openapi-draft, level: direct, when: api_impact}
428
+ - {kind: gate, name: draft-review, level: transitive, when: api_impact}
429
+ - {kind: gate, name: design-review, level: transitive, when: api_impact}
430
+ - {kind: gate, name: openapi-freeze, level: transitive, when: api_impact}
431
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: api_impact}
432
+ - {kind: artifact, name: contract-tests, level: transitive, when: api_impact}
433
+ state-machine:
434
+ targets:
435
+ - {kind: artifact, name: spec, level: direct, when: always}
436
+ - {kind: artifact, name: spec-delta, level: direct, when: existing_frozen_baseline}
437
+ - {kind: artifact, name: product-design, level: direct, when: ui_impact}
438
+ - {kind: artifact, name: system-architecture, level: direct, when: always}
439
+ - {kind: artifact, name: data-architecture, level: direct, when: data_impact}
440
+ - {kind: gate, name: requirement-freeze, level: direct, when: always}
441
+ - {kind: artifact, name: openapi-draft, level: transitive, when: api_impact}
442
+ - {kind: gate, name: design-review, level: transitive, when: always}
443
+ - {kind: gate, name: openapi-freeze, level: transitive, when: api_impact}
444
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: always}
445
+ - {kind: artifact, name: test-mapping, level: transitive, when: always}
446
+ data-model:
447
+ targets:
448
+ - {kind: artifact, name: spec, level: direct, when: always}
449
+ - {kind: artifact, name: spec-delta, level: direct, when: existing_frozen_baseline}
450
+ - {kind: artifact, name: data-architecture, level: direct, when: data_impact}
451
+ - {kind: gate, name: architecture-review, level: direct, when: data_impact}
452
+ - {kind: artifact, name: openapi-draft, level: transitive, when: api_impact}
453
+ - {kind: gate, name: openapi-freeze, level: transitive, when: api_impact}
454
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: always}
455
+ - {kind: artifact, name: data-migration, level: transitive, when: data_impact}
456
+ service-boundary:
457
+ targets:
458
+ - {kind: artifact, name: system-architecture, level: direct, when: always}
459
+ - {kind: artifact, name: engineering-baseline, level: direct, when: backend_impact}
460
+ - {kind: gate, name: architecture-review, level: direct, when: always}
461
+ - {kind: artifact, name: openapi-draft, level: transitive, when: api_impact}
462
+ - {kind: gate, name: openapi-freeze, level: transitive, when: api_impact}
463
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: always}
464
+ nfr:
465
+ targets:
466
+ - {kind: artifact, name: spec, level: direct, when: always}
467
+ - {kind: artifact, name: system-architecture, level: direct, when: always}
468
+ - {kind: gate, name: design-review, level: direct, when: always}
469
+ - {kind: artifact, name: vertical-slice-tickets, level: transitive, when: always}
470
+ - {kind: artifact, name: verification-strategy, level: transitive, when: always}
471
+ deployment:
472
+ targets:
473
+ - {kind: artifact, name: system-architecture, level: direct, when: always}
474
+ - {kind: artifact, name: rollout-plan, level: direct, when: always}
475
+ - {kind: artifact, name: rollback-plan, level: direct, when: always}
476
+ - {kind: gate, name: design-review, level: transitive, when: always}
477
+ - {kind: artifact, name: release-plan, level: transitive, when: always}
478
+ prototype_return_evidence:
479
+ required: [prototype_mode, source_handoff, prototype_asset_or_run, conclusion, updated_authoritative_asset, remaining_questions, return_handoff]
480
+ allowed_modes: [matt_logic, yss_high_fidelity]
481
+
482
+ # Matt phase boundaries are context decisions only. They never add a lifecycle state,
483
+ # alter a gate, or mutate a Ticket role.
484
+ phase_boundary:
485
+ choices: [continue, clear, handoff, subagent, compact]
486
+ precedence: [continue, clear, handoff, subagent, compact]
487
+ invariants: [does-not-force-clear, preserves-lifecycle-state]
488
+ evidence:
489
+ required: [decision, reason]
490
+ conditional:
491
+ handoff: [source_ref, destination_ref]
492
+ subagent: [task_package_ref, convergence_ref]
493
+ compact: [next_phase]
494
+ preserves: [lifecycle.status, gate.status, ticket.role]
495
+
496
+ external_input_pause:
497
+ transition: pause
498
+ reason_code: external-input-required
499
+ reason: required decision-maker input is not available to the Agent
500
+ required: [questionnaire_ref, recipient_role, requested_outputs, resume_route]
501
+ response_required: [response_ref, reclassified_impact, updated_authoritative_asset]
502
+ resume_requires: [response_ref, reclassified_impact, updated_authoritative_asset]
503
+
504
+ prototype_modes:
505
+ matt_logic:
506
+ asset: single_file_shareable_html
507
+ branch_pattern: prototype/<name>
508
+ required: [prototype_mode, prototype_branch, source_handoff, prototype_asset_or_run, conclusion, updated_authoritative_asset, remaining_questions, return_handoff]
509
+ purpose: exploratory_primary_source
510
+ production_delivery: false
511
+ replaces_yss_high_fidelity: false
512
+ yss_high_fidelity:
513
+ asset: ant_design_v6_html
514
+ required: [prototype_mode, prototype_review, antd_cli_verification, browser_verification, prototype_evidence, user_confirmation]
515
+ purpose: product_design_review
516
+ replaces_matt_logic: false
517
+
518
+ behavioral_invariants:
519
+ wait_what_preserves_state: true
520
+ human_checkpoint_required_for_manual_steps: true
521
+ diagnostics_redact_secrets: true
@@ -0,0 +1,103 @@
1
+ # 编排执行协议
2
+
3
+ ## 有界推进循环
4
+
5
+ 1. 识别模式、仓库身份、任务规模和影响面。
6
+ 2. `setup readiness`:每个任务只执行一次,核对 tracker、五态标签和领域文档布局,并在本轮缓存结果;仅在 tracker、主远端、真实标签或配置变化时重查。
7
+ 3. 加载父 Ticket/checkpoint 与真实资产,计算最近可信阶段。
8
+ 4. 评估资产、门禁和 `stale`,选择第一个未阻塞工作单元。
9
+ 5. 执行最小生命周期工作单元:只实际调用允许的 model-invoked skill;原生工作单元可直接持有正式资产,Matt 兼容 user-invoked skill 仅作为 workflow reference,仍由用户显式启动。将结果归一化为 `Workflow Execution Result`,验收输出并回写状态与证据。
10
+ 6. 若仍在授权和自动推进边界内,回到第 3 步;否则暂停。
11
+
12
+ 不要仅输出下一个提示词后结束 `orchestrate`/`resume`。不要因进入业务代码阶段而退出主控;应把实现交给专项 skill,并在返回后继续核验。
13
+
14
+ 连续阶段自动推进时累积 Ticket 同步和 Git 判断证据,在人工暂停、handoff、进入实现、合并或发布边界集中 checkpoint。发生阻塞、责任人变化或资产需要单独批准时立即落 checkpoint,不因合并记录而丢失阶段因果关系。
15
+
16
+ ## 阶段边界
17
+
18
+ Matt phase boundary 是工作阶段之间的上下文决策,不是新的生命周期状态。按以下顺序判断,第一项适用即停止判断:
19
+
20
+ 1. **Continue**:下一阶段需要当前会话作为 primary source,或当前上下文仍在 smart zone 内。
21
+ 2. **`/clear`**:当前探索、死路和决策对下一阶段完全无关。
22
+ 3. **`/handoff`**:内容必须跨新 harness、新目录、同事或中途分叉的 side task 携带。
23
+ 4. **Subagent**:工作单元边界清晰,可以在无人值守时完成并返回报告。
24
+ 5. **`/compact`**:同一 harness、同一目录且上下文仍相关,但需要压缩后继续;它是最后选项。
25
+
26
+ 在 checkpoint 记录 `phase_boundary.decision`;使用 `handoff`、subagent 或 `compact` 时同时记录契约要求的引用。phase boundary 不得改变生命周期阶段、门禁或 Ticket 五态。
27
+
28
+ ## 原型到后端脚手架的接力
29
+
30
+ `prototype_confirmation` 通过后,先判断实现仓库登记中的 backend `scaffold_status`。当状态为 `required` 时,先完成工程基线,由 `yss-router` 编译脚手架 `controlled-generation` 工作单元合同,生命周期编排器批准并持久化后才能运行生成器;顺序为:工程基线 → Router 脚手架合同 draft → 生命周期批准/持久化 → 脚手架生成 → `yss-backend-scaffold-parent` 基线校验 → Router 合同重编译。`existing` / `initialized` 不重复全量生成,但不能跳过基线校验和 Router 重编译。
31
+
32
+ 脚手架工作单元必须使用结构化合同 JSON 文件,至少记录 `contract_id`、`contract_version`、`slice_id`、Router draft 引用、生命周期批准引用、持久化引用、当前版本、允许写路径、预期证据文件和验证命令;批准记录至少含 `approval_ref`、`approver`、`persisted_ref`、`current_version`。生成器必须读取该合同文件并校验状态、版本、skill、工作模式和固定命令,不能只接受任意字符串参数。它还必须记录生成器输入、预期文件、目标目录、实际 `./mvnw validate` / `./mvnw test` / `./mvnw package` 结果和 YSS Skill Execution Result。三条命令必须由受控工作单元真实执行,逐条留存 `exit_code`、`duration_ms`、stdout/stderr 引用和执行时间;生成器打印的下一步命令不构成证据。生命周期生成关闭 `--with-example`;非空目标目录使用 `--force` 默认阻断,除非覆盖范围、备份、回滚点和批准引用已进入合同。脚手架不得把业务规则、状态机、权限、事务、复杂查询、错误映射或用户可见行为放进生成物;`validate` 通过、输出目录存在或生成器成功都不是生命周期批准、架构放行或 `ready-for-agent`。
33
+
34
+ 脚手架完成后,所有后续生成的后端代码仍必须重新消费当前版本的批准 Slice Implementation Contract、YSS skill 依赖闭包、允许写路径、预期证据和 Execution Result。业务行为使用 `behavior-tdd`;只有机械结构、样板、配置和冻结客户端使用 `controlled-generation`。缺少合同、skill、证据或实际验证时立即阻断;生成范围从机械内容变成业务行为时触发完整重路由。
35
+
36
+ ## Setup readiness
37
+
38
+ Readiness 结果在同一任务内复用。只有 tracker、主远端、真实标签或配置发生变化,才重新执行检查;不得把 `setup-matt-pocock-skills` 当作每阶段或每工作单元的固定动作。
39
+
40
+ | 状态 | 判定 | 动作 |
41
+ |---|---|---|
42
+ | `ready` | tracker、Local `Status:` 或远程标签和领域布局兼容 | 继续 |
43
+ | `missing` | 必要配置缺失 | `needs-human`;说明缺失项并请用户显式运行 `setup-matt-pocock-skills`,随后回到 readiness |
44
+ | `conflict` | 多个持久配置或真实标签/Local 状态互相矛盾 | 暂停并提出迁移方案,不覆盖 |
45
+ | `degraded` | 已选择的 GitHub/GitLab 不可用 | 建 `docs/.scratch/<feature>/` 待发布草案,不改投平台 |
46
+ | `not-applicable` | `template-source` | 只验证模板契约 |
47
+
48
+ 远程 tracker 必须检查真实标签;Local Markdown 必须检查功能包目录和 Ticket 顶部的 `Status:`。仅有 `docs/agents/triage-labels.md` 不代表远程标签存在,也不能替代 Local 文件状态检查。
49
+
50
+ tracker 选择和冲突按 `docs/agents/issue-tracker.md` 裁决:已持久化 tracker 配置优先,本模板默认 `local-markdown`,Local root 为 `docs/.scratch/`;用户在初始化/迁移时明确选择 GitHub/GitLab 后才切换,Git remote 只代表代码托管。Local 主 tracker 不要求远程 Ticket;只有已选择远程平台但凭据不可用时,才降级为 `docs/.scratch/<feature>/` 待发布草案,不自动改投其他平台。发现根 `.scratch/` 或 `docs/requirements/tickets/` 旧资产时,保留 `migration_ref` 并暂停写入;新旧路径同时存在时返回 `conflict`。恢复前记录最终平台、真实五态标签或 Local `Status:` 检查结果和草案位置。
51
+
52
+ ## Matt flow 进入条件
53
+
54
+ - `work-unit.discovery-requirements` 实际调用 `grilling` 和 `domain-modeling`;`work-unit.discovery-opportunity` 按事实类型路由 `competitive-intelligence` 或 `research`。生命周期原生工作单元默认负责 Spec、Ticket 和实现资产;`to-spec`、`to-tickets`、`implement` 仅保留为显式兼容入口,结果必须回交生命周期验收。
55
+ - 原生 `work-unit.ticket-decomposition` 只能在 OpenAPI Freeze 或无 API 影响记录后创建垂直切片,初始角色统一为 `ready-for-human`;生命周期复算完整公式后才能提升 `ready-for-agent`。
56
+ - 原生 `work-unit.slice-implementation` 必须在生命周期批准并持久化 Slice Implementation Contract 和 Build Architecture Checklist 后执行;用户显式 `implement` 仍走兼容入口,不得绕过生命周期。
57
+ - `implement` 遇到 backend `scaffold_status=required` 时,还必须满足原型确认后的脚手架策略:脚手架 Execution Result、`yss-backend-scaffold-parent` 基线、Wrapper 验证和 Router 合同重编译均已回写;否则停在工程基线,不得写业务代码。
58
+ - `Workflow Execution Result` 出现 `drift`、`new_impacts`、`stale_candidates`、`violation`、`missing_evidence`、空 `evidence_refs` 或缺少必需字段时暂停当前工作单元;旧结果只能先经只读兼容 adapter 归一化。
59
+
60
+ ## 审查与验证
61
+
62
+ - 调用 `code-review` 前先固定 review input:`review_mode`、`review_base_ref`、`implementation_candidate_ref`、`candidate_snapshot_ref`、`candidate_digest`、Spec/Ticket、Slice Implementation Contract、Build Architecture Checklist 和 YSS Skill Execution Result 引用。`committed` 模式审查不可变 `HEAD`;`worktree` 模式一次捕获 committed、staged、unstaged 和 untracked 内容。必须按 `orchestration-contract.yaml.review_input` 的 manifest 按模式必填字段及 `yss-worktree-candidate-v1` 字节流(raw path、uint64 big-endian 长度、tracked/untracked record)计算 SHA-256,两个 Reviewer 必须消费同一不可变快照。返回后或完成 checkpoint 摘要变化时返回 `blocked`,由编排器决定重新审查。候选为空、漏项或 fixed point 不可解析时阻断。
63
+ - 小改动和中等变更可由同一独立执行者完成 `code-review` 与 fresh verification,并在同一报告中分别记录 findings、命令、结果和残余风险。
64
+ - 该执行者必须独立于实现者;新模块、高风险变更、职责冲突或需双人控制时,Reviewer 与 Verifier 分开。
65
+ - `code-review` 是唯一默认代码审查 skill。GitLab、CI、Sonar、Alibaba Java 等治理事实作为仓库规则或专项检查输入,不再叠加第二个通用审查 skill。
66
+ - UI 影响切片将 `UI fidelity` 作为 `code-review` 的条件第三轴;任何修复都会使候选摘要失效,必须重新捕获候选并重跑 Standards、Spec、UI fidelity 和 fresh verification。
67
+
68
+ ## Git 授权
69
+
70
+ 实现授权、`orchestrate`/`resume` 的有界写入、当前分支和 Git checkpoint 都不蕴含 commit 或 push 授权。执行 commit 前必须同时取得 `commit_authorized=true`、非空 `commit_scope` 和 `commit_authorization_ref`;执行 push 前必须同时取得 `push_authorized=true`、非空 `push_scope` 和 `push_authorization_ref`。任一缺失时只记录 checkpoint 判断并保持 Git 状态不变;负责人要求、时间压力、测试通过或“本地 commit 可逆”都不能补足用户授权。
71
+
72
+ ## 必须暂停
73
+
74
+ - Spec baseline、需求冻结、原型确认、OpenAPI Freeze 或 Architecture Review 等普通门禁等待人工裁决。
75
+ - 需要目标仓库、外部凭据、发布窗口或其他新授权。
76
+ - 状态与证据冲突且无法可靠重建。
77
+ - 专项 skill 失败或返回不可验收结果。
78
+ - 即将作出可合并、可发布或完成结论。
79
+
80
+ 暂停输出:门禁、证据、责任人、推荐答案、一个问题、恢复动作。
81
+
82
+ ## Wayfinder 完成判定
83
+
84
+ “无 frontier”不等于完成。只有以下条件同时成立,才能 `wayfinder → handoff → to-spec`:
85
+
86
+ - open child tickets 为 0;
87
+ - 不存在 open blocked 或 open claimed child ticket;
88
+ - `Not yet specified` 无剩余 fog;
89
+ - destination 已清晰。
90
+
91
+ Decision ticket 产生决策,不是实现切片,不得标记 `ready-for-agent`。
92
+
93
+ ## `grill-with-docs` 退出判定
94
+
95
+ 进入 `to-spec` 前必须区分已确认项与未决项,并确认用户、问题、MVP、非目标、成功标准、术语/ADR 候选和测试 seam。事实问题走 `research`;需 runnable 反馈的问题走 `handoff → prototype → handoff`。存在未回流 blocker 时不得进入 Spec baseline。
96
+
97
+ Prototype 回流必须有可核验证据:来源 handoff、prototype 资产或运行记录、结论、被更新的 Spec/设计/ADR/Ticket 引用、剩余未决项和返回 handoff。仅在对话中声称“已验证”不算回流完成。
98
+
99
+ Matt `prototype` 的回流还必须注明 `prototype_branch`,并保留单文件 HTML 主来源;YSS 高保真 HTML 原型另走阶段 4 的评审、AntD CLI 校验和用户确认,不得用 throwaway prototype 替代。
100
+
101
+ `to-questionnaire` 未收到答案时使用 `external-input-required` 暂停,记录问卷、接收人、所需输出和恢复路由;收到答案后记录 response、重新分类影响面和更新后的权威资产,再回到 `grill-with-docs` 或 `to-spec`。
102
+
103
+ Release 与 Retrospective 属于生命周期编排器拥有的工作单元。发布和复盘前都必须重新取得 fresh verification;发布还需要发布/回滚证据和独立审查,复盘还需要复盘记录和治理回流判断,再回流权威资产。