@captain_z/zsk-skills 1.8.11 → 1.9.0

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 (372) hide show
  1. package/package.json +1 -1
  2. package/zsk/SKILL.md +8 -4
  3. package/zsk/TEMPLATES.md +460 -0
  4. package/zsk/harness/POLICY.md +1 -1
  5. package/zsk/harness/THIS_SKILL.md +2 -2
  6. package/zsk/harness/best-practices/quality.md +5 -0
  7. package/zsk/harness/constraints/skill-role-contract.md +59 -29
  8. package/zsk/harness/constraints/stage-gates.md +4 -3
  9. package/zsk/harness/contracts/profile-strategy.yaml +16 -5
  10. package/zsk/harness/contracts/work-management.yaml +5 -5
  11. package/zsk/harness/profiles/frontend.yaml +69 -6
  12. package/zsk/harness/workflow/completion-contract.yaml +18 -0
  13. package/zsk/harness/workflow/skill-io-contract.yaml +22 -6
  14. package/zsk/harness/workflow/skill-quality-standards.yaml +6 -4
  15. package/zsk/harness/workflow/stage-contracts.yaml +9 -7
  16. package/zsk-acceptance/SKILL.md +2 -1
  17. package/zsk-acceptance/TEMPLATES.md +243 -0
  18. package/zsk-acceptance/harness/POLICY.md +1 -1
  19. package/zsk-acceptance/harness/THIS_SKILL.md +2 -2
  20. package/zsk-acceptance/harness/best-practices/quality.md +5 -0
  21. package/zsk-acceptance/harness/constraints/skill-role-contract.md +59 -29
  22. package/zsk-acceptance/harness/constraints/stage-gates.md +4 -3
  23. package/zsk-acceptance/harness/contracts/profile-strategy.yaml +16 -5
  24. package/zsk-acceptance/harness/contracts/work-management.yaml +5 -5
  25. package/zsk-acceptance/harness/profiles/frontend.yaml +69 -6
  26. package/zsk-acceptance/harness/workflow/completion-contract.yaml +18 -0
  27. package/zsk-acceptance/harness/workflow/skill-io-contract.yaml +22 -6
  28. package/zsk-acceptance/harness/workflow/skill-quality-standards.yaml +6 -4
  29. package/zsk-acceptance/harness/workflow/stage-contracts.yaml +9 -7
  30. package/zsk-archive/SKILL.md +2 -1
  31. package/zsk-archive/TEMPLATES.md +243 -0
  32. package/zsk-archive/harness/POLICY.md +1 -1
  33. package/zsk-archive/harness/THIS_SKILL.md +2 -2
  34. package/zsk-archive/harness/best-practices/quality.md +5 -0
  35. package/zsk-archive/harness/constraints/skill-role-contract.md +59 -29
  36. package/zsk-archive/harness/constraints/stage-gates.md +4 -3
  37. package/zsk-archive/harness/contracts/profile-strategy.yaml +16 -5
  38. package/zsk-archive/harness/contracts/work-management.yaml +5 -5
  39. package/zsk-archive/harness/profiles/frontend.yaml +69 -6
  40. package/zsk-archive/harness/workflow/completion-contract.yaml +18 -0
  41. package/zsk-archive/harness/workflow/skill-io-contract.yaml +22 -6
  42. package/zsk-archive/harness/workflow/skill-quality-standards.yaml +6 -4
  43. package/zsk-archive/harness/workflow/stage-contracts.yaml +9 -7
  44. package/zsk-check/SKILL.md +2 -1
  45. package/zsk-check/TEMPLATES.md +381 -0
  46. package/zsk-check/harness/POLICY.md +1 -1
  47. package/zsk-check/harness/THIS_SKILL.md +2 -2
  48. package/zsk-check/harness/constraints/skill-role-contract.md +59 -29
  49. package/zsk-check/harness/constraints/stage-gates.md +4 -3
  50. package/zsk-check/harness/contracts/profile-strategy.yaml +16 -5
  51. package/zsk-check/harness/contracts/work-management.yaml +5 -5
  52. package/zsk-check/harness/profiles/frontend.yaml +69 -6
  53. package/zsk-check/harness/workflow/completion-contract.yaml +18 -0
  54. package/zsk-check/harness/workflow/skill-io-contract.yaml +22 -6
  55. package/zsk-check/harness/workflow/skill-quality-standards.yaml +6 -4
  56. package/zsk-check/harness/workflow/stage-contracts.yaml +9 -7
  57. package/zsk-coding/SKILL.md +22 -11
  58. package/zsk-coding/TEMPLATES.md +321 -0
  59. package/zsk-coding/harness/POLICY.md +1 -1
  60. package/zsk-coding/harness/THIS_SKILL.md +16 -11
  61. package/zsk-coding/harness/best-practices/quality.md +5 -0
  62. package/zsk-coding/harness/constraints/skill-role-contract.md +59 -29
  63. package/zsk-coding/harness/constraints/stage-gates.md +4 -3
  64. package/zsk-coding/harness/contracts/profile-strategy.yaml +16 -5
  65. package/zsk-coding/harness/contracts/work-management.yaml +5 -5
  66. package/zsk-coding/harness/profiles/frontend.yaml +69 -6
  67. package/zsk-coding/harness/workflow/completion-contract.yaml +18 -0
  68. package/zsk-coding/harness/workflow/skill-io-contract.yaml +22 -6
  69. package/zsk-coding/harness/workflow/skill-quality-standards.yaml +29 -14
  70. package/zsk-coding/harness/workflow/stage-contracts.yaml +9 -7
  71. package/zsk-commit/SKILL.md +8 -2
  72. package/zsk-commit/TEMPLATES.md +119 -0
  73. package/zsk-commit/harness/POLICY.md +1 -1
  74. package/zsk-commit/harness/THIS_SKILL.md +2 -2
  75. package/zsk-commit/harness/best-practices/quality.md +5 -0
  76. package/zsk-commit/harness/constraints/skill-role-contract.md +59 -29
  77. package/zsk-commit/harness/constraints/stage-gates.md +4 -3
  78. package/zsk-commit/harness/contracts/profile-strategy.yaml +16 -5
  79. package/zsk-commit/harness/contracts/work-management.yaml +5 -5
  80. package/zsk-commit/harness/profiles/frontend.yaml +69 -6
  81. package/zsk-commit/harness/workflow/completion-contract.yaml +18 -0
  82. package/zsk-commit/harness/workflow/skill-io-contract.yaml +22 -6
  83. package/zsk-commit/harness/workflow/skill-quality-standards.yaml +6 -4
  84. package/zsk-commit/harness/workflow/stage-contracts.yaml +9 -7
  85. package/zsk-defect/SKILL.md +2 -1
  86. package/zsk-defect/TEMPLATES.md +317 -0
  87. package/zsk-defect/harness/POLICY.md +1 -1
  88. package/zsk-defect/harness/THIS_SKILL.md +2 -2
  89. package/zsk-defect/harness/best-practices/frontend.md +38 -7
  90. package/zsk-defect/harness/best-practices/quality.md +5 -0
  91. package/zsk-defect/harness/constraints/skill-role-contract.md +59 -29
  92. package/zsk-defect/harness/constraints/stage-gates.md +4 -3
  93. package/zsk-defect/harness/contracts/profile-strategy.yaml +16 -5
  94. package/zsk-defect/harness/contracts/work-management.yaml +5 -5
  95. package/zsk-defect/harness/profiles/frontend.yaml +69 -6
  96. package/zsk-defect/harness/workflow/completion-contract.yaml +18 -0
  97. package/zsk-defect/harness/workflow/skill-io-contract.yaml +22 -6
  98. package/zsk-defect/harness/workflow/skill-quality-standards.yaml +6 -4
  99. package/zsk-defect/harness/workflow/stage-contracts.yaml +9 -7
  100. package/zsk-demo/SKILL.md +43 -4
  101. package/zsk-demo/TEMPLATES.md +685 -0
  102. package/zsk-demo/harness/POLICY.md +1 -1
  103. package/zsk-demo/harness/THIS_SKILL.md +9 -6
  104. package/zsk-demo/harness/best-practices/design-handoff.md +80 -3
  105. package/zsk-demo/harness/best-practices/frontend.md +38 -7
  106. package/zsk-demo/harness/best-practices/quality.md +5 -0
  107. package/zsk-demo/harness/constraints/skill-role-contract.md +59 -29
  108. package/zsk-demo/harness/constraints/stage-gates.md +4 -3
  109. package/zsk-demo/harness/contracts/profile-strategy.yaml +16 -5
  110. package/zsk-demo/harness/contracts/work-management.yaml +5 -5
  111. package/zsk-demo/harness/profiles/frontend.yaml +69 -6
  112. package/zsk-demo/harness/workflow/completion-contract.yaml +18 -0
  113. package/zsk-demo/harness/workflow/skill-io-contract.yaml +28 -6
  114. package/zsk-demo/harness/workflow/skill-quality-standards.yaml +6 -4
  115. package/zsk-demo/harness/workflow/stage-contracts.yaml +9 -7
  116. package/zsk-deploy/SKILL.md +2 -1
  117. package/zsk-deploy/TEMPLATES.md +246 -0
  118. package/zsk-deploy/harness/POLICY.md +1 -1
  119. package/zsk-deploy/harness/THIS_SKILL.md +2 -2
  120. package/zsk-deploy/harness/best-practices/quality.md +5 -0
  121. package/zsk-deploy/harness/constraints/skill-role-contract.md +59 -29
  122. package/zsk-deploy/harness/constraints/stage-gates.md +4 -3
  123. package/zsk-deploy/harness/contracts/profile-strategy.yaml +16 -5
  124. package/zsk-deploy/harness/contracts/work-management.yaml +5 -5
  125. package/zsk-deploy/harness/profiles/frontend.yaml +69 -6
  126. package/zsk-deploy/harness/workflow/completion-contract.yaml +18 -0
  127. package/zsk-deploy/harness/workflow/skill-io-contract.yaml +22 -6
  128. package/zsk-deploy/harness/workflow/skill-quality-standards.yaml +6 -4
  129. package/zsk-deploy/harness/workflow/stage-contracts.yaml +9 -7
  130. package/zsk-design/SKILL.md +63 -4
  131. package/zsk-design/TEMPLATES.md +697 -0
  132. package/zsk-design/harness/POLICY.md +1 -1
  133. package/zsk-design/harness/THIS_SKILL.md +8 -4
  134. package/zsk-design/harness/best-practices/frontend.md +38 -7
  135. package/zsk-design/harness/constraints/skill-role-contract.md +59 -29
  136. package/zsk-design/harness/constraints/stage-gates.md +4 -3
  137. package/zsk-design/harness/contracts/profile-strategy.yaml +16 -5
  138. package/zsk-design/harness/contracts/work-management.yaml +5 -5
  139. package/zsk-design/harness/profiles/frontend.yaml +69 -6
  140. package/zsk-design/harness/workflow/completion-contract.yaml +18 -0
  141. package/zsk-design/harness/workflow/skill-io-contract.yaml +26 -6
  142. package/zsk-design/harness/workflow/skill-quality-standards.yaml +6 -4
  143. package/zsk-design/harness/workflow/stage-contracts.yaml +9 -7
  144. package/zsk-dispatch/SKILL.md +2 -1
  145. package/zsk-dispatch/TEMPLATES.md +462 -0
  146. package/zsk-dispatch/harness/POLICY.md +1 -1
  147. package/zsk-dispatch/harness/THIS_SKILL.md +2 -2
  148. package/zsk-dispatch/harness/constraints/skill-role-contract.md +59 -29
  149. package/zsk-dispatch/harness/constraints/stage-gates.md +4 -3
  150. package/zsk-dispatch/harness/contracts/profile-strategy.yaml +16 -5
  151. package/zsk-dispatch/harness/contracts/work-management.yaml +5 -5
  152. package/zsk-dispatch/harness/profiles/frontend.yaml +69 -6
  153. package/zsk-dispatch/harness/workflow/completion-contract.yaml +18 -0
  154. package/zsk-dispatch/harness/workflow/skill-io-contract.yaml +22 -6
  155. package/zsk-dispatch/harness/workflow/skill-quality-standards.yaml +6 -4
  156. package/zsk-dispatch/harness/workflow/stage-contracts.yaml +9 -7
  157. package/zsk-fix/SKILL.md +2 -1
  158. package/zsk-fix/TEMPLATES.md +375 -0
  159. package/zsk-fix/harness/POLICY.md +1 -1
  160. package/zsk-fix/harness/THIS_SKILL.md +2 -2
  161. package/zsk-fix/harness/best-practices/quality.md +5 -0
  162. package/zsk-fix/harness/constraints/skill-role-contract.md +59 -29
  163. package/zsk-fix/harness/constraints/stage-gates.md +4 -3
  164. package/zsk-fix/harness/contracts/profile-strategy.yaml +16 -5
  165. package/zsk-fix/harness/contracts/work-management.yaml +5 -5
  166. package/zsk-fix/harness/profiles/frontend.yaml +69 -6
  167. package/zsk-fix/harness/workflow/completion-contract.yaml +18 -0
  168. package/zsk-fix/harness/workflow/skill-io-contract.yaml +22 -6
  169. package/zsk-fix/harness/workflow/skill-quality-standards.yaml +6 -4
  170. package/zsk-fix/harness/workflow/stage-contracts.yaml +9 -7
  171. package/zsk-flow/SKILL.md +2 -1
  172. package/zsk-flow/TEMPLATES.md +324 -0
  173. package/zsk-flow/harness/POLICY.md +1 -1
  174. package/zsk-flow/harness/THIS_SKILL.md +2 -2
  175. package/zsk-flow/harness/constraints/skill-role-contract.md +59 -29
  176. package/zsk-flow/harness/constraints/stage-gates.md +4 -3
  177. package/zsk-flow/harness/contracts/profile-strategy.yaml +16 -5
  178. package/zsk-flow/harness/contracts/work-management.yaml +5 -5
  179. package/zsk-flow/harness/profiles/frontend.yaml +69 -6
  180. package/zsk-flow/harness/workflow/completion-contract.yaml +18 -0
  181. package/zsk-flow/harness/workflow/skill-io-contract.yaml +22 -6
  182. package/zsk-flow/harness/workflow/skill-quality-standards.yaml +6 -4
  183. package/zsk-flow/harness/workflow/stage-contracts.yaml +9 -7
  184. package/zsk-health/SKILL.md +2 -1
  185. package/zsk-health/TEMPLATES.md +462 -0
  186. package/zsk-health/harness/POLICY.md +1 -1
  187. package/zsk-health/harness/THIS_SKILL.md +2 -2
  188. package/zsk-health/harness/constraints/skill-role-contract.md +59 -29
  189. package/zsk-health/harness/constraints/stage-gates.md +4 -3
  190. package/zsk-health/harness/contracts/profile-strategy.yaml +16 -5
  191. package/zsk-health/harness/contracts/work-management.yaml +5 -5
  192. package/zsk-health/harness/profiles/frontend.yaml +69 -6
  193. package/zsk-health/harness/workflow/completion-contract.yaml +18 -0
  194. package/zsk-health/harness/workflow/skill-io-contract.yaml +22 -6
  195. package/zsk-health/harness/workflow/skill-quality-standards.yaml +6 -4
  196. package/zsk-health/harness/workflow/stage-contracts.yaml +9 -7
  197. package/zsk-issue/SKILL.md +2 -1
  198. package/zsk-issue/TEMPLATES.md +377 -0
  199. package/zsk-issue/harness/POLICY.md +1 -1
  200. package/zsk-issue/harness/THIS_SKILL.md +2 -2
  201. package/zsk-issue/harness/best-practices/quality.md +5 -0
  202. package/zsk-issue/harness/constraints/skill-role-contract.md +59 -29
  203. package/zsk-issue/harness/constraints/stage-gates.md +4 -3
  204. package/zsk-issue/harness/contracts/profile-strategy.yaml +16 -5
  205. package/zsk-issue/harness/contracts/work-management.yaml +5 -5
  206. package/zsk-issue/harness/profiles/frontend.yaml +69 -6
  207. package/zsk-issue/harness/workflow/completion-contract.yaml +18 -0
  208. package/zsk-issue/harness/workflow/skill-io-contract.yaml +22 -6
  209. package/zsk-issue/harness/workflow/skill-quality-standards.yaml +6 -4
  210. package/zsk-issue/harness/workflow/stage-contracts.yaml +9 -7
  211. package/zsk-learn/SKILL.md +2 -1
  212. package/zsk-learn/TEMPLATES.md +372 -0
  213. package/zsk-learn/harness/POLICY.md +1 -1
  214. package/zsk-learn/harness/THIS_SKILL.md +2 -2
  215. package/zsk-learn/harness/best-practices/quality.md +5 -0
  216. package/zsk-learn/harness/constraints/skill-role-contract.md +59 -29
  217. package/zsk-learn/harness/constraints/stage-gates.md +4 -3
  218. package/zsk-learn/harness/contracts/profile-strategy.yaml +16 -5
  219. package/zsk-learn/harness/contracts/work-management.yaml +5 -5
  220. package/zsk-learn/harness/profiles/frontend.yaml +69 -6
  221. package/zsk-learn/harness/workflow/completion-contract.yaml +18 -0
  222. package/zsk-learn/harness/workflow/skill-io-contract.yaml +22 -6
  223. package/zsk-learn/harness/workflow/skill-quality-standards.yaml +6 -4
  224. package/zsk-learn/harness/workflow/stage-contracts.yaml +9 -7
  225. package/zsk-prepare/SKILL.md +22 -5
  226. package/zsk-prepare/TEMPLATES.md +630 -0
  227. package/zsk-prepare/harness/POLICY.md +1 -1
  228. package/zsk-prepare/harness/THIS_SKILL.md +7 -5
  229. package/zsk-prepare/harness/best-practices/project-constraints-template.md +1 -1
  230. package/zsk-prepare/harness/best-practices/quality.md +5 -0
  231. package/zsk-prepare/harness/constraints/skill-role-contract.md +59 -29
  232. package/zsk-prepare/harness/constraints/stage-gates.md +4 -3
  233. package/zsk-prepare/harness/contracts/profile-strategy.yaml +16 -5
  234. package/zsk-prepare/harness/contracts/work-management.yaml +5 -5
  235. package/zsk-prepare/harness/profiles/frontend.yaml +69 -6
  236. package/zsk-prepare/harness/workflow/completion-contract.yaml +18 -0
  237. package/zsk-prepare/harness/workflow/skill-io-contract.yaml +27 -7
  238. package/zsk-prepare/harness/workflow/skill-quality-standards.yaml +6 -4
  239. package/zsk-prepare/harness/workflow/stage-contracts.yaml +9 -7
  240. package/zsk-preproposal/SKILL.md +39 -3
  241. package/zsk-preproposal/TEMPLATES.md +1385 -0
  242. package/zsk-preproposal/harness/POLICY.md +1 -1
  243. package/zsk-preproposal/harness/THIS_SKILL.md +6 -5
  244. package/zsk-preproposal/harness/best-practices/design-handoff.md +80 -3
  245. package/zsk-preproposal/harness/best-practices/project-constraints-template.md +1 -1
  246. package/zsk-preproposal/harness/best-practices/quality.md +5 -0
  247. package/zsk-preproposal/harness/constraints/skill-role-contract.md +59 -29
  248. package/zsk-preproposal/harness/constraints/stage-gates.md +4 -3
  249. package/zsk-preproposal/harness/contracts/profile-strategy.yaml +16 -5
  250. package/zsk-preproposal/harness/contracts/work-management.yaml +5 -5
  251. package/zsk-preproposal/harness/profiles/frontend.yaml +69 -6
  252. package/zsk-preproposal/harness/workflow/completion-contract.yaml +18 -0
  253. package/zsk-preproposal/harness/workflow/skill-io-contract.yaml +25 -7
  254. package/zsk-preproposal/harness/workflow/skill-quality-standards.yaml +6 -4
  255. package/zsk-preproposal/harness/workflow/stage-contracts.yaml +9 -7
  256. package/zsk-proposal/SKILL.md +10 -2
  257. package/zsk-proposal/TEMPLATES.md +619 -0
  258. package/zsk-proposal/harness/POLICY.md +1 -1
  259. package/zsk-proposal/harness/THIS_SKILL.md +2 -2
  260. package/zsk-proposal/harness/best-practices/project-constraints-template.md +1 -1
  261. package/zsk-proposal/harness/constraints/skill-role-contract.md +59 -29
  262. package/zsk-proposal/harness/constraints/stage-gates.md +4 -3
  263. package/zsk-proposal/harness/contracts/profile-strategy.yaml +16 -5
  264. package/zsk-proposal/harness/contracts/work-management.yaml +5 -5
  265. package/zsk-proposal/harness/profiles/frontend.yaml +69 -6
  266. package/zsk-proposal/harness/workflow/completion-contract.yaml +18 -0
  267. package/zsk-proposal/harness/workflow/skill-io-contract.yaml +22 -6
  268. package/zsk-proposal/harness/workflow/skill-quality-standards.yaml +6 -4
  269. package/zsk-proposal/harness/workflow/stage-contracts.yaml +9 -7
  270. package/zsk-ready/SKILL.md +2 -1
  271. package/zsk-ready/TEMPLATES.md +233 -0
  272. package/zsk-ready/harness/POLICY.md +1 -1
  273. package/zsk-ready/harness/THIS_SKILL.md +2 -2
  274. package/zsk-ready/harness/best-practices/quality.md +5 -0
  275. package/zsk-ready/harness/constraints/skill-role-contract.md +59 -29
  276. package/zsk-ready/harness/constraints/stage-gates.md +4 -3
  277. package/zsk-ready/harness/contracts/profile-strategy.yaml +16 -5
  278. package/zsk-ready/harness/contracts/work-management.yaml +5 -5
  279. package/zsk-ready/harness/profiles/frontend.yaml +69 -6
  280. package/zsk-ready/harness/workflow/completion-contract.yaml +18 -0
  281. package/zsk-ready/harness/workflow/skill-io-contract.yaml +22 -6
  282. package/zsk-ready/harness/workflow/skill-quality-standards.yaml +6 -4
  283. package/zsk-ready/harness/workflow/stage-contracts.yaml +9 -7
  284. package/zsk-review/SKILL.md +3 -2
  285. package/zsk-review/TEMPLATES.md +392 -0
  286. package/zsk-review/harness/POLICY.md +1 -1
  287. package/zsk-review/harness/THIS_SKILL.md +2 -2
  288. package/zsk-review/harness/best-practices/frontend.md +38 -7
  289. package/zsk-review/harness/best-practices/quality.md +5 -0
  290. package/zsk-review/harness/constraints/skill-role-contract.md +59 -29
  291. package/zsk-review/harness/constraints/stage-gates.md +4 -3
  292. package/zsk-review/harness/contracts/profile-strategy.yaml +16 -5
  293. package/zsk-review/harness/contracts/work-management.yaml +5 -5
  294. package/zsk-review/harness/profiles/frontend.yaml +69 -6
  295. package/zsk-review/harness/workflow/completion-contract.yaml +18 -0
  296. package/zsk-review/harness/workflow/skill-io-contract.yaml +22 -6
  297. package/zsk-review/harness/workflow/skill-quality-standards.yaml +6 -4
  298. package/zsk-review/harness/workflow/stage-contracts.yaml +9 -7
  299. package/zsk-smoke/SKILL.md +2 -1
  300. package/zsk-smoke/TEMPLATES.md +256 -0
  301. package/zsk-smoke/harness/POLICY.md +1 -1
  302. package/zsk-smoke/harness/THIS_SKILL.md +2 -2
  303. package/zsk-smoke/harness/best-practices/frontend.md +38 -7
  304. package/zsk-smoke/harness/best-practices/quality.md +5 -0
  305. package/zsk-smoke/harness/constraints/skill-role-contract.md +59 -29
  306. package/zsk-smoke/harness/constraints/stage-gates.md +4 -3
  307. package/zsk-smoke/harness/contracts/profile-strategy.yaml +16 -5
  308. package/zsk-smoke/harness/contracts/work-management.yaml +5 -5
  309. package/zsk-smoke/harness/profiles/frontend.yaml +69 -6
  310. package/zsk-smoke/harness/workflow/completion-contract.yaml +18 -0
  311. package/zsk-smoke/harness/workflow/skill-io-contract.yaml +22 -6
  312. package/zsk-smoke/harness/workflow/skill-quality-standards.yaml +6 -4
  313. package/zsk-smoke/harness/workflow/stage-contracts.yaml +9 -7
  314. package/zsk-spec/SKILL.md +11 -6
  315. package/zsk-spec/TEMPLATES.md +173 -0
  316. package/zsk-spec/harness/POLICY.md +1 -1
  317. package/zsk-spec/harness/THIS_SKILL.md +2 -2
  318. package/zsk-spec/harness/best-practices/project-constraints-template.md +1 -1
  319. package/zsk-spec/harness/best-practices/quality.md +5 -0
  320. package/zsk-spec/harness/constraints/skill-role-contract.md +59 -29
  321. package/zsk-spec/harness/constraints/stage-gates.md +4 -3
  322. package/zsk-spec/harness/contracts/profile-strategy.yaml +16 -5
  323. package/zsk-spec/harness/contracts/work-management.yaml +5 -5
  324. package/zsk-spec/harness/profiles/frontend.yaml +69 -6
  325. package/zsk-spec/harness/workflow/completion-contract.yaml +18 -0
  326. package/zsk-spec/harness/workflow/skill-io-contract.yaml +22 -6
  327. package/zsk-spec/harness/workflow/skill-quality-standards.yaml +6 -4
  328. package/zsk-spec/harness/workflow/stage-contracts.yaml +9 -7
  329. package/zsk-task/SKILL.md +110 -29
  330. package/zsk-task/TEMPLATES.md +826 -0
  331. package/zsk-task/harness/POLICY.md +1 -1
  332. package/zsk-task/harness/THIS_SKILL.md +21 -18
  333. package/zsk-task/harness/best-practices/project-constraints-template.md +1 -1
  334. package/zsk-task/harness/best-practices/quality.md +5 -0
  335. package/zsk-task/harness/constraints/skill-role-contract.md +59 -29
  336. package/zsk-task/harness/constraints/stage-gates.md +4 -3
  337. package/zsk-task/harness/contracts/profile-strategy.yaml +16 -5
  338. package/zsk-task/harness/contracts/work-management.yaml +5 -5
  339. package/zsk-task/harness/profiles/frontend.yaml +69 -6
  340. package/zsk-task/harness/workflow/completion-contract.yaml +18 -0
  341. package/zsk-task/harness/workflow/skill-io-contract.yaml +26 -7
  342. package/zsk-task/harness/workflow/skill-quality-standards.yaml +24 -19
  343. package/zsk-task/harness/workflow/stage-contracts.yaml +9 -7
  344. package/zsk-verify/SKILL.md +68 -6
  345. package/zsk-verify/TEMPLATES.md +718 -0
  346. package/zsk-verify/harness/POLICY.md +1 -1
  347. package/zsk-verify/harness/THIS_SKILL.md +14 -5
  348. package/zsk-verify/harness/best-practices/frontend.md +38 -7
  349. package/zsk-verify/harness/best-practices/quality.md +5 -0
  350. package/zsk-verify/harness/constraints/skill-role-contract.md +59 -29
  351. package/zsk-verify/harness/constraints/stage-gates.md +4 -3
  352. package/zsk-verify/harness/contracts/profile-strategy.yaml +16 -5
  353. package/zsk-verify/harness/contracts/work-management.yaml +5 -5
  354. package/zsk-verify/harness/profiles/frontend.yaml +69 -6
  355. package/zsk-verify/harness/workflow/completion-contract.yaml +18 -0
  356. package/zsk-verify/harness/workflow/skill-io-contract.yaml +33 -6
  357. package/zsk-verify/harness/workflow/skill-quality-standards.yaml +6 -4
  358. package/zsk-verify/harness/workflow/stage-contracts.yaml +9 -7
  359. package/zskplan/SKILL.md +2 -1
  360. package/zskplan/TEMPLATES.md +854 -0
  361. package/zskplan/harness/POLICY.md +1 -1
  362. package/zskplan/harness/THIS_SKILL.md +2 -2
  363. package/zskplan/harness/best-practices/quality.md +5 -0
  364. package/zskplan/harness/constraints/skill-role-contract.md +59 -29
  365. package/zskplan/harness/constraints/stage-gates.md +4 -3
  366. package/zskplan/harness/contracts/profile-strategy.yaml +16 -5
  367. package/zskplan/harness/contracts/work-management.yaml +5 -5
  368. package/zskplan/harness/profiles/frontend.yaml +69 -6
  369. package/zskplan/harness/workflow/completion-contract.yaml +18 -0
  370. package/zskplan/harness/workflow/skill-io-contract.yaml +22 -6
  371. package/zskplan/harness/workflow/skill-quality-standards.yaml +6 -4
  372. package/zskplan/harness/workflow/stage-contracts.yaml +9 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@captain_z/zsk-skills",
3
- "version": "1.8.11",
3
+ "version": "1.9.0",
4
4
  "description": "ZNorth Standard Kit — core harness-first skill content package",
5
5
  "license": "MIT",
6
6
  "files": [
package/zsk/SKILL.md CHANGED
@@ -84,7 +84,10 @@ signals.
84
84
  downstream until the status is `PASS`, `WAIVED`, or `BLOCKED` with owner,
85
85
  impact, and next action.
86
86
  9. Execute the selected stage skill without bypassing its inputs, forbidden scope, output paths, hard requirements, triggered conditional requirements, or evidence gate.
87
- 10. For `coding`, enforce vertical TDD cycles: one behavior, focused RED evidence or tool gap, minimal implementation, focused GREEN evidence, then the next behavior.
87
+ 10. For `coding`, enforce implementation quality loops: prefer one behavior,
88
+ focused RED evidence or tool gap, minimal implementation, focused GREEN
89
+ evidence, then the next behavior; when strict TDD is not practical, require
90
+ a justified equivalent proof before handoff.
88
91
  11. Classify every artifact scope before writing: module-final, module-private, shared, global, or public. Store module-local support artifacts under `_issues`, `_evidence`, or `_playwright`; use outer `.zsk/issues`, `.zsk/evidence`, or `.zsk/playwright` only for shared/global/public artifacts.
89
92
  12. Store plans, docs, issues, evidence, Playwright specs, auth state, traces, reports, and execution state only in their configured `.zsk` locations.
90
93
  13. Run the smallest validation that proves the current claim. For web/UI behavior, prefer module-private Playwright/evidence paths under `.zsk/modules/{module}/_playwright` and `.zsk/modules/{module}/_evidence`.
@@ -121,7 +124,7 @@ Return:
121
124
  - `.zsk` artifacts written;
122
125
  - evidence commands and results;
123
126
  - validation/fix loop iterations;
124
- - artifact clarity status and per-behavior TDD cycles when applicable;
127
+ - artifact clarity status and per-behavior implementation quality loops when applicable;
125
128
  - issues created or updated;
126
129
  - next legal stage or terminal status.
127
130
 
@@ -135,7 +138,7 @@ Expert lanes: <completed / blocked>
135
138
  Artifacts: <.zsk paths>
136
139
  Evidence: <commands/artifacts>
137
140
  Artifact clarity: <PASS | NEEDS_REPAIR | BLOCKED | WAIVED | N/A>
138
- TDD cycles: <per-behavior RED/GREEN/refactor evidence or N/A>
141
+ Implementation loops: <per-behavior RED/GREEN/proof/refactor evidence or N/A>
139
142
  Issues: <created/updated/none>
140
143
  Loop: <iteration count and last fix/verify result>
141
144
  Verdict: PASS | FAIL | BLOCKED | CONTINUE
@@ -249,6 +252,7 @@ Direct mode starts from the user's explicit target. Workflow-only artifacts, app
249
252
 
250
253
  Before claiming completion, internally check these items and surface any failure as NEEDS_REPAIR, NEEDS_CLARIFICATION, or BLOCKED. Missing workflow context lowers confidence; it does not block direct mode unless it is also a direct hard input.
251
254
 
255
+ - If `TEMPLATES.md` exists beside this skill, every anchor matching a declared required output is binding: preserve its skeleton, metadata, heading order, quality check, evidence table, risk ownership, and handoff fields. For non-document outputs, use the template as the mandatory handoff record while still producing the actual code, runtime, issue update, or external action.
252
256
  - Every required output is present, explicitly N/A, or blocked with owner, impact, and next action.
253
257
  - Every must-answer question is answered from evidence, accepted assumption, or explicit unknown.
254
258
  - Hard acceptance rules pass; conditional rules are checked when their trigger is touched.
@@ -318,7 +322,7 @@ Execution discipline:
318
322
  - Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
319
323
  - Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
320
324
  - If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
321
- - Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs; use repo-relative, `.zsk/...`, `$HOME/...`, or `<workspace>/...` references instead.
325
+ - Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs. Use `artifact_ref` or output-path-map keys for cross-skill references; use repo-relative paths only when concrete evidence paths are required.
322
326
  - Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest Context Record target, or the handoff must record `Context update: N/A` with rationale.
323
327
  - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
324
328
  - Learning authority: learning proposals must target the canonical ZSK source repo `.zsk/learning/proposals/`; consuming projects keep experience in archives, docs feedback, or issues and must not create `.zsk/learning/`.
@@ -0,0 +1,460 @@
1
+ <!-- generated-by: tools/generate-skill-templates.ts -->
2
+ # Zsk — Output Templates
3
+
4
+ Mandatory skeletons for the outputs declared in
5
+ `harness/workflow/skill-io-contract.yaml` (`skills.zsk.outputs`):
6
+ `executed-stage`,
7
+ `zsk-artifacts`,
8
+ `expert-lane-results`,
9
+ `validation-evidence`,
10
+ `updated-issues`,
11
+ `next-stage`
12
+
13
+ Authored against `harness/templates/TEMPLATE-STANDARD.md` (zsk source repo).
14
+ This file is self-contained at install time.
15
+
16
+ Authority model: `skill-io-contract.yaml` owns output IDs;
17
+ `completion-contract.yaml` and the workflow graph own artifact resolution;
18
+ `TEMPLATES.md` owns required skeletons; `SOURCE.md` references these anchors.
19
+
20
+ Artifact authority: resolve from workflow graph output-path-map for stage `zsk`
21
+
22
+ Quality basis: this template is ZSK-owned. It synthesizes widely accepted
23
+ delivery practices: source traceability, small reviewable slices, decision
24
+ records, Definition of Ready/Done, risk ownership, verification evidence,
25
+ auditable handoffs, and downstream-consumable contracts. External examples
26
+ are reference inputs only, not the standard answer.
27
+
28
+ For non-document outputs such as implementation, runtime URLs, issue updates,
29
+ or external actions, the skeleton below is the mandatory handoff record; it
30
+ does not replace the actual code, runtime, issue update, or action.
31
+
32
+ ---
33
+
34
+ ## executed-stage
35
+
36
+ ```markdown
37
+ > requirement: {requirement name or id}
38
+ > artifact_ref: outputs.zsk.executed-stage
39
+ > artifact_index: {workflow output-path-map key or local artifact index id}
40
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
41
+ > generated_at: {YYYY-MM-DD}
42
+ > stage: zsk
43
+ > output: executed-stage
44
+
45
+ ## Output Quality Check
46
+
47
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
48
+ - owner: {owner or role}
49
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
50
+ - blocking_items: {none, or issue / missing input / contradiction}
51
+ - next_action: {none, or smallest owner/action/date needed}
52
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
53
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
54
+
55
+ ## Workflow Decision
56
+
57
+ - Current state: {stage/module/status/evidence}
58
+ - Decision: {selected route / staffing / gate / next legal stage}
59
+ - Reason: {facts and constraints}
60
+ - Stop condition: {what makes this route complete or blocked}
61
+
62
+ ## Contract Coverage
63
+
64
+ | Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
65
+ | --- | --- | --- | --- | --- |
66
+ | {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
67
+
68
+ ## Drift Guard
69
+
70
+ - Output path source: completion-contract / workflow graph / output-path-map
71
+ - Skill responsibility boundary: {what this workflow does not own}
72
+ - Re-entry rule: {how to resume without chat memory}
73
+
74
+ ## Contract
75
+
76
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
77
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
78
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
79
+ - Invariants / acceptance conditions: {must remain true downstream}
80
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
81
+
82
+ ## Evidence
83
+
84
+ | Claim | Evidence kind | Reference |
85
+ | --- | --- | --- |
86
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
87
+
88
+ ## Risks And Follow-up
89
+
90
+ | Risk / gap | Impact | Owner | Next action |
91
+ | --- | --- | --- | --- |
92
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
93
+
94
+ ## Handoff
95
+
96
+ - Ready for: {next stage or consumer}
97
+ - Blocks: {blocked downstream work, or none}
98
+ - Re-run / refresh trigger: {when this output becomes stale}
99
+ ```
100
+
101
+ ## zsk-artifacts
102
+
103
+ ```markdown
104
+ > requirement: {requirement name or id}
105
+ > artifact_ref: outputs.zsk.zsk-artifacts
106
+ > artifact_index: {workflow output-path-map key or local artifact index id}
107
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
108
+ > generated_at: {YYYY-MM-DD}
109
+ > stage: zsk
110
+ > output: zsk-artifacts
111
+
112
+ ## Output Quality Check
113
+
114
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
115
+ - owner: {owner or role}
116
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
117
+ - blocking_items: {none, or issue / missing input / contradiction}
118
+ - next_action: {none, or smallest owner/action/date needed}
119
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
120
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
121
+
122
+ ## Workflow Decision
123
+
124
+ - Current state: {stage/module/status/evidence}
125
+ - Decision: {selected route / staffing / gate / next legal stage}
126
+ - Reason: {facts and constraints}
127
+ - Stop condition: {what makes this route complete or blocked}
128
+
129
+ ## Contract Coverage
130
+
131
+ | Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
132
+ | --- | --- | --- | --- | --- |
133
+ | {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
134
+
135
+ ## Drift Guard
136
+
137
+ - Output path source: completion-contract / workflow graph / output-path-map
138
+ - Skill responsibility boundary: {what this workflow does not own}
139
+ - Re-entry rule: {how to resume without chat memory}
140
+
141
+ ## Contract
142
+
143
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
144
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
145
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
146
+ - Invariants / acceptance conditions: {must remain true downstream}
147
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
148
+
149
+ ## Evidence
150
+
151
+ | Claim | Evidence kind | Reference |
152
+ | --- | --- | --- |
153
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
154
+
155
+ ## Risks And Follow-up
156
+
157
+ | Risk / gap | Impact | Owner | Next action |
158
+ | --- | --- | --- | --- |
159
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
160
+
161
+ ## Handoff
162
+
163
+ - Ready for: {next stage or consumer}
164
+ - Blocks: {blocked downstream work, or none}
165
+ - Re-run / refresh trigger: {when this output becomes stale}
166
+ ```
167
+
168
+ ## expert-lane-results
169
+
170
+ ```markdown
171
+ > requirement: {requirement name or id}
172
+ > artifact_ref: outputs.zsk.expert-lane-results
173
+ > artifact_index: {workflow output-path-map key or local artifact index id}
174
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
175
+ > generated_at: {YYYY-MM-DD}
176
+ > stage: zsk
177
+ > output: expert-lane-results
178
+
179
+ ## Output Quality Check
180
+
181
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
182
+ - owner: {owner or role}
183
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
184
+ - blocking_items: {none, or issue / missing input / contradiction}
185
+ - next_action: {none, or smallest owner/action/date needed}
186
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
187
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
188
+
189
+ ## Workflow Decision
190
+
191
+ - Current state: {stage/module/status/evidence}
192
+ - Decision: {selected route / staffing / gate / next legal stage}
193
+ - Reason: {facts and constraints}
194
+ - Stop condition: {what makes this route complete or blocked}
195
+
196
+ ## Contract Coverage
197
+
198
+ | Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
199
+ | --- | --- | --- | --- | --- |
200
+ | {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
201
+
202
+ ## Drift Guard
203
+
204
+ - Output path source: completion-contract / workflow graph / output-path-map
205
+ - Skill responsibility boundary: {what this workflow does not own}
206
+ - Re-entry rule: {how to resume without chat memory}
207
+
208
+ ## Contract
209
+
210
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
211
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
212
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
213
+ - Invariants / acceptance conditions: {must remain true downstream}
214
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
215
+
216
+ ## Evidence
217
+
218
+ | Claim | Evidence kind | Reference |
219
+ | --- | --- | --- |
220
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
221
+
222
+ ## Risks And Follow-up
223
+
224
+ | Risk / gap | Impact | Owner | Next action |
225
+ | --- | --- | --- | --- |
226
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
227
+
228
+ ## Handoff
229
+
230
+ - Ready for: {next stage or consumer}
231
+ - Blocks: {blocked downstream work, or none}
232
+ - Re-run / refresh trigger: {when this output becomes stale}
233
+ ```
234
+
235
+ ## validation-evidence
236
+
237
+ ```markdown
238
+ > requirement: {requirement name or id}
239
+ > artifact_ref: outputs.zsk.validation-evidence
240
+ > artifact_index: {workflow output-path-map key or local artifact index id}
241
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
242
+ > generated_at: {YYYY-MM-DD}
243
+ > stage: zsk
244
+ > output: validation-evidence
245
+
246
+ ## Output Quality Check
247
+
248
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
249
+ - owner: {owner or role}
250
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
251
+ - blocking_items: {none, or issue / missing input / contradiction}
252
+ - next_action: {none, or smallest owner/action/date needed}
253
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
254
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
255
+
256
+ ## Verdict
257
+
258
+ - Claim under review: {claim / stage / artifact / issue}
259
+ - Result: PASS | FAIL | BLOCKED | NEEDS_REPAIR | N/A
260
+ - Confidence: high | medium | low
261
+ - Not tested / not reviewed: {explicit gaps or none}
262
+
263
+ ## Checks Performed
264
+
265
+ | Check | Command / method | Result | Evidence ref |
266
+ | --- | --- | --- | --- |
267
+ | {check} | {command/scenario/review pass} | pass / fail / blocked | {artifact_ref or output} |
268
+
269
+ ## Findings
270
+
271
+ | Severity | Finding | Source | Owner | Fix route |
272
+ | --- | --- | --- | --- | --- |
273
+ | blocker / high / medium / low | {finding or none} | {file/artifact/command} | {role} | {issue/fix/N/A} |
274
+
275
+ ## Contract
276
+
277
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
278
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
279
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
280
+ - Invariants / acceptance conditions: {must remain true downstream}
281
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
282
+
283
+ ## Evidence
284
+
285
+ | Claim | Evidence kind | Reference |
286
+ | --- | --- | --- |
287
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
288
+
289
+ ## Risks And Follow-up
290
+
291
+ | Risk / gap | Impact | Owner | Next action |
292
+ | --- | --- | --- | --- |
293
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
294
+
295
+ ## Handoff
296
+
297
+ - Ready for: {next stage or consumer}
298
+ - Blocks: {blocked downstream work, or none}
299
+ - Re-run / refresh trigger: {when this output becomes stale}
300
+ ```
301
+
302
+ ## updated-issues
303
+
304
+ ```markdown
305
+ > requirement: {requirement name or id}
306
+ > artifact_ref: outputs.zsk.updated-issues
307
+ > artifact_index: {workflow output-path-map key or local artifact index id}
308
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
309
+ > generated_at: {YYYY-MM-DD}
310
+ > stage: zsk
311
+ > output: updated-issues
312
+
313
+ ## Output Quality Check
314
+
315
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
316
+ - owner: {owner or role}
317
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
318
+ - blocking_items: {none, or issue / missing input / contradiction}
319
+ - next_action: {none, or smallest owner/action/date needed}
320
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
321
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
322
+
323
+ ## Issue Record
324
+
325
+ - Type: defect | blocker | risk | question | follow-up
326
+ - Severity: blocker | high | medium | low
327
+ - Scope: module-private | shared | global | public
328
+ - Expected: {source-backed expected behavior or condition}
329
+ - Actual: {observed behavior or gap}
330
+ - Evidence: {command/artifact/sourceRef/manual observation}
331
+ - Owner: {role/person}
332
+ - Fix route: fix | coding | docs-feedback | upstream-clarification | N/A
333
+
334
+ ## Status Ledger
335
+
336
+ | Status | Evidence ref | Updated by | Next action |
337
+ | --- | --- | --- | --- |
338
+ | open / in-progress / blocked / verified / closed | {artifact_ref or issue id} | {role} | {owner/action or none} |
339
+
340
+ ## Contract
341
+
342
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
343
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
344
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
345
+ - Invariants / acceptance conditions: {must remain true downstream}
346
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
347
+
348
+ ## Evidence
349
+
350
+ | Claim | Evidence kind | Reference |
351
+ | --- | --- | --- |
352
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
353
+
354
+ ## Risks And Follow-up
355
+
356
+ | Risk / gap | Impact | Owner | Next action |
357
+ | --- | --- | --- | --- |
358
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
359
+
360
+ ## Handoff
361
+
362
+ - Ready for: {next stage or consumer}
363
+ - Blocks: {blocked downstream work, or none}
364
+ - Re-run / refresh trigger: {when this output becomes stale}
365
+ ```
366
+
367
+ ## next-stage
368
+
369
+ ```markdown
370
+ > requirement: {requirement name or id}
371
+ > artifact_ref: outputs.zsk.next-stage
372
+ > artifact_index: {workflow output-path-map key or local artifact index id}
373
+ > source_refs: {consumed inputs / sourceRefs / evidenceRefs}
374
+ > generated_at: {YYYY-MM-DD}
375
+ > stage: zsk
376
+ > output: next-stage
377
+
378
+ ## Output Quality Check
379
+
380
+ - status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
381
+ - owner: {owner or role}
382
+ - source_basis: {source artifacts, decisions, assumptions, or 未指定}
383
+ - blocking_items: {none, or issue / missing input / contradiction}
384
+ - next_action: {none, or smallest owner/action/date needed}
385
+ - evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
386
+ - downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
387
+
388
+ ## Workflow Decision
389
+
390
+ - Current state: {stage/module/status/evidence}
391
+ - Decision: {selected route / staffing / gate / next legal stage}
392
+ - Reason: {facts and constraints}
393
+ - Stop condition: {what makes this route complete or blocked}
394
+
395
+ ## Contract Coverage
396
+
397
+ | Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
398
+ | --- | --- | --- | --- | --- |
399
+ | {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
400
+
401
+ ## Drift Guard
402
+
403
+ - Output path source: completion-contract / workflow graph / output-path-map
404
+ - Skill responsibility boundary: {what this workflow does not own}
405
+ - Re-entry rule: {how to resume without chat memory}
406
+
407
+ ## Contract
408
+
409
+ - Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
410
+ - Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
411
+ - Decisions / result: {decision, artifact summary, action result, or N/A}
412
+ - Invariants / acceptance conditions: {must remain true downstream}
413
+ - Traceability: {FR / AC / issue / source / scenario links, or N/A}
414
+
415
+ ## Evidence
416
+
417
+ | Claim | Evidence kind | Reference |
418
+ | --- | --- | --- |
419
+ | {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
420
+
421
+ ## Risks And Follow-up
422
+
423
+ | Risk / gap | Impact | Owner | Next action |
424
+ | --- | --- | --- | --- |
425
+ | {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
426
+
427
+ ## Handoff
428
+
429
+ - Ready for: {next stage or consumer}
430
+ - Blocks: {blocked downstream work, or none}
431
+ - Re-run / refresh trigger: {when this output becomes stale}
432
+ ```
433
+
434
+ ---
435
+
436
+ ## 填写规则
437
+
438
+ - Metadata header is mandatory for every output record.
439
+ - Use `artifact_ref` and the workflow `output-path-map` for cross-skill
440
+ references. Do not invent or hardcode hidden workspace paths in template
441
+ bodies.
442
+ - Keep heading names and order exactly as templated. Content detail may vary;
443
+ skeleton, headings, and metadata may not.
444
+ - Every material claim must map to source evidence, command evidence, artifact
445
+ evidence, issue evidence, or an accepted assumption.
446
+ - Unknown thresholds, owners, environments, dates, or acceptance bars are
447
+ written as `未指定`; do not invent them.
448
+ - If an output cannot be produced, keep the skeleton and mark `Status: BLOCKED`
449
+ with owner, impact, and next action.
450
+
451
+ ## 自检清单
452
+
453
+ - [ ] Every declared output above is present, explicitly `N/A`, or `BLOCKED`
454
+ with owner, impact, and next action.
455
+ - [ ] `Output Quality Check` is filled before detailed content.
456
+ - [ ] Scope, non-goals, decisions/results, evidence, risks, and handoff are
457
+ understandable without chat memory.
458
+ - [ ] Claims are traceable; no placeholder evidence or narrative-only proof.
459
+ - [ ] Downstream consumer and next action are explicit.
460
+ - [ ] Section names and order match this file exactly.
@@ -16,7 +16,7 @@ Execution discipline:
16
16
  - Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
17
17
  - Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
18
18
  - If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
19
- - Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs; use repo-relative, `.zsk/...`, `$HOME/...`, or `<workspace>/...` references instead.
19
+ - Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs. Use `artifact_ref` or output-path-map keys for cross-skill references; use repo-relative paths only when concrete evidence paths are required.
20
20
  - Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest Context Record target, or the handoff must record `Context update: N/A` with rationale.
21
21
  - Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
22
22
  - Learning authority: learning proposals must target the canonical ZSK source repo `.zsk/learning/proposals/`; consuming projects keep experience in archives, docs feedback, or issues and must not create `.zsk/learning/`.
@@ -70,7 +70,7 @@ This full contract is generated for workflow or strict-profile runs. Direct sing
70
70
  - Treat missing mandatory artifacts, mandatory evidence, required owners, required gates, or downstream-consumable outputs as FAIL or BLOCKED.
71
71
  - Write unsupplied numeric thresholds, quality bars, SLOs, coverage targets, and business targets as `未指定`; suggestions must be labeled separately from current policy.
72
72
  - Avoid provider lock-in: do not assume Jira, Confluence, Figma, GitHub, GitLab, Linear, Notion, browser tooling, or any platform unless configured sources or evidence identify it.
73
- - Path privacy is a hard portability requirement: reusable project docs must use repo-relative or `.zsk/...` paths and must not contain personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...`.
73
+ - Path privacy is a hard portability requirement: reusable project docs must use `artifact_ref` or output-path-map keys for cross-skill references, concrete repo-relative paths only when evidence requires them, and must not contain personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...`.
74
74
  - For each required output or finding, name owner, dependency, acceptance condition, verification evidence, and next action.
75
75
 
76
76
  ## Industry Best-Practice Anchors
@@ -128,7 +128,7 @@ This full contract is generated for workflow or strict-profile runs. Direct sing
128
128
  - Apply `harness/contracts/readiness-packs.yaml` when producing or consuming upstream source handoffs: stable source lanes and pack types stay provider-agnostic, provider metadata stays under providerRefs, and local evidence stays under sourceRefs.
129
129
  - Every Output Quality Check must align terminology against CONTEXT.md/CONTEXT-MAP.md when present, SYSTEM-SPEC.md, configured raw sources, current artifact identifiers, and code/component/API names when implementation-facing work is touched.
130
130
  - Record durable terminology, naming, decomposition, and load-bearing clarification decisions in the nearest Context Record target (`.zsk/modules/{module}/CONTEXT.md`, `.zsk/CONTEXT.md`, or source repo `CONTEXT.md`), or write `Context update: N/A` with rationale.
131
- - Keep proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries portable: use repo-relative or `.zsk/...` paths, and do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs.
131
+ - Keep proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries portable: use `artifact_ref` or output-path-map keys for cross-skill references; concrete evidence paths must be repo-relative when needed; never write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs.
132
132
  - Preserve upstream/downstream stage ownership; do not silently rewrite another skill's artifact.
133
133
  - Execute the frozen or inferred route by entering each selected stage skill through its own contract.
134
134
  - Run or record the stage-entry gate before downstream handoff.
@@ -27,6 +27,7 @@ triggers:
27
27
  | Code hygiene | 小 diff、少抽象、注释写 why、复用现有工具 |
28
28
  | Security | 不扩大权限,不泄露敏感信息,不绕过认证/鉴权/审计 |
29
29
  | Accessibility | Web UI 默认按 WCAG 2.1 AA 思路检查键盘、焦点、标签和对比度 |
30
+ | UX conformance | UI 工作按 UX Contract 验证交互、状态、响应式、a11y 和视觉符合度 |
30
31
  | Release | 版本、变更说明、回滚路径和验证证据要能追溯 |
31
32
 
32
33
  ## Review hard stops
@@ -35,7 +36,11 @@ triggers:
35
36
  - 改了契约但没有同步 spec/design/task。
36
37
  - 安全、权限、数据、迁移、公开 API 有影响但没有单独说明。
37
38
  - 只靠截图或口头描述证明复杂行为。
39
+ - UI 验收只做自然语言观察,没有提升为可重复 Playwright 场景或明确豁免。
40
+ - 视觉 diff 超过复核阈值却没有修复、复核记录或验收豁免。
38
41
 
39
42
  ## 证据规则
40
43
 
41
44
  证据可以是命令输出、测试报告、截图、录屏、日志片段、issue、人工验收记录或 ADR。证据必须能回答“谁在什么时候验证了什么”。不能复现的证据只能作为线索,不能作为通过依据。
45
+
46
+ UI 证据优先级:Playwright 断言、trace、截图和视觉 diff 是通过依据;`agent_browser` 或人工观察是定位与 handoff 依据。验证可多轮执行,但每轮必须记录输入合同、失败项、修复项和复验结果。