bigpowers 2.86.5 → 2.86.7

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 (548) hide show
  1. package/.agents/skills/commit-message/SKILL.md +1 -1
  2. package/.agents/skills/evolve-skill/SKILL.md +1 -1
  3. package/.agents/skills/guard-git/SKILL.md +8 -8
  4. package/.agents/skills/kickoff-branch/SKILL.md +1 -1
  5. package/.agents/skills/migrate-spec/SKILL.md +52 -6
  6. package/.agents/skills/plan-work/SKILL.md +17 -5
  7. package/.agents/skills/publish-package/SKILL.md +15 -5
  8. package/.agents/skills/release-branch/SKILL.md +12 -8
  9. package/.agents/skills/seed-conventions/SKILL.md +20 -10
  10. package/.agents/skills/smoke-test/SKILL.md +9 -5
  11. package/.agents/skills/validate-contracts/SKILL.md +15 -6
  12. package/.agents/skills/wire-ci/SKILL.md +12 -5
  13. package/.agents/skills/write-document/SKILL.md +31 -5
  14. package/.cline/skills/align-grid/SKILL.md +110 -0
  15. package/.cline/skills/assess-impact/SKILL.md +91 -0
  16. package/.cline/skills/audit-code/SKILL.md +184 -0
  17. package/.cline/skills/audit-plan/SKILL.md +89 -0
  18. package/.cline/skills/build-epic/SKILL.md +105 -0
  19. package/.cline/skills/change-request/SKILL.md +121 -0
  20. package/.cline/skills/commit-message/SKILL.md +140 -0
  21. package/.cline/skills/compose-workflow/SKILL.md +82 -0
  22. package/.cline/skills/context7-mcp/SKILL.md +55 -0
  23. package/.cline/skills/craft-skill/SKILL.md +196 -0
  24. package/.cline/skills/deepen-architecture/SKILL.md +260 -0
  25. package/.cline/skills/define-language/SKILL.md +80 -0
  26. package/.cline/skills/define-success/SKILL.md +12 -0
  27. package/.cline/skills/delegate-task/SKILL.md +91 -0
  28. package/.cline/skills/deploy/SKILL.md +198 -0
  29. package/.cline/skills/design-interface/SKILL.md +97 -0
  30. package/.cline/skills/develop-tdd/SKILL.md +416 -0
  31. package/.cline/skills/diagnose-root/SKILL.md +24 -0
  32. package/.cline/skills/diagnose-stall/SKILL.md +54 -0
  33. package/.cline/skills/dispatch-agents/SKILL.md +118 -0
  34. package/.cline/skills/edit-document/SKILL.md +23 -0
  35. package/.cline/skills/elaborate-spec/SKILL.md +101 -0
  36. package/.cline/skills/enforce-first/SKILL.md +45 -0
  37. package/.cline/skills/evolve-skill/SKILL.md +55 -0
  38. package/.cline/skills/execute-plan/SKILL.md +61 -0
  39. package/.cline/skills/extract-design/SKILL.md +132 -0
  40. package/.cline/skills/find-way/SKILL.md +191 -0
  41. package/.cline/skills/fix-bug/SKILL.md +67 -0
  42. package/.cline/skills/gate-trace/SKILL.md +92 -0
  43. package/.cline/skills/generate-allure-report/SKILL.md +285 -0
  44. package/.cline/skills/grill-me/SKILL.md +108 -0
  45. package/.cline/skills/grill-with-docs/SKILL.md +53 -0
  46. package/.cline/skills/guard-git/SKILL.md +231 -0
  47. package/.cline/skills/harden-vps/SKILL.md +291 -0
  48. package/.cline/skills/hook-commits/SKILL.md +94 -0
  49. package/.cline/skills/inspect-quality/SKILL.md +106 -0
  50. package/.cline/skills/investigate-bug/SKILL.md +127 -0
  51. package/.cline/skills/kickoff-branch/SKILL.md +143 -0
  52. package/.cline/skills/maintain-wiki/SKILL.md +64 -0
  53. package/.cline/skills/map-codebase/SKILL.md +71 -0
  54. package/.cline/skills/migrate-spec/SKILL.md +908 -0
  55. package/.cline/skills/model-domain/SKILL.md +232 -0
  56. package/.cline/skills/orchestrate-project/SKILL.md +174 -0
  57. package/.cline/skills/organize-workspace/SKILL.md +164 -0
  58. package/.cline/skills/plan-refactor/SKILL.md +87 -0
  59. package/.cline/skills/plan-release/SKILL.md +145 -0
  60. package/.cline/skills/plan-tests/SKILL.md +75 -0
  61. package/.cline/skills/plan-work/SKILL.md +272 -0
  62. package/.cline/skills/publish-package/SKILL.md +338 -0
  63. package/.cline/skills/quick-fix/SKILL.md +114 -0
  64. package/.cline/skills/release-branch/SKILL.md +302 -0
  65. package/.cline/skills/request-review/SKILL.md +113 -0
  66. package/.cline/skills/research-first/SKILL.md +87 -0
  67. package/.cline/skills/reset-baseline/SKILL.md +21 -0
  68. package/.cline/skills/respond-review/SKILL.md +71 -0
  69. package/.cline/skills/run-benchmark/SKILL.md +85 -0
  70. package/.cline/skills/run-evals/SKILL.md +80 -0
  71. package/.cline/skills/run-planning/SKILL.md +101 -0
  72. package/.cline/skills/scope-work/SKILL.md +63 -0
  73. package/.cline/skills/search-skills/SKILL.md +73 -0
  74. package/.cline/skills/security-review/SKILL.md +384 -0
  75. package/.cline/skills/seed-conventions/SKILL.md +312 -0
  76. package/.cline/skills/session-state/SKILL.md +146 -0
  77. package/.cline/skills/setup-environment/SKILL.md +39 -0
  78. package/.cline/skills/simulate-agents/SKILL.md +26 -0
  79. package/.cline/skills/slice-tasks/SKILL.md +68 -0
  80. package/.cline/skills/smoke-test/SKILL.md +261 -0
  81. package/.cline/skills/spike-prototype/SKILL.md +95 -0
  82. package/.cline/skills/stocktake-skills/SKILL.md +74 -0
  83. package/.cline/skills/survey-context/SKILL.md +135 -0
  84. package/.cline/skills/terse-mode/SKILL.md +42 -0
  85. package/.cline/skills/trace-requirement/SKILL.md +69 -0
  86. package/.cline/skills/using-bigpowers/SKILL.md +111 -0
  87. package/.cline/skills/validate-contracts/SKILL.md +286 -0
  88. package/.cline/skills/validate-fix/SKILL.md +147 -0
  89. package/.cline/skills/verify-work/SKILL.md +191 -0
  90. package/.cline/skills/visual-dashboard/SKILL.md +50 -0
  91. package/.cline/skills/wire-ci/SKILL.md +381 -0
  92. package/.cline/skills/wire-observability/SKILL.md +97 -0
  93. package/.cline/skills/write-document/SKILL.md +281 -0
  94. package/.codebuddy/skills/commit-message/SKILL.md +1 -1
  95. package/.codebuddy/skills/evolve-skill/SKILL.md +1 -1
  96. package/.codebuddy/skills/guard-git/SKILL.md +8 -8
  97. package/.codebuddy/skills/kickoff-branch/SKILL.md +1 -1
  98. package/.codebuddy/skills/migrate-spec/SKILL.md +52 -6
  99. package/.codebuddy/skills/plan-work/SKILL.md +17 -5
  100. package/.codebuddy/skills/publish-package/SKILL.md +15 -5
  101. package/.codebuddy/skills/release-branch/SKILL.md +12 -8
  102. package/.codebuddy/skills/seed-conventions/SKILL.md +20 -10
  103. package/.codebuddy/skills/smoke-test/SKILL.md +9 -5
  104. package/.codebuddy/skills/validate-contracts/SKILL.md +15 -6
  105. package/.codebuddy/skills/wire-ci/SKILL.md +12 -5
  106. package/.codebuddy/skills/write-document/SKILL.md +31 -5
  107. package/.codex/skills/commit-message/SKILL.md +1 -1
  108. package/.codex/skills/evolve-skill/SKILL.md +1 -1
  109. package/.codex/skills/guard-git/SKILL.md +8 -8
  110. package/.codex/skills/kickoff-branch/SKILL.md +1 -1
  111. package/.codex/skills/migrate-spec/SKILL.md +52 -6
  112. package/.codex/skills/plan-work/SKILL.md +17 -5
  113. package/.codex/skills/publish-package/SKILL.md +15 -5
  114. package/.codex/skills/release-branch/SKILL.md +12 -8
  115. package/.codex/skills/seed-conventions/SKILL.md +20 -10
  116. package/.codex/skills/smoke-test/SKILL.md +9 -5
  117. package/.codex/skills/validate-contracts/SKILL.md +15 -6
  118. package/.codex/skills/wire-ci/SKILL.md +12 -5
  119. package/.codex/skills/write-document/SKILL.md +31 -5
  120. package/.copilot/skills/align-grid/SKILL.md +110 -0
  121. package/.copilot/skills/assess-impact/SKILL.md +91 -0
  122. package/.copilot/skills/audit-code/SKILL.md +184 -0
  123. package/.copilot/skills/audit-plan/SKILL.md +89 -0
  124. package/.copilot/skills/build-epic/SKILL.md +105 -0
  125. package/.copilot/skills/change-request/SKILL.md +121 -0
  126. package/.copilot/skills/commit-message/SKILL.md +140 -0
  127. package/.copilot/skills/compose-workflow/SKILL.md +82 -0
  128. package/.copilot/skills/context7-mcp/SKILL.md +55 -0
  129. package/.copilot/skills/craft-skill/SKILL.md +196 -0
  130. package/.copilot/skills/deepen-architecture/SKILL.md +260 -0
  131. package/.copilot/skills/define-language/SKILL.md +80 -0
  132. package/.copilot/skills/define-success/SKILL.md +12 -0
  133. package/.copilot/skills/delegate-task/SKILL.md +91 -0
  134. package/.copilot/skills/deploy/SKILL.md +198 -0
  135. package/.copilot/skills/design-interface/SKILL.md +97 -0
  136. package/.copilot/skills/develop-tdd/SKILL.md +416 -0
  137. package/.copilot/skills/diagnose-root/SKILL.md +24 -0
  138. package/.copilot/skills/diagnose-stall/SKILL.md +54 -0
  139. package/.copilot/skills/dispatch-agents/SKILL.md +118 -0
  140. package/.copilot/skills/edit-document/SKILL.md +23 -0
  141. package/.copilot/skills/elaborate-spec/SKILL.md +101 -0
  142. package/.copilot/skills/enforce-first/SKILL.md +45 -0
  143. package/.copilot/skills/evolve-skill/SKILL.md +55 -0
  144. package/.copilot/skills/execute-plan/SKILL.md +61 -0
  145. package/.copilot/skills/extract-design/SKILL.md +132 -0
  146. package/.copilot/skills/find-way/SKILL.md +191 -0
  147. package/.copilot/skills/fix-bug/SKILL.md +67 -0
  148. package/.copilot/skills/gate-trace/SKILL.md +92 -0
  149. package/.copilot/skills/generate-allure-report/SKILL.md +285 -0
  150. package/.copilot/skills/grill-me/SKILL.md +108 -0
  151. package/.copilot/skills/grill-with-docs/SKILL.md +53 -0
  152. package/.copilot/skills/guard-git/SKILL.md +231 -0
  153. package/.copilot/skills/harden-vps/SKILL.md +291 -0
  154. package/.copilot/skills/hook-commits/SKILL.md +94 -0
  155. package/.copilot/skills/inspect-quality/SKILL.md +106 -0
  156. package/.copilot/skills/investigate-bug/SKILL.md +127 -0
  157. package/.copilot/skills/kickoff-branch/SKILL.md +143 -0
  158. package/.copilot/skills/maintain-wiki/SKILL.md +64 -0
  159. package/.copilot/skills/map-codebase/SKILL.md +71 -0
  160. package/.copilot/skills/migrate-spec/SKILL.md +908 -0
  161. package/.copilot/skills/model-domain/SKILL.md +232 -0
  162. package/.copilot/skills/orchestrate-project/SKILL.md +174 -0
  163. package/.copilot/skills/organize-workspace/SKILL.md +164 -0
  164. package/.copilot/skills/plan-refactor/SKILL.md +87 -0
  165. package/.copilot/skills/plan-release/SKILL.md +145 -0
  166. package/.copilot/skills/plan-tests/SKILL.md +75 -0
  167. package/.copilot/skills/plan-work/SKILL.md +272 -0
  168. package/.copilot/skills/publish-package/SKILL.md +338 -0
  169. package/.copilot/skills/quick-fix/SKILL.md +114 -0
  170. package/.copilot/skills/release-branch/SKILL.md +302 -0
  171. package/.copilot/skills/request-review/SKILL.md +113 -0
  172. package/.copilot/skills/research-first/SKILL.md +87 -0
  173. package/.copilot/skills/reset-baseline/SKILL.md +21 -0
  174. package/.copilot/skills/respond-review/SKILL.md +71 -0
  175. package/.copilot/skills/run-benchmark/SKILL.md +85 -0
  176. package/.copilot/skills/run-evals/SKILL.md +80 -0
  177. package/.copilot/skills/run-planning/SKILL.md +101 -0
  178. package/.copilot/skills/scope-work/SKILL.md +63 -0
  179. package/.copilot/skills/search-skills/SKILL.md +73 -0
  180. package/.copilot/skills/security-review/SKILL.md +384 -0
  181. package/.copilot/skills/seed-conventions/SKILL.md +312 -0
  182. package/.copilot/skills/session-state/SKILL.md +146 -0
  183. package/.copilot/skills/setup-environment/SKILL.md +39 -0
  184. package/.copilot/skills/simulate-agents/SKILL.md +26 -0
  185. package/.copilot/skills/slice-tasks/SKILL.md +68 -0
  186. package/.copilot/skills/smoke-test/SKILL.md +261 -0
  187. package/.copilot/skills/spike-prototype/SKILL.md +95 -0
  188. package/.copilot/skills/stocktake-skills/SKILL.md +74 -0
  189. package/.copilot/skills/survey-context/SKILL.md +135 -0
  190. package/.copilot/skills/terse-mode/SKILL.md +42 -0
  191. package/.copilot/skills/trace-requirement/SKILL.md +69 -0
  192. package/.copilot/skills/using-bigpowers/SKILL.md +111 -0
  193. package/.copilot/skills/validate-contracts/SKILL.md +286 -0
  194. package/.copilot/skills/validate-fix/SKILL.md +147 -0
  195. package/.copilot/skills/verify-work/SKILL.md +191 -0
  196. package/.copilot/skills/visual-dashboard/SKILL.md +50 -0
  197. package/.copilot/skills/wire-ci/SKILL.md +381 -0
  198. package/.copilot/skills/wire-observability/SKILL.md +97 -0
  199. package/.copilot/skills/write-document/SKILL.md +281 -0
  200. package/.hermes/skills/commit-message/SKILL.md +1 -1
  201. package/.hermes/skills/evolve-skill/SKILL.md +1 -1
  202. package/.hermes/skills/guard-git/SKILL.md +8 -8
  203. package/.hermes/skills/kickoff-branch/SKILL.md +1 -1
  204. package/.hermes/skills/migrate-spec/SKILL.md +52 -6
  205. package/.hermes/skills/plan-work/SKILL.md +17 -5
  206. package/.hermes/skills/publish-package/SKILL.md +15 -5
  207. package/.hermes/skills/release-branch/SKILL.md +12 -8
  208. package/.hermes/skills/seed-conventions/SKILL.md +20 -10
  209. package/.hermes/skills/smoke-test/SKILL.md +9 -5
  210. package/.hermes/skills/validate-contracts/SKILL.md +15 -6
  211. package/.hermes/skills/wire-ci/SKILL.md +12 -5
  212. package/.hermes/skills/write-document/SKILL.md +31 -5
  213. package/.kilocode/rules/commit-message.md +1 -1
  214. package/.kilocode/rules/evolve-skill.md +1 -1
  215. package/.kilocode/rules/guard-git.md +8 -8
  216. package/.kilocode/rules/kickoff-branch.md +1 -1
  217. package/.kilocode/rules/migrate-spec.md +52 -6
  218. package/.kilocode/rules/plan-work.md +17 -5
  219. package/.kilocode/rules/publish-package.md +15 -5
  220. package/.kilocode/rules/release-branch.md +12 -8
  221. package/.kilocode/rules/seed-conventions.md +20 -10
  222. package/.kilocode/rules/smoke-test.md +9 -5
  223. package/.kilocode/rules/validate-contracts.md +15 -6
  224. package/.kilocode/rules/wire-ci.md +12 -5
  225. package/.kilocode/rules/write-document.md +31 -5
  226. package/.mimocode/skills/commit-message/SKILL.md +1 -1
  227. package/.mimocode/skills/evolve-skill/SKILL.md +1 -1
  228. package/.mimocode/skills/guard-git/SKILL.md +8 -8
  229. package/.mimocode/skills/kickoff-branch/SKILL.md +1 -1
  230. package/.mimocode/skills/migrate-spec/SKILL.md +52 -6
  231. package/.mimocode/skills/plan-work/SKILL.md +17 -5
  232. package/.mimocode/skills/publish-package/SKILL.md +15 -5
  233. package/.mimocode/skills/release-branch/SKILL.md +12 -8
  234. package/.mimocode/skills/seed-conventions/SKILL.md +20 -10
  235. package/.mimocode/skills/smoke-test/SKILL.md +9 -5
  236. package/.mimocode/skills/validate-contracts/SKILL.md +15 -6
  237. package/.mimocode/skills/wire-ci/SKILL.md +12 -5
  238. package/.mimocode/skills/write-document/SKILL.md +31 -5
  239. package/.opencode/skills/align-grid/SKILL.md +110 -0
  240. package/.opencode/skills/assess-impact/SKILL.md +91 -0
  241. package/.opencode/skills/audit-code/SKILL.md +184 -0
  242. package/.opencode/skills/audit-plan/SKILL.md +89 -0
  243. package/.opencode/skills/build-epic/SKILL.md +105 -0
  244. package/.opencode/skills/change-request/SKILL.md +121 -0
  245. package/.opencode/skills/commit-message/SKILL.md +140 -0
  246. package/.opencode/skills/compose-workflow/SKILL.md +82 -0
  247. package/.opencode/skills/context7-mcp/SKILL.md +55 -0
  248. package/.opencode/skills/craft-skill/SKILL.md +196 -0
  249. package/.opencode/skills/deepen-architecture/SKILL.md +260 -0
  250. package/.opencode/skills/define-language/SKILL.md +80 -0
  251. package/.opencode/skills/define-success/SKILL.md +12 -0
  252. package/.opencode/skills/delegate-task/SKILL.md +91 -0
  253. package/.opencode/skills/deploy/SKILL.md +198 -0
  254. package/.opencode/skills/design-interface/SKILL.md +97 -0
  255. package/.opencode/skills/develop-tdd/SKILL.md +416 -0
  256. package/.opencode/skills/diagnose-root/SKILL.md +24 -0
  257. package/.opencode/skills/diagnose-stall/SKILL.md +54 -0
  258. package/.opencode/skills/dispatch-agents/SKILL.md +118 -0
  259. package/.opencode/skills/edit-document/SKILL.md +23 -0
  260. package/.opencode/skills/elaborate-spec/SKILL.md +101 -0
  261. package/.opencode/skills/enforce-first/SKILL.md +45 -0
  262. package/.opencode/skills/evolve-skill/SKILL.md +55 -0
  263. package/.opencode/skills/execute-plan/SKILL.md +61 -0
  264. package/.opencode/skills/extract-design/SKILL.md +132 -0
  265. package/.opencode/skills/find-way/SKILL.md +191 -0
  266. package/.opencode/skills/fix-bug/SKILL.md +67 -0
  267. package/.opencode/skills/gate-trace/SKILL.md +92 -0
  268. package/.opencode/skills/generate-allure-report/SKILL.md +285 -0
  269. package/.opencode/skills/grill-me/SKILL.md +108 -0
  270. package/.opencode/skills/grill-with-docs/SKILL.md +53 -0
  271. package/.opencode/skills/guard-git/SKILL.md +231 -0
  272. package/.opencode/skills/harden-vps/SKILL.md +291 -0
  273. package/.opencode/skills/hook-commits/SKILL.md +94 -0
  274. package/.opencode/skills/inspect-quality/SKILL.md +106 -0
  275. package/.opencode/skills/investigate-bug/SKILL.md +127 -0
  276. package/.opencode/skills/kickoff-branch/SKILL.md +143 -0
  277. package/.opencode/skills/maintain-wiki/SKILL.md +64 -0
  278. package/.opencode/skills/map-codebase/SKILL.md +71 -0
  279. package/.opencode/skills/migrate-spec/SKILL.md +908 -0
  280. package/.opencode/skills/model-domain/SKILL.md +232 -0
  281. package/.opencode/skills/orchestrate-project/SKILL.md +174 -0
  282. package/.opencode/skills/organize-workspace/SKILL.md +164 -0
  283. package/.opencode/skills/plan-refactor/SKILL.md +87 -0
  284. package/.opencode/skills/plan-release/SKILL.md +145 -0
  285. package/.opencode/skills/plan-tests/SKILL.md +75 -0
  286. package/.opencode/skills/plan-work/SKILL.md +272 -0
  287. package/.opencode/skills/publish-package/SKILL.md +338 -0
  288. package/.opencode/skills/quick-fix/SKILL.md +114 -0
  289. package/.opencode/skills/release-branch/SKILL.md +302 -0
  290. package/.opencode/skills/request-review/SKILL.md +113 -0
  291. package/.opencode/skills/research-first/SKILL.md +87 -0
  292. package/.opencode/skills/reset-baseline/SKILL.md +21 -0
  293. package/.opencode/skills/respond-review/SKILL.md +71 -0
  294. package/.opencode/skills/run-benchmark/SKILL.md +85 -0
  295. package/.opencode/skills/run-evals/SKILL.md +80 -0
  296. package/.opencode/skills/run-planning/SKILL.md +101 -0
  297. package/.opencode/skills/scope-work/SKILL.md +63 -0
  298. package/.opencode/skills/search-skills/SKILL.md +73 -0
  299. package/.opencode/skills/security-review/SKILL.md +384 -0
  300. package/.opencode/skills/seed-conventions/SKILL.md +312 -0
  301. package/.opencode/skills/session-state/SKILL.md +146 -0
  302. package/.opencode/skills/setup-environment/SKILL.md +39 -0
  303. package/.opencode/skills/simulate-agents/SKILL.md +26 -0
  304. package/.opencode/skills/slice-tasks/SKILL.md +68 -0
  305. package/.opencode/skills/smoke-test/SKILL.md +261 -0
  306. package/.opencode/skills/spike-prototype/SKILL.md +95 -0
  307. package/.opencode/skills/stocktake-skills/SKILL.md +74 -0
  308. package/.opencode/skills/survey-context/SKILL.md +135 -0
  309. package/.opencode/skills/terse-mode/SKILL.md +42 -0
  310. package/.opencode/skills/trace-requirement/SKILL.md +69 -0
  311. package/.opencode/skills/using-bigpowers/SKILL.md +111 -0
  312. package/.opencode/skills/validate-contracts/SKILL.md +286 -0
  313. package/.opencode/skills/validate-fix/SKILL.md +147 -0
  314. package/.opencode/skills/verify-work/SKILL.md +191 -0
  315. package/.opencode/skills/visual-dashboard/SKILL.md +50 -0
  316. package/.opencode/skills/wire-ci/SKILL.md +381 -0
  317. package/.opencode/skills/wire-observability/SKILL.md +97 -0
  318. package/.opencode/skills/write-document/SKILL.md +281 -0
  319. package/.pi/package.json +1 -1
  320. package/.pi/prompts/commit-message.md +1 -1
  321. package/.pi/prompts/evolve-skill.md +1 -1
  322. package/.pi/prompts/guard-git.md +8 -8
  323. package/.pi/prompts/kickoff-branch.md +1 -1
  324. package/.pi/prompts/migrate-spec.md +52 -6
  325. package/.pi/prompts/plan-work.md +17 -5
  326. package/.pi/prompts/publish-package.md +15 -5
  327. package/.pi/prompts/release-branch.md +12 -8
  328. package/.pi/prompts/seed-conventions.md +20 -10
  329. package/.pi/prompts/smoke-test.md +9 -5
  330. package/.pi/prompts/validate-contracts.md +15 -6
  331. package/.pi/prompts/wire-ci.md +12 -5
  332. package/.pi/prompts/write-document.md +31 -5
  333. package/.pi/skills/commit-message/SKILL.md +1 -1
  334. package/.pi/skills/evolve-skill/SKILL.md +1 -1
  335. package/.pi/skills/guard-git/SKILL.md +8 -8
  336. package/.pi/skills/kickoff-branch/SKILL.md +1 -1
  337. package/.pi/skills/migrate-spec/SKILL.md +52 -6
  338. package/.pi/skills/plan-work/SKILL.md +17 -5
  339. package/.pi/skills/publish-package/SKILL.md +15 -5
  340. package/.pi/skills/release-branch/SKILL.md +12 -8
  341. package/.pi/skills/seed-conventions/SKILL.md +20 -10
  342. package/.pi/skills/smoke-test/SKILL.md +9 -5
  343. package/.pi/skills/validate-contracts/SKILL.md +15 -6
  344. package/.pi/skills/wire-ci/SKILL.md +12 -5
  345. package/.pi/skills/write-document/SKILL.md +31 -5
  346. package/.qwen/skills/align-grid/SKILL.md +110 -0
  347. package/.qwen/skills/assess-impact/SKILL.md +91 -0
  348. package/.qwen/skills/audit-code/SKILL.md +184 -0
  349. package/.qwen/skills/audit-plan/SKILL.md +89 -0
  350. package/.qwen/skills/build-epic/SKILL.md +105 -0
  351. package/.qwen/skills/change-request/SKILL.md +121 -0
  352. package/.qwen/skills/commit-message/SKILL.md +140 -0
  353. package/.qwen/skills/compose-workflow/SKILL.md +82 -0
  354. package/.qwen/skills/context7-mcp/SKILL.md +55 -0
  355. package/.qwen/skills/craft-skill/SKILL.md +196 -0
  356. package/.qwen/skills/deepen-architecture/SKILL.md +260 -0
  357. package/.qwen/skills/define-language/SKILL.md +80 -0
  358. package/.qwen/skills/define-success/SKILL.md +12 -0
  359. package/.qwen/skills/delegate-task/SKILL.md +91 -0
  360. package/.qwen/skills/deploy/SKILL.md +198 -0
  361. package/.qwen/skills/design-interface/SKILL.md +97 -0
  362. package/.qwen/skills/develop-tdd/SKILL.md +416 -0
  363. package/.qwen/skills/diagnose-root/SKILL.md +24 -0
  364. package/.qwen/skills/diagnose-stall/SKILL.md +54 -0
  365. package/.qwen/skills/dispatch-agents/SKILL.md +118 -0
  366. package/.qwen/skills/edit-document/SKILL.md +23 -0
  367. package/.qwen/skills/elaborate-spec/SKILL.md +101 -0
  368. package/.qwen/skills/enforce-first/SKILL.md +45 -0
  369. package/.qwen/skills/evolve-skill/SKILL.md +55 -0
  370. package/.qwen/skills/execute-plan/SKILL.md +61 -0
  371. package/.qwen/skills/extract-design/SKILL.md +132 -0
  372. package/.qwen/skills/find-way/SKILL.md +191 -0
  373. package/.qwen/skills/fix-bug/SKILL.md +67 -0
  374. package/.qwen/skills/gate-trace/SKILL.md +92 -0
  375. package/.qwen/skills/generate-allure-report/SKILL.md +285 -0
  376. package/.qwen/skills/grill-me/SKILL.md +108 -0
  377. package/.qwen/skills/grill-with-docs/SKILL.md +53 -0
  378. package/.qwen/skills/guard-git/SKILL.md +231 -0
  379. package/.qwen/skills/harden-vps/SKILL.md +291 -0
  380. package/.qwen/skills/hook-commits/SKILL.md +94 -0
  381. package/.qwen/skills/inspect-quality/SKILL.md +106 -0
  382. package/.qwen/skills/investigate-bug/SKILL.md +127 -0
  383. package/.qwen/skills/kickoff-branch/SKILL.md +143 -0
  384. package/.qwen/skills/maintain-wiki/SKILL.md +64 -0
  385. package/.qwen/skills/map-codebase/SKILL.md +71 -0
  386. package/.qwen/skills/migrate-spec/SKILL.md +908 -0
  387. package/.qwen/skills/model-domain/SKILL.md +232 -0
  388. package/.qwen/skills/orchestrate-project/SKILL.md +174 -0
  389. package/.qwen/skills/organize-workspace/SKILL.md +164 -0
  390. package/.qwen/skills/plan-refactor/SKILL.md +87 -0
  391. package/.qwen/skills/plan-release/SKILL.md +145 -0
  392. package/.qwen/skills/plan-tests/SKILL.md +75 -0
  393. package/.qwen/skills/plan-work/SKILL.md +272 -0
  394. package/.qwen/skills/publish-package/SKILL.md +338 -0
  395. package/.qwen/skills/quick-fix/SKILL.md +114 -0
  396. package/.qwen/skills/release-branch/SKILL.md +302 -0
  397. package/.qwen/skills/request-review/SKILL.md +113 -0
  398. package/.qwen/skills/research-first/SKILL.md +87 -0
  399. package/.qwen/skills/reset-baseline/SKILL.md +21 -0
  400. package/.qwen/skills/respond-review/SKILL.md +71 -0
  401. package/.qwen/skills/run-benchmark/SKILL.md +85 -0
  402. package/.qwen/skills/run-evals/SKILL.md +80 -0
  403. package/.qwen/skills/run-planning/SKILL.md +101 -0
  404. package/.qwen/skills/scope-work/SKILL.md +63 -0
  405. package/.qwen/skills/search-skills/SKILL.md +73 -0
  406. package/.qwen/skills/security-review/SKILL.md +384 -0
  407. package/.qwen/skills/seed-conventions/SKILL.md +312 -0
  408. package/.qwen/skills/session-state/SKILL.md +146 -0
  409. package/.qwen/skills/setup-environment/SKILL.md +39 -0
  410. package/.qwen/skills/simulate-agents/SKILL.md +26 -0
  411. package/.qwen/skills/slice-tasks/SKILL.md +68 -0
  412. package/.qwen/skills/smoke-test/SKILL.md +261 -0
  413. package/.qwen/skills/spike-prototype/SKILL.md +95 -0
  414. package/.qwen/skills/stocktake-skills/SKILL.md +74 -0
  415. package/.qwen/skills/survey-context/SKILL.md +135 -0
  416. package/.qwen/skills/terse-mode/SKILL.md +42 -0
  417. package/.qwen/skills/trace-requirement/SKILL.md +69 -0
  418. package/.qwen/skills/using-bigpowers/SKILL.md +111 -0
  419. package/.qwen/skills/validate-contracts/SKILL.md +286 -0
  420. package/.qwen/skills/validate-fix/SKILL.md +147 -0
  421. package/.qwen/skills/verify-work/SKILL.md +191 -0
  422. package/.qwen/skills/visual-dashboard/SKILL.md +50 -0
  423. package/.qwen/skills/wire-ci/SKILL.md +381 -0
  424. package/.qwen/skills/wire-observability/SKILL.md +97 -0
  425. package/.qwen/skills/write-document/SKILL.md +281 -0
  426. package/.trae/skills/commit-message/SKILL.md +1 -1
  427. package/.trae/skills/evolve-skill/SKILL.md +1 -1
  428. package/.trae/skills/guard-git/SKILL.md +8 -8
  429. package/.trae/skills/kickoff-branch/SKILL.md +1 -1
  430. package/.trae/skills/migrate-spec/SKILL.md +52 -6
  431. package/.trae/skills/plan-work/SKILL.md +17 -5
  432. package/.trae/skills/publish-package/SKILL.md +15 -5
  433. package/.trae/skills/release-branch/SKILL.md +12 -8
  434. package/.trae/skills/seed-conventions/SKILL.md +20 -10
  435. package/.trae/skills/smoke-test/SKILL.md +9 -5
  436. package/.trae/skills/validate-contracts/SKILL.md +15 -6
  437. package/.trae/skills/wire-ci/SKILL.md +12 -5
  438. package/.trae/skills/write-document/SKILL.md +31 -5
  439. package/.windsurf/rules/commit-message.md +1 -1
  440. package/.windsurf/rules/evolve-skill.md +1 -1
  441. package/.windsurf/rules/guard-git.md +8 -8
  442. package/.windsurf/rules/kickoff-branch.md +1 -1
  443. package/.windsurf/rules/migrate-spec.md +52 -6
  444. package/.windsurf/rules/plan-work.md +17 -5
  445. package/.windsurf/rules/publish-package.md +15 -5
  446. package/.windsurf/rules/release-branch.md +12 -8
  447. package/.windsurf/rules/seed-conventions.md +20 -10
  448. package/.windsurf/rules/smoke-test.md +9 -5
  449. package/.windsurf/rules/validate-contracts.md +15 -6
  450. package/.windsurf/rules/wire-ci.md +12 -5
  451. package/.windsurf/rules/write-document.md +31 -5
  452. package/.zcode/skills/commit-message/SKILL.md +1 -1
  453. package/.zcode/skills/evolve-skill/SKILL.md +1 -1
  454. package/.zcode/skills/guard-git/SKILL.md +8 -8
  455. package/.zcode/skills/kickoff-branch/SKILL.md +1 -1
  456. package/.zcode/skills/migrate-spec/SKILL.md +52 -6
  457. package/.zcode/skills/plan-work/SKILL.md +17 -5
  458. package/.zcode/skills/publish-package/SKILL.md +15 -5
  459. package/.zcode/skills/release-branch/SKILL.md +12 -8
  460. package/.zcode/skills/seed-conventions/SKILL.md +20 -10
  461. package/.zcode/skills/smoke-test/SKILL.md +9 -5
  462. package/.zcode/skills/validate-contracts/SKILL.md +15 -6
  463. package/.zcode/skills/wire-ci/SKILL.md +12 -5
  464. package/.zcode/skills/write-document/SKILL.md +31 -5
  465. package/CHANGELOG.md +14 -0
  466. package/CONVENTIONS.md +2 -0
  467. package/package.json +1 -1
  468. package/scripts/adapters/agy.sh +3 -0
  469. package/scripts/adapters/continue.sh +3 -0
  470. package/scripts/adapters/cursor.sh +3 -0
  471. package/scripts/adapters/gemini.sh +5 -24
  472. package/scripts/adapters/mimo.sh +3 -0
  473. package/scripts/adapters/omp.sh +3 -0
  474. package/scripts/adapters/pi.sh +6 -3
  475. package/scripts/adapters/zcode.sh +3 -0
  476. package/scripts/adapters/zed.sh +3 -0
  477. package/scripts/generate-context-bundle.sh +6 -0
  478. package/scripts/generate-reference-nav.sh +89 -0
  479. package/scripts/generate-viz-graph.sh +4 -0
  480. package/scripts/generate-workflow-diagrams.sh +102 -0
  481. package/scripts/golden-g13-script-orphans.sh +167 -0
  482. package/scripts/golden-g14-adapter-dispatch.sh +113 -0
  483. package/scripts/golden-g15-compliance-runner-selftest.sh +126 -0
  484. package/scripts/golden-g16-spec-version-gap.sh +72 -0
  485. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  486. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  487. package/scripts/lib/adapter-guard.sh +30 -0
  488. package/scripts/lib/audit-compliance-report.sh +32 -7
  489. package/scripts/lib/audit-compliance-runner.sh +14 -1
  490. package/scripts/lib/golden-suite-gates.sh +43 -3
  491. package/scripts/lib/install-targets-b.sh +0 -8
  492. package/scripts/lib/sync-render.sh +0 -43
  493. package/scripts/lib/test-assertions.sh +4 -0
  494. package/scripts/snapshot-catalog-baseline.sh +4 -0
  495. package/scripts/targets.yaml +35 -13
  496. package/scripts/test-adapter-render.sh +114 -0
  497. package/scripts/test-adapters.sh +10 -3
  498. package/scripts/test-completeness-critic-scope.sh +18 -19
  499. package/scripts/test-generate-epics-wiki-zero-stories.sh +12 -13
  500. package/scripts/test-golden-g11-worktree-venv.sh +16 -18
  501. package/scripts/test-install-distribute-only.sh +27 -26
  502. package/scripts/test-install-hub.sh +141 -0
  503. package/scripts/test-setup-no-pyyaml.sh +16 -17
  504. package/scripts/test-target-contracts.sh +15 -13
  505. package/scripts/test-tombstone-mechanism.sh +31 -33
  506. package/skills/commit-message/REFERENCE.md +1 -1
  507. package/skills/evolve-skill/REFERENCE.md +1 -1
  508. package/skills/guard-git/REFERENCE.md +8 -8
  509. package/skills/kickoff-branch/SKILL.md +1 -1
  510. package/skills/migrate-spec/REFERENCE.md +52 -6
  511. package/skills/plan-work/REFERENCE.md +17 -5
  512. package/skills/publish-package/REFERENCE.md +15 -5
  513. package/skills/release-branch/REFERENCE.md +12 -8
  514. package/skills/seed-conventions/REFERENCE.md +20 -10
  515. package/skills/smoke-test/REFERENCE.md +9 -5
  516. package/skills/validate-contracts/REFERENCE.md +15 -6
  517. package/skills/wire-ci/REFERENCE.md +12 -5
  518. package/skills/write-document/REFERENCE.md +31 -5
  519. package/skills-lock.json +1 -1
  520. package/scripts/add-model-frontmatter.sh +0 -32
  521. package/scripts/install-cursor-skills-local.sh +0 -15
  522. package/scripts/install-cursor-skills.sh +0 -24
  523. package/scripts/project-survey.sh +0 -63
  524. package/scripts/test-agy-hub.sh +0 -60
  525. package/scripts/test-cline-adapter.sh +0 -55
  526. package/scripts/test-cline-hub.sh +0 -48
  527. package/scripts/test-codebuddy-adapter.sh +0 -63
  528. package/scripts/test-codebuddy-hub.sh +0 -49
  529. package/scripts/test-codex-adapter.sh +0 -63
  530. package/scripts/test-codex-hub.sh +0 -49
  531. package/scripts/test-copilot-adapter.sh +0 -47
  532. package/scripts/test-copilot-hub.sh +0 -43
  533. package/scripts/test-gemini-adapter.sh +0 -70
  534. package/scripts/test-gemini-hub.sh +0 -56
  535. package/scripts/test-hermes-adapter.sh +0 -85
  536. package/scripts/test-hermes-hub.sh +0 -52
  537. package/scripts/test-kilocode-adapter.sh +0 -55
  538. package/scripts/test-kilocode-hub.sh +0 -48
  539. package/scripts/test-mimo-hub.sh +0 -52
  540. package/scripts/test-opencode-adapter.sh +0 -47
  541. package/scripts/test-opencode-hub.sh +0 -43
  542. package/scripts/test-qwen-adapter.sh +0 -63
  543. package/scripts/test-qwen-hub.sh +0 -49
  544. package/scripts/test-trae-adapter.sh +0 -63
  545. package/scripts/test-trae-hub.sh +0 -49
  546. package/scripts/test-windsurf-adapter.sh +0 -63
  547. package/scripts/test-windsurf-hub.sh +0 -49
  548. package/scripts/test-zcode-hub.sh +0 -52
@@ -0,0 +1,145 @@
1
+ ---
2
+ name: plan-release
3
+ model: sonnet
4
+ description: "RELEASE-INDEX BUILDER — Sequence elaborated epics into specs/release-plan.yaml with WSJF ordering and BCP baselines. NOT a planning-spine substitute: it does not scope work (scope-work) or write story tasks (plan-work). Use after elaborate-spec when the user wants a versioned release index of epics."
5
+ ---
6
+
7
+ # Plan Release
8
+
9
+ > **HARD GATE** — Do NOT run this skill unless `elaborate-spec` has produced a clear spec or the user has already defined the feature in detail. If the problem is still fuzzy, run `elaborate-spec` first.
10
+ > **HARD GATE** — `specs/product/SCOPE_LATEST.yaml` (or legacy `specs/product/SCOPE_LATEST.yaml`) must exist. If missing, run `scope-work` first.
11
+
12
+ Synthesize the conversation context into `specs/release-plan.yaml` (index) and shard detail under `specs/epics/`. No new interview — only clarify if something is genuinely ambiguous.
13
+
14
+ ## Outputs
15
+
16
+ | File | Content |
17
+ |------|---------|
18
+ | `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
19
+ | `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
20
+ | `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](../../docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
21
+ | `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
22
+ | `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |
23
+
24
+ ## Epic Capsule Structure
25
+
26
+ All epics use capsule directories (no flat/folder distinction):
27
+
28
+ ```
29
+ specs/epics/e01-auth-system/
30
+ ├── epic.yaml # Epic manifest
31
+ ├── adr/ # Epic-local ADRs (created lazily)
32
+ ├── e01s01-login.md # Story spec (countable-story-format)
33
+ ├── e01s01-tasks.yaml # Decoupled task checklist
34
+ ├── e01s02-jwt.md # Story spec
35
+ └── e01s02-tasks.yaml # Decoupled task checklist
36
+ ```
37
+
38
+ **Rationale:** Capsule dirs achieve change isolation (C9), enable archive pruning (C2/C6), and enforce SRP by decoupling spec `.md` from execution `-tasks.yaml` (C1).
39
+
40
+ ## Process
41
+ ### 1. Draft epics and stories
42
+
43
+ From the conversation context, define:
44
+ - **Epics** — `e01`, `e02`, … (stable IDs; WSJF order in `release-plan.yaml` only)
45
+ - **Stories** — `e01s01`, `e01s02`, … with Gherkin acceptance criteria
46
+
47
+ WSJF-sort epics: score = (Business Value + Time Criticality + Risk Reduction) / Job Size. Highest score first.
48
+
49
+ > **Security risk boost:** If an epic's `specs/security/epics/<id>/THREAT_MODEL.md` identifies HIGH or CRITICAL risk, add +2 to the WSJF numerator (BV + TC + RR + 2) to reflect the urgency of addressing security concerns before they ship. Document the boost in the epic's note field in release-plan.yaml.
50
+ ### 2. Write acceptance criteria (Gherkin)
51
+
52
+ For each story, write at least one happy-path and one edge-case scenario (countable format §17 if maturity ≥ 3).
53
+ ### 3. Write tasks with verify commands
54
+
55
+ Every task must have a `verify:` command. No verify command = not a task.
56
+ ### 4. Save specs/release-plan.yaml
57
+
58
+ > **Do NOT hand-track the real version.** semantic-release decides it at merge. `version` here is a
59
+ > non-authoritative mirror/label only — read the real number with `gh release view`. Set `bump_hint`
60
+ > (the expectation), not a number you intend to enforce.
61
+
62
+ ```yaml
63
+ release:
64
+ version: "2.29.0" # mirror of next expected tag, NOT authoritative — gh release view wins
65
+ codename: "Feature Name"
66
+ status: planning # planning | in_progress | released
67
+ semantic_release: true
68
+ bump_hint: minor # patch | minor | major — CI decides at merge
69
+ epics:
70
+ - id: e01
71
+ title: Auth System
72
+ wsjf: 4.5
73
+ capsule_dir: epics/e01-auth-system
74
+ - id: e02
75
+ title: User Profile
76
+ wsjf: 3.8
77
+ capsule_dir: epics/e02-user-profile
78
+ ```
79
+ ### 5. Save epic manifest (`epic.yaml`)
80
+
81
+ Each epic capsule directory contains an `epic.yaml` manifest:
82
+
83
+ ```yaml
84
+ id: e01
85
+ title: Auth System
86
+ wsjf: 4.5
87
+ total_bcps: 8
88
+ status: in_progress
89
+ stories:
90
+ - id: e01s01
91
+ title: Login
92
+ bcps: 3
93
+ status: todo
94
+ spec: e01s01-login.md
95
+ tasks: e01s01-tasks.yaml
96
+ - id: e01s02
97
+ title: JWT Token Management
98
+ bcps: 5
99
+ status: todo
100
+ spec: e01s02-jwt.md
101
+ tasks: e01s02-tasks.yaml
102
+ ```
103
+ ### 6. Save story specs (countable-story-format .md)
104
+
105
+ Each story becomes a standalone `.md` file following [countable-story-format.md](../../docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
106
+ ### 7. Save decoupled task files (`-tasks.yaml`)
107
+
108
+ Each story has a decoupled `-tasks.yaml` with implementation steps:
109
+
110
+ ```yaml
111
+ story_id: e01s01
112
+ title: Login
113
+ status: todo
114
+ bcps: 3
115
+ tasks:
116
+ - id: 1
117
+ description: "Add login form component tests"
118
+ verify: "npm test -- login-form.test.tsx"
119
+ status: todo
120
+ - id: 2
121
+ description: "Implement login form with validation"
122
+ verify: "npm test -- login-form.test.tsx"
123
+ status: todo
124
+ ```
125
+
126
+ > **HARD GATE** — Every task MUST have a runnable `verify:` command. No `verify:` = not a task.
127
+
128
+ → verify: `bash scripts/validate-specs-yaml.sh`
129
+ ### 7b. Generate bug registry summary
130
+
131
+ Read `specs/bugs/registry.yaml` and add a `bugs:` section to `release-plan.yaml` with totals by status (`fixed`, `deferred`, `wontfix`, `open`): `bugs: { total: N, fixed: N, deferred: N, wontfix: N, registry: specs/bugs/registry.yaml }`.
132
+
133
+ ### 8. Sync execution status
134
+
135
+ ```bash
136
+ bash scripts/sync-status-from-epics.sh
137
+ ```
138
+ ### 9. Snapshot on planning close (optional)
139
+
140
+ Copy to `specs/product/snapshots/release-<version>/` when the user approves the plan.
141
+ ### 10. Suggest next steps
142
+
143
+ - Run `assess-impact` before `plan-work` for any story touching existing modules.
144
+ - Run `plan-work` per story for detailed steps inside the epic shard.
145
+ - Run `change-request` if a new requirement arrives mid-flight.
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: plan-tests
3
+ model: opus
4
+ description: "Design a risk-scaled test architecture for an epic before implementation begins. Produces prioritized scenarios, test level distribution, and fixture plans based on TEA and bigpowers principles."
5
+ ---
6
+
7
+ # Plan Tests
8
+
9
+ > **Spine position:** Between `slice-tasks` and `plan-work` for epics with `risk: P0|P1`. Optional (can be waived in `state.yaml`) for P2/P3.
10
+
11
+ Bridges the gap between slicing and planning by systematically designing the test suite as a first-class system. Produces `specs/tech-architecture/eNN-TEST_PLAN_LATEST.md`.
12
+
13
+ ## Pre-flight
14
+ - Read `specs/epics/eNN-*/` story list.
15
+
16
+ ## Core Workflow
17
+ 1. **Analyze Epic**: Read sliced stories in the active epic capsule.
18
+ 2. **Risk Assessment**: Map behaviors to P0–P3 risk tiers.
19
+ 3. **Level Strategy**: Classify each scenario (Unit, Integration, E2E).
20
+ 4. **Fixture Design**: Plan factories, network intercepts, mocks (see REFERENCE.md).
21
+ 5. **NFR Plan**: Define verifiable commands for Non-Functional Requirements. Skip if `--lite`.
22
+ 6. **Publish**: Generate `specs/tech-architecture/eNN-TEST_PLAN_LATEST.md`.
23
+
24
+ ## Hard Gates & Guardrails
25
+ - **DO NOT** write test code or production code during this skill.
26
+ - Scenario ID format MUST be: `SC-eNNsYY-P{0|1|2|3}-NN`.
27
+ - `plan-work` MUST reference these scenario IDs in its §17 Gherkin acceptance criteria.
28
+ - Default to pushing tests to the lowest possible level.
29
+
30
+ ## Execution Modes
31
+ - `$bmad plan-tests`: Standard execution.
32
+ - `$bmad plan-tests --lite`: Skips NFRs and complex fixture planning.
33
+
34
+ ## Verify
35
+
36
+ → verify: `test -f specs/tech-architecture/e32-TEST_PLAN_LATEST.md`
37
+
38
+ ## Handoff
39
+
40
+ Gate: READY -> next: plan-work
41
+ Writes: state.yaml handoff.next_skill = plan-work
42
+
43
+ ---
44
+
45
+ # Plan Tests — Reference
46
+
47
+ ## Test Plan Template (`specs/tech-architecture/eNN-TEST_PLAN_LATEST.md`)
48
+
49
+ ```markdown
50
+ # Test Design: [eNN-slug]
51
+
52
+ ## 1. Risk Matrix & Scenarios
53
+ | Scenario ID | Behavior Description | Risk | Test Level | Target File/Module |
54
+ |-------------|----------------------|------|------------|--------------------|
55
+ | SC-P0-01 | Primary checkout | P0 | Integration | checkout.spec.ts |
56
+
57
+ ## 2. Fixture Architecture & Isolation
58
+ - Data Factories: (e.g. UserFactory)
59
+ - Network Intercepts: (e.g. MSW handlers)
60
+ - Database State: (e.g. in-memory SQLite)
61
+
62
+ ## 3. NFR Verification
63
+ | NFR Type | Requirement | Verification Command |
64
+ |----------|-------------|----------------------|
65
+ | Perf | < 200ms | `npm run test:perf` |
66
+
67
+ ## 4. Out of Scope
68
+ - [Explicitly excluded testing areas]
69
+ ```
70
+
71
+ ## Fixture Planning Guidance
72
+
73
+ - **Data Factories**: Prefer factory functions over manual object construction.
74
+ - **Network Intercepts**: For frontend integration tests, use tools like Mock Service Worker (MSW) to intercept and mock HTTP requests.
75
+ - **Database State**: For backend tests, use a clean database state per test or an in-memory database to ensure isolation.
@@ -0,0 +1,272 @@
1
+ ---
2
+ name: plan-work
3
+ model: opus
4
+ description: "PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed implementation tasks into the active epic capsule (specs/epics/eNN-slug/). Produces countable-story-format .md specs and runnable -tasks.yaml files. Use after slice-tasks (step 2). Not a substitute for scope-work (step 1) or slice-tasks (step 2)."
5
+ ---
6
+
7
+ # story: e45s29
8
+
9
+ # Plan Work
10
+
11
+ > **Spine position:** Step 3 — scope-work → slice-tasks → plan-work.
12
+
13
+ Produce a detailed, verifiable implementation plan in the **active epic capsule directory** (`specs/epics/eNN-slug/`). Output: a story spec `.md` file (countable-story-format) and a decoupled `eNNsYY-tasks.yaml` with runnable verify commands. "I think it works" is not a step.
14
+
15
+ > **HARD GATE** — Do NOT proceed with a plan until the task's success criteria are clear. If success is ambiguous, convert the task into "step → verify: `<cmd>`" pairs here before writing tasks — every task ships a runnable `verify:` or the plan is not done.
16
+ >
17
+ > **RECURSIVE DISCIPLINE** — This lifecycle applies to EVERY task, including updating these skills. Never skip planning because a task is "meta" or "just documentation."
18
+
19
+ ## Pre-flight
20
+
21
+ Read: `release-plan.yaml`, `product/SCOPE_LATEST.yaml`, active `epics/<capsule>/epic.yaml`, `tech-architecture/tech-stack.md`, `product/GLOSSARY_LATEST.yaml`.
22
+
23
+ > **ZOOM-OUT MANDATE** (v1.17.0) — If modifying an existing module: (1) State the module's **purpose**. (2) Name its **callers**. (3) List its **contracts**. Cannot answer all three? Stop — scope is misunderstood.
24
+
25
+ If this plan touches an existing module, run `assess-impact` first to understand blast radius.
26
+
27
+ > **DISCOVERY MANDATE** (v1.18.0) — For external API integration, verify the API signature via local docs or search and quote at least one technical detail in the step's context.
28
+
29
+ > **MULTIPLE INTERPRETATIONS (HARD GATE)** — If the task admits ≥2 valid interpretations, list them and get a user decision before drafting any steps.
30
+
31
+ > **COMPLEXITY PUSHBACK (HARD GATE)** — Every new abstraction MUST include a one-sentence "Reason for Depth." If it can't be filled non-trivially, the abstraction is premature — use inline code instead.
32
+
33
+ > **SLOPCHECK (HARD GATE)** — For every external package, tag it `[OK]`, `[SUS]`, or `[SLOP]`. `[SUS]`/`[SLOP]` require human approval before execution.
34
+
35
+ ## Invocation modes
36
+
37
+ - Default: full plan with zoom-out mandate, impact assessment, slopcheck
38
+ - `--fast`: Skip zoom-out and impact assessment. Use for tasks under 3 BCPs with no module interface changes.
39
+
40
+ ## Process
41
+
42
+ > **Timing:** `bash scripts/bp-timing.sh start plan-work` at invocation; `bash scripts/bp-timing.sh end plan-work` before handoff.
43
+
44
+ 1. **Explore** — Use `Explore` subagent to understand affected modules, existing test patterns, similar prior art, and dependencies.
45
+
46
+ 2. **Draft steps** — Break implementation into the smallest possible steps where each step leaves the codebase working, has one observable outcome, and can be verified with a single command. Red-flag check: name any rationalization you caught before moving to step 3.
47
+
48
+ 3. **Write capsule story spec + tasks** — Output two files inside the active epic capsule. See [REFERENCE.md](REFERENCE.md) for file formats and the plan-template. Each task MUST include a `risk:` field (`P0` | `P1` | `P2` | `P3`) based on BCP + story type heuristics (see REFERENCE.md). If a test plan artifact (`specs/tech-architecture/eNN-TEST_PLAN_LATEST.md`) exists, read it and inherit its P0/P1 risk classifications and scenario IDs (`SC-eNNsYY-P0-NN`). Each task optionally includes a `security:` field (`none` / `low` / `medium` / `high`) sourced from the epic's `specs/security/epics/<id>/THREAT_MODEL.md`. Tasks with `security: medium` or `security: high` MUST include "no new security findings in affected paths" in their verify steps. Each task should also include an `allure:` block to drive test reporting: `severity:` maps risk to Allure severity (`P0→critical`, `P1→high`, `P2→normal`, `P3→minor`), and `categories:` is a list of relevant tags like `"Security Review"`, wave names, or test categories (see REFERENCE.md for the full template).
49
+
50
+ **Requirement delta tags (e45s29):** When a story modifies existing behavior, the story spec § Requirements MUST use OpenSpec-style delta tags with mandatory before/after content:
51
+
52
+ | Tag | When | Required content |
53
+ |-----|------|------------------|
54
+ | `ADDED` | New requirement | Full requirement text |
55
+ | `MODIFIED` | Changed behavior | **Before:** prior behavior · **After:** new behavior |
56
+ | `REMOVED` | Retired requirement | **Before:** what existed · **After:** (removed) + rationale |
57
+ | `RENAMED` | ID or title change only | **Before:** old ID/title · **After:** new ID/title |
58
+
59
+ Net-new stories (greenfield) use `ADDED` only. `MODIFIED`/`REMOVED`/`RENAMED` without before/after blocks fail the plan-work gate.
60
+
61
+ 4. **Verify step format** — Every step MUST follow: `N. <What to do> → verify: <runnable command>`. See [REFERENCE.md](REFERENCE.md) for good/bad examples.
62
+
63
+ 4a. **Cross-artifact consistency pass (HARD GATE — e45s04)** — Before handoff, run:
64
+
65
+ ```bash
66
+ bash scripts/lib/plan-consistency-check.sh specs/epics/<capsule>/
67
+ ```
68
+
69
+ Print CRITICAL / HIGH / MED findings. **CRITICAL or HIGH blocks code generation** — fix capsule artifacts first. MED requires explicit user acknowledgment.
70
+
71
+ 4b. **tasks.yaml failing ledger (e45s06)** — Every new task entry starts with `status: failing`. Only flip to `status: passing` after its `verify:` command exits 0 during `develop-tdd` or `verify-work`. Never pre-mark passing at plan time.
72
+
73
+ 5. **Review with user** — Confirm step order, granularity, and that verify commands are runnable in this project.
74
+
75
+ ## Lifecycle Gates (e45s09)
76
+
77
+ | Gate | When | Pass condition |
78
+ |------|------|----------------|
79
+ | **Pre-Implementation** | Before `kickoff-branch` / first RED commit | Root-cause stated for bugs; `assess-impact` done for module changes; plan-consistency-check PASS |
80
+ | **Validation** | Story marked done | All tasks `status: passing`; verify evidence in `specs/verifications/` |
81
+ | **Reopen-don't-refile** | Regression on shipped story | Reopen existing story/bug — do not create duplicate capsule entries |
82
+
83
+ After writing capsule tasks, suggest `kickoff-branch` (if not already on a feature branch) then `build-epic`, `execute-plan`, or `develop-tdd`.
84
+
85
+ ## Verify
86
+
87
+ → verify: `test -f scripts/lib/plan-consistency-check.sh && EPIC=$(ls -d specs/epics/*/ 2>/dev/null | grep -v archive | sort | head -1) && test -n "$EPIC" && bash scripts/lib/plan-consistency-check.sh "$EPIC" >/dev/null 2>&1`
88
+
89
+
90
+
91
+ ## Handoff
92
+
93
+ Gate: READY -> next: kickoff-branch
94
+ Writes: state.yaml handoff.next_skill = kickoff-branch
95
+
96
+
97
+ <!-- story: e01s01 -->
98
+ <!-- story: e02s02 -->
99
+ <!-- story: e06s01 -->
100
+ <!-- story: e06s02 -->
101
+
102
+ ---
103
+
104
+ # Plan Work — Reference
105
+
106
+ ## Navigation
107
+
108
+ | Lines | Section |
109
+ |-------|---------|
110
+ | 1 | Title |
111
+ | 3–25 | Navigation |
112
+ | 26–27 | Output file formats |
113
+ | 28–31 | Story spec: `specs/epics/<capsule>/eNNsYY-<slug>.md` |
114
+ | 32–61 | Task checklist: `specs/epics/<capsule>/eNNsYY-tasks.yaml` |
115
+ | 62–64 | Plan template |
116
+ | 65–71 | Story [X.Y]: [title] — Implementation Steps |
117
+ | 72–77 | Steps |
118
+ | 78–85 | Verification Script (Step-by-Step) |
119
+ | 86–89 | Out of scope |
120
+ | 90–94 | Risks |
121
+ | 95–114 | Verify step format rules |
122
+ | 115–116 | Sub-operations |
123
+ | 117–127 | Risk Assignment Heuristics |
124
+ | 128–143 | Requirement delta tags (e45s29) |
125
+ | 144–152 | Define Success |
126
+ | 153–161 | Zoom-Out Check |
127
+ | 162–169 | Slopcheck |
128
+
129
+ ## Output file formats
130
+
131
+ ### Story spec: `specs/epics/<capsule>/eNNsYY-<slug>.md`
132
+
133
+ Populated countable-story-format with all 20 sections. Minimum maturity: 3 (Countable). Acceptance criteria in §17.
134
+
135
+ ### Task checklist: `specs/epics/<capsule>/eNNsYY-tasks.yaml`
136
+
137
+ ```yaml
138
+ story_id: e01s01
139
+ title: Login
140
+ status: failing
141
+ bcps: 3
142
+ tasks:
143
+ - id: 1
144
+ description: "Add login form component tests"
145
+ verify: "npm test -- login-form.test.tsx"
146
+ risk: P1
147
+ status: failing # flip to passing only after verify exits 0 (e45s06)
148
+ allure:
149
+ severity: high # P0→critical, P1→high, P2→normal, P3→minor
150
+ categories:
151
+ - "Auth"
152
+ - "Security Review"
153
+ ```
154
+
155
+ **Allure severity mapping:**
156
+ - `P0` → `critical`
157
+ - `P1` → `high`
158
+ - `P2` → `normal`
159
+ - `P3` → `minor`
160
+
161
+ `categories` is a list of relevant tags — wave names, test categories (e.g. `"unit"`, `"integration"`), or thematic groupings (e.g. `"Security Review"`).
162
+
163
+ Update `specs/epics/<capsule>/epic.yaml` manifest to list the story and its BCPs. Run `bash scripts/sync-status-from-epics.sh` after structural changes.
164
+
165
+ ## Plan template
166
+
167
+ ```
168
+ ### Story [X.Y]: [title] — Implementation Steps
169
+
170
+ **type:** feat | fix | refactor
171
+ **risk:** P0 | P1 | P2 | P3
172
+ **context:** domain | infra
173
+ **Context**: [One paragraph: what this story implements and why]
174
+
175
+ ## Steps
176
+
177
+ 1. [Step description] (ref: ADR-NNNN or commit SHA) → verify: `<runnable command>`
178
+ 2. [Step description] (ref: ADR-NNNN or commit SHA) → verify: `<runnable command>`
179
+ ...
180
+
181
+ ## Verification Script (Step-by-Step)
182
+
183
+ [A human-readable, step-by-step script for the user to verify the story's outcome.]
184
+
185
+ 1. [Action 1: e.g. Start the server]
186
+ 2. [Action 2: e.g. Open browser to http://localhost:3000]
187
+ 3. [Observation: e.g. Verify that the login modal appears]
188
+
189
+ ## Out of scope
190
+
191
+ - [Explicit exclusions]
192
+
193
+ ## Risks
194
+
195
+ - [Anything that could go wrong and how to detect it early]
196
+ ```
197
+
198
+ ## Verify step format rules
199
+
200
+ Every step MUST follow this exact format:
201
+ ```
202
+ N. <What to do> → verify: <runnable command that proves it worked>
203
+ ```
204
+
205
+ **Good examples:**
206
+ ```
207
+ 1. Add User model with email and name fields → verify: npm test -- user.test.ts
208
+ 2. Add POST /users endpoint → verify: curl -s -X POST http://localhost:3000/users -d '{"email":"a@b.com"}' | jq .id
209
+ 3. Add email uniqueness constraint → verify: npm test -- user-uniqueness.test.ts
210
+ ```
211
+
212
+ **Bad examples (no verify command):**
213
+ ```
214
+ 1. Implement the user creation flow
215
+ 2. Write tests for the API
216
+ ```
217
+
218
+ ## Sub-operations
219
+
220
+ ### Risk Assignment Heuristics
221
+
222
+ Every task and story MUST be assigned a `risk:` level (P0, P1, P2, P3). When `specs/tech-architecture/eNN-TEST_PLAN_LATEST.md` exists for the epic, defer to its scenario risk mapping (`SC-eNNsYY-P0-NN`). Otherwise, apply these heuristics based on BCP and story type:
223
+
224
+ - **P0**: Critical path, data loss risk, auth/security boundary, external integration, or high BCP (≥ 5).
225
+ - **P1**: Core feature logic, state mutations, standard business value (BCP 3-4).
226
+ - **P2**: Utility functions, UI layout changes, display-only data, low risk (BCP 2).
227
+ - **P3**: Documentation, cosmetic tweaks, CSS variables, zero behavioral change (BCP 1).
228
+
229
+ `verify-work` scales its UAT depth based on this field.
230
+
231
+ ### Requirement delta tags (e45s29)
232
+
233
+ When modifying existing behavior in story spec § Requirements:
234
+
235
+ ```markdown
236
+ #### MODIFIED: User can reset password via email link
237
+ **Before:** Password reset required admin approval.
238
+ **After:** Self-service reset via signed email link (expires 1h).
239
+
240
+ #### REMOVED: Legacy OAuth1 login
241
+ **Before:** OAuth1 provider supported for enterprise SSO.
242
+ **After:** (removed) — provider deprecated; OAuth2 only.
243
+ ```
244
+
245
+ Tags: `ADDED`, `MODIFIED`, `REMOVED`, `RENAMED`. `MODIFIED`/`REMOVED`/`RENAMED` without before/after → plan-work gate FAIL.
246
+
247
+ ### Define Success
248
+
249
+ Before planning, convert task statements into observable "step → verify: <cmd>" pairs:
250
+ - Break the task into observable outcomes (behaviors) rather than implementation steps
251
+ - Write pairs in the format: `[What must be true] → verify: <runnable command>`
252
+ - Challenge completeness: are all required behaviors covered?
253
+ - Get user confirmation: "Does this capture everything the task requires?"
254
+ - Once confirmed, these pairs become the skeleton for plan-work steps
255
+
256
+ ### Zoom-Out Check
257
+
258
+ When modifying an existing module, confirm scope is understood:
259
+ - State the module's **purpose** — what is it responsible for?
260
+ - Name the **callers** — who depends on it?
261
+ - List the **contracts** — what invariants or interfaces must be preserved?
262
+
263
+ If you cannot answer all three without deep code archaeology, scope is misunderstood. Clarify with the user before writing steps.
264
+
265
+ ### Slopcheck
266
+
267
+ For every external package proposed in the plan, tag each with one of:
268
+ - `[OK]` — package is mature, actively maintained, appropriate scope
269
+ - `[SUS]` — suspiciously broad, has maintenance concerns, or unclear fit
270
+ - `[SLOP]` — unmaintained, known security issues, or out of scope
271
+
272
+ `[SUS]` and `[SLOP]` require explicit human approval before the step may execute. Document tags inline next to the package name.