create-yss-spec 3.4.8 → 3.4.9

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 (365) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/template/.agents/skills/.strategic-design-skills-manifest.json +5 -5
  4. package/template/.agents/skills/alibaba-java-code-style/SKILL.md +2 -2
  5. package/template/.agents/skills/archify/SKILL.md +2 -19
  6. package/template/.agents/skills/archify/references/geometry-and-routing.md +20 -0
  7. package/template/.agents/skills/code-review/SKILL.md +3 -33
  8. package/template/.agents/skills/code-review/references/candidate-capture.md +33 -0
  9. package/template/.agents/skills/code-review/references/yss-review-standards.md +3 -5
  10. package/template/.agents/skills/codebase-design/SKILL.md +2 -2
  11. package/template/.agents/skills/competitive-intelligence/SKILL.md +1 -1
  12. package/template/.agents/skills/diagnosing-bugs/SKILL.md +6 -2
  13. package/template/.agents/skills/formily-foundation/SKILL.md +1 -1
  14. package/template/.agents/skills/formily-step-flow/SKILL.md +3 -2
  15. package/template/.agents/skills/frontend-commit/SKILL.md +6 -6
  16. package/template/.agents/skills/grilling/SKILL.md +2 -2
  17. package/template/.agents/skills/implement/SKILL.md +1 -1
  18. package/template/.agents/skills/implementation-repo-onboarding/SKILL.md +3 -3
  19. package/template/.agents/skills/implementation-repo-onboarding/references/write-scope.md +5 -0
  20. package/template/.agents/skills/improve-codebase-architecture/SKILL.md +10 -6
  21. package/template/.agents/skills/java-backend-commit/SKILL.md +5 -5
  22. package/template/.agents/skills/llm-wiki/SKILL.md +1 -1
  23. package/template/.agents/skills/prototype/SKILL.md +1 -1
  24. package/template/.agents/skills/prototype-review/SKILL.md +1 -1
  25. package/template/.agents/skills/resolving-merge-conflicts/SKILL.md +2 -2
  26. package/template/.agents/skills/tdd/SKILL.md +1 -1
  27. package/template/.agents/skills/to-questionnaire/SKILL.md +4 -2
  28. package/template/.agents/skills/to-spec/SKILL.md +3 -3
  29. package/template/.agents/skills/to-tickets/SKILL.md +7 -7
  30. package/template/.agents/skills/using-git-worktrees/SKILL.md +13 -11
  31. package/template/.agents/skills/wait-what/SKILL.md +1 -1
  32. package/template/.agents/skills/wayfinder/SKILL.md +4 -2
  33. package/template/.agents/skills/writing-for-agents/SKILL.md +9 -73
  34. package/template/.agents/skills/writing-for-agents/references/writing-principles.md +76 -0
  35. package/template/.agents/skills/yss-api-integration/SKILL.md +2 -2
  36. package/template/.agents/skills/yss-application/SKILL.md +12 -0
  37. package/template/.agents/skills/yss-audit-log/SKILL.md +3 -1
  38. package/template/.agents/skills/yss-audit-log/assets/AuditLogAspect.java +1 -0
  39. package/template/.agents/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +1 -0
  40. package/template/.agents/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +1 -0
  41. package/template/.agents/skills/yss-audit-log/assets/YssAuditPublishService.java +1 -0
  42. package/template/.agents/skills/yss-backend-spec-review/SKILL.md +6 -0
  43. package/template/.agents/skills/yss-backend-spec-review/references/check-inputs.md +2 -2
  44. package/template/.agents/skills/yss-backend-spec-review/references/standards-coverage.md +39 -0
  45. package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +5 -34
  46. package/template/.agents/skills/yss-ddd-scaffold-generator/references/command-examples.md +32 -0
  47. package/template/.agents/skills/yss-ddd-scaffold-generator/references/generator-maintenance.md +7 -0
  48. package/template/.agents/skills/yss-design-system/SKILL.md +2 -2
  49. package/template/.agents/skills/yss-domain/SKILL.md +17 -5
  50. package/template/.agents/skills/yss-domain/references/domain-layer-guide.md +2 -2
  51. package/template/.agents/skills/yss-domain/references/existing-project.md +5 -0
  52. package/template/.agents/skills/yss-dto/SKILL.md +13 -10
  53. package/template/.agents/skills/yss-dto/references/wire-validation-checklist.md +14 -0
  54. package/template/.agents/skills/yss-exception/SKILL.md +2 -2
  55. package/template/.agents/skills/yss-formily-schema-generator/SKILL.md +12 -12
  56. package/template/.agents/skills/yss-hook/SKILL.md +8 -44
  57. package/template/.agents/skills/yss-hook/references/use-request.md +42 -0
  58. package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +1 -5
  59. package/template/.agents/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +7 -0
  60. package/template/.agents/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +5 -1
  61. package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
  62. package/template/.agents/skills/yss-mybatis/SKILL.md +10 -0
  63. package/template/.agents/skills/yss-openapi-draft-review/SKILL.md +1 -1
  64. package/template/.agents/skills/yss-openapi-governance/SKILL.md +1 -32
  65. package/template/.agents/skills/yss-openapi-governance/references/governance-output.md +34 -0
  66. package/template/.agents/skills/yss-product-lifecycle/SKILL.md +1 -1
  67. package/template/.agents/skills/yss-prototype-stage/SKILL.md +1 -5
  68. package/template/.agents/skills/yss-prototype-stage/references/existing-ui-entry.md +7 -0
  69. package/template/.agents/skills/yss-repository/SKILL.md +13 -1
  70. package/template/.agents/skills/yss-repository/references/profiles/existing-domain-driven-maven.md +7 -0
  71. package/template/.agents/skills/yss-repository/references/profiles/existing-layered-mvc-maven.md +7 -0
  72. package/template/.agents/skills/yss-repository/tests/profile-routing.test.mjs +3 -1
  73. package/template/.agents/skills/yss-stage-decision/SKILL.md +1 -1
  74. package/template/.agents/skills/yss-stage-decision/references/strategic-handoff-routing.md +3 -0
  75. package/template/.agents/skills/yss-tactical-design/SKILL.md +1 -3
  76. package/template/.agents/skills/yss-tactical-design/references/strategic-handoff-routing.md +5 -0
  77. package/template/.agents/skills/yss-ui-business-page-generation/SKILL.md +5 -3
  78. package/template/.agents/skills/yss-validation/SKILL.md +1 -1
  79. package/template/.agents/skills/yss-web-controller/SKILL.md +16 -7
  80. package/template/.agents/skills/ytable-usage/SKILL.md +2 -2
  81. package/template/.codex/skills/alibaba-java-code-style/SKILL.md +2 -2
  82. package/template/.codex/skills/archify/SKILL.md +2 -19
  83. package/template/.codex/skills/archify/references/geometry-and-routing.md +20 -0
  84. package/template/.codex/skills/code-review/SKILL.md +3 -33
  85. package/template/.codex/skills/code-review/references/candidate-capture.md +33 -0
  86. package/template/.codex/skills/code-review/references/yss-review-standards.md +3 -5
  87. package/template/.codex/skills/codebase-design/SKILL.md +2 -2
  88. package/template/.codex/skills/competitive-intelligence/SKILL.md +1 -1
  89. package/template/.codex/skills/data-analytics/mcp/server.cjs +2 -1
  90. package/template/.codex/skills/data-analytics/skills/analyze-data-quality/SKILL.md +9 -32
  91. package/template/.codex/skills/data-analytics/skills/analyze-data-quality/references/quality-checks.md +29 -0
  92. package/template/.codex/skills/data-analytics/skills/build-dashboard/SKILL.md +1 -1
  93. package/template/.codex/skills/data-analytics/skills/build-report/SKILL.md +4 -4
  94. package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/SKILL.md +12 -22
  95. package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/cli.py +5 -10
  96. package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/scripts/report_to_google_doc/plan.py +47 -49
  97. package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-doc/tests/test_delivery_plan.py +45 -0
  98. package/template/.codex/skills/data-analytics/skills/build-report/report-to-google-slides/SKILL.md +4 -5
  99. package/template/.codex/skills/data-analytics/skills/build-report/report-to-pdf/SKILL.md +1 -1
  100. package/template/.codex/skills/data-analytics/skills/build-report/specifications/mcp-app-report.md +1 -1
  101. package/template/.codex/skills/data-analytics/skills/design-kpis/SKILL.md +1 -1
  102. package/template/.codex/skills/data-analytics/skills/gather-business-context/SKILL.md +1 -1
  103. package/template/.codex/skills/data-analytics/skills/index/SKILL.md +4 -4
  104. package/template/.codex/skills/data-analytics/skills/jupyter-notebooks/SKILL.md +1 -1
  105. package/template/.codex/skills/data-analytics/skills/kpi-reporting/SKILL.md +2 -2
  106. package/template/.codex/skills/data-analytics/skills/market-sizing/SKILL.md +1 -1
  107. package/template/.codex/skills/data-analytics/skills/metric-diagnostics/SKILL.md +1 -1
  108. package/template/.codex/skills/data-analytics/skills/product-business-analysis/SKILL.md +1 -1
  109. package/template/.codex/skills/data-analytics/skills/spreadsheets/SKILL.md +4 -4
  110. package/template/.codex/skills/data-analytics/skills/user-context/SKILL.md +16 -14
  111. package/template/.codex/skills/data-analytics/skills/user-context/plugin-author-config/automation-config.md +1 -1
  112. package/template/.codex/skills/data-analytics/skills/user-context/references/onboarding-examples.md +1 -1
  113. package/template/.codex/skills/data-analytics/skills/user-context/references/onboarding.md +7 -7
  114. package/template/.codex/skills/data-analytics/skills/user-context/references/source-category-runtime.md +7 -7
  115. package/template/.codex/skills/data-analytics/skills/user-context/scripts/data_analytics_preflight.py +4 -2
  116. package/template/.codex/skills/data-analytics/skills/user-context/scripts/validate_user_context_preflight.py +5 -5
  117. package/template/.codex/skills/data-analytics/skills/user-context/tests/test_state_helpers.py +3 -3
  118. package/template/.codex/skills/data-analytics/skills/validate-data/SKILL.md +7 -71
  119. package/template/.codex/skills/data-analytics/skills/validate-data/references/validation-methods.md +70 -0
  120. package/template/.codex/skills/data-analytics/skills/visualize-data/SKILL.md +4 -4
  121. package/template/.codex/skills/data-analytics/src/analytics-app/App.tsx +1 -1
  122. package/template/.codex/skills/data-analytics/src/analytics-app-core.md +1 -1
  123. package/template/.codex/skills/diagnosing-bugs/SKILL.md +6 -2
  124. package/template/.codex/skills/formily-foundation/SKILL.md +1 -1
  125. package/template/.codex/skills/formily-step-flow/SKILL.md +3 -2
  126. package/template/.codex/skills/frontend-commit/SKILL.md +6 -6
  127. package/template/.codex/skills/grilling/SKILL.md +2 -2
  128. package/template/.codex/skills/implement/SKILL.md +1 -1
  129. package/template/.codex/skills/implementation-repo-onboarding/SKILL.md +3 -3
  130. package/template/.codex/skills/implementation-repo-onboarding/references/write-scope.md +5 -0
  131. package/template/.codex/skills/improve-codebase-architecture/SKILL.md +10 -6
  132. package/template/.codex/skills/java-backend-commit/SKILL.md +5 -5
  133. package/template/.codex/skills/llm-wiki/SKILL.md +1 -1
  134. package/template/.codex/skills/product-design/references/critical-overrides.md +3 -4
  135. package/template/.codex/skills/product-design/skills/audit/SKILL.md +1 -1
  136. package/template/.codex/skills/product-design/skills/design-qa/SKILL.md +1 -1
  137. package/template/.codex/skills/product-design/skills/get-context/SKILL.md +2 -1
  138. package/template/.codex/skills/product-design/skills/ideate/SKILL.md +2 -50
  139. package/template/.codex/skills/product-design/skills/ideate/references/image-prompt-patterns.md +51 -0
  140. package/template/.codex/skills/product-design/skills/image-to-code/SKILL.md +6 -6
  141. package/template/.codex/skills/product-design/skills/index/SKILL.md +2 -2
  142. package/template/.codex/skills/product-design/skills/prototype/SKILL.md +6 -6
  143. package/template/.codex/skills/product-design/skills/url-to-code/SKILL.md +1 -1
  144. package/template/.codex/skills/product-design/skills/user-context/SKILL.md +1 -1
  145. package/template/.codex/skills/prototype/SKILL.md +1 -1
  146. package/template/.codex/skills/prototype-review/SKILL.md +1 -1
  147. package/template/.codex/skills/resolving-merge-conflicts/SKILL.md +2 -2
  148. package/template/.codex/skills/tdd/SKILL.md +1 -1
  149. package/template/.codex/skills/to-questionnaire/SKILL.md +4 -2
  150. package/template/.codex/skills/to-spec/SKILL.md +3 -3
  151. package/template/.codex/skills/to-tickets/SKILL.md +7 -7
  152. package/template/.codex/skills/using-git-worktrees/SKILL.md +13 -11
  153. package/template/.codex/skills/wait-what/SKILL.md +1 -1
  154. package/template/.codex/skills/wayfinder/SKILL.md +4 -2
  155. package/template/.codex/skills/writing-for-agents/SKILL.md +9 -73
  156. package/template/.codex/skills/writing-for-agents/references/writing-principles.md +76 -0
  157. package/template/.codex/skills/yss-api-integration/SKILL.md +2 -2
  158. package/template/.codex/skills/yss-application/SKILL.md +12 -0
  159. package/template/.codex/skills/yss-audit-log/SKILL.md +3 -1
  160. package/template/.codex/skills/yss-audit-log/assets/AuditLogAspect.java +1 -0
  161. package/template/.codex/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +1 -0
  162. package/template/.codex/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +1 -0
  163. package/template/.codex/skills/yss-audit-log/assets/YssAuditPublishService.java +1 -0
  164. package/template/.codex/skills/yss-backend-spec-review/SKILL.md +6 -0
  165. package/template/.codex/skills/yss-backend-spec-review/references/check-inputs.md +2 -2
  166. package/template/.codex/skills/yss-backend-spec-review/references/standards-coverage.md +39 -0
  167. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +5 -34
  168. package/template/.codex/skills/yss-ddd-scaffold-generator/references/command-examples.md +32 -0
  169. package/template/.codex/skills/yss-ddd-scaffold-generator/references/generator-maintenance.md +7 -0
  170. package/template/.codex/skills/yss-design-system/SKILL.md +2 -2
  171. package/template/.codex/skills/yss-domain/SKILL.md +17 -5
  172. package/template/.codex/skills/yss-domain/references/domain-layer-guide.md +2 -2
  173. package/template/.codex/skills/yss-domain/references/existing-project.md +5 -0
  174. package/template/.codex/skills/yss-dto/SKILL.md +13 -10
  175. package/template/.codex/skills/yss-dto/references/wire-validation-checklist.md +14 -0
  176. package/template/.codex/skills/yss-exception/SKILL.md +2 -2
  177. package/template/.codex/skills/yss-formily-schema-generator/SKILL.md +12 -12
  178. package/template/.codex/skills/yss-hook/SKILL.md +8 -44
  179. package/template/.codex/skills/yss-hook/references/use-request.md +42 -0
  180. package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +1 -5
  181. package/template/.codex/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +7 -0
  182. package/template/.codex/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +5 -1
  183. package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
  184. package/template/.codex/skills/yss-mybatis/SKILL.md +10 -0
  185. package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +1 -1
  186. package/template/.codex/skills/yss-openapi-governance/SKILL.md +1 -32
  187. package/template/.codex/skills/yss-openapi-governance/references/governance-output.md +34 -0
  188. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +1 -1
  189. package/template/.codex/skills/yss-prototype-stage/SKILL.md +1 -5
  190. package/template/.codex/skills/yss-prototype-stage/references/existing-ui-entry.md +7 -0
  191. package/template/.codex/skills/yss-repository/SKILL.md +13 -1
  192. package/template/.codex/skills/yss-repository/references/profiles/existing-domain-driven-maven.md +7 -0
  193. package/template/.codex/skills/yss-repository/references/profiles/existing-layered-mvc-maven.md +7 -0
  194. package/template/.codex/skills/yss-repository/tests/profile-routing.test.mjs +3 -1
  195. package/template/.codex/skills/yss-stage-decision/SKILL.md +1 -1
  196. package/template/.codex/skills/yss-stage-decision/references/strategic-handoff-routing.md +3 -0
  197. package/template/.codex/skills/yss-tactical-design/SKILL.md +1 -3
  198. package/template/.codex/skills/yss-tactical-design/references/strategic-handoff-routing.md +5 -0
  199. package/template/.codex/skills/yss-ui-business-page-generation/SKILL.md +5 -3
  200. package/template/.codex/skills/yss-validation/SKILL.md +1 -1
  201. package/template/.codex/skills/yss-web-controller/SKILL.md +16 -7
  202. package/template/.codex/skills/ytable-usage/SKILL.md +2 -2
  203. package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +2 -2
  204. package/template/.cursor/skills/archify/SKILL.md +2 -19
  205. package/template/.cursor/skills/archify/references/geometry-and-routing.md +20 -0
  206. package/template/.cursor/skills/code-review/SKILL.md +3 -33
  207. package/template/.cursor/skills/code-review/references/candidate-capture.md +33 -0
  208. package/template/.cursor/skills/code-review/references/yss-review-standards.md +3 -5
  209. package/template/.cursor/skills/codebase-design/SKILL.md +2 -2
  210. package/template/.cursor/skills/competitive-intelligence/SKILL.md +1 -1
  211. package/template/.cursor/skills/diagnosing-bugs/SKILL.md +6 -2
  212. package/template/.cursor/skills/formily-foundation/SKILL.md +1 -1
  213. package/template/.cursor/skills/formily-step-flow/SKILL.md +3 -2
  214. package/template/.cursor/skills/frontend-commit/SKILL.md +6 -6
  215. package/template/.cursor/skills/grilling/SKILL.md +2 -2
  216. package/template/.cursor/skills/implement/SKILL.md +1 -1
  217. package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +3 -3
  218. package/template/.cursor/skills/implementation-repo-onboarding/references/write-scope.md +5 -0
  219. package/template/.cursor/skills/improve-codebase-architecture/SKILL.md +10 -6
  220. package/template/.cursor/skills/java-backend-commit/SKILL.md +5 -5
  221. package/template/.cursor/skills/llm-wiki/SKILL.md +1 -1
  222. package/template/.cursor/skills/prototype/SKILL.md +1 -1
  223. package/template/.cursor/skills/prototype-review/SKILL.md +1 -1
  224. package/template/.cursor/skills/resolving-merge-conflicts/SKILL.md +2 -2
  225. package/template/.cursor/skills/tdd/SKILL.md +1 -1
  226. package/template/.cursor/skills/to-questionnaire/SKILL.md +4 -2
  227. package/template/.cursor/skills/to-spec/SKILL.md +3 -3
  228. package/template/.cursor/skills/to-tickets/SKILL.md +7 -7
  229. package/template/.cursor/skills/using-git-worktrees/SKILL.md +13 -11
  230. package/template/.cursor/skills/wait-what/SKILL.md +1 -1
  231. package/template/.cursor/skills/wayfinder/SKILL.md +4 -2
  232. package/template/.cursor/skills/writing-for-agents/SKILL.md +9 -73
  233. package/template/.cursor/skills/writing-for-agents/references/writing-principles.md +76 -0
  234. package/template/.cursor/skills/yss-api-integration/SKILL.md +2 -2
  235. package/template/.cursor/skills/yss-application/SKILL.md +12 -0
  236. package/template/.cursor/skills/yss-audit-log/SKILL.md +3 -1
  237. package/template/.cursor/skills/yss-audit-log/assets/AuditLogAspect.java +1 -0
  238. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +1 -0
  239. package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +1 -0
  240. package/template/.cursor/skills/yss-audit-log/assets/YssAuditPublishService.java +1 -0
  241. package/template/.cursor/skills/yss-backend-spec-review/SKILL.md +6 -0
  242. package/template/.cursor/skills/yss-backend-spec-review/references/check-inputs.md +2 -2
  243. package/template/.cursor/skills/yss-backend-spec-review/references/standards-coverage.md +39 -0
  244. package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +5 -34
  245. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/command-examples.md +32 -0
  246. package/template/.cursor/skills/yss-ddd-scaffold-generator/references/generator-maintenance.md +7 -0
  247. package/template/.cursor/skills/yss-design-system/SKILL.md +2 -2
  248. package/template/.cursor/skills/yss-domain/SKILL.md +17 -5
  249. package/template/.cursor/skills/yss-domain/references/domain-layer-guide.md +2 -2
  250. package/template/.cursor/skills/yss-domain/references/existing-project.md +5 -0
  251. package/template/.cursor/skills/yss-dto/SKILL.md +13 -10
  252. package/template/.cursor/skills/yss-dto/references/wire-validation-checklist.md +14 -0
  253. package/template/.cursor/skills/yss-exception/SKILL.md +2 -2
  254. package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +12 -12
  255. package/template/.cursor/skills/yss-hook/SKILL.md +8 -44
  256. package/template/.cursor/skills/yss-hook/references/use-request.md +42 -0
  257. package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +1 -5
  258. package/template/.cursor/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +7 -0
  259. package/template/.cursor/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +5 -1
  260. package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
  261. package/template/.cursor/skills/yss-mybatis/SKILL.md +10 -0
  262. package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +1 -1
  263. package/template/.cursor/skills/yss-openapi-governance/SKILL.md +1 -32
  264. package/template/.cursor/skills/yss-openapi-governance/references/governance-output.md +34 -0
  265. package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +1 -1
  266. package/template/.cursor/skills/yss-prototype-stage/SKILL.md +1 -5
  267. package/template/.cursor/skills/yss-prototype-stage/references/existing-ui-entry.md +7 -0
  268. package/template/.cursor/skills/yss-repository/SKILL.md +13 -1
  269. package/template/.cursor/skills/yss-repository/references/profiles/existing-domain-driven-maven.md +7 -0
  270. package/template/.cursor/skills/yss-repository/references/profiles/existing-layered-mvc-maven.md +7 -0
  271. package/template/.cursor/skills/yss-repository/tests/profile-routing.test.mjs +3 -1
  272. package/template/.cursor/skills/yss-stage-decision/SKILL.md +1 -1
  273. package/template/.cursor/skills/yss-stage-decision/references/strategic-handoff-routing.md +3 -0
  274. package/template/.cursor/skills/yss-tactical-design/SKILL.md +1 -3
  275. package/template/.cursor/skills/yss-tactical-design/references/strategic-handoff-routing.md +5 -0
  276. package/template/.cursor/skills/yss-ui-business-page-generation/SKILL.md +5 -3
  277. package/template/.cursor/skills/yss-validation/SKILL.md +1 -1
  278. package/template/.cursor/skills/yss-web-controller/SKILL.md +16 -7
  279. package/template/.cursor/skills/ytable-usage/SKILL.md +2 -2
  280. package/template/.pi/skills/alibaba-java-code-style/SKILL.md +2 -2
  281. package/template/.pi/skills/archify/SKILL.md +2 -19
  282. package/template/.pi/skills/archify/references/geometry-and-routing.md +20 -0
  283. package/template/.pi/skills/code-review/SKILL.md +3 -33
  284. package/template/.pi/skills/code-review/references/candidate-capture.md +33 -0
  285. package/template/.pi/skills/code-review/references/yss-review-standards.md +3 -5
  286. package/template/.pi/skills/codebase-design/SKILL.md +2 -2
  287. package/template/.pi/skills/competitive-intelligence/SKILL.md +1 -1
  288. package/template/.pi/skills/diagnosing-bugs/SKILL.md +6 -2
  289. package/template/.pi/skills/formily-foundation/SKILL.md +1 -1
  290. package/template/.pi/skills/formily-step-flow/SKILL.md +3 -2
  291. package/template/.pi/skills/frontend-commit/SKILL.md +6 -6
  292. package/template/.pi/skills/grilling/SKILL.md +2 -2
  293. package/template/.pi/skills/implement/SKILL.md +1 -1
  294. package/template/.pi/skills/implementation-repo-onboarding/SKILL.md +3 -3
  295. package/template/.pi/skills/implementation-repo-onboarding/references/write-scope.md +5 -0
  296. package/template/.pi/skills/improve-codebase-architecture/SKILL.md +10 -6
  297. package/template/.pi/skills/java-backend-commit/SKILL.md +5 -5
  298. package/template/.pi/skills/llm-wiki/SKILL.md +1 -1
  299. package/template/.pi/skills/prototype/SKILL.md +1 -1
  300. package/template/.pi/skills/prototype-review/SKILL.md +1 -1
  301. package/template/.pi/skills/resolving-merge-conflicts/SKILL.md +2 -2
  302. package/template/.pi/skills/tdd/SKILL.md +1 -1
  303. package/template/.pi/skills/to-questionnaire/SKILL.md +4 -2
  304. package/template/.pi/skills/to-spec/SKILL.md +3 -3
  305. package/template/.pi/skills/to-tickets/SKILL.md +7 -7
  306. package/template/.pi/skills/using-git-worktrees/SKILL.md +13 -11
  307. package/template/.pi/skills/wait-what/SKILL.md +1 -1
  308. package/template/.pi/skills/wayfinder/SKILL.md +4 -2
  309. package/template/.pi/skills/writing-for-agents/SKILL.md +9 -73
  310. package/template/.pi/skills/writing-for-agents/references/writing-principles.md +76 -0
  311. package/template/.pi/skills/yss-api-integration/SKILL.md +2 -2
  312. package/template/.pi/skills/yss-application/SKILL.md +12 -0
  313. package/template/.pi/skills/yss-audit-log/SKILL.md +3 -1
  314. package/template/.pi/skills/yss-audit-log/assets/AuditLogAspect.java +1 -0
  315. package/template/.pi/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +1 -0
  316. package/template/.pi/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +1 -0
  317. package/template/.pi/skills/yss-audit-log/assets/YssAuditPublishService.java +1 -0
  318. package/template/.pi/skills/yss-backend-spec-review/SKILL.md +6 -0
  319. package/template/.pi/skills/yss-backend-spec-review/references/check-inputs.md +2 -2
  320. package/template/.pi/skills/yss-backend-spec-review/references/standards-coverage.md +39 -0
  321. package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +5 -34
  322. package/template/.pi/skills/yss-ddd-scaffold-generator/references/command-examples.md +32 -0
  323. package/template/.pi/skills/yss-ddd-scaffold-generator/references/generator-maintenance.md +7 -0
  324. package/template/.pi/skills/yss-design-system/SKILL.md +2 -2
  325. package/template/.pi/skills/yss-domain/SKILL.md +17 -5
  326. package/template/.pi/skills/yss-domain/references/domain-layer-guide.md +2 -2
  327. package/template/.pi/skills/yss-domain/references/existing-project.md +5 -0
  328. package/template/.pi/skills/yss-dto/SKILL.md +13 -10
  329. package/template/.pi/skills/yss-dto/references/wire-validation-checklist.md +14 -0
  330. package/template/.pi/skills/yss-exception/SKILL.md +2 -2
  331. package/template/.pi/skills/yss-formily-schema-generator/SKILL.md +12 -12
  332. package/template/.pi/skills/yss-hook/SKILL.md +8 -44
  333. package/template/.pi/skills/yss-hook/references/use-request.md +42 -0
  334. package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +1 -5
  335. package/template/.pi/skills/yss-implementation-contract-compiler/references/strategic-handoff-routing.md +7 -0
  336. package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +5 -1
  337. package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +2 -2
  338. package/template/.pi/skills/yss-mybatis/SKILL.md +10 -0
  339. package/template/.pi/skills/yss-openapi-draft-review/SKILL.md +1 -1
  340. package/template/.pi/skills/yss-openapi-governance/SKILL.md +1 -32
  341. package/template/.pi/skills/yss-openapi-governance/references/governance-output.md +34 -0
  342. package/template/.pi/skills/yss-product-lifecycle/SKILL.md +1 -1
  343. package/template/.pi/skills/yss-prototype-stage/SKILL.md +1 -5
  344. package/template/.pi/skills/yss-prototype-stage/references/existing-ui-entry.md +7 -0
  345. package/template/.pi/skills/yss-repository/SKILL.md +13 -1
  346. package/template/.pi/skills/yss-repository/references/profiles/existing-domain-driven-maven.md +7 -0
  347. package/template/.pi/skills/yss-repository/references/profiles/existing-layered-mvc-maven.md +7 -0
  348. package/template/.pi/skills/yss-repository/tests/profile-routing.test.mjs +3 -1
  349. package/template/.pi/skills/yss-stage-decision/SKILL.md +1 -1
  350. package/template/.pi/skills/yss-stage-decision/references/strategic-handoff-routing.md +3 -0
  351. package/template/.pi/skills/yss-tactical-design/SKILL.md +1 -3
  352. package/template/.pi/skills/yss-tactical-design/references/strategic-handoff-routing.md +5 -0
  353. package/template/.pi/skills/yss-ui-business-page-generation/SKILL.md +5 -3
  354. package/template/.pi/skills/yss-validation/SKILL.md +1 -1
  355. package/template/.pi/skills/yss-web-controller/SKILL.md +16 -7
  356. package/template/.pi/skills/ytable-usage/SKILL.md +2 -2
  357. package/template/docs/process/schemas/digital-human-task-package.schema.json +60 -4
  358. package/template/scripts/backend-standards-coverage +26 -0
  359. package/template/scripts/lib/backend-review.mjs +58 -20
  360. package/template/scripts/lib/backend-standards-coverage.mjs +237 -0
  361. package/template/scripts/lib/first-slice-artifacts.mjs +1 -1
  362. package/template/scripts/lib/lifecycle-transition.mjs +4 -1
  363. package/template/scripts/lib/profile-skill-sync.mjs +46 -5
  364. package/template/skills-lock.json +64 -62
  365. package/template.snapshot.json +4 -4
@@ -13,10 +13,13 @@ duplicates, join coverage, or source mismatches, use $analyze-data-quality as a
13
13
 
14
14
  ### User Context
15
15
 
16
- Mandatory pre-answer gate: Invoke `data-analytics:user-context` in preflight mode by loading [data-analytics:user-context](../user-context/SKILL.md) and running its preflight script before answering, searching connectors, retrieving evidence, creating artifacts, or drafting output. Do not look for a callable MCP tool named `data-analytics:user-context`. Use the returned `data_analytics_preflight` envelope as the source of truth for saved context, source-category mapping, semantic-layer registry, onboarding/final-response obligations, and conditional guidance; use saved context and semantic layers as source-selection inputs, not as substitutes for workflow-time reads from connected or provided sources. Do not read or reinterpret raw plugin state files unless preflight fails, declares required content omitted, local shell access is unavailable, or the user explicitly asks for raw state inspection.
16
+ Mandatory pre-answer gate: Invoke `data-analytics:user-context` in preflight mode by loading [data-analytics:user-context](../user-context/SKILL.md) and using its read-only preflight before source selection. Reuse the already loaded envelope within the same workflow while the resolved state paths, file digests, request mode and source scope are unchanged; re-read on change, missing context or explicit inspection. Do not look for a callable MCP tool named `data-analytics:user-context`. Use the returned `data_analytics_preflight` envelope as the source of truth for saved context, source-category mapping, semantic-layer registry, onboarding/final-response obligations, and conditional guidance; use saved context and semantic layers as source-selection inputs, not as substitutes for workflow-time reads from connected or provided sources. Do not read or reinterpret raw plugin state files unless preflight fails, declares required content omitted, local shell access is unavailable, or the user explicitly asks for raw state inspection.
17
17
 
18
18
  ## Workflow
19
19
 
20
+ Choose checks from the data grain, intended decision and known risk. Reuse fresh checks already covering the same source/query/transform; do not repeat the catalog. A notebook is needed only when reproducibility or multi-step analysis warrants it. Preserve blocking correctness findings and report material limitations.
21
+
22
+
20
23
  1. Inventory the artifact and claims.
21
24
 
22
25
  Identify the report, notebook, spreadsheet, SQL, dashboard, chart, pasted analysis, or recommendation being validated. Inspect source artifacts when a path, link, query, notebook, spreadsheet, or dashboard is referenced. Extract the main question, audience, decision, key claims, headline numbers, data sources, time windows, populations, filters, comparison baselines, and stated caveats. Verify that every metric or KPI requested by the user appears in the analysis or is explicitly marked unavailable, not applicable, or out of scope.
@@ -76,76 +79,9 @@ Mandatory pre-answer gate: Invoke `data-analytics:user-context` in preflight mod
76
79
  high-impact decisions, and externally shared analyses as higher-risk validation targets.
77
80
  - Select checks that match the artifact and decision. Do not run every possible check mechanically.
78
81
 
79
- ### Methodology Checks
80
-
81
- - Question framing: the analysis answers the stated business or product question.
82
- - Data selection: sources are appropriate and current enough for the decision.
83
- - Population: inclusions, exclusions, eligibility rules, and sampling are explicit.
84
- - Metric definitions: formulas, units, denominators, and timezones are clear and aligned with stakeholder definitions.
85
- - Baselines: comparison periods, cohorts, and contexts are comparable.
86
- - Causality: causal wording is backed by experimental or otherwise credible causal evidence.
87
-
88
- ### Data Quality Checks
89
-
90
- - Freshness: the analysis states or can recover the data "as of" date.
91
- - Completeness: no unexpected missing partitions, segments, rows, or categories.
92
- - Null handling: key columns have expected null rates or explicit treatment.
93
- - Deduplication: primary entities are not double counted.
94
- - Filter verification: filters and WHERE clauses do not silently exclude the population of interest.
95
- - Join coverage: dimensions, experiments, and reference tables do not drop or multiply important rows.
96
-
97
- ### Calculation Checks
98
-
99
- - Grain: the aggregation level matches the intended analysis grain.
100
- - Denominators: rates and percentages use the correct population and non-zero denominators.
101
- - Period alignment: comparisons use equal or explicitly caveated windows.
102
- - Weighted metrics: averages are weighted correctly when group sizes differ.
103
- - Subtotals: parts add to totals where categories are mutually exclusive.
104
- - Units: currency, token, user, request, account, day/week/month, and timezone units are consistent.
105
-
106
- ### Reasonableness Checks
107
-
108
- - Magnitudes are plausible relative to known dashboards, historical reports, or expected product scale.
109
- - Percentages fall in expected ranges and segment shares sum to about 100% where expected.
110
- - Trend jumps, drops, flatlines, exact round numbers, and 0% or 100% rates have an explanation.
111
- - Results do not perfectly confirm the hypothesis without friction or exceptions.
112
- - Edge cases such as empty segments, new entities, and boundary dates behave sensibly.
113
-
114
- ### Common Pitfalls
115
-
116
- - Join explosion: many-to-many joins silently multiply rows and inflate counts or sums. Compare row counts and distinct primary entities before and after the join, and check whether the right-hand table has multiple rows per join key.
117
- Aggregate the right-hand table to the intended grain before joining when needed, use `COUNT(DISTINCT primary_id)` when counting entities through joins,
118
- and comment intentional one-to-many joins.
119
- - Survivorship bias: the analysis only includes entities that exist today and misses deleted, churned, failed, or otherwise absent entities. Ask who is not in the dataset and whether the missing population changes the conclusion.
120
- - Incomplete period comparison: a partial period is compared with a complete period. Use complete periods, compare the same number of elapsed days, or label the partial-period caveat prominently.
121
- - Denominator shifting: the eligible population changes between periods or segments. Validate that conversion, churn, activation, attach, and retention rates use stable definitions across compared groups.
122
- - Average of averages: pre-computed averages are averaged without weighting for group size. Aggregate from raw numerators and denominators or use a weighted average.
123
- - Timezone mismatch: sources use different timestamp conventions or daily cutoffs. Confirm the analysis standardizes timestamps or explicitly states the timezone and cutoff.
124
- - Selection bias in segmentation: segments are defined by the outcome being measured. Define comparison groups by pre-treatment characteristics when making lift, causality, or behavior-difference claims.
125
- - Other statistical traps: Simpson's paradox where aggregate and segment-level trends conflict, correlation presented as causation, small samples,
126
- outlier-dominated averages that need medians or distribution views, multiple testing, cherry-picked time ranges, and look-ahead bias.
127
-
128
- ### Spot-Check Recipes
129
-
130
- - Recompute a key metric from raw numerators and denominators.
131
- - Trace a few individual records through joins, filters, and final output.
132
- - Reconcile a key total against a trusted dashboard, prior report, or finance source.
133
- - Reverse engineer a headline number from component metrics, such as users times per-user revenue.
134
- - Run a one-day, one-segment, or one-entity boundary check to make sure filters and joins behave sensibly.
135
- - Compare the same metric through an alternate query path when a claim is surprising or high stakes.
136
-
137
- ### Visualization Checks
138
-
139
- - Bar charts should generally start at zero.
140
- - Comparison charts should use consistent scales unless the scale difference is explicit and justified.
141
- - Axes, units, legends, and date ranges should be labeled.
142
- - Category ordering should match the comparison the reader should make.
143
- - Truncated axes, dual axes, 3D effects, and inconsistent intervals require explicit justification or redesign.
144
- - Chart titles and annotations should match exactly what the data supports.
145
- - Titles should state the finding and include date range or scope when needed.
146
- - Caveats should be visible near the claims they qualify.
147
- - Number formatting should use appropriate precision and units.
148
- - Rendered artifacts should be checked in their final form when available, not only in source form.
82
+ ### 按风险选择方法
83
+
84
+ 核验方法、数据质量、计算、合理性或可视化时,按对应风险读取 [方法与抽查示例](references/validation-methods.md)。验证同一证据不重复逐项抄写;影响结论的错误必须修复或阻断,非阻断限制显式随结果交付。
149
85
 
150
86
  ### Confidence Ratings
151
87
 
@@ -0,0 +1,70 @@
1
+ ### Methodology Checks
2
+
3
+ - Question framing: the analysis answers the stated business or product question.
4
+ - Data selection: sources are appropriate and current enough for the decision.
5
+ - Population: inclusions, exclusions, eligibility rules, and sampling are explicit.
6
+ - Metric definitions: formulas, units, denominators, and timezones are clear and aligned with stakeholder definitions.
7
+ - Baselines: comparison periods, cohorts, and contexts are comparable.
8
+ - Causality: causal wording is backed by experimental or otherwise credible causal evidence.
9
+
10
+ ### Data Quality Checks
11
+
12
+ - Freshness: the analysis states or can recover the data "as of" date.
13
+ - Completeness: no unexpected missing partitions, segments, rows, or categories.
14
+ - Null handling: key columns have expected null rates or explicit treatment.
15
+ - Deduplication: primary entities are not double counted.
16
+ - Filter verification: filters and WHERE clauses do not silently exclude the population of interest.
17
+ - Join coverage: dimensions, experiments, and reference tables do not drop or multiply important rows.
18
+
19
+ ### Calculation Checks
20
+
21
+ - Grain: the aggregation level matches the intended analysis grain.
22
+ - Denominators: rates and percentages use the correct population and non-zero denominators.
23
+ - Period alignment: comparisons use equal or explicitly caveated windows.
24
+ - Weighted metrics: averages are weighted correctly when group sizes differ.
25
+ - Subtotals: parts add to totals where categories are mutually exclusive.
26
+ - Units: currency, token, user, request, account, day/week/month, and timezone units are consistent.
27
+
28
+ ### Reasonableness Checks
29
+
30
+ - Magnitudes are plausible relative to known dashboards, historical reports, or expected product scale.
31
+ - Percentages fall in expected ranges and segment shares sum to about 100% where expected.
32
+ - Trend jumps, drops, flatlines, exact round numbers, and 0% or 100% rates have an explanation.
33
+ - Results do not perfectly confirm the hypothesis without friction or exceptions.
34
+ - Edge cases such as empty segments, new entities, and boundary dates behave sensibly.
35
+
36
+ ### Common Pitfalls
37
+
38
+ - Join explosion: many-to-many joins silently multiply rows and inflate counts or sums. Compare row counts and distinct primary entities before and after the join, and check whether the right-hand table has multiple rows per join key.
39
+ Aggregate the right-hand table to the intended grain before joining when needed, use `COUNT(DISTINCT primary_id)` when counting entities through joins,
40
+ and comment intentional one-to-many joins.
41
+ - Survivorship bias: the analysis only includes entities that exist today and misses deleted, churned, failed, or otherwise absent entities. Ask who is not in the dataset and whether the missing population changes the conclusion.
42
+ - Incomplete period comparison: a partial period is compared with a complete period. Use complete periods, compare the same number of elapsed days, or label the partial-period caveat prominently.
43
+ - Denominator shifting: the eligible population changes between periods or segments. Validate that conversion, churn, activation, attach, and retention rates use stable definitions across compared groups.
44
+ - Average of averages: pre-computed averages are averaged without weighting for group size. Aggregate from raw numerators and denominators or use a weighted average.
45
+ - Timezone mismatch: sources use different timestamp conventions or daily cutoffs. Confirm the analysis standardizes timestamps or explicitly states the timezone and cutoff.
46
+ - Selection bias in segmentation: segments are defined by the outcome being measured. Define comparison groups by pre-treatment characteristics when making lift, causality, or behavior-difference claims.
47
+ - Other statistical traps: Simpson's paradox where aggregate and segment-level trends conflict, correlation presented as causation, small samples,
48
+ outlier-dominated averages that need medians or distribution views, multiple testing, cherry-picked time ranges, and look-ahead bias.
49
+
50
+ ### Spot-Check Recipes
51
+
52
+ - Recompute a key metric from raw numerators and denominators.
53
+ - Trace a few individual records through joins, filters, and final output.
54
+ - Reconcile a key total against a trusted dashboard, prior report, or finance source.
55
+ - Reverse engineer a headline number from component metrics, such as users times per-user revenue.
56
+ - Run a one-day, one-segment, or one-entity boundary check to make sure filters and joins behave sensibly.
57
+ - Compare the same metric through an alternate query path when a claim is surprising or high stakes.
58
+
59
+ ### Visualization Checks
60
+
61
+ - Bar charts should generally start at zero.
62
+ - Comparison charts should use consistent scales unless the scale difference is explicit and justified.
63
+ - Axes, units, legends, and date ranges should be labeled.
64
+ - Category ordering should match the comparison the reader should make.
65
+ - Truncated axes, dual axes, 3D effects, and inconsistent intervals require explicit justification or redesign.
66
+ - Chart titles and annotations should match exactly what the data supports.
67
+ - Titles should state the finding and include date range or scope when needed.
68
+ - Caveats should be visible near the claims they qualify.
69
+ - Number formatting should use appropriate precision and units.
70
+ - Rendered artifacts should be checked in their final form when available, not only in source form.
@@ -11,7 +11,7 @@ Create quantitative visuals that are analytically sound, immediately readable, a
11
11
 
12
12
  ### User Context
13
13
 
14
- Mandatory pre-answer gate: Invoke `data-analytics:user-context` in preflight mode by loading [data-analytics:user-context](../user-context/SKILL.md) and running its preflight script before answering, searching connectors, retrieving evidence, creating artifacts, or drafting output. Do not look for a callable MCP tool named `data-analytics:user-context`. Use the returned `data_analytics_preflight` envelope as the source of truth for saved context, source-category mapping, semantic-layer registry, onboarding/final-response obligations, and conditional guidance; use saved context and semantic layers as source-selection inputs, not as substitutes for workflow-time reads from connected or provided sources. Do not read or reinterpret raw plugin state files unless preflight fails, declares required content omitted, local shell access is unavailable, or the user explicitly asks for raw state inspection.
14
+ Mandatory pre-answer gate: Invoke `data-analytics:user-context` in preflight mode by loading [data-analytics:user-context](../user-context/SKILL.md) and using its read-only preflight before source selection. Reuse the already loaded envelope within the same workflow while the resolved state paths, file digests, request mode and source scope are unchanged; re-read on change, missing context or explicit inspection. Do not look for a callable MCP tool named `data-analytics:user-context`. Use the returned `data_analytics_preflight` envelope as the source of truth for saved context, source-category mapping, semantic-layer registry, onboarding/final-response obligations, and conditional guidance; use saved context and semantic layers as source-selection inputs, not as substitutes for workflow-time reads from connected or provided sources. Do not read or reinterpret raw plugin state files unless preflight fails, declares required content omitted, local shell access is unavailable, or the user explicitly asks for raw state inspection.
15
15
 
16
16
  ## Chart Selection
17
17
 
@@ -92,7 +92,7 @@ Concrete forms such as `highlighted multi-series line`, `Likert`, `pie`, `Pareto
92
92
  - In multi-area executive reports, repeated line charts are a smell. Use line charts only where the main question is continuous movement over time. Consider dot/lollipop or bar with reference for plan variance, stacked area or 100% stacked bar for mix, ranked bars or leaderboards for category comparisons, waterfall for additive drivers, heatmaps for cohort or matrix structure, and stage bars for ordered progression.
93
93
  - For one-slide-per-area executive reports, do a chart-family pass before writing the visual plan. Audit repeated families and require a rationale when multiple sections use the same family despite asking different questions.
94
94
  - If every visual in a report uses the same family, document the reason in the chart map and verify that no section is actually asking for status, mix, variance, or drivers.
95
- - Four or more all-line visuals fail the multi-chart report contract unless the report is redesigned with data-compatible alternatives or fewer visuals.
95
+ - Repeated line charts are appropriate for comparable trends. Review readability and decision value; chart count or chart-family repetition alone is not a failure.
96
96
 
97
97
  ### Surface And Implementation
98
98
 
@@ -133,7 +133,7 @@ Concrete forms such as `highlighted multi-series line`, `Likert`, `pie`, `Pareto
133
133
  - For HTML artifacts, keep standalone charts on real grid footprints: `8 columns` by default, `6` minimum, `10` or `12` for complex charts, stacked vertically on mobile. Align multi-chart rows from the left/start edge.
134
134
  - Match HTML chart containers, legends, KPI strips, and notes to the same Data Viz System tokens as the surrounding report or dashboard. Remove unused multi-hue CSS variables when they are not rendered.
135
135
  - Use dark chart variants only when the containing artifact is dark. Inspect both light and dark variants for shipped branded web outputs.
136
- - For research charts, lock the blossom to the header's top-right corner. Omit it for third-party, partnership, and non-research charts.
136
+ - Use a brand mark only when the user's selected brand profile requests it and supplies an authorized asset. Do not inject OpenAI or vendor branding by default.
137
137
 
138
138
  ### Quality Bar
139
139
 
@@ -152,6 +152,6 @@ Concrete forms such as `highlighted multi-series line`, `Likert`, `pie`, `Pareto
152
152
  - Exported SVG or HTML colors should match declared palette roots plus neutrals; remove unused multi-hue tokens unless documenting an intentional exception.
153
153
  - Chart scaffolding should stay quiet: no arbitrary colored backgrounds, gradients, decorative guides, inconsistent stroke widths, or decorative mark fills. Filled marks should keep keylines, and benchmark, calibration, and reference lines should use dark-neutral styling.
154
154
  - Titles, legends, and primary labels should use dark ink and share a clear header anchor. Numeric ticks and direct value labels should use mono styling where the template system calls for it.
155
- - Research charts should use the locked top-right blossom placement; third-party, partnership, and non-research charts should omit it.
155
+ - Apply a brand mark only when the selected user brand profile requests and supplies it.
156
156
  - Before handoff, inspect the visual in the artifact readers will open and verify that it answers the stated analytical question, signs and scales are honest, labels fit at laptop and mobile widths, the color and non-color encoding is understandable, and the caption states metric, time window, and source when those are part of the visual.
157
157
  - Inspect the final report, slide, dashboard, notebook, widget, or HTML layout before handoff. Revise before delivery when any requirement above fails.
@@ -2692,7 +2692,7 @@ const context = promptContext(manifest, snapshot, packageInfo);
2692
2692
  if (target === "site") {
2693
2693
  return `Publish this ${surface} app as a hosted Site Creator link.
2694
2694
 
2695
- Use the current Data Analytics artifact as the source of truth. Create or reuse a Site Creator project for this ${surface}, materialize a Cloudflare Worker-compatible app that serves the current manifest, bounded snapshot, package metadata, and inline-safe source text through /api/manifest, /api/snapshot, /api/package, and /api/source-file, then deploy it through Site Creator. Preserve the rendered layout, charts, tables, source details, and narrative. Default access to workspace_all unless I explicitly ask for narrower access, and report the production URL plus the access mode.
2695
+ Use the current Data Analytics artifact as the source of truth. Create or reuse a Site Creator project for this ${surface}, materialize a Cloudflare Worker-compatible app that serves the current manifest, bounded snapshot, package metadata, and inline-safe source text through /api/manifest, /api/snapshot, /api/package, and /api/source-file, then deploy it through Site Creator. Preserve the rendered layout, charts, tables, source details, and narrative. Use the access scope I explicitly selected. If no access scope has been selected, keep the package local and ask for that publishing decision before deployment. Report the production URL and actual access mode only after successful deployment.
2696
2696
 
2697
2697
  If the local package files are unavailable from the context below, stop and ask for the report package or validated artifact payload rather than publishing an empty or stale report.
2698
2698
 
@@ -58,7 +58,7 @@ Use this file after the selected delivery surface is an MCP Apps inline chart/ta
58
58
  - Do not rebuild the report as standalone HTML, inline CSS charts, or a separate one-off viewer. Hosted sharing is a packaging step for the current artifact, not a second rendering implementation.
59
59
  - Treat Site Creator exports as read-only reader surfaces by default: hide artifact editing controls and remove `Publish to Sites` from hosted export menus. Authoring should happen in the MCP artifact, followed by a new export/deploy.
60
60
  - Keep static HTML and PDF exports content-only: include the report or dashboard title, narrative, charts, tables, and source details, but omit the interactive top bar and app-only controls.
61
- - Keep Site Creator access at `workspace_all` by default unless the user explicitly requests narrower access.
61
+ - Use the explicitly selected sharing audience; if none exists, preserve local/private output until sharing is requested.
62
62
 
63
63
  ## Encoding Rules
64
64
 
@@ -15,6 +15,10 @@ This skill has you show commands, outputs and captured artifacts. **Redact every
15
15
 
16
16
  If the redacted output is not enough to diagnose the bug, say so and ask the user.
17
17
 
18
+ ## Simple fixes and complex investigations
19
+
20
+ When a bounded defect has confirmed inputs and a known public seam, run a direct reproducer, make the authorized minimal fix and run the regression check. Do not restart an interview, minimize an already minimal case, or invent extra hypotheses. Use the phases below when the cause, environment or reproduction is uncertain.
21
+
18
22
  ## Phase 1 — Build a feedback loop
19
23
 
20
24
  **This is the skill.** Everything else is mechanical. If you have a **tight** pass/fail signal for the bug — one that goes red on _this_ bug — you will find the cause; bisection, hypothesis-testing, and instrumentation all just consume it. If you don't have one, no amount of staring at code will save you.
@@ -83,11 +87,11 @@ Why bother: a minimal repro shrinks the hypothesis space in Phase 3 (fewer movin
83
87
 
84
88
  Done when **every remaining element is load-bearing** — removing any one of them makes the loop go green.
85
89
 
86
- Do not proceed until you have reproduced **and** minimised.
90
+ Minimize further only while it removes meaningful uncertainty. Preserve representative conditions; do not spend effort proving every remaining element essential when the cause can already be tested directly.
87
91
 
88
92
  ## Phase 3 — Hypothesise
89
93
 
90
- Generate **3–5 ranked hypotheses** before testing any of them. Single-hypothesis generation anchors on the first plausible idea.
94
+ Generate enough competing falsifiable hypotheses to distinguish plausible causes. For a clear, bounded defect one directly testable hypothesis can be sufficient; complex or ambiguous failures need alternatives, without a fixed count.
91
95
 
92
96
  Each hypothesis must be **falsifiable**: state the prediction it makes.
93
97
 
@@ -79,7 +79,7 @@ const schema: ISchema = {
79
79
  'x-component': 'FormGrid',
80
80
  'x-component-props': { maxColumns: 3, minColumns: 1, minWidth: 260 },
81
81
  properties: {
82
- name: { type: 'string', title: '名称', 'x-decorator': 'FormItem', 'x-component': 'Input', required: true },
82
+ name: { type: 'string', title: '名称', 'x-decorator': 'FormItem', 'x-component': 'Input', required: true, 'x-validator': [{ required: true, whitespace: true, message: '请输入名称' }] },
83
83
  submit: {
84
84
  type: 'void',
85
85
  'x-component': 'Submit',
@@ -100,6 +100,7 @@ const step1Schema = createStepSchema({
100
100
  type: 'string',
101
101
  title: '任务名称',
102
102
  required: true,
103
+ 'x-validator': [{ required: true, whitespace: true, message: '请输入任务名称' }],
103
104
  'x-decorator': 'FormItem',
104
105
  'x-component': 'Input',
105
106
  },
@@ -173,7 +174,7 @@ const submitAll = async () => {
173
174
  </template>
174
175
  ```
175
176
 
176
- 复杂页面把 schema、类型与步骤 hook 分别拆到 `constant.ts`、`hooks/useStepFlow.ts`,保持 `index.vue` 在 150 行以内。
177
+ 当 schema、步骤状态和页面编排难以独立理解或验证时,分别拆到 `constant.ts`、`hooks/useStepFlow.ts`;以职责清晰和状态可测试为准,不按固定行数拆分。
177
178
 
178
179
  ## 交付检查清单
179
180
 
@@ -191,4 +192,4 @@ const submitAll = async () => {
191
192
  - 状态串联错误时先收敛为单一 `reactive` 数据源,再检查每步 `v-model` 路径。
192
193
  - 确认页为空时检查是否错误绑定了独立 `step3`,应改为前序数据的 `computed` 聚合。
193
194
  - API 调用 reject 时只在 `finally` 恢复 loading,不重复弹出错误提示。
194
- - 步骤过多或主组件超过 150 行时,按阶段拆子组件和 `useStepXxx` hook。
195
+ - 步骤职责交叉或状态难以验证时,按业务阶段拆子组件和 `useStepXxx` hook。
@@ -15,7 +15,7 @@ description: "为前端改动生成提交信息、审查原子提交或修复 Gi
15
15
  ## 不适用场景
16
16
 
17
17
  - yss-ui 组件库仓库自身的提交与发版:回到 yss-ui 源仓库使用其 `categories.library` 提交流程;该类 skill 不随业务模板分发。
18
- - Java、Spring Boot、Maven、Gradle 后端仓库:使用 `../java-backend-commit/SKILL.md`。
18
+ - Java、Spring Boot、Maven、Gradle 后端仓库:回交目标后端 profile 的 `java-backend-commit`;本 profile 不臆造跨目录链接。
19
19
  - 仅请求代码实现,不涉及提交信息或 `git commit` 操作。
20
20
  - 无代码改动,或改动内容与提交请求不匹配。
21
21
  - 合并提交、发布提交和自动依赖机器人提交:遵循仓库专用流程,不套用本技能的常规消息模板。
@@ -65,15 +65,15 @@ git ls-files --others --exclude-standard
65
65
 
66
66
  - type 默认从 `feat/fix/docs/style/refactor/perf/test/chore/revert/build/ci` 中选择,但仓库枚举优先。
67
67
  - scope 优先级为:仓库枚举 → monorepo 包或应用 → 业务模块 → 共享能力。使用小写 kebab-case;不要机械地以 `views`、`hooks` 或文件名作为 scope。
68
- - 标题使用英文 type/scope、ASCII `:` 和中文摘要;描述行为或价值,不写“修改文件”“更新代码”或单个文件名。
69
- - 默认将完整 header 控制在 72 个字符内;仓库存在更严格限制时服从仓库。标题末尾不加句号,不用 emoji 或全角冒号。
68
+ - 标题使用仓库确定的 type/scope、分隔符和语言;无既定规则时默认英文 type/scope、ASCII `:` 和中文摘要;描述行为或价值,不写“修改文件”“更新代码”或单个文件名。
69
+ - 默认将完整 header 控制在 72 个字符内;仓库配置了其他限制时服从该配置。标题末尾不加句号,不用 emoji 或全角冒号。
70
70
  - 简单单文件变更可以没有 body;多文件、非显然修复、重要功能或行为变化使用 body 解释做了什么、为什么以及如何验证。
71
71
  - 仅对真实不兼容变更使用 `!` 和 `BREAKING CHANGE:`;仅在已知编号或仓库要求时加入工单、DCO、`Signed-off-by` 等 footer,禁止编造。
72
72
 
73
73
  ### 4. 验证并提交
74
74
 
75
75
  1. 根据变更范围运行仓库已有的最小充分检查,例如相关单元测试、类型检查、lint 和构建检查;优先使用仓库脚本与当前包管理器。
76
- 2. 通过 stdin 校验完整候选消息,而不只校验 header。使用仓库本地 commitlint 命令;退出码为 0 才继续。
76
+ 2. 通过 stdin 校验完整候选消息,而不只校验 header。仅在仓库实际采用 commitlint 时使用其本地命令并要求退出码 0;否则按现有 hook/贡献指南验证,不安装新工具。
77
77
  3. 仅暂存属于当前原子提交的明确路径或安全 hunks,再重新检查 `git diff --cached --check`、`--name-status` 和完整 staged diff。
78
78
  4. 执行正常 `git commit`,允许 hooks 运行。
79
79
  5. hook 若格式化或修改文件,重新检查 staged 与 working tree,确认实际提交内容没有漂移。
@@ -102,9 +102,9 @@ feat(data-push): 优化推送任务数据源与调度规则展示
102
102
 
103
103
  ## 交付检查清单
104
104
 
105
- - [ ] type 与 scope 通过仓库 resolved commitlint 校验,完整消息经 stdin 校验退出码为 0。
105
+ - [ ] 完整消息通过仓库实际采用的提交校验;采用 commitlint 时记录 stdin 校验退出码 0。
106
106
  - [ ] scope 来自仓库枚举、包名或业务模块,未使用 `views`、`hooks`、`utils` 或文件名兜底。
107
- - [ ] 标题为英文 type/scope + ASCII 冒号 + 中文摘要,完整 header 不超过 72 字符。
107
+ - [ ] 标题语言、type/scope 和长度符合仓库配置;无配置时才使用本技能回退格式。
108
108
  - [ ] 暂存区只包含当前原子提交的文件;lockfile 与对应 manifest 同提交。
109
109
  - [ ] 已运行与变更范围匹配的最小充分检查(相关测试、类型检查、lint)。
110
110
  - [ ] 提交后已核对 `git show --stat` 与 `git status --short`,并向用户报告 hash 与剩余改动。
@@ -23,6 +23,6 @@ Format a round like so:
23
23
 
24
24
  Each round the user answers reshapes the tree — settled decisions push the frontier outward and unblock questions that depended on them. Recompute the frontier and ask the next round. A question whose answer depends on another question still open in this round belongs to a _later_ round, not this one.
25
25
 
26
- Finding _facts_ is your job, never the user's. When a frontier question needs a fact from the environment (filesystem, tools, etc.), dispatch a sub-agent to find it — don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report — ask the rest of the frontier now. The _decisions_ are the user's — put each to them and wait.
26
+ Finding _facts_ is your job, never the user's. When a frontier question needs an environment fact, look it up directly; delegate only when an independent bounded investigation can run usefully alongside other work — don't ask the user for anything you could look up yourself. Don't block on it: a running exploration is an unsettled prerequisite, so only the questions downstream of it wait for the sub-agent to report — ask the rest of the frontier now. The _decisions_ are the user's — put each to them and wait.
27
27
 
28
- The session is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Do not act on it until the user confirms you have reached a shared understanding.
28
+ Stop when decisions material to the agreed scope are settled, remaining uncertainty is explicit and the next action is authorized. Reuse existing confirmations; do not traverse irrelevant branches or re-ask settled questions. New material decisions still require a real user response.
@@ -4,7 +4,7 @@ description: "Implement a piece of work based on a spec or set of tickets."
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
7
- Implement the work described by the user in the spec or tickets.
7
+ This is an explicit compatibility entry. Before implementation, return to the active lifecycle orchestrator to verify repository identity, registered implementation paths, a current approved Slice Implementation Contract and applicable gates. Reuse existing approved inputs; do not restart planning merely because this entry was invoked. Implement only that contract and return artifacts, actual verification, drift and new impacts for acceptance. Do not approve the contract or upgrade Ticket state yourself. Template-source changes follow the template maintenance route instead of creating product assets.
8
8
 
9
9
  Use /tdd where possible, at pre-agreed seams.
10
10
 
@@ -22,13 +22,13 @@ description: Use when connecting an existing frontend, backend, fullstack, or ot
22
22
  4. 识别技术栈、包管理器、CI、测试命令、构建命令、OpenAPI 接入和设计 token 接入。
23
23
  5. 判定实现位置与 `repository_scope`:`external-repository` 记录真实项目根;`harness-apps` 与 `git-submodule` 只能使用 `apps/backend/<project>/` 或 `apps/frontend/<project>/`。`apps/backend/`、`apps/frontend/` 仅为容器,`app/backend/`、`app/frontend/` 及其子路径必须标记为阻断。gitlink(mode `160000`)必须登记为 `git-submodule` 和 `layout_policy: git-submodule-harness-apps`,不得写成 `harness-apps`。必须对照工作树:`git ls-files --stage`、`.gitmodules` 与声明 scope 不一致时阻断;缺少 `git_entry_mode: 160000` 不得把挂载点当普通目录。
24
24
  6. 按 `docs/templates/implementation-repo-registry-template.md` 输出实现仓库登记内容。`git-submodule` 必填 `gitmodules_name`、`gitlink_path`、`git_entry_mode`、`superproject_git_url` 和 `checkout_state`。`harness-apps` / `external-repository` 这些字段填 `不适用`。
25
- 7. 列出 `known_gaps`、人审点、fresh verification 命令和需要回写到 Harness change / Issue / checkpoint 的信息。命中交付预检时,登记和工程基线补齐后重跑 `prepare`;将结构化诊断的责任来源和恢复入口纳入缺口清单,在初始化或构建前关闭当前阶段阻断。后续阶段证据尚未形成不能被当作本阶段失败;其他技术栈/不涉及该交付协议的接入记录不适用原因,不能冒充后端 v2 正例。空 gitlink、detached HEAD、`--force` 覆盖挂载点或缺少递归检出凭据时标记阻断。写入前必须看 `inspectWorkingTreeScope` / `implementationWriteViolation`:只接受对象结果且 `.writable === true` 才可写;字符串、`null` 或 `.writable !== true` 一律不可写。即使已正确登记为 `git-submodule`,空 gitlink 或 detached HEAD 也必须 `.writable === false`,不得当普通目录写文件或脚手架。
25
+ 7. 列出 `known_gaps`、人审点、fresh verification 命令和需要回写到 Harness change / Issue / checkpoint 的信息。命中交付预检时,登记和工程基线补齐后重跑 `prepare`;将结构化诊断的责任来源和恢复入口纳入缺口清单,在初始化或构建前关闭当前阶段阻断。后续阶段证据尚未形成不能被当作本阶段失败;其他技术栈/不涉及该交付协议的接入记录不适用原因,不能冒充后端 v2 正例。空 gitlink、detached HEAD、`--force` 覆盖挂载点或缺少递归检出凭据时标记阻断。需要转入已授权写入时,先按 [写范围核验](references/write-scope.md) 检查工具对象结果;只有 `.writable === true` 可写,其他形态或状态一律阻断。
26
26
 
27
27
  ## Baseline Checks
28
28
 
29
29
  | repo_role | 必查项 |
30
30
  |---|---|
31
- | backend | 构建工具、模块结构、测试命令、OpenAPI 产出、YSS DDD 基线、数据库 / 迁移红线 |
31
+ | backend | 构建工具、模块结构、测试命令、OpenAPI 产出、已登记 DDD 或分层 MVC 对应的 YSS 工程基线、数据库 / 迁移红线 |
32
32
  | frontend | 包管理器、框架、路由、YSS UI / Ant Design、Orval / API client、设计 token、lint / type-check / build |
33
33
  | fullstack | 前后端边界、契约生成方式、独立测试命令、CI 阶段拆分 |
34
34
  | other | owner、构建 / 测试 / 发布命令、与 Harness change 的关系 |
@@ -39,7 +39,7 @@ description: Use when connecting an existing frontend, backend, fullstack, or ot
39
39
  - 不把实现仓库源码复制进 Harness 仓库;`git-submodule` 只能形成 gitlink,不能 copy / subtree 冒充。
40
40
  - 不把缺失命令编造为已存在;找不到时标记 `unknown` 或 `需人工确认`。
41
41
  - 不得把 `app/backend/`、`app/frontend/` 或 `apps/backend/`、`apps/frontend/` 容器根登记为可生成项目根。
42
- - 触碰认证、授权、SQL、迁移、加密、公共基础库 API 时标记 `TODO-HUMAN-REVIEW`。
42
+ - 认证、授权、SQL、迁移、加密、公共基础库 API 按实际影响记录审批和证据缺口;仅缺少必要批准时标记 `TODO-HUMAN-REVIEW`,已有授权不因关键词重新审批。
43
43
 
44
44
  ## Output
45
45
 
@@ -0,0 +1,5 @@
1
+ # 实现仓库写范围核验
2
+
3
+ 从只读接入进入已授权写入时读取。
4
+
5
+ 写入前必须看 `inspectWorkingTreeScope` / `implementationWriteViolation`:只接受对象结果且 `.writable === true` 才可写;字符串、`null` 或 `.writable !== true` 一律不可写。即使已正确登记为 `git-submodule`,空 gitlink 或 detached HEAD 也必须 `.writable === false`,不得当普通目录写文件或脚手架。
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: improve-codebase-architecture
3
- description: Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
3
+ description: 显式分析代码结构的维护成本、模块边界与可测试性,提出有证据的重构候选。
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
@@ -10,7 +10,7 @@ Surface architectural friction and propose **deepening opportunities** — refac
10
10
 
11
11
  This command is _informed_ by the project's domain model and built on a shared design vocabulary:
12
12
 
13
- - Run the `/codebase-design` skill for the architecture vocabulary (**module**, **interface**, **depth**, **seam**, **adapter**, **leverage**, **locality**) and its principles (the deletion test, "the interface is the test surface", "one adapter = hypothetical seam, two = real"). Use these terms exactly in every suggestion — don't drift into "component," "service," "API," or "boundary."
13
+ - Run the `/codebase-design` skill for the architecture vocabulary (**module**, **interface**, **depth**, **seam**, **adapter**, **leverage**, **locality**) and its principles (the deletion test, "the interface is the test surface", "one adapter = hypothetical seam, two = real"). Use this analysis vocabulary without overriding CONTEXT or the project's component/service/API terminology.
14
14
  - The domain language in `CONTEXT.md` gives names to good seams; ADRs in `docs/adr/` record decisions this command should not re-litigate.
15
15
 
16
16
  ## Process
@@ -24,7 +24,7 @@ This command is _informed_ by the project's domain model and built on a shared d
24
24
 
25
25
  Read the project's domain glossary (`CONTEXT.md`) and any ADRs in the area you're touching first.
26
26
 
27
- Then spawn a sub-agent to walk the codebase. Don't follow rigid heuristics — explore organically and note where you experience friction:
27
+ Inspect the bounded area directly; delegate an independent reading task only when useful parallel work exists. Note evidence of friction:
28
28
 
29
29
  - Where does understanding one concept require bouncing between many small modules?
30
30
  - Where are modules **shallow** — interface nearly as complex as the implementation?
@@ -34,11 +34,15 @@ Then spawn a sub-agent to walk the codebase. Don't follow rigid heuristics — e
34
34
 
35
35
  Apply the **deletion test** to anything you suspect is shallow: would deleting it concentrate complexity, or just move it? A "yes, concentrates" is the signal you want.
36
36
 
37
- ### 2. Present candidates as an HTML report
37
+ ### 2. Present candidates in the requested format
38
+
39
+ Default to concise Markdown with grounded paths, tradeoffs and a small diagram when useful. Use the HTML branch below only when requested or when interaction materially aids comparison. Local/offline delivery uses bundled assets, not mandatory CDN dependencies.
40
+
41
+ #### Optional HTML report
38
42
 
39
43
  Write a self-contained HTML file to the OS temp directory so nothing lands in the repo. Resolve the temp dir from `$TMPDIR`, falling back to `/tmp` (or `%TEMP%` on Windows), and write to `<tmpdir>/architecture-review-<timestamp>.html` so each run gets a fresh file. Open it for the user — `xdg-open <path>` on Linux, `open <path>` on macOS, `start <path>` on Windows — and tell them the absolute path.
40
44
 
41
- The report uses **Tailwind via CDN** for layout and styling, and **Mermaid via CDN** for diagrams where a graph/flow/sequence reliably communicates the structure. Mix Mermaid with hand-crafted CSS/SVG visuals — use Mermaid when relationships are graph-shaped (call graphs, dependencies, sequences), and hand-built divs/SVG when you want something more editorial (mass diagrams, cross-sections, collapse animations). Each candidate gets a **before/after visualisation**. Be visual.
45
+ When an online HTML report is explicitly selected, Tailwind and Mermaid are optional tools for layout and diagrams where a graph/flow/sequence reliably communicates the structure. Mix Mermaid with hand-crafted CSS/SVG visuals — use Mermaid when relationships are graph-shaped (call graphs, dependencies, sequences), and hand-built divs/SVG when you want something more editorial (mass diagrams, cross-sections, collapse animations). Each candidate gets a **before/after visualisation**. Be visual.
42
46
 
43
47
  For each candidate, render a card with:
44
48
 
@@ -57,7 +61,7 @@ End the report with a **Top recommendation** section: which candidate you'd tack
57
61
 
58
62
  See [HTML-REPORT.md](HTML-REPORT.md) for the full HTML scaffold, diagram patterns, and styling guidance.
59
63
 
60
- Do NOT propose interfaces yet. After the file is written, ask the user: "Which of these would you like to explore?"
64
+ Do NOT propose interfaces yet. After presenting candidates, ask which unresolved design direction to explore only if that choice has not already been made.
61
65
 
62
66
  ### 3. Grilling loop
63
67
 
@@ -14,8 +14,8 @@ description: "为 Java 后端改动生成提交信息、审查原子提交或修
14
14
 
15
15
  ## 不适用场景
16
16
 
17
- - Vue、React 等前端或微前端仓库:使用 `../frontend-commit/SKILL.md`。
18
- - yss-ui 组件库仓库自身的提交与发版:使用 `../commit-linting/SKILL.md`。
17
+ - Vue、React 等前端或微前端仓库:在目标前端 profile 使用已安装的 `frontend-commit`;本 profile 不臆造跨目录链接。
18
+ - yss-ui 组件库仓库自身的提交与发版:遵循目标组件库已安装的提交规范;不存在对应 skill 时读取其贡献指南和 hooks。
19
19
  - 仅请求代码实现,不涉及提交信息或 `git commit` 操作。
20
20
  - 无代码改动,或改动内容与提交请求不匹配。
21
21
  - 合并提交、发布提交、自动依赖机器人提交和数据库基线发布:遵循仓库专用流程,不套用本技能的常规模板。
@@ -66,8 +66,8 @@ git ls-files --others --exclude-standard
66
66
 
67
67
  - type 默认从 `feat/fix/docs/style/refactor/perf/test/chore/revert/build/ci` 中选择,但仓库枚举优先。
68
68
  - scope 优先级为:仓库枚举 → Maven artifactId 或 Gradle 子项目 → 服务或限界上下文 → 跨模块能力。使用小写 kebab-case;不要仅使用 `controller`、`service`、`repository` 或类名。
69
- - 标题使用英文 type/scope、ASCII `:` 和中文摘要;描述业务、调用方或运维可感知的结果,不写“修改代码”或单个 Java 类名。
70
- - 默认将完整 header 控制在 72 个字符内;仓库存在更严格限制时服从仓库。标题末尾不加句号,不用 emoji 或全角冒号。
69
+ - 标题使用仓库确定的 type/scope、分隔符和语言;无既定规则时默认英文 type/scope、ASCII `:` 和中文摘要;描述业务、调用方或运维可感知的结果,不写“修改代码”或单个 Java 类名。
70
+ - 默认将完整 header 控制在 72 个字符内;仓库配置了其他限制时服从该配置。标题末尾不加句号,不用 emoji 或全角冒号。
71
71
  - 简单单文件变更可以没有 body;跨层实现、数据迁移、并发或事务修复、重要功能和行为变化使用 body 解释做了什么、为什么以及如何验证。
72
72
  - REST/GraphQL/RPC 契约、事件格式、公共 Java API、配置语义或数据库兼容性发生真实破坏时,使用 `!` 和 `BREAKING CHANGE:` 并写迁移方式。
73
73
  - 仅在已知编号或仓库要求时加入工单、DCO、`Signed-off-by` 等 footer,禁止编造;不要因为 Spring 项目采用 DCO 就推断所有 Java 项目都必须签署。
@@ -106,7 +106,7 @@ fix(settlement): 修复重复回调导致结算流水重复入账的问题
106
106
 
107
107
  - [ ] type 与 scope 通过仓库校验规则,完整消息经仓库命令校验通过。
108
108
  - [ ] scope 来自仓库枚举、构建模块或业务域,未使用 `controller`、`service`、`repository` 或类名兜底。
109
- - [ ] 标题为英文 type/scope + ASCII 冒号 + 中文摘要,完整 header 不超过 72 字符。
109
+ - [ ] 标题语言、type/scope 和长度符合仓库配置;无配置时才使用本技能回退格式。
110
110
  - [ ] 提交可独立理解、构建和回滚;数据库迁移与对应实体、查询和测试同提交。
111
111
  - [ ] 暂存区不包含 `target/`、`build/`、日志或本地运行产物。
112
112
  - [ ] 已使用仓库 wrapper 运行与变更范围匹配的最小充分检查。
@@ -48,7 +48,7 @@ node <skill-root>/scripts/extract.mjs skill-names --in <live-lock.json> --out <w
48
48
 
49
49
  1. Detect: `<wiki-root>/wiki/index.md` + `CLAUDE.md` (or `AGENTS.md`) means a wiki exists. Default wiki-root is repo-root `wiki/`. If `yss-project.yaml` is `repository_mode: template-source`, wiki-root is `.template-source/wiki`.
50
50
  2. If the user is asking a repository question, load [query.md](references/query.md) and stop. Do not lint, ingest, or append `log.md`.
51
- 3. Load the mode algorithm: [compile.md](references/compile.md) for init/refresh/rebuild, [ingest.md](references/ingest.md) for ingest. For init/rebuild corpus choice, load [discover.md](discover.md). For writing, load [writing.md](references/writing.md). For checks, load [lint.md](references/lint.md).
51
+ 3. Load the mode algorithm: [compile.md](references/compile.md) for init/refresh/rebuild, [ingest.md](references/ingest.md) for ingest. For init/rebuild corpus choice, load [discover.md](references/discover.md). For writing, load [writing.md](references/writing.md). For checks, load [lint.md](references/lint.md).
52
52
  4. **Fact order:** called code > table comments / config defaults > stale raw copies. After writing, re-read live sources for a sample of claims (`N = min(5, changed pages)`).
53
53
  5. Run structural lint and advise. Append `log.md`. Stop.
54
54
 
@@ -34,8 +34,7 @@ These rules override generic assistant defaults for Product Design work.
34
34
 
35
35
  ## Re-read this file
36
36
 
37
- - Before every second user-facing assistant message, read this file, reminding of these principles.
38
- - A user-facing assistant message is any message sent in `commentary` or `final`.
37
+ - Read this file on first entering a Product Design workflow. Re-read only when context was lost, the file changed, or a new workflow/decision requires it; do not use a message-count cadence.
39
38
 
40
39
  ## Explore vs. Design vs. Build
41
40
 
@@ -45,7 +44,7 @@ These rules override generic assistant defaults for Product Design work.
45
44
  - Never invent a better first screen, landing page, hero, card style, icon set, image style, color palette, radius, spacing, or typography when cloning or matching a provided source. Match the source.
46
45
  - Check the work like a senior designer. Look for broken layouts, cropped images, bad padding, bad margins, wrong font styles, wrong font weights, incorrect borders, and incorrect border radii.
47
46
  - Screenshots are not QA by themselves. Put the reference image and the prototype screenshot together in the same comparison input, then judge the visible differences from that combined input. Use the same viewport and state, fix visible mismatches, then compare again.
48
- - Build the current screen's interactions. Sidebars, menus, navs, forms, inputs, buttons, tabs, dropdowns, drawers, modals, popovers, carousels, tooltips, filters, toggles, and first-screen controls must be functional and populated with realistic mock data. Do not build new pages or routes unless the user asks for them.
47
+ - Carry the confirmed interactivity level and required states into every downstream workflow and QA. Static review requires visual/state representation only; interactive prototypes implement the agreed flows and key failure states. Do not add CRUD, real data writes, new pages or routes beyond the agreed scope.
49
48
 
50
49
  ## Browser user
51
50
 
@@ -54,5 +53,5 @@ These rules override generic assistant defaults for Product Design work.
54
53
 
55
54
  ## Working with and making assets
56
55
 
57
- - Never fake visible assets with ASCII, prose, text symbols, emoji, placeholder boxes, CSS art, div art, handcrafted SVGs, inline SVGs, or approximate code drawings. Use real source assets when available. Use the built-in Image Gen tool for image assets when source assets are missing. Use the closest matching icon library for icons.
56
+ - Never fake visible assets with ASCII, prose, text symbols, emoji, placeholder boxes, CSS art, div art, handcrafted SVGs, inline SVGs, or approximate code drawings. Preserve approved source assets, including existing SVGs and code-native brand components. The prohibition concerns unapproved approximations replacing the target, not faithful reuse. Use real source assets when available. Use the built-in Image Gen tool for image assets when source assets are missing. Use the closest matching icon library for icons.
58
57
  - Work like a designer. Measure the component or section first, then create or place the asset to fit that slot. Match the needed dimensions, crop, subject, palette, and density. Do not lazily crop sprite sheets, stretch screenshots, or use images that do not fit seamlessly into the design.
@@ -44,7 +44,7 @@ Destination rules:
44
44
 
45
45
  - If the user names Figma, use Figma.
46
46
  - If the user names a local folder, use that folder.
47
- - If the destination is missing, ask one question: "Should I put this in Figma or a local folder?"
47
+ - If no destination is specified, use the current local output folder. Ask only if a remote destination or sharing choice materially affects the requested audit.
48
48
 
49
49
  Capture rules:
50
50
 
@@ -77,7 +77,7 @@ Every QA report must explicitly evaluate these surfaces:
77
77
  - Fonts and typography: family, fallback, weight, size, line height, letter spacing, antialiasing, hierarchy, wrapping, truncation, and whether display text and small UI text use appropriate optical weights. It is incredibly important to check fonts carefully for fidelity, including looking up similar typefaces or using image analysis to find the font differences.
78
78
  - Spacing and layout rhythm: frame size, crop, alignment, margins, padding, grid tracks, section gaps, component spacing, radii, shadows/elevation, and vertical rhythm.
79
79
  - Colors and visual tokens: sampled or inferred palette, gradients, opacity, contrast, semantic state colors, foreground/background balance, and whether CSS tokens map to the source design.
80
- - Image quality and asset fidelity: subject correctness, crop, scale, sharpness, compression, transparency halos, masking, background treatment, raster-vs-vector appropriateness, and whether generated assets match the source art direction. Fail QA if logos, illustrations, decorative marks, product imagery, non-standard icons, or other visible image assets from the visual target were replaced with custom inline SVG, handcrafted SVG, HTML elements, div/span shapes, CSS drawings, gradients, emoji, text glyphs, placeholder shapes, or code-native approximations.
80
+ - Image quality and asset fidelity: subject correctness, crop, scale, sharpness, compression, transparency halos, masking, background treatment, raster-vs-vector appropriateness, and whether generated assets match the source art direction. Preserve existing approved SVG and code-native assets. Fail QA when, without approval, logos, illustrations, decorative marks, product imagery, non-standard icons, or other visible image assets from the visual target were replaced with approximate custom inline SVG, handcrafted SVG, HTML elements, div/span shapes, CSS drawings, gradients, emoji, text glyphs, placeholder shapes, or code-native approximations.
81
81
  - Copy and content of app-specific text
82
82
 
83
83
  ## Severity
@@ -48,7 +48,8 @@ The questions to answer are:
48
48
  One of:
49
49
 
50
50
  - Full interactivity: all controls and states are completely functional and implemented.
51
- - Static: controls and states are minimally interactive, preferring speed.
51
+ - Static: visual/state review only; simulated controls are labelled and no functional workflow is implied.
52
+ - Pass `interactivity`, `required_states`, selected visual source and asset-reuse decisions to the next skill and its QA; reuse an already confirmed brief unless its scope changes.
52
53
 
53
54
  After the questions, reply with a pithy design brief that summarizes what you're about to explore. Avoid walls of text at all costs. Be clear and concise.
54
55