create-yss-spec 2.1.9 → 2.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1016) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/src/cli.js +82 -15
  4. package/template/.agents/skills/ask-matt/SKILL.md +8 -2
  5. package/template/.agents/skills/code-review/SKILL.md +6 -4
  6. package/template/.agents/skills/diagnosing-bugs/SKILL.md +2 -4
  7. package/template/.agents/skills/domain-modeling/SKILL.md +1 -1
  8. package/template/.agents/skills/grilling/SKILL.md +7 -1
  9. package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  10. package/template/.agents/skills/implement/SKILL.md +1 -1
  11. package/template/.agents/skills/to-spec/SKILL.md +1 -1
  12. package/template/.agents/skills/triage/SKILL.md +2 -2
  13. package/template/.agents/skills/wait-what/SKILL.md +2 -2
  14. package/template/.agents/skills/wayfinder/SKILL.md +1 -1
  15. package/template/.agents/skills/yss-api-integration/SKILL.md +2 -0
  16. package/template/.agents/skills/yss-application/SKILL.md +52 -0
  17. package/template/.agents/skills/yss-application/agents/openai.yaml +5 -0
  18. package/template/.agents/skills/{yss-backend-scaffold-application/SKILL.md → yss-application/references/application-layer-guide.md} +0 -7
  19. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  20. package/template/.agents/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  21. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  22. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  23. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  24. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  25. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  26. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  27. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  28. package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  29. package/template/.agents/skills/yss-domain/SKILL.md +5 -0
  30. package/template/{.claude/skills/yss-backend-scaffold-domain/SKILL.md → .agents/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  31. package/template/.agents/skills/yss-microapp-commit/SKILL.md +2 -0
  32. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +43 -91
  33. package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  34. package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  35. package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  36. package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +4 -1
  37. package/template/.agents/skills/yss-prototype-stage/SKILL.md +1 -1
  38. package/template/.agents/skills/yss-repository/SKILL.md +5 -0
  39. package/template/{.codex/skills/yss-backend-scaffold-infrastructure/SKILL.md → .agents/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  40. package/template/.agents/skills/yss-router/references/boundaries.md +2 -6
  41. package/template/.agents/skills/yss-router/references/router-contract.yaml +8 -12
  42. package/template/.agents/skills/yss-source-index/references/source-map-config.md +0 -4
  43. package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  44. package/template/.agents/skills/yss-web-controller/SKILL.md +1 -0
  45. package/template/{.codex/skills/yss-backend-scaffold-web/SKILL.md → .agents/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  46. package/template/.claude/skills/ask-matt/SKILL.md +8 -2
  47. package/template/.claude/skills/code-review/SKILL.md +6 -4
  48. package/template/.claude/skills/diagnosing-bugs/SKILL.md +2 -4
  49. package/template/.claude/skills/domain-modeling/SKILL.md +1 -1
  50. package/template/.claude/skills/grilling/SKILL.md +7 -1
  51. package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  52. package/template/.claude/skills/implement/SKILL.md +1 -1
  53. package/template/.claude/skills/to-spec/SKILL.md +1 -1
  54. package/template/.claude/skills/triage/SKILL.md +2 -2
  55. package/template/.claude/skills/wait-what/SKILL.md +2 -2
  56. package/template/.claude/skills/wayfinder/SKILL.md +1 -1
  57. package/template/.claude/skills/yss-api-integration/SKILL.md +2 -0
  58. package/template/.claude/skills/yss-application/SKILL.md +52 -0
  59. package/template/.claude/skills/yss-application/agents/openai.yaml +5 -0
  60. package/template/{.codex/skills/yss-backend-scaffold-application/SKILL.md → .claude/skills/yss-application/references/application-layer-guide.md} +0 -7
  61. package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  62. package/template/.claude/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  63. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  64. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  65. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  66. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  67. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  68. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  69. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  70. package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  71. package/template/.claude/skills/yss-domain/SKILL.md +5 -0
  72. package/template/{.agents/skills/yss-backend-scaffold-domain/SKILL.md → .claude/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  73. package/template/.claude/skills/yss-microapp-commit/SKILL.md +2 -0
  74. package/template/.claude/skills/yss-product-lifecycle/SKILL.md +43 -91
  75. package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  76. package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  77. package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  78. package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +4 -1
  79. package/template/.claude/skills/yss-prototype-stage/SKILL.md +1 -1
  80. package/template/.claude/skills/yss-repository/SKILL.md +5 -0
  81. package/template/.claude/skills/{yss-backend-scaffold-infrastructure/SKILL.md → yss-repository/references/infrastructure-layer-guide.md} +0 -7
  82. package/template/.claude/skills/yss-router/references/boundaries.md +2 -6
  83. package/template/.claude/skills/yss-router/references/router-contract.yaml +8 -12
  84. package/template/.claude/skills/yss-source-index/references/source-map-config.md +0 -4
  85. package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  86. package/template/.claude/skills/yss-web-controller/SKILL.md +1 -0
  87. package/template/{.hermes/skills/yss-backend-scaffold-web/SKILL.md → .claude/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  88. package/template/.codex/skills/ask-matt/SKILL.md +8 -2
  89. package/template/.codex/skills/code-review/SKILL.md +6 -4
  90. package/template/.codex/skills/diagnosing-bugs/SKILL.md +2 -4
  91. package/template/.codex/skills/domain-modeling/SKILL.md +1 -1
  92. package/template/.codex/skills/grilling/SKILL.md +7 -1
  93. package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  94. package/template/.codex/skills/implement/SKILL.md +1 -1
  95. package/template/.codex/skills/to-spec/SKILL.md +1 -1
  96. package/template/.codex/skills/triage/SKILL.md +2 -2
  97. package/template/.codex/skills/wait-what/SKILL.md +2 -2
  98. package/template/.codex/skills/wayfinder/SKILL.md +1 -1
  99. package/template/.codex/skills/yss-api-integration/SKILL.md +2 -0
  100. package/template/.codex/skills/yss-application/SKILL.md +52 -0
  101. package/template/.codex/skills/yss-application/agents/openai.yaml +5 -0
  102. package/template/{.claude/skills/yss-backend-scaffold-application/SKILL.md → .codex/skills/yss-application/references/application-layer-guide.md} +0 -7
  103. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  104. package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  105. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  106. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  107. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  108. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  109. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  110. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  111. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  112. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  113. package/template/.codex/skills/yss-domain/SKILL.md +5 -0
  114. package/template/.codex/skills/{yss-backend-scaffold-domain/SKILL.md → yss-domain/references/domain-layer-guide.md} +0 -7
  115. package/template/.codex/skills/yss-microapp-commit/SKILL.md +2 -0
  116. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +43 -91
  117. package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  118. package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  119. package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  120. package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +4 -1
  121. package/template/.codex/skills/yss-prototype-stage/SKILL.md +1 -1
  122. package/template/.codex/skills/yss-repository/SKILL.md +5 -0
  123. package/template/{.hermes/skills/yss-backend-scaffold-infrastructure/SKILL.md → .codex/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  124. package/template/.codex/skills/yss-router/references/boundaries.md +2 -6
  125. package/template/.codex/skills/yss-router/references/router-contract.yaml +8 -12
  126. package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -4
  127. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  128. package/template/.codex/skills/yss-web-controller/SKILL.md +1 -0
  129. package/template/{.agents/skills/yss-backend-scaffold-web/SKILL.md → .codex/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  130. package/template/.cursor/environment.json +5 -0
  131. package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +51 -0
  132. package/template/.cursor/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
  133. package/template/.cursor/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
  134. package/template/.cursor/skills/alibaba-java-code-style/references/java-programming.md +178 -0
  135. package/template/.cursor/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
  136. package/template/.cursor/skills/ask-matt/PHASE-BOUNDARIES.md +55 -0
  137. package/template/.cursor/skills/ask-matt/SKILL.md +95 -0
  138. package/template/.cursor/skills/ask-matt/agents/openai.yaml +5 -0
  139. package/template/.cursor/skills/code-review/SKILL.md +117 -0
  140. package/template/.cursor/skills/code-review/agents/openai.yaml +3 -0
  141. package/template/.cursor/skills/codebase-design/DEEPENING.md +37 -0
  142. package/template/.cursor/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  143. package/template/.cursor/skills/codebase-design/SKILL.md +114 -0
  144. package/template/.cursor/skills/codebase-design/agents/openai.yaml +3 -0
  145. package/template/.cursor/skills/competitive-intelligence/SKILL.md +94 -0
  146. package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +51 -0
  147. package/template/.cursor/skills/diagnosing-bugs/SKILL.md +138 -0
  148. package/template/.cursor/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  149. package/template/.cursor/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
  150. package/template/.cursor/skills/dispatching-parallel-agents/SKILL.md +185 -0
  151. package/template/.cursor/skills/domain-modeling/ADR-FORMAT.md +47 -0
  152. package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  153. package/template/.cursor/skills/domain-modeling/SKILL.md +74 -0
  154. package/template/.cursor/skills/domain-modeling/agents/openai.yaml +3 -0
  155. package/template/.cursor/skills/grill-me/SKILL.md +7 -0
  156. package/template/.cursor/skills/grill-me/agents/openai.yaml +5 -0
  157. package/template/.cursor/skills/grill-with-docs/SKILL.md +19 -0
  158. package/template/.cursor/skills/grill-with-docs/agents/openai.yaml +5 -0
  159. package/template/{.agents/skills/batch-grill-me → .cursor/skills/grilling}/SKILL.md +19 -6
  160. package/template/.cursor/skills/grilling/agents/openai.yaml +3 -0
  161. package/template/.cursor/skills/handoff/SKILL.md +16 -0
  162. package/template/.cursor/skills/handoff/agents/openai.yaml +5 -0
  163. package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +106 -0
  164. package/template/.cursor/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
  165. package/template/.cursor/skills/implement/SKILL.md +15 -0
  166. package/template/.cursor/skills/implement/agents/openai.yaml +5 -0
  167. package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +50 -0
  168. package/template/.cursor/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  169. package/template/.cursor/skills/improve-codebase-architecture/SKILL.md +71 -0
  170. package/template/.cursor/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  171. package/template/.cursor/skills/lombok/SKILL.md +351 -0
  172. package/template/.cursor/skills/loop-me/SKILL.md +32 -0
  173. package/template/.cursor/skills/loop-me/agents/openai.yaml +5 -0
  174. package/template/.cursor/skills/maintaining-skills/SKILL.md +25 -0
  175. package/template/.cursor/skills/mapstruct/SKILL.md +334 -0
  176. package/template/.cursor/skills/migrate-to-shoehorn/SKILL.md +118 -0
  177. package/template/.cursor/skills/migrate-to-shoehorn/agents/openai.yaml +3 -0
  178. package/template/.cursor/skills/prototype/LOGIC.md +67 -0
  179. package/template/.cursor/skills/prototype/SKILL.md +26 -0
  180. package/template/.cursor/skills/prototype/UI.md +112 -0
  181. package/template/.cursor/skills/prototype/agents/openai.yaml +3 -0
  182. package/template/.cursor/skills/prototype-review/SKILL.md +74 -0
  183. package/template/.cursor/skills/prototype-review/agents/openai.yaml +4 -0
  184. package/template/.cursor/skills/research/SKILL.md +12 -0
  185. package/template/.cursor/skills/research/agents/openai.yaml +3 -0
  186. package/template/.cursor/skills/resolving-merge-conflicts/SKILL.md +14 -0
  187. package/template/.cursor/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  188. package/template/.cursor/skills/scaffold-exercises/SKILL.md +106 -0
  189. package/template/.cursor/skills/scaffold-exercises/agents/openai.yaml +3 -0
  190. package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +125 -0
  191. package/template/.cursor/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  192. package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +51 -0
  193. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
  194. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
  195. package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-local.md +66 -0
  196. package/template/.cursor/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  197. package/template/.cursor/skills/setup-pre-commit/SKILL.md +91 -0
  198. package/template/.cursor/skills/setup-pre-commit/agents/openai.yaml +3 -0
  199. package/template/.cursor/skills/setup-ts-deep-modules/SKILL.md +102 -0
  200. package/template/.cursor/skills/setup-ts-deep-modules/agents/openai.yaml +5 -0
  201. package/template/.cursor/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +95 -0
  202. package/template/.cursor/skills/tdd/SKILL.md +38 -0
  203. package/template/.cursor/skills/tdd/agents/openai.yaml +3 -0
  204. package/template/.cursor/skills/tdd/mocking.md +59 -0
  205. package/template/.cursor/skills/tdd/tests.md +77 -0
  206. package/template/.cursor/skills/teach/GLOSSARY-FORMAT.md +35 -0
  207. package/template/.cursor/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  208. package/template/.cursor/skills/teach/MISSION-FORMAT.md +31 -0
  209. package/template/.cursor/skills/teach/RESOURCES-FORMAT.md +32 -0
  210. package/template/.cursor/skills/teach/SKILL.md +140 -0
  211. package/template/.cursor/skills/teach/agents/openai.yaml +5 -0
  212. package/template/.cursor/skills/to-questionnaire/SKILL.md +53 -0
  213. package/template/.cursor/skills/to-questionnaire/agents/openai.yaml +5 -0
  214. package/template/.cursor/skills/to-spec/SKILL.md +75 -0
  215. package/template/.cursor/skills/to-spec/agents/openai.yaml +5 -0
  216. package/template/.cursor/skills/to-tickets/SKILL.md +105 -0
  217. package/template/.cursor/skills/to-tickets/agents/openai.yaml +5 -0
  218. package/template/.cursor/skills/triage/AGENT-BRIEF.md +207 -0
  219. package/template/.cursor/skills/triage/OUT-OF-SCOPE.md +105 -0
  220. package/template/.cursor/skills/triage/SKILL.md +112 -0
  221. package/template/.cursor/skills/triage/agents/openai.yaml +5 -0
  222. package/template/.cursor/skills/using-git-worktrees/SKILL.md +202 -0
  223. package/template/.cursor/skills/wait-what/SKILL.md +7 -0
  224. package/template/.cursor/skills/wait-what/agents/openai.yaml +5 -0
  225. package/template/.cursor/skills/wayfinder/SKILL.md +128 -0
  226. package/template/.cursor/skills/wayfinder/agents/openai.yaml +5 -0
  227. package/template/.cursor/skills/writing-beats/SKILL.md +67 -0
  228. package/template/.cursor/skills/writing-beats/agents/openai.yaml +5 -0
  229. package/template/.cursor/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
  230. package/template/.cursor/skills/writing-for-agents/SKILL.md +81 -0
  231. package/template/.cursor/skills/writing-for-agents/agents/openai.yaml +3 -0
  232. package/template/.cursor/skills/writing-fragments/SKILL.md +79 -0
  233. package/template/.cursor/skills/writing-fragments/agents/openai.yaml +5 -0
  234. package/template/.cursor/skills/writing-shape/SKILL.md +79 -0
  235. package/template/.cursor/skills/writing-shape/agents/openai.yaml +5 -0
  236. package/template/.cursor/skills/yss-api-integration/SKILL.md +429 -0
  237. package/template/.cursor/skills/yss-api-integration/agents/openai.yaml +5 -0
  238. package/template/.cursor/skills/yss-application/SKILL.md +52 -0
  239. package/template/.cursor/skills/yss-application/agents/openai.yaml +5 -0
  240. package/template/{.hermes/skills/yss-backend-scaffold-application/SKILL.md → .cursor/skills/yss-application/references/application-layer-guide.md} +0 -7
  241. package/template/.cursor/skills/yss-audit-log/SKILL.md +67 -0
  242. package/template/.cursor/skills/yss-audit-log/agents/openai.yaml +5 -0
  243. package/template/.cursor/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
  244. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
  245. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
  246. package/template/.cursor/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
  247. package/template/.cursor/skills/yss-audit-log/references/README.md +69 -0
  248. package/template/.cursor/skills/yss-audit-log/references/source-index.md +43 -0
  249. package/template/.cursor/skills/yss-cache/SKILL.md +44 -0
  250. package/template/.cursor/skills/yss-cache/agents/openai.yaml +5 -0
  251. package/template/.cursor/skills/yss-cache/references/annotations.md +39 -0
  252. package/template/.cursor/skills/yss-cache/references/architecture.md +25 -0
  253. package/template/.cursor/skills/yss-cache/references/configuration.md +34 -0
  254. package/template/.cursor/skills/yss-cache/references/redis-fallback.md +23 -0
  255. package/template/.cursor/skills/yss-cache/references/redis-topology.md +62 -0
  256. package/template/.cursor/skills/yss-cache/references/serialization.md +17 -0
  257. package/template/.cursor/skills/yss-cache/references/source-index.md +67 -0
  258. package/template/.cursor/skills/yss-cache/references/troubleshooting.md +33 -0
  259. package/template/.cursor/skills/yss-cache/references/verification.md +34 -0
  260. package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  261. package/template/.cursor/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  262. package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  263. package/template/.cursor/skills/yss-components/SKILL.md +386 -0
  264. package/template/.cursor/skills/yss-components/agents/openai.yaml +5 -0
  265. package/template/.cursor/skills/yss-components/references/frontend-docs.md +9 -0
  266. package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +96 -0
  267. package/template/.cursor/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
  268. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
  269. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
  270. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
  271. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
  272. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
  273. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +50 -0
  274. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
  275. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
  276. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
  277. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
  278. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
  279. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
  280. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
  281. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
  282. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
  283. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +18 -0
  284. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
  285. package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
  286. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
  287. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +420 -0
  288. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
  289. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
  290. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +8 -0
  291. package/template/{.agents/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  292. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +8 -0
  293. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  294. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +8 -0
  295. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  296. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +138 -0
  297. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
  298. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +8 -0
  299. package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  300. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
  301. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
  302. package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
  303. package/template/.cursor/skills/yss-design-system/SKILL.md +99 -0
  304. package/template/.cursor/skills/yss-design-system/agents/openai.yaml +5 -0
  305. package/template/.cursor/skills/yss-design-system/references/design-system.md +237 -0
  306. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
  307. package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
  308. package/template/.cursor/skills/yss-distributed-id/SKILL.md +69 -0
  309. package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +5 -0
  310. package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
  311. package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
  312. package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +36 -0
  313. package/template/.cursor/skills/yss-distributed-id/references/README.md +51 -0
  314. package/template/.cursor/skills/yss-distributed-id/references/source-index.md +86 -0
  315. package/template/.cursor/skills/yss-domain/SKILL.md +68 -0
  316. package/template/.cursor/skills/yss-domain/agents/openai.yaml +5 -0
  317. package/template/{.hermes/skills/yss-backend-scaffold-domain/SKILL.md → .cursor/skills/yss-domain/references/domain-layer-guide.md} +0 -7
  318. package/template/.cursor/skills/yss-dto/SKILL.md +86 -0
  319. package/template/.cursor/skills/yss-dto/agents/openai.yaml +5 -0
  320. package/template/.cursor/skills/yss-dto/assets/CommandDTO.java +8 -0
  321. package/template/.cursor/skills/yss-dto/assets/PageQuery.java +133 -0
  322. package/template/.cursor/skills/yss-dto/assets/QueryDTO.java +6 -0
  323. package/template/.cursor/skills/yss-dto/assets/Result.java +105 -0
  324. package/template/.cursor/skills/yss-dto/references/README.md +67 -0
  325. package/template/.cursor/skills/yss-dto/references/openapi-wire-profile.yaml +181 -0
  326. package/template/.cursor/skills/yss-dto/references/source-index.md +55 -0
  327. package/template/.cursor/skills/yss-excel-mvc/SKILL.md +66 -0
  328. package/template/.cursor/skills/yss-excel-mvc/agents/openai.yaml +5 -0
  329. package/template/.cursor/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
  330. package/template/.cursor/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
  331. package/template/.cursor/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
  332. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
  333. package/template/.cursor/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
  334. package/template/.cursor/skills/yss-excel-mvc/references/README.md +5 -0
  335. package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +74 -0
  336. package/template/.cursor/skills/yss-exception/SKILL.md +55 -0
  337. package/template/.cursor/skills/yss-exception/agents/openai.yaml +4 -0
  338. package/template/{.claude/skills/yss-log → .cursor/skills/yss-exception}/references/source-index.md +8 -7
  339. package/template/.cursor/skills/yss-formily/SKILL.md +304 -0
  340. package/template/.cursor/skills/yss-formily/agents/openai.yaml +5 -0
  341. package/template/.cursor/skills/yss-formily/references/examples.md +65 -0
  342. package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +189 -0
  343. package/template/.cursor/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
  344. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
  345. package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
  346. package/template/.cursor/skills/yss-formily-schema-generator/references/workflow.md +240 -0
  347. package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +76 -0
  348. package/template/.cursor/skills/yss-hook/SKILL.md +200 -0
  349. package/template/.cursor/skills/yss-hook/agents/openai.yaml +5 -0
  350. package/template/.cursor/skills/yss-hook/references/frontend-docs.md +10 -0
  351. package/template/.cursor/skills/yss-microapp-commit/SKILL.md +201 -0
  352. package/template/.cursor/skills/yss-microapp-commit/agents/openai.yaml +5 -0
  353. package/template/.cursor/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
  354. package/template/.cursor/skills/yss-mybatis/SKILL.md +77 -0
  355. package/template/.cursor/skills/yss-mybatis/agents/openai.yaml +5 -0
  356. package/template/.cursor/skills/yss-mybatis/assets/BaseRepository.java +112 -0
  357. package/template/.cursor/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
  358. package/template/.cursor/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
  359. package/template/.cursor/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
  360. package/template/.cursor/skills/yss-mybatis/references/README.md +57 -0
  361. package/template/.cursor/skills/yss-mybatis/references/source-index.md +93 -0
  362. package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +82 -0
  363. package/template/.cursor/skills/yss-openapi-governance/SKILL.md +130 -0
  364. package/template/.cursor/skills/yss-openapi-governance/agents/openai.yaml +4 -0
  365. package/template/.cursor/skills/yss-page-module-development/SKILL.md +153 -0
  366. package/template/.cursor/skills/yss-page-module-development/agents/openai.yaml +5 -0
  367. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
  368. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
  369. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
  370. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
  371. package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
  372. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
  373. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
  374. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
  375. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
  376. package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
  377. package/template/.cursor/skills/yss-page-module-development/references/frontend-docs.md +11 -0
  378. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +49 -0
  379. package/template/.cursor/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
  380. package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +32 -0
  381. package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +122 -0
  382. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +521 -0
  383. package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +103 -0
  384. package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +107 -0
  385. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +40 -0
  386. package/template/.cursor/skills/yss-repository/SKILL.md +76 -0
  387. package/template/.cursor/skills/yss-repository/agents/openai.yaml +5 -0
  388. package/template/{.agents/skills/yss-backend-scaffold-infrastructure/SKILL.md → .cursor/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
  389. package/template/.cursor/skills/yss-resilience4j/SKILL.md +46 -0
  390. package/template/.cursor/skills/yss-resilience4j/agents/openai.yaml +4 -0
  391. package/template/{.codex/skills/yss-jdbc → .cursor/skills/yss-resilience4j}/references/source-index.md +6 -6
  392. package/template/.cursor/skills/yss-router/SKILL.md +49 -0
  393. package/template/.cursor/skills/yss-router/agents/openai.yaml +4 -0
  394. package/template/.cursor/skills/yss-router/references/boundaries.md +50 -0
  395. package/template/.cursor/skills/yss-router/references/router-contract.yaml +245 -0
  396. package/template/.cursor/skills/yss-router/references/slice-implementation-contract.md +113 -0
  397. package/template/.cursor/skills/yss-router/references/yss-skill-execution-result.md +62 -0
  398. package/template/.cursor/skills/yss-security-algorithm/SKILL.md +52 -0
  399. package/template/.cursor/skills/yss-security-algorithm/agents/openai.yaml +4 -0
  400. package/template/{.hermes/skills/yss-jdbc → .cursor/skills/yss-security-algorithm}/references/source-index.md +7 -5
  401. package/template/.cursor/skills/yss-source-index/SKILL.md +63 -0
  402. package/template/.cursor/skills/yss-source-index/agents/openai.yaml +4 -0
  403. package/template/.cursor/skills/yss-source-index/references/source-location.md +18 -0
  404. package/template/.cursor/skills/yss-source-index/references/source-map-config.md +30 -0
  405. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
  406. package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
  407. package/template/.cursor/skills/yss-ui/SKILL.md +169 -0
  408. package/template/.cursor/skills/yss-ui/agents/openai.yaml +5 -0
  409. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
  410. package/template/.cursor/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
  411. package/template/.cursor/skills/yss-ui/assets/demos/button/permission.vue +10 -0
  412. package/template/.cursor/skills/yss-ui/assets/demos/button/size.vue +12 -0
  413. package/template/.cursor/skills/yss-ui/assets/demos/button/states.vue +12 -0
  414. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
  415. package/template/.cursor/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
  416. package/template/.cursor/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
  417. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
  418. package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
  419. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
  420. package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
  421. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
  422. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
  423. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
  424. package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
  425. package/template/.cursor/skills/yss-ui/assets/demos/card/loading/index.vue +19 -0
  426. package/template/.cursor/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
  427. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
  428. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
  429. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
  430. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
  431. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
  432. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
  433. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
  434. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
  435. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
  436. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
  437. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
  438. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
  439. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
  440. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
  441. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
  442. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
  443. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
  444. package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
  445. package/template/.cursor/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
  446. package/template/.cursor/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
  447. package/template/.cursor/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
  448. package/template/.cursor/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
  449. package/template/.cursor/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
  450. package/template/.cursor/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
  451. package/template/.cursor/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
  452. package/template/.cursor/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
  453. package/template/.cursor/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
  454. package/template/.cursor/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
  455. package/template/.cursor/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
  456. package/template/.cursor/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
  457. package/template/.cursor/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
  458. package/template/.cursor/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
  459. package/template/.cursor/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
  460. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
  461. package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
  462. package/template/.cursor/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
  463. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
  464. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
  465. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
  466. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
  467. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
  468. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
  469. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
  470. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
  471. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
  472. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
  473. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
  474. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
  475. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
  476. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
  477. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
  478. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
  479. package/template/.cursor/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
  480. package/template/.cursor/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
  481. package/template/.cursor/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
  482. package/template/.cursor/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
  483. package/template/.cursor/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
  484. package/template/.cursor/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
  485. package/template/.cursor/skills/yss-ui/assets/demos/formily/align.vue +56 -0
  486. package/template/.cursor/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
  487. package/template/.cursor/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
  488. package/template/.cursor/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
  489. package/template/.cursor/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
  490. package/template/.cursor/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
  491. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
  492. package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
  493. package/template/.cursor/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
  494. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
  495. package/template/.cursor/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
  496. package/template/.cursor/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
  497. package/template/.cursor/skills/yss-ui/assets/demos/formily/group.vue +102 -0
  498. package/template/.cursor/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
  499. package/template/.cursor/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
  500. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
  501. package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
  502. package/template/.cursor/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
  503. package/template/.cursor/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
  504. package/template/.cursor/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
  505. package/template/.cursor/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
  506. package/template/.cursor/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
  507. package/template/.cursor/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
  508. package/template/.cursor/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
  509. package/template/.cursor/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
  510. package/template/.cursor/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
  511. package/template/.cursor/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
  512. package/template/.cursor/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
  513. package/template/.cursor/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
  514. package/template/.cursor/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
  515. package/template/.cursor/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
  516. package/template/.cursor/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
  517. package/template/.cursor/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
  518. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
  519. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
  520. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
  521. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
  522. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
  523. package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
  524. package/template/.cursor/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
  525. package/template/.cursor/skills/yss-ui/assets/demos/table/action/style.less +3 -0
  526. package/template/.cursor/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
  527. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
  528. package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
  529. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
  530. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
  531. package/template/.cursor/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
  532. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
  533. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
  534. package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
  535. package/template/.cursor/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
  536. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
  537. package/template/.cursor/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
  538. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
  539. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
  540. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
  541. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
  542. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
  543. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
  544. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
  545. package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
  546. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
  547. package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
  548. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
  549. package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
  550. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
  551. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
  552. package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
  553. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
  554. package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
  555. package/template/.cursor/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
  556. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
  557. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
  558. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
  559. package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
  560. package/template/.cursor/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
  561. package/template/.cursor/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
  562. package/template/.cursor/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
  563. package/template/.cursor/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
  564. package/template/.cursor/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
  565. package/template/.cursor/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
  566. package/template/.cursor/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
  567. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
  568. package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
  569. package/template/.cursor/skills/yss-ui/assets/docs/components/button.md +79 -0
  570. package/template/.cursor/skills/yss-ui/assets/docs/components/card.md +162 -0
  571. package/template/.cursor/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
  572. package/template/.cursor/skills/yss-ui/assets/docs/components/cron.md +77 -0
  573. package/template/.cursor/skills/yss-ui/assets/docs/components/echarts.md +110 -0
  574. package/template/.cursor/skills/yss-ui/assets/docs/components/editTable.md +212 -0
  575. package/template/.cursor/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
  576. package/template/.cursor/skills/yss-ui/assets/docs/components/formily.md +370 -0
  577. package/template/.cursor/skills/yss-ui/assets/docs/components/monaco.md +369 -0
  578. package/template/.cursor/skills/yss-ui/assets/docs/components/sheet.md +169 -0
  579. package/template/.cursor/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
  580. package/template/.cursor/skills/yss-ui/assets/docs/components/table.md +398 -0
  581. package/template/.cursor/skills/yss-ui/assets/docs/components/tree.md +102 -0
  582. package/template/.cursor/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
  583. package/template/.cursor/skills/yss-ui/assets/docs/guide/index.md +132 -0
  584. package/template/.cursor/skills/yss-ui/assets/docs/guide/installation.md +97 -0
  585. package/template/.cursor/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
  586. package/template/.cursor/skills/yss-ui/assets/docs/guide/llms.md +295 -0
  587. package/template/.cursor/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
  588. package/template/.cursor/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
  589. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
  590. package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
  591. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
  592. package/template/.cursor/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
  593. package/template/.cursor/skills/yss-ui/assets/docs/root/resources.md +18 -0
  594. package/template/.cursor/skills/yss-ui/assets/keyword-index.json +53 -0
  595. package/template/.cursor/skills/yss-ui/assets/keyword-index.md +47 -0
  596. package/template/.cursor/skills/yss-ui/assets/reference-index.json +55 -0
  597. package/template/.cursor/skills/yss-ui/assets/reference-index.md +74 -0
  598. package/template/.cursor/skills/yss-ui/assets/scenario-index.json +50 -0
  599. package/template/.cursor/skills/yss-ui/assets/scenario-index.md +41 -0
  600. package/template/.cursor/skills/yss-ui/references/accessibility.md +23 -0
  601. package/template/.cursor/skills/yss-ui/references/antdv-compatibility.md +39 -0
  602. package/template/.cursor/skills/yss-ui/references/checklist.md +110 -0
  603. package/template/.cursor/skills/yss-ui/references/component-routing.md +31 -0
  604. package/template/.cursor/skills/yss-ui/references/frontend-docs.md +11 -0
  605. package/template/.cursor/skills/yss-ui/references/migration-antdv-to-yss.md +20 -0
  606. package/template/.cursor/skills/yss-ui/references/quick-recipes.md +280 -0
  607. package/template/.cursor/skills/yss-ui/references/theme-locale-overlay.md +25 -0
  608. package/template/.cursor/skills/yss-ui/references/verification.md +20 -0
  609. package/template/.cursor/skills/yss-up-springboot3/SKILL.md +40 -0
  610. package/template/.cursor/skills/yss-up-springboot3/agents/openai.yaml +4 -0
  611. package/template/.cursor/skills/yss-use-table-height/SKILL.md +340 -0
  612. package/template/.cursor/skills/yss-use-table-height/agents/openai.yaml +5 -0
  613. package/template/.cursor/skills/yss-use-table-height/references/frontend-docs.md +9 -0
  614. package/template/.cursor/skills/yss-use-tree-height/SKILL.md +431 -0
  615. package/template/.cursor/skills/yss-use-tree-height/agents/openai.yaml +5 -0
  616. package/template/.cursor/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
  617. package/template/.cursor/skills/yss-userinfo/SKILL.md +49 -0
  618. package/template/.cursor/skills/yss-userinfo/agents/openai.yaml +4 -0
  619. package/template/{.claude/skills/yss-jdbc → .cursor/skills/yss-userinfo}/references/source-index.md +6 -5
  620. package/template/.cursor/skills/yss-validation/SKILL.md +56 -0
  621. package/template/.cursor/skills/yss-validation/agents/openai.yaml +4 -0
  622. package/template/{.agents/skills/yss-jdbc → .cursor/skills/yss-validation}/references/source-index.md +6 -6
  623. package/template/.cursor/skills/yss-web-controller/SKILL.md +78 -0
  624. package/template/.cursor/skills/yss-web-controller/agents/openai.yaml +5 -0
  625. package/template/.cursor/skills/yss-web-controller/assets/templates/Controller.java.template +73 -0
  626. package/template/.cursor/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
  627. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
  628. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
  629. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
  630. package/template/.cursor/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
  631. package/template/{.claude/skills/yss-backend-scaffold-web/SKILL.md → .cursor/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
  632. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
  633. package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
  634. package/template/.hermes/skills/ask-matt/SKILL.md +8 -2
  635. package/template/.hermes/skills/code-review/SKILL.md +6 -4
  636. package/template/.hermes/skills/diagnosing-bugs/SKILL.md +2 -4
  637. package/template/.hermes/skills/domain-modeling/SKILL.md +1 -1
  638. package/template/.hermes/skills/grilling/SKILL.md +7 -1
  639. package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  640. package/template/.hermes/skills/implement/SKILL.md +1 -1
  641. package/template/.hermes/skills/to-spec/SKILL.md +1 -1
  642. package/template/.hermes/skills/triage/SKILL.md +2 -2
  643. package/template/.hermes/skills/wait-what/SKILL.md +2 -2
  644. package/template/.hermes/skills/wayfinder/SKILL.md +1 -1
  645. package/template/.hermes/skills/yss-api-integration/SKILL.md +2 -0
  646. package/template/.hermes/skills/yss-application/SKILL.md +52 -0
  647. package/template/.hermes/skills/yss-application/agents/openai.yaml +5 -0
  648. package/template/.hermes/skills/yss-application/references/application-layer-guide.md +132 -0
  649. package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  650. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  651. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  652. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  653. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  654. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  655. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  656. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  657. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  658. package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  659. package/template/.hermes/skills/yss-domain/SKILL.md +5 -0
  660. package/template/.hermes/skills/yss-domain/references/domain-layer-guide.md +274 -0
  661. package/template/.hermes/skills/yss-microapp-commit/SKILL.md +2 -0
  662. package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +43 -91
  663. package/template/.hermes/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  664. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  665. package/template/.hermes/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  666. package/template/.hermes/skills/yss-product-lifecycle/references/state-model.md +4 -1
  667. package/template/.hermes/skills/yss-prototype-stage/SKILL.md +1 -1
  668. package/template/.hermes/skills/yss-repository/SKILL.md +5 -0
  669. package/template/.hermes/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  670. package/template/.hermes/skills/yss-router/references/boundaries.md +2 -6
  671. package/template/.hermes/skills/yss-router/references/router-contract.yaml +8 -12
  672. package/template/.hermes/skills/yss-source-index/references/source-map-config.md +0 -4
  673. package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  674. package/template/.hermes/skills/yss-web-controller/SKILL.md +1 -0
  675. package/template/.hermes/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  676. package/template/.pi/skills/ask-matt/SKILL.md +8 -2
  677. package/template/.pi/skills/code-review/SKILL.md +6 -4
  678. package/template/.pi/skills/diagnosing-bugs/SKILL.md +2 -4
  679. package/template/.pi/skills/domain-modeling/SKILL.md +1 -1
  680. package/template/.pi/skills/grilling/SKILL.md +7 -1
  681. package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  682. package/template/.pi/skills/implement/SKILL.md +1 -1
  683. package/template/.pi/skills/to-spec/SKILL.md +1 -1
  684. package/template/.pi/skills/triage/SKILL.md +2 -2
  685. package/template/.pi/skills/wait-what/SKILL.md +2 -2
  686. package/template/.pi/skills/wayfinder/SKILL.md +1 -1
  687. package/template/.pi/skills/yss-api-integration/SKILL.md +2 -0
  688. package/template/.pi/skills/yss-application/SKILL.md +52 -0
  689. package/template/.pi/skills/yss-application/agents/openai.yaml +5 -0
  690. package/template/.pi/skills/yss-application/references/application-layer-guide.md +132 -0
  691. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  692. package/template/.pi/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  693. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  694. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  695. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  696. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  697. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  698. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  699. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  700. package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  701. package/template/.pi/skills/yss-domain/SKILL.md +5 -0
  702. package/template/.pi/skills/yss-domain/references/domain-layer-guide.md +274 -0
  703. package/template/.pi/skills/yss-microapp-commit/SKILL.md +2 -0
  704. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +43 -91
  705. package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  706. package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  707. package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  708. package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +4 -1
  709. package/template/.pi/skills/yss-prototype-stage/SKILL.md +1 -1
  710. package/template/.pi/skills/yss-repository/SKILL.md +5 -0
  711. package/template/.pi/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  712. package/template/.pi/skills/yss-router/references/boundaries.md +2 -6
  713. package/template/.pi/skills/yss-router/references/router-contract.yaml +8 -12
  714. package/template/.pi/skills/yss-source-index/references/source-map-config.md +0 -4
  715. package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  716. package/template/.pi/skills/yss-web-controller/SKILL.md +1 -0
  717. package/template/.pi/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  718. package/template/.qoder/skills/ask-matt/SKILL.md +8 -2
  719. package/template/.qoder/skills/code-review/SKILL.md +6 -4
  720. package/template/.qoder/skills/diagnosing-bugs/SKILL.md +2 -4
  721. package/template/.qoder/skills/domain-modeling/SKILL.md +1 -1
  722. package/template/.qoder/skills/grilling/SKILL.md +7 -1
  723. package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  724. package/template/.qoder/skills/implement/SKILL.md +1 -1
  725. package/template/.qoder/skills/to-spec/SKILL.md +1 -1
  726. package/template/.qoder/skills/triage/SKILL.md +2 -2
  727. package/template/.qoder/skills/wait-what/SKILL.md +2 -2
  728. package/template/.qoder/skills/wayfinder/SKILL.md +1 -1
  729. package/template/.qoder/skills/yss-api-integration/SKILL.md +2 -0
  730. package/template/.qoder/skills/yss-application/SKILL.md +52 -0
  731. package/template/.qoder/skills/yss-application/agents/openai.yaml +5 -0
  732. package/template/.qoder/skills/yss-application/references/application-layer-guide.md +132 -0
  733. package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  734. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  735. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  736. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  737. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  738. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  739. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  740. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  741. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  742. package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  743. package/template/.qoder/skills/yss-domain/SKILL.md +5 -0
  744. package/template/.qoder/skills/yss-domain/references/domain-layer-guide.md +274 -0
  745. package/template/.qoder/skills/yss-microapp-commit/SKILL.md +2 -0
  746. package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +43 -91
  747. package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  748. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  749. package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  750. package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +4 -1
  751. package/template/.qoder/skills/yss-prototype-stage/SKILL.md +1 -1
  752. package/template/.qoder/skills/yss-repository/SKILL.md +5 -0
  753. package/template/.qoder/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  754. package/template/.qoder/skills/yss-router/references/boundaries.md +2 -6
  755. package/template/.qoder/skills/yss-router/references/router-contract.yaml +8 -12
  756. package/template/.qoder/skills/yss-source-index/references/source-map-config.md +0 -4
  757. package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  758. package/template/.qoder/skills/yss-web-controller/SKILL.md +1 -0
  759. package/template/.qoder/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  760. package/template/.trae/skills/ask-matt/SKILL.md +8 -2
  761. package/template/.trae/skills/code-review/SKILL.md +6 -4
  762. package/template/.trae/skills/diagnosing-bugs/SKILL.md +2 -4
  763. package/template/.trae/skills/domain-modeling/SKILL.md +1 -1
  764. package/template/.trae/skills/grilling/SKILL.md +7 -1
  765. package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +1 -1
  766. package/template/.trae/skills/implement/SKILL.md +1 -1
  767. package/template/.trae/skills/to-spec/SKILL.md +1 -1
  768. package/template/.trae/skills/triage/SKILL.md +2 -2
  769. package/template/.trae/skills/wait-what/SKILL.md +2 -2
  770. package/template/.trae/skills/wayfinder/SKILL.md +1 -1
  771. package/template/.trae/skills/yss-api-integration/SKILL.md +2 -0
  772. package/template/.trae/skills/yss-application/SKILL.md +52 -0
  773. package/template/.trae/skills/yss-application/agents/openai.yaml +5 -0
  774. package/template/.trae/skills/yss-application/references/application-layer-guide.md +132 -0
  775. package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
  776. package/template/.trae/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
  777. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
  778. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
  779. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
  780. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
  781. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
  782. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
  783. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
  784. package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
  785. package/template/.trae/skills/yss-domain/SKILL.md +5 -0
  786. package/template/.trae/skills/yss-domain/references/domain-layer-guide.md +274 -0
  787. package/template/.trae/skills/yss-microapp-commit/SKILL.md +2 -0
  788. package/template/.trae/skills/yss-product-lifecycle/SKILL.md +43 -91
  789. package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +7 -5
  790. package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +88 -22
  791. package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +5 -4
  792. package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +4 -1
  793. package/template/.trae/skills/yss-prototype-stage/SKILL.md +1 -1
  794. package/template/.trae/skills/yss-repository/SKILL.md +5 -0
  795. package/template/.trae/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
  796. package/template/.trae/skills/yss-router/references/boundaries.md +2 -6
  797. package/template/.trae/skills/yss-router/references/router-contract.yaml +8 -12
  798. package/template/.trae/skills/yss-source-index/references/source-map-config.md +0 -4
  799. package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
  800. package/template/.trae/skills/yss-web-controller/SKILL.md +1 -0
  801. package/template/.trae/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
  802. package/template/AGENTS.md +16 -3
  803. package/template/CONTEXT.md +8 -4
  804. package/template/README.md +2 -1
  805. package/template/docs/adr/0007-lifecycle-native-work-units.md +5 -0
  806. package/template/docs/agents/README.md +6 -4
  807. package/template/docs/agents/skills-maintenance.md +14 -4
  808. package/template/docs/agents/yss-skill-registry.yaml +498 -0
  809. package/template/docs/architecture/templates/engineering-baseline-review-template.md +2 -2
  810. package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +1 -1
  811. package/template/docs/process/lifecycle-artifact-map.md +19 -15
  812. package/template/docs/process/lifecycle-registry-baseline.json +15 -1
  813. package/template/docs/process/lifecycle-registry.yaml +77 -0
  814. package/template/docs/process/schemas/frontend-implementation-evidence.schema.json +39 -0
  815. package/template/docs/process/schemas/lifecycle-checkpoint.schema.json +56 -0
  816. package/template/docs/process/schemas/lifecycle-registry.schema.json +2 -2
  817. package/template/docs/process/templates/frontend-implementation-plan-template.yaml +16 -0
  818. package/template/docs/process/templates/frontend-implementation-verification-template.yaml +21 -0
  819. package/template/docs/process/templates/lifecycle-checkpoint-template.yaml +30 -0
  820. package/template/docs/process/templates/stage-checkpoint-template.md +9 -5
  821. package/template/docs/templates/build-architecture-checklist-template.md +5 -5
  822. package/template/docs/templates/implementation-routing-template.md +5 -5
  823. package/template/docs/templates/review-report-template.md +3 -3
  824. package/template/docs/templates/vertical-slice-ticket-template.md +4 -4
  825. package/template/docs/user-guide//344/272/247/345/223/201/347/240/224/345/217/221/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +2 -1
  826. package/template/docs/user-guide//347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +2 -2
  827. package/template/scripts/lib/lifecycle-registry.mjs +9 -4
  828. package/template/scripts/lib/scenario-checks.mjs +37 -15
  829. package/template/scripts/lib/skill-registry.mjs +198 -0
  830. package/template/scripts/lib/skill-supply-chain.mjs +39 -11
  831. package/template/scripts/verify-frontend-implementation-evidence +51 -0
  832. package/template/scripts/verify-lifecycle-checkpoint +37 -0
  833. package/template/scripts/verify-skill-registry +10 -0
  834. package/template/scripts/verify-template +6 -2
  835. package/template/scripts/verify-upstream-skill-source +32 -0
  836. package/template/skills-lock.json +205 -195
  837. package/template/yss-public-skills.json +2 -16
  838. package/template.manifest.json +12 -0
  839. package/template.snapshot.json +4 -4
  840. package/template/.agents/skills/batch-grill-me/agents/openai.yaml +0 -5
  841. package/template/.agents/skills/product-design-prototype/SKILL.md +0 -91
  842. package/template/.agents/skills/product-design-prototype/agents/openai.yaml +0 -4
  843. package/template/.agents/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  844. package/template/.agents/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  845. package/template/.agents/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  846. package/template/.agents/skills/yss-dictionary/SKILL.md +0 -49
  847. package/template/.agents/skills/yss-dictionary/agents/openai.yaml +0 -4
  848. package/template/.agents/skills/yss-dictionary/references/source-index.md +0 -80
  849. package/template/.agents/skills/yss-jdbc/SKILL.md +0 -73
  850. package/template/.agents/skills/yss-jdbc/agents/openai.yaml +0 -5
  851. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  852. package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  853. package/template/.agents/skills/yss-jdbc/assets/DsParam.java +0 -19
  854. package/template/.agents/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  855. package/template/.agents/skills/yss-jdbc/references/README.md +0 -55
  856. package/template/.agents/skills/yss-log/SKILL.md +0 -48
  857. package/template/.agents/skills/yss-log/agents/openai.yaml +0 -4
  858. package/template/.agents/skills/yss-log/references/source-index.md +0 -34
  859. package/template/.agents/skills/yss-taskflow/SKILL.md +0 -58
  860. package/template/.agents/skills/yss-taskflow/agents/openai.yaml +0 -4
  861. package/template/.agents/skills/yss-taskflow/references/source-index.md +0 -158
  862. package/template/.claude/skills/batch-grill-me/SKILL.md +0 -15
  863. package/template/.claude/skills/batch-grill-me/agents/openai.yaml +0 -5
  864. package/template/.claude/skills/product-design-prototype/SKILL.md +0 -91
  865. package/template/.claude/skills/product-design-prototype/agents/openai.yaml +0 -4
  866. package/template/.claude/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  867. package/template/.claude/skills/yss-dictionary/SKILL.md +0 -49
  868. package/template/.claude/skills/yss-dictionary/agents/openai.yaml +0 -4
  869. package/template/.claude/skills/yss-dictionary/references/source-index.md +0 -80
  870. package/template/.claude/skills/yss-jdbc/SKILL.md +0 -73
  871. package/template/.claude/skills/yss-jdbc/agents/openai.yaml +0 -5
  872. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  873. package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  874. package/template/.claude/skills/yss-jdbc/assets/DsParam.java +0 -19
  875. package/template/.claude/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  876. package/template/.claude/skills/yss-jdbc/references/README.md +0 -55
  877. package/template/.claude/skills/yss-log/SKILL.md +0 -48
  878. package/template/.claude/skills/yss-log/agents/openai.yaml +0 -4
  879. package/template/.claude/skills/yss-taskflow/SKILL.md +0 -58
  880. package/template/.claude/skills/yss-taskflow/agents/openai.yaml +0 -4
  881. package/template/.claude/skills/yss-taskflow/references/source-index.md +0 -158
  882. package/template/.codex/skills/batch-grill-me/SKILL.md +0 -15
  883. package/template/.codex/skills/batch-grill-me/agents/openai.yaml +0 -5
  884. package/template/.codex/skills/product-design-prototype/SKILL.md +0 -91
  885. package/template/.codex/skills/product-design-prototype/agents/openai.yaml +0 -4
  886. package/template/.codex/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  887. package/template/.codex/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  888. package/template/.codex/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  889. package/template/.codex/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  890. package/template/.codex/skills/yss-dictionary/SKILL.md +0 -49
  891. package/template/.codex/skills/yss-dictionary/agents/openai.yaml +0 -4
  892. package/template/.codex/skills/yss-dictionary/references/source-index.md +0 -80
  893. package/template/.codex/skills/yss-jdbc/SKILL.md +0 -73
  894. package/template/.codex/skills/yss-jdbc/agents/openai.yaml +0 -5
  895. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  896. package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  897. package/template/.codex/skills/yss-jdbc/assets/DsParam.java +0 -19
  898. package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  899. package/template/.codex/skills/yss-jdbc/references/README.md +0 -55
  900. package/template/.codex/skills/yss-log/SKILL.md +0 -48
  901. package/template/.codex/skills/yss-log/agents/openai.yaml +0 -4
  902. package/template/.codex/skills/yss-log/references/source-index.md +0 -34
  903. package/template/.codex/skills/yss-taskflow/SKILL.md +0 -58
  904. package/template/.codex/skills/yss-taskflow/agents/openai.yaml +0 -4
  905. package/template/.codex/skills/yss-taskflow/references/source-index.md +0 -158
  906. package/template/.hermes/skills/batch-grill-me/SKILL.md +0 -15
  907. package/template/.hermes/skills/batch-grill-me/agents/openai.yaml +0 -5
  908. package/template/.hermes/skills/product-design-prototype/SKILL.md +0 -91
  909. package/template/.hermes/skills/product-design-prototype/agents/openai.yaml +0 -4
  910. package/template/.hermes/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  911. package/template/.hermes/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  912. package/template/.hermes/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  913. package/template/.hermes/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  914. package/template/.hermes/skills/yss-dictionary/SKILL.md +0 -49
  915. package/template/.hermes/skills/yss-dictionary/agents/openai.yaml +0 -4
  916. package/template/.hermes/skills/yss-dictionary/references/source-index.md +0 -80
  917. package/template/.hermes/skills/yss-jdbc/SKILL.md +0 -73
  918. package/template/.hermes/skills/yss-jdbc/agents/openai.yaml +0 -5
  919. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  920. package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  921. package/template/.hermes/skills/yss-jdbc/assets/DsParam.java +0 -19
  922. package/template/.hermes/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  923. package/template/.hermes/skills/yss-jdbc/references/README.md +0 -55
  924. package/template/.hermes/skills/yss-log/SKILL.md +0 -48
  925. package/template/.hermes/skills/yss-log/agents/openai.yaml +0 -4
  926. package/template/.hermes/skills/yss-log/references/source-index.md +0 -34
  927. package/template/.hermes/skills/yss-taskflow/SKILL.md +0 -58
  928. package/template/.hermes/skills/yss-taskflow/agents/openai.yaml +0 -4
  929. package/template/.hermes/skills/yss-taskflow/references/source-index.md +0 -158
  930. package/template/.pi/skills/batch-grill-me/SKILL.md +0 -15
  931. package/template/.pi/skills/batch-grill-me/agents/openai.yaml +0 -5
  932. package/template/.pi/skills/product-design-prototype/SKILL.md +0 -91
  933. package/template/.pi/skills/product-design-prototype/agents/openai.yaml +0 -4
  934. package/template/.pi/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  935. package/template/.pi/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  936. package/template/.pi/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  937. package/template/.pi/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  938. package/template/.pi/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  939. package/template/.pi/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  940. package/template/.pi/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  941. package/template/.pi/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  942. package/template/.pi/skills/yss-dictionary/SKILL.md +0 -49
  943. package/template/.pi/skills/yss-dictionary/agents/openai.yaml +0 -4
  944. package/template/.pi/skills/yss-dictionary/references/source-index.md +0 -80
  945. package/template/.pi/skills/yss-jdbc/SKILL.md +0 -73
  946. package/template/.pi/skills/yss-jdbc/agents/openai.yaml +0 -5
  947. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  948. package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  949. package/template/.pi/skills/yss-jdbc/assets/DsParam.java +0 -19
  950. package/template/.pi/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  951. package/template/.pi/skills/yss-jdbc/references/README.md +0 -55
  952. package/template/.pi/skills/yss-jdbc/references/source-index.md +0 -33
  953. package/template/.pi/skills/yss-log/SKILL.md +0 -48
  954. package/template/.pi/skills/yss-log/agents/openai.yaml +0 -4
  955. package/template/.pi/skills/yss-log/references/source-index.md +0 -34
  956. package/template/.pi/skills/yss-taskflow/SKILL.md +0 -58
  957. package/template/.pi/skills/yss-taskflow/agents/openai.yaml +0 -4
  958. package/template/.pi/skills/yss-taskflow/references/source-index.md +0 -158
  959. package/template/.qoder/skills/batch-grill-me/SKILL.md +0 -15
  960. package/template/.qoder/skills/batch-grill-me/agents/openai.yaml +0 -5
  961. package/template/.qoder/skills/product-design-prototype/SKILL.md +0 -91
  962. package/template/.qoder/skills/product-design-prototype/agents/openai.yaml +0 -4
  963. package/template/.qoder/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  964. package/template/.qoder/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  965. package/template/.qoder/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  966. package/template/.qoder/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  967. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  968. package/template/.qoder/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  969. package/template/.qoder/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  970. package/template/.qoder/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  971. package/template/.qoder/skills/yss-dictionary/SKILL.md +0 -49
  972. package/template/.qoder/skills/yss-dictionary/agents/openai.yaml +0 -4
  973. package/template/.qoder/skills/yss-dictionary/references/source-index.md +0 -80
  974. package/template/.qoder/skills/yss-jdbc/SKILL.md +0 -73
  975. package/template/.qoder/skills/yss-jdbc/agents/openai.yaml +0 -5
  976. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  977. package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  978. package/template/.qoder/skills/yss-jdbc/assets/DsParam.java +0 -19
  979. package/template/.qoder/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  980. package/template/.qoder/skills/yss-jdbc/references/README.md +0 -55
  981. package/template/.qoder/skills/yss-jdbc/references/source-index.md +0 -33
  982. package/template/.qoder/skills/yss-log/SKILL.md +0 -48
  983. package/template/.qoder/skills/yss-log/agents/openai.yaml +0 -4
  984. package/template/.qoder/skills/yss-log/references/source-index.md +0 -34
  985. package/template/.qoder/skills/yss-taskflow/SKILL.md +0 -58
  986. package/template/.qoder/skills/yss-taskflow/agents/openai.yaml +0 -4
  987. package/template/.qoder/skills/yss-taskflow/references/source-index.md +0 -158
  988. package/template/.trae/skills/batch-grill-me/SKILL.md +0 -15
  989. package/template/.trae/skills/batch-grill-me/agents/openai.yaml +0 -5
  990. package/template/.trae/skills/product-design-prototype/SKILL.md +0 -91
  991. package/template/.trae/skills/product-design-prototype/agents/openai.yaml +0 -4
  992. package/template/.trae/skills/yss-backend-scaffold-application/SKILL.md +0 -139
  993. package/template/.trae/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
  994. package/template/.trae/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
  995. package/template/.trae/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
  996. package/template/.trae/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
  997. package/template/.trae/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
  998. package/template/.trae/skills/yss-backend-scaffold-web/SKILL.md +0 -175
  999. package/template/.trae/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
  1000. package/template/.trae/skills/yss-dictionary/SKILL.md +0 -49
  1001. package/template/.trae/skills/yss-dictionary/agents/openai.yaml +0 -4
  1002. package/template/.trae/skills/yss-dictionary/references/source-index.md +0 -80
  1003. package/template/.trae/skills/yss-jdbc/SKILL.md +0 -73
  1004. package/template/.trae/skills/yss-jdbc/agents/openai.yaml +0 -5
  1005. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
  1006. package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
  1007. package/template/.trae/skills/yss-jdbc/assets/DsParam.java +0 -19
  1008. package/template/.trae/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
  1009. package/template/.trae/skills/yss-jdbc/references/README.md +0 -55
  1010. package/template/.trae/skills/yss-jdbc/references/source-index.md +0 -33
  1011. package/template/.trae/skills/yss-log/SKILL.md +0 -48
  1012. package/template/.trae/skills/yss-log/agents/openai.yaml +0 -4
  1013. package/template/.trae/skills/yss-log/references/source-index.md +0 -34
  1014. package/template/.trae/skills/yss-taskflow/SKILL.md +0 -58
  1015. package/template/.trae/skills/yss-taskflow/agents/openai.yaml +0 -4
  1016. package/template/.trae/skills/yss-taskflow/references/source-index.md +0 -158
@@ -0,0 +1,51 @@
1
+ # 参考资料
2
+
3
+ 本文档详细介绍了 `yss-component-distributed-id` 框架的核心组件和实现原理。
4
+
5
+ ## 核心类 (Core Classes)
6
+
7
+ ### 1. AutoIdInterceptor.java
8
+ **位置**: `../assets/AutoIdInterceptor.java`
9
+
10
+ MyBatis 拦截器,是实现自动 ID 注入的核心。
11
+
12
+ **拦截逻辑**:
13
+ - **拦截点**: `StatementHandler.prepare` 方法。
14
+ - **判断条件**: 仅拦截 `INSERT` 语句。
15
+ - **处理流程**:
16
+ 1. 获取 SQL 绑定的参数对象 (`parameterObject`)。
17
+ 2. 支持处理单对象、`List`、`Array` 和 `Map` (MyBatis 多参数封装)。
18
+ 3. 遍历参数对象的实体类,检查是否有 `@Entity` (JPA) 或 `@TableName` (MP) 注解。
19
+ 4. 扫描实体字段,查找 `@GeneratedValue` 或 `@TableId` 注解。
20
+ 5. 根据注解指定的策略 (`segment`, `snowflake`, `cosid_segment` 等),调用对应的 ID 生成器获取 ID。
21
+ 6. 通过反射将 ID 设置到实体的相应字段中。
22
+
23
+ ### 2. EnableDistributedId.java
24
+ **位置**: `../assets/EnableDistributedId.java`
25
+
26
+ 开启分布式 ID 功能的注解。
27
+
28
+ **属性**:
29
+ - `autoRegister`: 是否自动注册配置,默认为 `true`。
30
+ - `cosid`: 是否开启 CosId 模式,默认为 `false` (即默认使用 Leaf 模式)。
31
+
32
+ **作用**:
33
+ - 导入 `LeafDataSourceConfiguration` 和 `EnableDistributedImportSelector`,从而根据配置加载相应的 Bean。
34
+
35
+ ### 3. LeafConf.java
36
+ **位置**: `../assets/LeafConf.java`
37
+
38
+ Leaf 模式的配置类,对应 `spring.leaf` 配置项。
39
+
40
+ **属性**:
41
+ - `leafSegmentEnable`: 是否开启号段模式。
42
+ - `leafSnowflakeEnable`: 是否开启雪花算法模式。
43
+
44
+ ## ID 生成策略详解
45
+
46
+ | 策略名称 | 依赖组件 | 描述 | 适用场景 |
47
+ | :--- | :--- | :--- | :--- |
48
+ | **Leaf Segment** | DB (MySQL) | 基于数据库号段,每次从 DB 获取一个号段到内存,高性能,ID 趋势递增。 | 大多数业务场景,高可用要求高。 |
49
+ | **Leaf Snowflake** | Zookeeper | 基于 Twitter 雪花算法,依赖 ZK 进行 WorkerID 管理。 | 对 ID 生成速度要求极高,且不依赖 DB 的场景。 |
50
+ | **CosId Segment** | DB (MySQL) | CosId 的号段模式实现,支持更丰富的配置(如步长动态调整)。 | 需要 CosId 特性或作为 Leaf 的替代方案。 |
51
+ | **UUID** | JDK | 标准 UUID。 | 无需有序、不关心存储空间的场景。 |
@@ -0,0 +1,86 @@
1
+ # yss-distributed-id Source Index
2
+
3
+ Generated: 2026-08-17T12:03:37.436Z
4
+ Source commit: `38b556a5081e6c66c0c538cbc1ef839b19996ed3`
5
+ Source worktree: `dirty`
6
+ Indexed source root: resolved at refresh time; set `YSS_SOURCE_ROOT` to reproduce or refresh.
7
+
8
+ This file is generated by `yss-source-index/scripts/refresh-yss-skill-index.mjs`. Do not hand-edit generated sections.
9
+
10
+ Paths below are source path hints captured at refresh time. If they do not exist in the current workspace, locate sources using `YSS_SOURCE_ROOT`, CodeGraph, package/class names, Maven artifact names, or repository search before assuming the source is unavailable.
11
+
12
+ ## Component Path Hints
13
+
14
+ - `yss-microservice-components/yss-component-distributed-id` (existed when indexed)
15
+ - `yss-microservice-components/yss-component-leaf` (existed when indexed)
16
+
17
+ ## Documentation Files
18
+
19
+ - `yss-microservice-components/yss-component-distributed-id/readme.md`
20
+ - `yss-microservice-components/yss-component-leaf/README.md`
21
+ - `yss-microservice-components/yss-component-leaf/TECHNICAL_DESIGN.md`
22
+
23
+ ## Maven Modules
24
+
25
+ - `yss-microservice-components/yss-component-distributed-id`
26
+ - `yss-microservice-components/yss-component-leaf`
27
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-feign`
28
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib`
29
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc`
30
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest`
31
+
32
+ ## Key Java Entry Points
33
+
34
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/EnableDistributedId.java`
35
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/EnableDistributedImportSelector.java`
36
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/ApplicationContextHelper.java`
37
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/SegmentContextHelper.java`
38
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/SnowflakeContextHelper.java`
39
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/DistributedIdInjectionModeGuard.java`
40
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/DistributedIdProperties.java`
41
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/LeafConf.java`
42
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/LeafDataSourceConfiguration.java`
43
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/LeafDatabaseType.java`
44
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/LeafSegmentProperties.java`
45
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/MissingTagPolicy.java`
46
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/config/SnowflakeProperties.java`
47
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/exception/LeafIdErrorCode.java`
48
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/exception/LeafIdException.java`
49
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/exception/LeafServerException.java`
50
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/health/LeafSegmentHealth.java`
51
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/common/PropertyFactory.java`
52
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/common/Result.java`
53
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/common/Status.java`
54
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/segment/dao/IDAllocMapper.java`
55
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/segment/model/LeafAlloc.java`
56
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/snowflake/SnowflakeNodeIdentity.java`
57
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/inf/leaf/snowflake/SnowflakeNodeIdentityResolver.java`
58
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/metrics/LeafSegmentMetrics.java`
59
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/mybatis/AutoIdInterceptor.java`
60
+ - `yss-microservice-components/yss-component-distributed-id/src/main/java/com/yss/cloud/sankuai/mybatis/DistributedIdIdentifierGenerator.java`
61
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-feign/src/main/java/com/yss/cloud/leaf/conf/YssCloudLeafAutoConfiguration.java`
62
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-feign/src/main/java/com/yss/cloud/leaf/context/RestGenIdContextHelper.java`
63
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-feign/src/main/java/com/yss/cloud/leaf/feign/YssIdGenFeign.java`
64
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-feign/src/main/java/com/yss/cloud/leaf/mybatis/FeignAutoIdInterceptor.java`
65
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/GenerateUniqueIdRequest.java`
66
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/GenerateUniqueIdRequestOrBuilder.java`
67
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/GenerateUniqueIdResponse.java`
68
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/GenerateUniqueIdResponseOrBuilder.java`
69
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/IdGenType.java`
70
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/UniqueIdProto.java`
71
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/grpc/protobuf/UniqueIdServiceGrpc.java`
72
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/leaf/context/GrpcClientService.java`
73
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc-lib/src/main/java/com/yss/cloud/leaf/context/GrpcGenIdContextHelper.java`
74
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc/src/main/java/com/yss/cloud/leaf/conf/YssCloudLeafAutoConfiguration.java`
75
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-grpc/src/main/java/com/yss/cloud/leaf/service/UniqueIdService.java`
76
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest/src/main/java/com/yss/cloud/leaf/conf/YssLeafRestConfiguration.java`
77
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest/src/main/java/com/yss/cloud/leaf/controller/IdGenController.java`
78
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest/src/main/java/com/yss/cloud/leaf/controller/LeafIdRestResponseFactory.java`
79
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest/src/main/java/com/yss/cloud/leaf/health/LeafSegmentHealthIndicator.java`
80
+ - `yss-microservice-components/yss-component-leaf/yss-cloud-leaf-rest/src/main/java/com/yss/cloud/leaf/health/LeafSnowflakeHealthIndicator.java`
81
+
82
+ ## Recommended Next Reads
83
+
84
+ - Start with the documentation files above when learning component usage.
85
+ - Search the key Java entry points for annotations, auto configuration, properties, aspects, interceptors, handlers, and result objects before changing application code.
86
+ - Prefer existing component extension points over rewriting framework logic in business modules.
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: yss-domain
3
+ description: 用于构建或重构 YSS 领域层代码。当用户要求设计聚合、Entity、Domain Gateway、领域规则、状态流转或先做领域建模再补持久层时调用。
4
+ ---
5
+
6
+ # yss-domain
7
+
8
+ 这是一个建模型 skill。核心目标是先把领域语义和边界建立清楚,再落代码。
9
+
10
+ 默认输出是新 DDD target profile;现有 YSS 组件仓库常见 `core/client/repository`、贫血对象和 VO 型 Gateway 只是 legacy profile,不得静默复制成新模块架构。
11
+
12
+ ## 何时使用
13
+
14
+ - 用户要求先做 Domain、先抽象实体或聚合。
15
+ - 用户要补 `Entity`、`Gateway`、领域规则或状态机。
16
+ - 用户给出页面流程、业务规则、DDL,希望先沉淀领域模型。
17
+
18
+ ## 不适用
19
+
20
+ - 只生成持久层时,优先 `yss-repository`。
21
+ - 只生成 Controller 时,优先 `yss-web-controller`。
22
+ - 只初始化项目骨架时,优先 `yss-ddd-scaffold-generator`。
23
+
24
+ ## 工作方式
25
+
26
+ 1. 先抽业务术语、聚合边界和状态变化。
27
+ 2. 数据库字段只做补充,不直接决定领域对象结构。
28
+ 3. 先定义领域行为,再决定 Gateway 边界。
29
+ 4. 规则不清晰时,保留显式假设,不要静默猜测。
30
+
31
+ ## 产物范围
32
+
33
+ - `domain/{segment}/model/*Entity.java`
34
+ - `domain/{segment}/gateway/*Gateway.java`
35
+ - DTO/VO 属于 client/web 契约,转交 `yss-dto` / `yss-web-controller`;Domain skill 不顺带生成。
36
+
37
+ ## 建模约束
38
+
39
+ - Domain 层不依赖 Repository、Mapper、Controller。
40
+ - 领域行为放在模型方法,不要放在 Web 层。
41
+ - Gateway 只暴露领域能力,不暴露持久化细节。
42
+ - 对关键状态流转给出明确方法,如 `publish()`、`cancel()`、`terminate()`。
43
+ - 明确 Aggregate Root、Entity identity、Value Object、不变量、Domain Event 和一致性边界;没有业务行为时不要伪造富领域模型。
44
+ - 发现 legacy profile 时先记录迁移/兼容决策,不把 Repository Entity 当 Domain Entity。
45
+
46
+ ## 质量要求
47
+
48
+ - 命名体现业务语义,不照抄表名缩写。
49
+ - 生成代码应可编译,且没有跨层依赖泄漏。
50
+ - 对不确定规则写出假设或 TODO,不要伪装成已确认事实。
51
+
52
+ ## 协同顺序
53
+
54
+ - 需要用例编排时,再接 `yss-application`
55
+ - 需要持久层时,再接 `yss-repository`
56
+ - 需要 Web 层时,再接 `yss-web-controller`
57
+ - 需要完整工程时,先 `yss-ddd-scaffold-generator`
58
+
59
+ ## 分层开发规范
60
+
61
+ 脚手架生成或进入 Domain 实现前,必须加载 `references/domain-layer-guide.md`:其中定义 DTO/Gateway/Domain Service 包结构、命名、校验与示例,与本 skill 的建模约束一并生效。
62
+
63
+ ## 阶段 7 合同
64
+
65
+ - 只消费生命周期已批准的 `Slice Implementation Contract` 和当前 `work_unit`;不得扩大 `allowed_write_paths`。
66
+ - 领域规则、状态机和不变量必须使用 `behavior-tdd`,先形成失败测试,再实现最小行为。
67
+ - 完成后按 `yss-router/references/yss-skill-execution-result.md` 返回统一 `YSS Skill Execution Result`:changed files、领域/测试证据、实际验证结果、偏离和新增影响。
68
+ - 发现新 API、权限、状态机、数据模型或架构影响时填入 `new_impacts` 并暂停,不得静默扩张切片。
@@ -0,0 +1,5 @@
1
+ version: 1
2
+ interface:
3
+ display_name: "YSS Domain"
4
+ short_description: "领域建模、聚合根、规则与网关设计实践落地标准化规范"
5
+ default_prompt: "Use $yss-domain to design aggregates, entities, domain gateways, and business rules for a YSS domain model."
@@ -1,10 +1,3 @@
1
- ---
2
- name: "yss-backend-scaffold-domain"
3
- description: "YSS 管理服务领域层的脚手架和最佳实践。在实现业务逻辑、定义数据网关或创建领域模型时调用。"
4
- ---
5
-
6
- # Domain 层开发规范 (Domain Layer Development Guide)
7
-
8
1
  本 Skill 提供了 YSS 数据质量管理服务 **Domain (领域层)** 的开发规范。Domain 层是系统的核心,包含业务逻辑、领域模型和接口定义。
9
2
 
10
3
  ## 1. 核心职责 (Core Responsibilities)
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: yss-dto
3
+ description: Use when YSS `Result`, `SingleResult`, `MultiResult`, `PageResult`, `PageQuery`, `CommandDTO`, `QueryDTO`, pagination, or response-wrapper compatibility is involved.
4
+ ---
5
+
6
+ # yss-dto
7
+
8
+ 用于处理 `yss-component-dto` 的使用规范和代码接入。
9
+
10
+ 本 skill 同时负责把中台 DTO 映射到公开 HTTP/JSON 边界。`references/openapi-wire-profile.yaml` 是可复用的机器可读映射源;OpenAPI 治理和 Draft Review 必须消费它,不得各自复制一份 wrapper 或分页字段表。
11
+
12
+ ## 何时使用
13
+
14
+ - 用户要定义新的分页查询对象。
15
+ - 用户要统一接口返回结构。
16
+ - 用户提到 `Result`、`PageQuery`、`CommandDTO`、`QueryDTO`。
17
+ - 用户在排查分页参数、返回结构或 DTO 继承不一致问题。
18
+
19
+ ## 工作方式
20
+
21
+ 1. 优先沿用项目现有 DTO 体系,不重复造返回包装类。
22
+ 2. 涉及真实类名、返回结构、分页字段或排障时,先读 `references/source-index.md`,再定位源码或文档。
23
+ 3. 先确认当前项目用的是哪一套结果封装和实际 import;新契约的 canonical 包是 `com.yss.cloud.dto.result`,`com.yss.cloud.dto.response` 只能作为 legacy / compatibility 线索,不能在新契约中引入。
24
+ 4. 需要设计或审查 API 时,先校验 `references/openapi-wire-profile.yaml`,再把 endpoint 的具体 DTO/VO schema 组合到 wrapper;Java 泛型不是 OpenAPI schema。
25
+ 5. 只围绕当前 DTO 结构回答,不泛化到整个微服务理论。
26
+
27
+ ## 源码索引
28
+
29
+ - 源码位置不要假设固定目录;先按 `yss-source-index/references/source-location.md` 定位。
30
+ - 当前技能索引:`references/source-index.md`
31
+ - OpenAPI wire profile:`references/openapi-wire-profile.yaml`
32
+ - 重点源码入口通常包括 `CommandDTO`、`QueryDTO`、`PageQuery`、`PageRequestFactory`、`Result`、`SingleResult`、`MultiResult`、`PageResult`。
33
+
34
+ 当组件源码变化后,用 `yss-source-index` 刷新索引;刷新或读取前先按源码定位策略确认真实位置。
35
+
36
+ ## 使用规则
37
+
38
+ - 写操作参数优先继承 `CommandDTO`。
39
+ - 读操作参数优先继承 `QueryDTO` 或 `PageQuery`。
40
+ - 分页查询优先继承 `PageQuery`,不要自行发明分页字段名。
41
+ - Controller 返回优先使用项目既有的 `Result` 或派生结果对象。
42
+ - 单对象返回优先 `SingleResult`,列表返回优先 `MultiResult`,分页返回优先 `PageResult`,前提是当前项目已采用这套体系。
43
+ - 三种泛型结果要求 `T extends Serializable`;生成的 VO/响应类型必须满足该编译约束。
44
+ - OpenAPI 响应以 `YssResultMeta` 表达公共字段,并用 `allOf` 叠加 endpoint-specific `data` / page 字段;每个响应声明 `x-yss-response-wrapper: SingleResult|MultiResult|PageResult`,不得把 `SingleResult<T>` 文字写成 schema。
45
+ - wire shape 不是 Java 字段清单:`success` 为 boolean,`dataType` 为 `string|null`,`code` 只允许 `string|integer|null`;不得把全局 `code` 放宽为任意 object。
46
+ - `MultiResult.data` 和 `PageResult.data` 对外是数组,空值按 `[]` 建模;`SingleResult.data` 按 endpoint schema 建模并显式处理 nullability。
47
+ - `PageResult` 当前稳定公共字段为 `totalCount/pageSize/pageIndex/data[]`;`totalPages` 是计算 getter,只有目标 HTTP mapper / contract fixture 证明后才能进入具体契约。
48
+ - `PageQuery` 客户端输入只允许 `pageIndex/pageSize/orderBy/orderDirection/groupBy`(后四项按 profile 的 optional / whitelist 规则);`orderDirection` 只能是 `ASC|DESC`。`offset`、`needTotalCount`、`tempTotalCount` 是计算或内部协作字段,禁止成为客户端输入。
49
+ - `buildSuccess(...)` 各重载设置 code 的行为并不一致;冻结契约必须测试 `success/code/message/tips/dataType`、nullability 和三种 data shape,不能只测试 data。
50
+ - Java getter、Lombok、`@JsonIgnore` 或默认 Jackson 结果都不是目标 HTTP wire fact;冻结前必须记录 mapper identity、代表性序列化 fixture 和 contract-test / 等价 HTTP 证据。
51
+ - DTO 只表达接口契约,不承载 Repository PO 或领域对象的持久化细节。
52
+
53
+ ## 检查清单
54
+
55
+ - 分页字段名是否和框架约定一致。
56
+ - `orderBy` / `groupBy` 是否经过 Repository 白名单映射,禁止直接拼接 SQL。
57
+ - Service / Repository 是否真的接收到了 `PageQuery`。
58
+ - 新增 DTO 是否与现有序列化和校验方式兼容。
59
+ - 返回结构是否和前端或上游调用方契约一致。
60
+ - 是否通过 `scripts/verify-yss-dto-openapi-profile`,并引用 profile 版本。
61
+ - wrapper extension、`YssResultMeta`、`allOf`、具体 data schema 和方向性是否逐 endpoint 对齐。
62
+ - 是否有针对 `offset` / `needTotalCount` / `tempTotalCount` 的负向断言,以及对 `totalPages` 的目标 mapper 证据。
63
+ - Controller、Application Service、Domain、Repository 之间是否存在 DTO/VO/DO/PO 混穿。
64
+ - 前端 Orval 或调用方是否依赖当前返回包装结构。
65
+
66
+ ## 修改约束
67
+
68
+ - 不要在一个项目里混用多套返回包装类。
69
+ - 不要新建与 `PageQuery` 含义重叠的分页基类。
70
+ - 不要把 `com.yss.cloud.dto.response` 作为新 API 的 canonical 包,也不要从 Java getter 机械生成 wire schema。
71
+ - 不要把 `offset`、`needTotalCount`、`tempTotalCount` 作为客户端分页输入;不要无证据把 `totalPages` 写入所有分页响应。
72
+ - 若项目已有 `SingleResult`、`PageResult`、`MultiResult` 体系,优先保持一致。
73
+
74
+ ## 按需读取
75
+
76
+ - 源码索引:`references/source-index.md`
77
+ - DTO 基类示例:`assets/CommandDTO.java`、`assets/QueryDTO.java`
78
+ - 分页基类:`assets/PageQuery.java`
79
+ - 返回结构:`assets/Result.java`
80
+ - HTTP/JSON 映射:`references/openapi-wire-profile.yaml`
81
+
82
+ ## 阶段 7 合同
83
+
84
+ - DTO/VO 必须消费冻结 OpenAPI/no-impact record 和批准合同,写入合同允许路径。
85
+ - POJO 样板可 `controlled-generation`;校验、权限输入、错误结构和序列化行为必须由对应 `behavior-tdd` 工作单元覆盖。
86
+ - 必须加载合同要求的 `lombok`、`mapstruct` 和 `alibaba-java-code-style`,并按统一 `YSS Skill Execution Result` 返回文件、契约测试和偏离。
@@ -0,0 +1,5 @@
1
+ version: 1
2
+ interface:
3
+ display_name: "YSS DTO"
4
+ short_description: "统一响应、分页查询、Command 与 DTO 设计规范"
5
+ default_prompt: "Use $yss-dto to define YSS-style DTOs, page queries, commands, unified response models, and their OpenAPI HTTP/JSON wire shapes."
@@ -0,0 +1,8 @@
1
+ package com.yss.cloud.dto;
2
+
3
+ import java.io.Serializable;
4
+
5
+ public abstract class CommandDTO implements Serializable {
6
+
7
+ private static final long serialVersionUID = 1L;
8
+ }
@@ -0,0 +1,133 @@
1
+ package com.yss.cloud.dto.page;
2
+
3
+ import com.fasterxml.jackson.annotation.JsonIgnore;
4
+ import com.yss.cloud.dto.QueryDTO;
5
+
6
+ public class PageQuery extends QueryDTO {
7
+
8
+ private static final long serialVersionUID = 1L;
9
+
10
+ public static final String ASC = "ASC";
11
+
12
+ public static final String DESC = "DESC";
13
+
14
+ private static final int DEFAULT_PAGE_SIZE = 10;
15
+ /**
16
+ * 每页显示
17
+ * @mock 10
18
+ */
19
+ private int pageSize = DEFAULT_PAGE_SIZE;
20
+
21
+ /**
22
+ * 当前页
23
+ * @mock 1
24
+ */
25
+ private int pageIndex = 1;
26
+
27
+ /**
28
+ * 排序字段
29
+ * @mock id
30
+ */
31
+ private String orderBy;
32
+
33
+ /**
34
+ * 默认倒序
35
+ * @mock DESC
36
+ */
37
+ private String orderDirection = DESC;
38
+
39
+ /** 分组字段 */
40
+ private String groupBy;
41
+
42
+ /**
43
+ * 是否需要总数
44
+ * @apiNote 暂时未实现
45
+ * @mock true
46
+ */
47
+ @JsonIgnore
48
+ private boolean needTotalCount = true;
49
+
50
+ /**
51
+ * 总数dto临时字段,忽略即可
52
+ * @mock 0
53
+ */
54
+ @JsonIgnore
55
+ private long tempTotalCount = 0;
56
+
57
+ public int getPageIndex() {
58
+ return Math.max(pageIndex, 1);
59
+ }
60
+
61
+ public PageQuery setPageIndex(int pageIndex) {
62
+ this.pageIndex = pageIndex;
63
+ return this;
64
+ }
65
+
66
+ public int getPageSize() {
67
+ if (pageSize < 1) {
68
+ pageSize = DEFAULT_PAGE_SIZE;
69
+ }
70
+ return pageSize;
71
+ }
72
+
73
+ public PageQuery setPageSize(int pageSize) {
74
+ if (pageSize < 1) {
75
+ pageSize = DEFAULT_PAGE_SIZE;
76
+ }
77
+ this.pageSize = pageSize;
78
+ return this;
79
+ }
80
+
81
+ public int getOffset() {
82
+ return (getPageIndex() - 1) * getPageSize();
83
+ }
84
+
85
+ public String getOrderBy() {
86
+ return orderBy;
87
+ }
88
+
89
+ public PageQuery setOrderBy(String orderBy) {
90
+ this.orderBy = orderBy;
91
+ return this;
92
+ }
93
+
94
+ public String getOrderDirection() {
95
+ return orderDirection;
96
+ }
97
+
98
+ public PageQuery setOrderDirection(String orderDirection) {
99
+ if (ASC.equalsIgnoreCase(orderDirection) || DESC.equalsIgnoreCase(orderDirection)) {
100
+ this.orderDirection = orderDirection;
101
+ }
102
+ return this;
103
+ }
104
+
105
+ public long getTempTotalCount() {
106
+ return tempTotalCount;
107
+ }
108
+
109
+ public void setTempTotalCount(long tempTotalCount) {
110
+ this.tempTotalCount = tempTotalCount;
111
+ }
112
+
113
+ public String getGroupBy() {
114
+ return groupBy;
115
+ }
116
+
117
+ public void setGroupBy(String groupBy) {
118
+ this.groupBy = groupBy;
119
+ }
120
+
121
+ public boolean isNeedTotalCount() {
122
+ return needTotalCount;
123
+ }
124
+
125
+ public void setNeedTotalCount(boolean needTotalCount) {
126
+ this.needTotalCount = needTotalCount;
127
+ }
128
+
129
+ @Override
130
+ public String toString() {
131
+ return "PageQuery(" + "pageSize=" + pageSize + ", pageIndex=" + pageIndex + ')';
132
+ }
133
+ }
@@ -0,0 +1,6 @@
1
+ package com.yss.cloud.dto;
2
+
3
+ public abstract class QueryDTO extends CommandDTO {
4
+
5
+ private static final long serialVersionUID = 1L;
6
+ }
@@ -0,0 +1,105 @@
1
+ package com.yss.cloud.dto.result;
2
+
3
+ import java.io.Serializable;
4
+
5
+ /**
6
+ * @author zhudaoming
7
+ */
8
+ public class Result implements Serializable {
9
+
10
+ private static final long serialVersionUID = 2405172041950251807L;
11
+
12
+ private static final String DEFAULT_MESSAGE = "数据返回正常";
13
+ private static final String DEFAULT_TIPS = "信息返回正常";
14
+
15
+ /** 状态 */
16
+ private boolean success;
17
+ /** 返回数据格式 */
18
+ private String dataType;
19
+ /** 返回状态码 */
20
+ private Object code;
21
+ /** 返回消息 */
22
+ private String message = DEFAULT_MESSAGE;
23
+ /** 返回提示消息 */
24
+ private String tips = DEFAULT_TIPS;
25
+ public Object getCode() {
26
+ return code;
27
+ }
28
+
29
+ public Result setCode(Object code) {
30
+ this.code = code;
31
+ return this;
32
+ }
33
+
34
+ public String getMessage() {
35
+ return message;
36
+ }
37
+
38
+ public Result setMessage(String message) {
39
+ this.message = message;
40
+ return this;
41
+ }
42
+
43
+ public String getTips() {
44
+ return tips;
45
+ }
46
+
47
+ public void setTips(String tips) {
48
+ this.tips = tips;
49
+ }
50
+
51
+ public boolean isSuccess() {
52
+ return success;
53
+ }
54
+
55
+ public void setSuccess(boolean success) {
56
+ this.success = success;
57
+ }
58
+
59
+ public String getDataType() {
60
+ return dataType;
61
+ }
62
+
63
+ public void setDataType(String dataType) {
64
+ this.dataType = dataType;
65
+ }
66
+
67
+ public static Result buildSuccess() {
68
+ Result response = new Result();
69
+ response.setSuccess(true);
70
+ response.setCode("DM-A0001");
71
+ return response;
72
+ }
73
+
74
+ public static Result buildSuccess(String message) {
75
+ Result response = new Result();
76
+ response.setSuccess(true);
77
+ response.setMessage(message);
78
+ return response;
79
+ }
80
+ public static Result buildSuccess(String code,String message) {
81
+ Result response = new Result();
82
+ response.setSuccess(true);
83
+ response.setCode(code);
84
+ response.setMessage(message);
85
+ return response;
86
+ }
87
+ public static Result buildFailure(String message) {
88
+ Result response = new Result();
89
+ response.setSuccess(false);
90
+ response.setMessage(message);
91
+ return response;
92
+ }
93
+ public static Result buildFailure(String errCode,String message) {
94
+ Result response = new Result();
95
+ response.setSuccess(false);
96
+ response.setCode(errCode);
97
+ response.setMessage(message);
98
+ return response;
99
+ }
100
+ @Override
101
+ public String toString() {
102
+ return "Response [success=" + success + "]";
103
+ }
104
+
105
+ }
@@ -0,0 +1,67 @@
1
+ # 参考资料
2
+
3
+ 本文档详细介绍了 `yss-component-dto` 组件的核心数据传输对象(DTO)。这些 DTO 类被广泛应用于各个服务项目,用于规范数据交互格式。公开 HTTP/JSON 的可复用映射以 `openapi-wire-profile.yaml` 为准;本文不把 Java 字段或 getter 自动等同于 wire shape。
4
+
5
+ ## 核心类 (Core Classes)
6
+
7
+ ### 1. Result.java
8
+
9
+ **位置**: `../assets/Result.java`
10
+
11
+ 通用响应包装类,用于统一 API 接口的返回格式。
12
+
13
+ **核心字段**:
14
+
15
+ - `success`: 操作是否成功 (boolean)
16
+ - `code`: Java 内部类型为 `Object`;公开 wire contract 仅允许 `string | integer | null`
17
+ - `message`: 消息描述 (String, 默认 "数据返回正常")
18
+ - `dataType`: 返回数据格式
19
+ - `tips`: 提示消息
20
+
21
+ **常用静态方法**:
22
+
23
+ - `buildSuccess()`: 构建成功响应
24
+ - `buildSuccess(String message)`: 构建带消息的成功响应
25
+ - `buildFailure(String message)`: 构建失败响应
26
+ - `buildFailure(String errCode, String message)`: 构建带错误码的失败响应
27
+
28
+ ### 2. PageQuery.java
29
+
30
+ **位置**: `../assets/PageQuery.java`
31
+
32
+ 分页查询基础类,所有需要分页的查询参数都应继承此类。
33
+
34
+ **核心字段**:
35
+
36
+ - `pageIndex`: 当前页码 (默认 1)
37
+ - `pageSize`: 每页条数 (默认 10)
38
+ - `orderBy`: 排序字段
39
+ - `orderDirection`: 排序方向 (ASC/DESC, 默认 DESC)
40
+ - `tempTotalCount`: 临时总数字段(由分页插件回填)
41
+
42
+ **功能**:
43
+
44
+ - 提供了链式调用的 Setter 方法 (`setPageIndex`, `setPageSize` 等)。
45
+ - 自动计算偏移量 `getOffset()`。
46
+
47
+ ## HTTP/JSON 映射边界
48
+
49
+ - 新契约使用 `com.yss.cloud.dto.result`;`com.yss.cloud.dto.response` 只作为 legacy / compatibility 线索。
50
+ - 公共响应 schema 使用 `YssResultMeta`,具体 endpoint schema 使用 `allOf` 组合,并声明 `x-yss-response-wrapper`。
51
+ - `MultiResult.data` 和 `PageResult.data` 为数组;`SingleResult.data` 绑定具体 endpoint schema。不要把 `SingleResult<T>`、`MultiResult<T>` 或 `PageResult<T>` 的 Java 泛型文字直接写成 OpenAPI schema。
52
+ - `PageQuery` 的客户端字段是 `pageIndex/pageSize/orderBy/orderDirection/groupBy`;`offset`、`needTotalCount`、`tempTotalCount` 不属于客户端输入。`totalPages` 只有目标 mapper / contract evidence 证明后才进入响应契约。
53
+
54
+ ### 3. CommandDTO.java & QueryDTO.java
55
+
56
+ **位置**: `../assets/CommandDTO.java`, `../assets/QueryDTO.java`
57
+
58
+ 基础 DTO 抽象类,用于区分命令(写操作)和查询(读操作)对象。
59
+
60
+ - **CommandDTO**: 实现 `Serializable` 接口,所有命令参数应继承此类。
61
+ - **QueryDTO**: 继承自 `CommandDTO`,所有查询参数应继承此类。
62
+
63
+ ## 使用场景
64
+
65
+ 1. **API 响应**: 所有 Controller 方法应返回 `Result` 或其子类(如 `PageResult`, `SingleResult`)。
66
+ 2. **分页查询**: Controller 接收分页请求时,参数类应继承 `PageQuery`。MyBatis 分页插件会自动识别并处理。
67
+ 3. **参数封装**: 使用 `CommandDTO` 封装增删改参数,使用 `QueryDTO` 封装查询参数,保持代码语义清晰。