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,198 @@
1
+ import { readFileSync } from "node:fs";
2
+ import path from "node:path";
3
+ import { parseDocument } from "../vendor/yaml.mjs";
4
+ import { PROJECTION_ROOTS, ROOT } from "./skill-supply-chain.mjs";
5
+
6
+ export const DEFAULT_REGISTRY = path.join(ROOT, "docs/agents/yss-skill-registry.yaml");
7
+ const LOCK_PATH = path.join(ROOT, "skills-lock.json");
8
+ const ROUTER_CONTRACT = path.join(ROOT, ".agents/skills/yss-router/references/router-contract.yaml");
9
+ const LAYERS = new Set(["core", "specialist", "compatibility", "maintainer-only"]);
10
+ const MATURITIES = new Set(["draft", "verified", "supported", "deprecated"]);
11
+ const ID_PATTERN = /^[a-z0-9][a-z0-9-]*$/;
12
+
13
+ function fail(message) {
14
+ throw new TypeError(message);
15
+ }
16
+
17
+ function yamlFromFile(filePath, label) {
18
+ let source;
19
+ try {
20
+ source = readFileSync(filePath, "utf8");
21
+ } catch (error) {
22
+ if (error.code === "ENOENT") fail(`缺少${label}: ${filePath}`);
23
+ throw error;
24
+ }
25
+ const document = parseDocument(source, { maxAliasCount: 0, uniqueKeys: true });
26
+ if (document.errors.length > 0) fail(`无法解析${label}: ${document.errors[0].message}`);
27
+ const value = document.toJS({ maxAliasCount: 0 });
28
+ if (!value || typeof value !== "object" || Array.isArray(value)) fail(`${label}必须是对象`);
29
+ return value;
30
+ }
31
+
32
+ export function loadSkillRegistry(filePath = DEFAULT_REGISTRY) {
33
+ return yamlFromFile(filePath, "技能路由注册表");
34
+ }
35
+
36
+ function frontmatterName(skillMd) {
37
+ const match = skillMd.match(/^---\r?\n([\s\S]*?)\r?\n---/);
38
+ if (!match) fail("SKILL.md 缺少 frontmatter");
39
+ const name = match[1].match(/^name:\s*["']?([a-z0-9-]+)["']?\s*$/m);
40
+ if (!name) fail("SKILL.md frontmatter 缺少 name");
41
+ return name[1];
42
+ }
43
+
44
+ function requireString(value, field) {
45
+ if (typeof value !== "string" || !value.trim()) fail(`${field} 不能为空`);
46
+ }
47
+
48
+ export function validateSkillRegistry(registry, { lock, routerContract, skillSource } = {}) {
49
+ if (!registry || typeof registry !== "object" || Array.isArray(registry)) fail("技能路由注册表必须是对象");
50
+ if (registry.schema_version !== 1) fail("schema_version 必须为 1");
51
+ if (registry.registry_id !== "yss.skill-routing") fail("registry_id 必须为 yss.skill-routing");
52
+ if (!["shadow", "active"].includes(registry.status)) fail("status 必须是 shadow 或 active");
53
+ requireString(registry.description, "description");
54
+ requireString(registry.canonical_content_root, "canonical_content_root");
55
+ if (registry.canonical_content_root !== ".agents/skills") fail("canonical_content_root 必须为 .agents/skills");
56
+ const runtime = registry.runtime_policy;
57
+ if (!runtime || typeof runtime !== "object") fail("缺少 runtime_policy");
58
+ if (typeof runtime.consumed_by_router !== "boolean" || typeof runtime.consumed_by_lifecycle !== "boolean" || typeof runtime.discovery_enforced !== "boolean") {
59
+ fail("runtime_policy 必须声明 consumed_by_router、consumed_by_lifecycle、discovery_enforced");
60
+ }
61
+ if (registry.status === "shadow" && (runtime.consumed_by_router || runtime.consumed_by_lifecycle || runtime.discovery_enforced)) {
62
+ fail("shadow 注册表不得被 Router、生命周期或发现面强制消费");
63
+ }
64
+ const roots = registry.agent_runtime_roots;
65
+ if (!roots || typeof roots !== "object" || Array.isArray(roots)) fail("缺少 agent_runtime_roots");
66
+ const expected = {
67
+ claude: ".claude/skills",
68
+ codex: ".codex/skills",
69
+ cursor: ".cursor/skills",
70
+ hermes: ".hermes/skills",
71
+ pi: ".pi/skills",
72
+ qoder: ".qoder/skills",
73
+ trae: ".trae/skills"
74
+ };
75
+ for (const [agent, root] of Object.entries(expected)) {
76
+ if (roots[agent] !== root) fail(`agent_runtime_roots.${agent} 必须为 ${root}`);
77
+ }
78
+ const extraAgents = Object.keys(roots).filter((key) => !(key in expected));
79
+ if (extraAgents.length) fail(`未知 Agent 运行时根: ${extraAgents.join(", ")}`);
80
+ if (JSON.stringify(Object.values(expected).sort()) !== JSON.stringify([...PROJECTION_ROOTS].sort())) {
81
+ fail("agent_runtime_roots 与投影根清单不一致");
82
+ }
83
+
84
+ const skills = registry.skills;
85
+ if (!Array.isArray(skills) || skills.length === 0) fail("skills 不能为空");
86
+ const ids = new Set();
87
+ const aliases = new Map();
88
+ for (const [index, skill] of skills.entries()) {
89
+ const prefix = `skills[${index}]`;
90
+ if (!skill || typeof skill !== "object" || Array.isArray(skill)) fail(`${prefix} 必须是对象`);
91
+ requireString(skill.id, `${prefix}.id`);
92
+ if (!ID_PATTERN.test(skill.id)) fail(`${prefix}.id 非法: ${skill.id}`);
93
+ if (ids.has(skill.id)) fail(`重复 skill id: ${skill.id}`);
94
+ ids.add(skill.id);
95
+ }
96
+ for (const [index, skill] of skills.entries()) {
97
+ const prefix = `skills[${index}]`;
98
+ if (!LAYERS.has(skill.layer)) fail(`${skill.id} 未知 layer: ${skill.layer}`);
99
+ if (!MATURITIES.has(skill.maturity)) fail(`${skill.id} 未知 maturity: ${skill.maturity}`);
100
+ if (typeof skill.instance_default_discoverable !== "boolean") fail(`${skill.id} 缺少 instance_default_discoverable`);
101
+ if (skill.layer === "core" && skill.instance_default_discoverable !== true) fail(`${skill.id} 作为 core 必须默认可发现`);
102
+ if ((skill.layer === "specialist" || skill.layer === "maintainer-only") && skill.instance_default_discoverable !== false) {
103
+ fail(`${skill.id} 作为 ${skill.layer} 不得默认可发现`);
104
+ }
105
+ if (skill.maturity === "deprecated") requireString(skill.replaced_by, `${skill.id}.replaced_by`);
106
+ if (skill.replaced_by && !ids.has(skill.replaced_by) && !skills.some((item) => item.id === skill.replaced_by)) {
107
+ // resolved in second pass
108
+ }
109
+ if (!Array.isArray(skill.aliases) || skill.aliases.some((alias) => typeof alias !== "string" || !ID_PATTERN.test(alias))) {
110
+ fail(`${skill.id} aliases 必须是合法 id 数组`);
111
+ }
112
+ for (const alias of skill.aliases) {
113
+ if (alias === skill.id) fail(`${skill.id} 不得把自身列为 alias`);
114
+ if (aliases.has(alias) || ids.has(alias)) fail(`alias 冲突: ${alias}`);
115
+ aliases.set(alias, skill.id);
116
+ }
117
+ if (!Array.isArray(skill.impacts) || skill.impacts.length === 0 || skill.impacts.some((item) => typeof item !== "string" || !item.trim())) {
118
+ fail(`${skill.id} impacts 不能为空`);
119
+ }
120
+ }
121
+ for (const skill of skills) {
122
+ if (skill.replaced_by && !ids.has(skill.replaced_by)) fail(`${skill.id}.replaced_by 引用了未登记技能: ${skill.replaced_by}`);
123
+ }
124
+
125
+ const platform = registry.platform_skills ?? [];
126
+ if (!Array.isArray(platform)) fail("platform_skills 必须是数组");
127
+ const platformIds = new Set();
128
+ for (const skill of platform) {
129
+ requireString(skill.id, "platform_skills.id");
130
+ requireString(skill.root, `${skill.id}.root`);
131
+ if (!LAYERS.has(skill.layer)) fail(`${skill.id} 未知 layer`);
132
+ if (typeof skill.instance_default_discoverable !== "boolean" || skill.instance_default_discoverable !== false) {
133
+ fail(`${skill.id} 平台技能不得作为实例默认可发现`);
134
+ }
135
+ if (platformIds.has(`${skill.root}:${skill.id}`)) fail(`重复平台技能: ${skill.root}/${skill.id}`);
136
+ platformIds.add(`${skill.root}:${skill.id}`);
137
+ }
138
+
139
+ if (lock) {
140
+ const shared = Object.keys(lock.skills?.shared ?? {}).sort();
141
+ const registered = [...ids].sort();
142
+ const missing = shared.filter((name) => !ids.has(name));
143
+ const extra = registered.filter((name) => !shared.includes(name));
144
+ if (missing.length) fail(`注册表缺少锁文件共享技能: ${missing.join(", ")}`);
145
+ if (extra.length) fail(`注册表包含未锁定共享技能: ${extra.join(", ")}`);
146
+ const platformLock = lock.skills?.platform ?? {};
147
+ for (const [root, group] of Object.entries(platformLock)) {
148
+ for (const name of Object.keys(group)) {
149
+ if (!platformIds.has(`${root}:${name}`)) fail(`注册表缺少平台技能 ${root}/${name}`);
150
+ }
151
+ }
152
+ for (const key of platformIds) {
153
+ const [root, name] = key.split(":");
154
+ if (!platformLock[root]?.[name]) fail(`注册表平台技能未出现在锁文件: ${root}/${name}`);
155
+ }
156
+ if (JSON.stringify(lock.projectionRoots) !== JSON.stringify(PROJECTION_ROOTS)) {
157
+ fail("skills-lock.json projectionRoots 与权威投影清单不一致");
158
+ }
159
+ }
160
+
161
+ if (skillSource) {
162
+ for (const skill of skills) {
163
+ const skillMd = skillSource(skill.id);
164
+ const discovered = frontmatterName(skillMd);
165
+ if (discovered !== skill.id && aliases.get(discovered) !== skill.id) {
166
+ fail(`${skill.id} 的 SKILL.md name=${discovered} 既不是 id 也不在 aliases 中`);
167
+ }
168
+ }
169
+ }
170
+
171
+ if (routerContract) {
172
+ const declared = routerContract.skill_aliases;
173
+ if (!declared || typeof declared !== "object" || Array.isArray(declared)) fail("router-contract.yaml 缺少 skill_aliases");
174
+ for (const [alias, canonical] of Object.entries(declared)) {
175
+ if (aliases.get(alias) !== canonical) fail(`router-contract alias ${alias} -> ${canonical} 与注册表不一致`);
176
+ }
177
+ for (const [alias, canonical] of aliases.entries()) {
178
+ if (declared[alias] !== canonical) fail(`注册表 alias ${alias} 未写入 router-contract.skill_aliases`);
179
+ }
180
+ const closures = Object.keys(routerContract.dependency_closure ?? {});
181
+ for (const name of closures) {
182
+ if (!ids.has(name) && !aliases.has(name)) fail(`Router 闭包引用了未登记技能: ${name}`);
183
+ }
184
+ }
185
+
186
+ return { skill_count: skills.length, platform_count: platform.length, status: registry.status };
187
+ }
188
+
189
+ export function validateDefaultSkillRegistry() {
190
+ const registry = loadSkillRegistry();
191
+ const lock = JSON.parse(readFileSync(LOCK_PATH, "utf8"));
192
+ const routerContract = yamlFromFile(ROUTER_CONTRACT, "Router 合同");
193
+ return validateSkillRegistry(registry, {
194
+ lock,
195
+ routerContract,
196
+ skillSource: (id) => readFileSync(path.join(ROOT, ".agents/skills", id, "SKILL.md"), "utf8")
197
+ });
198
+ }
@@ -7,8 +7,11 @@ import { fileURLToPath } from "node:url";
7
7
  export const ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
8
8
  const SOURCE_ROOT = path.join(ROOT, ".agents/skills");
9
9
  const LOCK_PATH = path.join(ROOT, "skills-lock.json");
10
- const PROJECTION_ROOTS = [".claude/skills", ".codex/skills", ".hermes/skills", ".pi/skills", ".qoder/skills", ".trae/skills"];
11
- const OBSOLETE = new Set(["to-" + "prd", "to-" + "issues", "design-an-interface", "qa", "request-refactor-plan", "ubiquitous-language", "edit-article", "obsidian-vault", "writing-great-skills", "code-review-process", "yss-domain-modeling", "yss-dir", "yss-duckdb", "yss-file", "yss-filerunner", "yss-db2mybatis", "yss-mail", "yss-mapper-dynamic", "yss-quality", "yss-sql-condition", "yss-sql-tpl", "yss-valuation", "yss-variable", "yss-openapi", "web-design-engineer", "web-video-presentation", "wireframe-prototype", "wizard", "git-guardrails-claude-code", "claude-handoff"]);
10
+ export const PROJECTION_ROOTS = [".claude/skills", ".codex/skills", ".cursor/skills", ".hermes/skills", ".pi/skills", ".qoder/skills", ".trae/skills"];
11
+ export const OBSOLETE = new Set(["to-" + "prd", "to-" + "issues", "design-an-interface", "qa", "request-refactor-plan", "ubiquitous-language", "edit-article", "obsidian-vault", "writing-great-skills", "code-review-process", "yss-domain-modeling", "yss-dir", "yss-duckdb", "yss-file", "yss-filerunner", "yss-db2mybatis", "yss-mail", "yss-mapper-dynamic", "yss-quality", "yss-sql-condition", "yss-sql-tpl", "yss-valuation", "yss-variable", "yss-openapi", "web-design-engineer", "web-video-presentation", "wireframe-prototype", "wizard", "git-guardrails-claude-code", "claude-handoff", "batch-grill-me", "product-design-prototype", "yss-dictionary", "yss-jdbc", "yss-log", "yss-taskflow", "yss-backend-scaffold-application", "yss-backend-scaffold-domain", "yss-backend-scaffold-infrastructure", "yss-backend-scaffold-web"]);
12
+ export function obsoleteCanonicalResidues(names, obsolete = OBSOLETE) {
13
+ return names.filter((name) => obsolete.has(name)).sort();
14
+ }
12
15
 
13
16
  function relative(target) { return path.relative(ROOT, target).replaceAll(path.sep, "/"); }
14
17
  function entries(directory) { return existsSync(directory) ? readdirSync(directory, { withFileTypes: true }) : []; }
@@ -51,7 +54,7 @@ export function syncSkills({ check = false } = {}) {
51
54
  const shared = sharedFromLock(lock);
52
55
  const absent = shared.filter((name) => !lstatSafe(path.join(SOURCE_ROOT, name))?.isDirectory());
53
56
  if (absent.length) throw new TypeError(`锁文件声明的共享 skills 缺少权威内容: ${absent.join(", ")}`);
54
- const obsolete = shared.filter((name) => OBSOLETE.has(name));
57
+ const obsolete = [...new Set([...shared.filter((name) => OBSOLETE.has(name)), ...obsoleteCanonicalResidues(skillNames(SOURCE_ROOT))])];
55
58
  if (obsolete.length) throw new TypeError(`obsolete skills remain in canonical root: ${obsolete.join(", ")}`);
56
59
  const drift = [];
57
60
  for (const root of PROJECTION_ROOTS) {
@@ -59,7 +62,7 @@ export function syncSkills({ check = false } = {}) {
59
62
  ensureSafeProjection(projection);
60
63
  if (!check) mkdirSync(projection, { recursive: true });
61
64
  const allowed = [...shared, ...Object.keys(lock.skills?.platform?.[root] ?? {})];
62
- for (const entry of unlockedProjectionEntries(entries(projection), allowed, (name) => tracked(relative(path.join(projection, name))))) {
65
+ for (const entry of unlockedProjectionEntries(entries(projection), allowed, (name) => tracked(relative(path.join(projection, name)))).filter((entry) => !OBSOLETE.has(entry.name))) {
63
66
  const target = path.join(projection, entry.name);
64
67
  if (!check && entry.isSymbolicLink() && !existsSync(target)) rmSync(target, { force: true });
65
68
  else drift.push(`unlocked projection: ${relative(target)}`);
@@ -96,16 +99,41 @@ function priorMetadata(lock) {
96
99
  if (!["shared", "platform"].some((key) => key in skills)) return skills;
97
100
  return { ...skills.shared, ...Object.values(skills.platform ?? {}).reduce((all, group) => ({ ...all, ...group }), {}), ...Object.fromEntries(Object.entries(skills).filter(([key]) => !["shared", "platform"].includes(key))) };
98
101
  }
99
- function metadata(name, skillPath, directory, previous, canonical = false) {
102
+ function option(arguments_, name) {
103
+ const prefix = `--${name}=`;
104
+ const value = arguments_.find((argument) => argument.startsWith(prefix));
105
+ return value?.slice(prefix.length) || null;
106
+ }
107
+ function sourceRevisionMap(oldLock, arguments_) {
108
+ const sources = structuredClone(oldLock?.sources ?? {});
109
+ const revision = option(arguments_, "source-revision");
110
+ if (revision) {
111
+ const separator = revision.lastIndexOf(":");
112
+ if (separator <= 0 || separator === revision.length - 1) throw new TypeError("--source-revision 必须使用 source:revision 格式");
113
+ const source = revision.slice(0, separator);
114
+ sources[source] = { ...(sources[source] ?? {}), revision: revision.slice(separator + 1) };
115
+ }
116
+ return sources;
117
+ }
118
+ function metadata(name, skillPath, directory, previous, canonical = false, sources = {}, upstreamRoot = null) {
100
119
  const old = previous[name] ?? {};
101
120
  let recordedPath = old.skillPath ?? skillPath;
102
- if (canonical && /^\.(claude|codex|hermes|pi|qoder|trae)\/skills\//.test(recordedPath)) recordedPath = skillPath;
121
+ if (canonical && /^\.(claude|codex|cursor|hermes|pi|qoder|trae)\/skills\//.test(recordedPath)) recordedPath = skillPath;
103
122
  const result = { source: old.source ?? "project", sourceType: old.sourceType ?? "local", skillPath: recordedPath, effectiveHash: treeHash(directory) };
104
- if (old.upstreamHash ?? old.computedHash) result.upstreamHash = old.upstreamHash ?? old.computedHash;
123
+ const sourceInfo = sources[result.source];
124
+ if (sourceInfo?.revision) result.sourceRevision = sourceInfo.revision;
125
+ let upstreamDirectory = null;
126
+ if (upstreamRoot && result.source === "mattpocock/skills") {
127
+ upstreamDirectory = path.join(upstreamRoot, recordedPath).replace(/\/SKILL\.md$/, "");
128
+ if (!existsSync(upstreamDirectory)) throw new TypeError(`${name} 的上游路径不存在: ${recordedPath}`);
129
+ result.upstreamHash = treeHash(upstreamDirectory);
130
+ } else if (old.upstreamHash ?? old.computedHash) result.upstreamHash = old.upstreamHash ?? old.computedHash;
131
+ if (result.source === "mattpocock/skills" && result.upstreamHash && result.effectiveHash !== result.upstreamHash) result.adaptationRef = "docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md";
105
132
  return result;
106
133
  }
107
134
  export function updateSkillLock(arguments_ = process.argv.slice(2)) {
108
- const oldLock = parseLock(); const previous = priorMetadata(oldLock);
135
+ const oldLock = parseLock(); const previous = priorMetadata(oldLock); const sources = sourceRevisionMap(oldLock, arguments_); const upstreamRoot = option(arguments_, "upstream-root");
136
+ if (upstreamRoot && !existsSync(upstreamRoot)) throw new TypeError(`--upstream-root 不存在: ${upstreamRoot}`);
109
137
  const additions = arguments_.filter((arg) => arg.startsWith("--add=")).map((arg) => arg.slice(6));
110
138
  const removals = new Set(arguments_.filter((arg) => arg.startsWith("--remove=")).map((arg) => arg.slice(9)));
111
139
  const platformAdds = arguments_.filter((arg) => arg.startsWith("--add-platform=")).map((arg) => arg.slice(15).split(":", 2));
@@ -117,7 +145,7 @@ export function updateSkillLock(arguments_ = process.argv.slice(2)) {
117
145
  if (unlocked.length) throw new TypeError(`发现未登记到 skills-lock.json 的已跟踪共享 skills: ${unlocked.join(", ")}\n确认新增后运行 scripts/update-skill-lock --add=<skill-name>`);
118
146
  const targets = [".agents/skills", ...PROJECTION_ROOTS];
119
147
  const shared = Object.fromEntries(sharedNames.map((name) => {
120
- const item = metadata(name, `.agents/skills/${name}/SKILL.md`, path.join(SOURCE_ROOT, name), previous, true); item.targets = targets; return [name, item];
148
+ const item = metadata(name, `.agents/skills/${name}/SKILL.md`, path.join(SOURCE_ROOT, name), previous, true, sources, upstreamRoot); item.targets = targets; return [name, item];
121
149
  }));
122
150
  const platform = {};
123
151
  for (const root of PROJECTION_ROOTS) {
@@ -126,9 +154,9 @@ export function updateSkillLock(arguments_ = process.argv.slice(2)) {
126
154
  if (!names.length) continue;
127
155
  const absentPlatform = names.filter((name) => !lstatSafe(path.join(location, name))?.isDirectory());
128
156
  if (absentPlatform.length) throw new TypeError(`锁文件声明的平台 skills 缺少内容 (${root}): ${absentPlatform.join(", ")}`);
129
- platform[root] = Object.fromEntries(names.map((name) => { const item = metadata(name, `${root}/${name}/SKILL.md`, path.join(location, name), previous); item.targets = [root]; return [name, item]; }));
157
+ platform[root] = Object.fromEntries(names.map((name) => { const item = metadata(name, `${root}/${name}/SKILL.md`, path.join(location, name), previous, false, sources, upstreamRoot); item.targets = [root]; return [name, item]; }));
130
158
  }
131
- const manifest = { version: 3, generatedBy: "scripts/update-skill-lock", canonicalRoot: ".agents/skills", projectionRoots: PROJECTION_ROOTS, skills: { shared, platform } };
159
+ const manifest = { version: 3, generatedBy: "scripts/update-skill-lock", canonicalRoot: ".agents/skills", projectionRoots: PROJECTION_ROOTS, sources, skills: { shared, platform } };
132
160
  const rendered = `${JSON.stringify(manifest, null, 2)}\n`;
133
161
  if (arguments_.includes("--check")) { if (!existsSync(LOCK_PATH) || readFileSync(LOCK_PATH, "utf8") !== rendered) throw new TypeError("skills-lock.json is stale; run scripts/update-skill-lock"); return "skills-lock.json matches distributed skills"; }
134
162
  writeFileSync(LOCK_PATH, rendered); return `updated skills-lock.json with ${sharedNames.length} shared skills and ${Object.values(platform).reduce((sum, group) => sum + Object.keys(group).length, 0)} platform skills`;
@@ -0,0 +1,51 @@
1
+ #!/usr/bin/env node
2
+ import { existsSync, readFileSync } from "node:fs";
3
+ import { spawnSync } from "node:child_process";
4
+ import path from "node:path";
5
+ import { parseArgs } from "node:util";
6
+ import { fileURLToPath } from "node:url";
7
+ import { parseDocument } from "./vendor/yaml.mjs";
8
+
9
+ const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
10
+ const schemaPath = path.join(root, "docs/process/schemas/frontend-implementation-evidence.schema.json");
11
+ const validator = String.raw`
12
+ import json
13
+ import sys
14
+ from jsonschema import Draft202012Validator
15
+ schema = json.load(open(sys.argv[1], encoding="utf-8"))
16
+ value = json.load(sys.stdin)
17
+ errors = sorted(Draft202012Validator(schema).iter_errors(value), key=lambda error: list(error.absolute_path))
18
+ for error in errors:
19
+ location = ".".join(str(part) for part in error.absolute_path) or "<root>"
20
+ print(f"{location}: {error.message}", file=sys.stderr)
21
+ sys.exit(1 if errors else 0)
22
+ `;
23
+
24
+ try {
25
+ const { values, positionals } = parseArgs({ options: { "allow-template": { type: "boolean" } }, allowPositionals: true, strict: true });
26
+ if (positionals.length !== 1) throw new TypeError("用法: scripts/verify-frontend-implementation-evidence [--allow-template] <file.yaml>");
27
+ const document = parseDocument(readFileSync(path.resolve(positionals[0]), "utf8"), { maxAliasCount: 0, uniqueKeys: true });
28
+ if (document.errors.length) throw new TypeError(document.errors[0].message);
29
+ const value = document.toJS({ maxAliasCount: 0 });
30
+ const result = spawnSync("python3", ["-c", validator, schemaPath], { cwd: root, encoding: "utf8", input: JSON.stringify(value) });
31
+ if (result.status !== 0) throw new TypeError(`${result.stdout}${result.stderr}`.trim());
32
+ if (!values["allow-template"] && value.template !== false) throw new TypeError("正式证据必须设置 template: false");
33
+ if (!values["allow-template"] && value.status !== "approved") throw new TypeError("正式证据必须达到 status: approved");
34
+ const serialized = JSON.stringify(value);
35
+ if (!values["allow-template"] && /REPLACE_ME|<[^>]+>|docs\/\.scratch\/example/.test(serialized)) throw new TypeError("正式证据不得保留模板占位值");
36
+ if (!values["allow-template"]) {
37
+ for (const field of ["prototype_ref", "spec_ref"]) {
38
+ const reference = value[field];
39
+ if (!/^https?:\/\//.test(reference) && !existsSync(path.resolve(root, reference))) throw new TypeError(`${field} 不可读取: ${reference}`);
40
+ }
41
+ }
42
+ if (!values["allow-template"] && value.kind === "verification") {
43
+ if (value.console_warning_check !== "pass") throw new TypeError("前端验证必须通过 console warning 检查");
44
+ if (value.uncovered_differences.length > 0 && !value.difference_owner) throw new TypeError("存在未覆盖差异时必须填写 difference_owner");
45
+ if (value.independent_review?.status !== "approved") throw new TypeError("前端验证必须通过独立 UI fidelity review");
46
+ }
47
+ process.stdout.write(`前端实现还原 ${value.kind} 验证通过\n`);
48
+ } catch (error) {
49
+ process.stderr.write(`前端实现还原证据验证失败: ${error.message}\n`);
50
+ process.exitCode = 1;
51
+ }
@@ -0,0 +1,37 @@
1
+ #!/usr/bin/env node
2
+ import { readFileSync } from "node:fs";
3
+ import { spawnSync } from "node:child_process";
4
+ import path from "node:path";
5
+ import { parseArgs } from "node:util";
6
+ import { fileURLToPath } from "node:url";
7
+ import { parseDocument } from "./vendor/yaml.mjs";
8
+
9
+ const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
10
+ const schemaPath = path.join(root, "docs/process/schemas/lifecycle-checkpoint.schema.json");
11
+ const validator = String.raw`
12
+ import json
13
+ import sys
14
+ from jsonschema import Draft202012Validator
15
+ schema = json.load(open(sys.argv[1], encoding="utf-8"))
16
+ value = json.load(sys.stdin)
17
+ errors = sorted(Draft202012Validator(schema).iter_errors(value), key=lambda error: list(error.absolute_path))
18
+ for error in errors:
19
+ location = ".".join(str(part) for part in error.absolute_path) or "<root>"
20
+ print(f"{location}: {error.message}", file=sys.stderr)
21
+ sys.exit(1 if errors else 0)
22
+ `;
23
+
24
+ try {
25
+ const { positionals } = parseArgs({ allowPositionals: true, strict: true });
26
+ if (positionals.length !== 1) throw new TypeError("用法: scripts/verify-lifecycle-checkpoint <checkpoint.yaml|checkpoint.json>");
27
+ const sourcePath = path.resolve(positionals[0]);
28
+ const document = parseDocument(readFileSync(sourcePath, "utf8"), { maxAliasCount: 0, uniqueKeys: true });
29
+ if (document.errors.length) throw new TypeError(document.errors[0].message);
30
+ const value = document.toJS({ maxAliasCount: 0 });
31
+ const result = spawnSync("python3", ["-c", validator, schemaPath], { cwd: root, encoding: "utf8", input: JSON.stringify(value) });
32
+ if (result.status !== 0) throw new TypeError(`${result.stdout}${result.stderr}`.trim());
33
+ process.stdout.write("生命周期 checkpoint 验证通过\n");
34
+ } catch (error) {
35
+ process.stderr.write(`生命周期 checkpoint 验证失败: ${error.message}\n`);
36
+ process.exitCode = 1;
37
+ }
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+ import { validateDefaultSkillRegistry } from "./lib/skill-registry.mjs";
3
+
4
+ try {
5
+ const result = validateDefaultSkillRegistry();
6
+ process.stdout.write(`技能路由注册表校验通过(${result.status},${result.skill_count} 个共享,${result.platform_count} 个平台)\n`);
7
+ } catch (error) {
8
+ process.stderr.write(`技能路由注册表校验失败: ${error.message}\n`);
9
+ process.exitCode = 1;
10
+ }
@@ -5,7 +5,7 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
5
  cd "$ROOT_DIR"
6
6
  node -e 'const [major]=process.versions.node.split(".").map(Number); if (major < 22 || major >= 27) { console.error("模板工具需要 Node >=22 <27"); process.exit(1); }'
7
7
 
8
- required_files=(yss-project.yaml AGENTS.md CONTEXT.md skills-lock.json docs/process/lifecycle-registry.yaml docs/process/lifecycle-registry-baseline.json docs/process/maintenance-intensity.yaml scripts/repository-mode scripts/implementation-path-policy scripts/sync-skills scripts/update-skill-lock scripts/generate-lifecycle-artifacts scripts/verify-lifecycle-registry scripts/verify-maintenance-checkpoint scripts/verify-maintenance-intensity-scenarios scripts/verify-yss-dto-openapi-profile scripts/verify-yss-dto-openapi-scenarios scripts/export-yss-skills)
8
+ required_files=(yss-project.yaml AGENTS.md CONTEXT.md skills-lock.json docs/agents/yss-skill-registry.yaml docs/process/lifecycle-registry.yaml docs/process/lifecycle-registry-baseline.json docs/process/maintenance-intensity.yaml docs/process/schemas/lifecycle-checkpoint.schema.json docs/process/schemas/frontend-implementation-evidence.schema.json docs/process/templates/lifecycle-checkpoint-template.yaml docs/process/templates/frontend-implementation-plan-template.yaml docs/process/templates/frontend-implementation-verification-template.yaml scripts/repository-mode scripts/implementation-path-policy scripts/sync-skills scripts/update-skill-lock scripts/generate-lifecycle-artifacts scripts/verify-lifecycle-registry scripts/verify-lifecycle-checkpoint scripts/verify-frontend-implementation-evidence scripts/verify-maintenance-checkpoint scripts/verify-maintenance-intensity-scenarios scripts/verify-skill-registry scripts/verify-yss-dto-openapi-profile scripts/verify-yss-dto-openapi-scenarios scripts/export-yss-skills)
9
9
  for required in "${required_files[@]}"; do test -f "$required" || { echo "缺少模板必需文件: $required" >&2; exit 1; }; done
10
10
 
11
11
  repository_mode="$(scripts/repository-mode)"
@@ -18,9 +18,13 @@ fi
18
18
 
19
19
  scripts/sync-skills --check
20
20
  scripts/update-skill-lock --check
21
+ scripts/verify-skill-registry
21
22
  scripts/verify-yss-dto-openapi-profile
22
23
  scripts/verify-yss-dto-openapi-scenarios
23
24
  scripts/verify-lifecycle-registry
25
+ scripts/verify-lifecycle-checkpoint docs/process/templates/lifecycle-checkpoint-template.yaml
26
+ scripts/verify-frontend-implementation-evidence --allow-template docs/process/templates/frontend-implementation-plan-template.yaml
27
+ scripts/verify-frontend-implementation-evidence --allow-template docs/process/templates/frontend-implementation-verification-template.yaml
24
28
  scripts/verify-lifecycle-scenarios
25
29
  scripts/verify-maintenance-intensity-scenarios
26
30
  scripts/verify-governance-release
@@ -33,7 +37,7 @@ scripts/verify-yss-ui-scenarios
33
37
  scripts/verify-openapi-yaml-first-scenarios
34
38
  scripts/verify-openapi-json-handoff-scenarios
35
39
 
36
- for entry in scripts/sync-skills scripts/update-skill-lock scripts/generate-lifecycle-artifacts scripts/verify-lifecycle-registry scripts/verify-maintenance-checkpoint scripts/verify-maintenance-intensity-scenarios scripts/verify-yss-dto-openapi-profile scripts/verify-yss-dto-openapi-scenarios scripts/verify-lifecycle-scenarios scripts/verify-matt-yss-integration-scenarios scripts/verify-prototype-backend-scaffold-scenarios scripts/verify-yss-router-scenarios scripts/verify-openapi-yaml-first-scenarios scripts/verify-openapi-json-handoff-scenarios scripts/export-yss-skills; do node --check "$entry"; done
40
+ for entry in scripts/sync-skills scripts/update-skill-lock scripts/generate-lifecycle-artifacts scripts/verify-lifecycle-registry scripts/verify-lifecycle-checkpoint scripts/verify-frontend-implementation-evidence scripts/verify-maintenance-checkpoint scripts/verify-maintenance-intensity-scenarios scripts/verify-skill-registry scripts/verify-yss-dto-openapi-profile scripts/verify-yss-dto-openapi-scenarios scripts/verify-lifecycle-scenarios scripts/verify-matt-yss-integration-scenarios scripts/verify-prototype-backend-scaffold-scenarios scripts/verify-yss-router-scenarios scripts/verify-openapi-yaml-first-scenarios scripts/verify-openapi-json-handoff-scenarios scripts/export-yss-skills; do node --check "$entry"; done
37
41
 
38
42
  legacy_runtime="ru""by"
39
43
  script_roots=(scripts)
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env node
2
+ import { existsSync, readFileSync } from "node:fs";
3
+ import { spawnSync } from "node:child_process";
4
+ import path from "node:path";
5
+ import { treeHash } from "./lib/skill-supply-chain.mjs";
6
+
7
+ const root = path.resolve(path.dirname(new URL(import.meta.url).pathname), "..");
8
+ const args = process.argv.slice(2);
9
+ const sourceRootArg = args.find((arg) => arg.startsWith("--source-root="))?.slice("--source-root=".length);
10
+ if (!sourceRootArg) {
11
+ process.stderr.write("用法: scripts/verify-upstream-skill-source --source-root=<上游 checkout>\n");
12
+ process.exit(2);
13
+ }
14
+ const sourceRoot = path.resolve(sourceRootArg);
15
+ const lock = JSON.parse(readFileSync(path.join(root, "skills-lock.json"), "utf8"));
16
+ const source = "mattpocock/skills";
17
+ const revision = lock.sources?.[source]?.revision;
18
+ if (!revision) throw new TypeError(`锁文件缺少 ${source} source revision`);
19
+ const git = spawnSync("git", ["-C", sourceRoot, "rev-parse", "HEAD"], { encoding: "utf8" });
20
+ if (git.status !== 0) throw new TypeError(`无法读取上游 checkout revision: ${sourceRoot}`);
21
+ if (git.stdout.trim() !== revision) throw new TypeError(`上游 revision 不匹配: expected=${revision} actual=${git.stdout.trim()}`);
22
+
23
+ const shared = lock.skills?.shared ?? {};
24
+ for (const [name, item] of Object.entries(shared)) {
25
+ if (item.source !== source) continue;
26
+ if (item.sourceRevision !== revision) throw new TypeError(`${name} 缺少一致的 sourceRevision`);
27
+ const directory = path.dirname(path.join(sourceRoot, item.skillPath));
28
+ if (!existsSync(directory)) throw new TypeError(`${name} 的上游路径不存在: ${item.skillPath}`);
29
+ const actualHash = treeHash(directory);
30
+ if (actualHash !== item.upstreamHash) throw new TypeError(`${name} upstreamHash 不匹配: expected=${item.upstreamHash} actual=${actualHash}`);
31
+ }
32
+ process.stdout.write(`上游 ${source}@${revision} 及其 skill hashes 验证通过\n`);