bigpowers 2.83.4 → 2.84.1

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 (528) hide show
  1. package/.agents/skills/audit-code/SKILL.md +4 -7
  2. package/.agents/skills/grill-me/SKILL.md +12 -0
  3. package/.agents/skills/grill-with-docs/SKILL.md +12 -0
  4. package/.agents/skills/request-review/SKILL.md +1 -0
  5. package/.agents/skills/wire-ci/SKILL.md +164 -181
  6. package/.codebuddy/skills/align-grid/SKILL.md +110 -0
  7. package/.codebuddy/skills/assess-impact/SKILL.md +91 -0
  8. package/.codebuddy/skills/audit-code/SKILL.md +184 -0
  9. package/.codebuddy/skills/audit-plan/SKILL.md +89 -0
  10. package/.codebuddy/skills/build-epic/SKILL.md +105 -0
  11. package/.codebuddy/skills/change-request/SKILL.md +121 -0
  12. package/.codebuddy/skills/commit-message/SKILL.md +140 -0
  13. package/.codebuddy/skills/compose-workflow/SKILL.md +82 -0
  14. package/.codebuddy/skills/context7-mcp/SKILL.md +55 -0
  15. package/.codebuddy/skills/craft-skill/SKILL.md +179 -0
  16. package/.codebuddy/skills/deepen-architecture/SKILL.md +260 -0
  17. package/.codebuddy/skills/define-language/SKILL.md +80 -0
  18. package/.codebuddy/skills/define-success/SKILL.md +65 -0
  19. package/.codebuddy/skills/delegate-task/SKILL.md +91 -0
  20. package/.codebuddy/skills/deploy/SKILL.md +198 -0
  21. package/.codebuddy/skills/design-interface/SKILL.md +97 -0
  22. package/.codebuddy/skills/develop-tdd/SKILL.md +406 -0
  23. package/.codebuddy/skills/diagnose-root/SKILL.md +24 -0
  24. package/.codebuddy/skills/diagnose-stall/SKILL.md +54 -0
  25. package/.codebuddy/skills/dispatch-agents/SKILL.md +118 -0
  26. package/.codebuddy/skills/edit-document/SKILL.md +23 -0
  27. package/.codebuddy/skills/elaborate-spec/SKILL.md +101 -0
  28. package/.codebuddy/skills/enforce-first/SKILL.md +32 -0
  29. package/.codebuddy/skills/evolve-skill/SKILL.md +55 -0
  30. package/.codebuddy/skills/execute-plan/SKILL.md +61 -0
  31. package/.codebuddy/skills/extract-design/SKILL.md +132 -0
  32. package/.codebuddy/skills/find-way/SKILL.md +191 -0
  33. package/.codebuddy/skills/fix-bug/SKILL.md +67 -0
  34. package/.codebuddy/skills/gate-trace/SKILL.md +88 -0
  35. package/.codebuddy/skills/generate-allure-report/SKILL.md +285 -0
  36. package/.codebuddy/skills/grill-me/SKILL.md +108 -0
  37. package/.codebuddy/skills/grill-with-docs/SKILL.md +53 -0
  38. package/.codebuddy/skills/guard-git/SKILL.md +231 -0
  39. package/.codebuddy/skills/harden-vps/SKILL.md +288 -0
  40. package/.codebuddy/skills/hook-commits/SKILL.md +94 -0
  41. package/.codebuddy/skills/inspect-quality/SKILL.md +106 -0
  42. package/.codebuddy/skills/investigate-bug/SKILL.md +127 -0
  43. package/.codebuddy/skills/kickoff-branch/SKILL.md +143 -0
  44. package/.codebuddy/skills/maintain-wiki/SKILL.md +64 -0
  45. package/.codebuddy/skills/map-codebase/SKILL.md +71 -0
  46. package/.codebuddy/skills/migrate-spec/SKILL.md +862 -0
  47. package/.codebuddy/skills/model-domain/SKILL.md +232 -0
  48. package/.codebuddy/skills/orchestrate-project/SKILL.md +174 -0
  49. package/.codebuddy/skills/organize-workspace/SKILL.md +164 -0
  50. package/.codebuddy/skills/plan-refactor/SKILL.md +87 -0
  51. package/.codebuddy/skills/plan-release/SKILL.md +145 -0
  52. package/.codebuddy/skills/plan-tests/SKILL.md +75 -0
  53. package/.codebuddy/skills/plan-work/SKILL.md +260 -0
  54. package/.codebuddy/skills/publish-package/SKILL.md +328 -0
  55. package/.codebuddy/skills/quick-fix/SKILL.md +114 -0
  56. package/.codebuddy/skills/release-branch/SKILL.md +298 -0
  57. package/.codebuddy/skills/request-review/SKILL.md +113 -0
  58. package/.codebuddy/skills/research-first/SKILL.md +87 -0
  59. package/.codebuddy/skills/reset-baseline/SKILL.md +21 -0
  60. package/.codebuddy/skills/respond-review/SKILL.md +71 -0
  61. package/.codebuddy/skills/run-benchmark/SKILL.md +85 -0
  62. package/.codebuddy/skills/run-evals/SKILL.md +80 -0
  63. package/.codebuddy/skills/run-planning/SKILL.md +101 -0
  64. package/.codebuddy/skills/scope-work/SKILL.md +63 -0
  65. package/.codebuddy/skills/search-skills/SKILL.md +73 -0
  66. package/.codebuddy/skills/security-review/SKILL.md +384 -0
  67. package/.codebuddy/skills/seed-conventions/SKILL.md +285 -0
  68. package/.codebuddy/skills/session-state/SKILL.md +146 -0
  69. package/.codebuddy/skills/setup-environment/SKILL.md +39 -0
  70. package/.codebuddy/skills/simulate-agents/SKILL.md +26 -0
  71. package/.codebuddy/skills/slice-tasks/SKILL.md +68 -0
  72. package/.codebuddy/skills/smoke-test/SKILL.md +242 -0
  73. package/.codebuddy/skills/spike-prototype/SKILL.md +95 -0
  74. package/.codebuddy/skills/stocktake-skills/SKILL.md +72 -0
  75. package/.codebuddy/skills/survey-context/SKILL.md +135 -0
  76. package/.codebuddy/skills/terse-mode/SKILL.md +42 -0
  77. package/.codebuddy/skills/trace-requirement/SKILL.md +69 -0
  78. package/.codebuddy/skills/using-bigpowers/SKILL.md +111 -0
  79. package/.codebuddy/skills/validate-contracts/SKILL.md +309 -0
  80. package/.codebuddy/skills/validate-fix/SKILL.md +106 -0
  81. package/.codebuddy/skills/verify-work/SKILL.md +191 -0
  82. package/.codebuddy/skills/visual-dashboard/SKILL.md +50 -0
  83. package/.codebuddy/skills/wire-ci/SKILL.md +358 -0
  84. package/.codebuddy/skills/wire-observability/SKILL.md +97 -0
  85. package/.codebuddy/skills/write-document/SKILL.md +255 -0
  86. package/.codex/skills/align-grid/SKILL.md +110 -0
  87. package/.codex/skills/assess-impact/SKILL.md +91 -0
  88. package/.codex/skills/audit-code/SKILL.md +184 -0
  89. package/.codex/skills/audit-plan/SKILL.md +89 -0
  90. package/.codex/skills/build-epic/SKILL.md +105 -0
  91. package/.codex/skills/change-request/SKILL.md +121 -0
  92. package/.codex/skills/commit-message/SKILL.md +140 -0
  93. package/.codex/skills/compose-workflow/SKILL.md +82 -0
  94. package/.codex/skills/context7-mcp/SKILL.md +55 -0
  95. package/.codex/skills/craft-skill/SKILL.md +179 -0
  96. package/.codex/skills/deepen-architecture/SKILL.md +260 -0
  97. package/.codex/skills/define-language/SKILL.md +80 -0
  98. package/.codex/skills/define-success/SKILL.md +65 -0
  99. package/.codex/skills/delegate-task/SKILL.md +91 -0
  100. package/.codex/skills/deploy/SKILL.md +198 -0
  101. package/.codex/skills/design-interface/SKILL.md +97 -0
  102. package/.codex/skills/develop-tdd/SKILL.md +406 -0
  103. package/.codex/skills/diagnose-root/SKILL.md +24 -0
  104. package/.codex/skills/diagnose-stall/SKILL.md +54 -0
  105. package/.codex/skills/dispatch-agents/SKILL.md +118 -0
  106. package/.codex/skills/edit-document/SKILL.md +23 -0
  107. package/.codex/skills/elaborate-spec/SKILL.md +101 -0
  108. package/.codex/skills/enforce-first/SKILL.md +32 -0
  109. package/.codex/skills/evolve-skill/SKILL.md +55 -0
  110. package/.codex/skills/execute-plan/SKILL.md +61 -0
  111. package/.codex/skills/extract-design/SKILL.md +132 -0
  112. package/.codex/skills/find-way/SKILL.md +191 -0
  113. package/.codex/skills/fix-bug/SKILL.md +67 -0
  114. package/.codex/skills/gate-trace/SKILL.md +88 -0
  115. package/.codex/skills/generate-allure-report/SKILL.md +285 -0
  116. package/.codex/skills/grill-me/SKILL.md +108 -0
  117. package/.codex/skills/grill-with-docs/SKILL.md +53 -0
  118. package/.codex/skills/guard-git/SKILL.md +231 -0
  119. package/.codex/skills/harden-vps/SKILL.md +288 -0
  120. package/.codex/skills/hook-commits/SKILL.md +94 -0
  121. package/.codex/skills/inspect-quality/SKILL.md +106 -0
  122. package/.codex/skills/investigate-bug/SKILL.md +127 -0
  123. package/.codex/skills/kickoff-branch/SKILL.md +143 -0
  124. package/.codex/skills/maintain-wiki/SKILL.md +64 -0
  125. package/.codex/skills/map-codebase/SKILL.md +71 -0
  126. package/.codex/skills/migrate-spec/SKILL.md +862 -0
  127. package/.codex/skills/model-domain/SKILL.md +232 -0
  128. package/.codex/skills/orchestrate-project/SKILL.md +174 -0
  129. package/.codex/skills/organize-workspace/SKILL.md +164 -0
  130. package/.codex/skills/plan-refactor/SKILL.md +87 -0
  131. package/.codex/skills/plan-release/SKILL.md +145 -0
  132. package/.codex/skills/plan-tests/SKILL.md +75 -0
  133. package/.codex/skills/plan-work/SKILL.md +260 -0
  134. package/.codex/skills/publish-package/SKILL.md +328 -0
  135. package/.codex/skills/quick-fix/SKILL.md +114 -0
  136. package/.codex/skills/release-branch/SKILL.md +298 -0
  137. package/.codex/skills/request-review/SKILL.md +113 -0
  138. package/.codex/skills/research-first/SKILL.md +87 -0
  139. package/.codex/skills/reset-baseline/SKILL.md +21 -0
  140. package/.codex/skills/respond-review/SKILL.md +71 -0
  141. package/.codex/skills/run-benchmark/SKILL.md +85 -0
  142. package/.codex/skills/run-evals/SKILL.md +80 -0
  143. package/.codex/skills/run-planning/SKILL.md +101 -0
  144. package/.codex/skills/scope-work/SKILL.md +63 -0
  145. package/.codex/skills/search-skills/SKILL.md +73 -0
  146. package/.codex/skills/security-review/SKILL.md +384 -0
  147. package/.codex/skills/seed-conventions/SKILL.md +285 -0
  148. package/.codex/skills/session-state/SKILL.md +146 -0
  149. package/.codex/skills/setup-environment/SKILL.md +39 -0
  150. package/.codex/skills/simulate-agents/SKILL.md +26 -0
  151. package/.codex/skills/slice-tasks/SKILL.md +68 -0
  152. package/.codex/skills/smoke-test/SKILL.md +242 -0
  153. package/.codex/skills/spike-prototype/SKILL.md +95 -0
  154. package/.codex/skills/stocktake-skills/SKILL.md +72 -0
  155. package/.codex/skills/survey-context/SKILL.md +135 -0
  156. package/.codex/skills/terse-mode/SKILL.md +42 -0
  157. package/.codex/skills/trace-requirement/SKILL.md +69 -0
  158. package/.codex/skills/using-bigpowers/SKILL.md +111 -0
  159. package/.codex/skills/validate-contracts/SKILL.md +309 -0
  160. package/.codex/skills/validate-fix/SKILL.md +106 -0
  161. package/.codex/skills/verify-work/SKILL.md +191 -0
  162. package/.codex/skills/visual-dashboard/SKILL.md +50 -0
  163. package/.codex/skills/wire-ci/SKILL.md +358 -0
  164. package/.codex/skills/wire-observability/SKILL.md +97 -0
  165. package/.codex/skills/write-document/SKILL.md +255 -0
  166. package/.hermes/skills/audit-code/SKILL.md +4 -7
  167. package/.hermes/skills/grill-me/SKILL.md +12 -0
  168. package/.hermes/skills/grill-with-docs/SKILL.md +12 -0
  169. package/.hermes/skills/request-review/SKILL.md +1 -0
  170. package/.hermes/skills/wire-ci/SKILL.md +164 -181
  171. package/.kilocode/rules/align-grid.md +110 -0
  172. package/.kilocode/rules/assess-impact.md +91 -0
  173. package/.kilocode/rules/audit-code.md +184 -0
  174. package/.kilocode/rules/audit-plan.md +89 -0
  175. package/.kilocode/rules/build-epic.md +105 -0
  176. package/.kilocode/rules/change-request.md +121 -0
  177. package/.kilocode/rules/commit-message.md +140 -0
  178. package/.kilocode/rules/compose-workflow.md +82 -0
  179. package/.kilocode/rules/context7-mcp.md +55 -0
  180. package/.kilocode/rules/craft-skill.md +179 -0
  181. package/.kilocode/rules/deepen-architecture.md +260 -0
  182. package/.kilocode/rules/define-language.md +80 -0
  183. package/.kilocode/rules/define-success.md +65 -0
  184. package/.kilocode/rules/delegate-task.md +91 -0
  185. package/.kilocode/rules/deploy.md +198 -0
  186. package/.kilocode/rules/design-interface.md +97 -0
  187. package/.kilocode/rules/develop-tdd.md +406 -0
  188. package/.kilocode/rules/diagnose-root.md +24 -0
  189. package/.kilocode/rules/diagnose-stall.md +54 -0
  190. package/.kilocode/rules/dispatch-agents.md +118 -0
  191. package/.kilocode/rules/edit-document.md +23 -0
  192. package/.kilocode/rules/elaborate-spec.md +101 -0
  193. package/.kilocode/rules/enforce-first.md +32 -0
  194. package/.kilocode/rules/evolve-skill.md +55 -0
  195. package/.kilocode/rules/execute-plan.md +61 -0
  196. package/.kilocode/rules/extract-design.md +132 -0
  197. package/.kilocode/rules/find-way.md +191 -0
  198. package/.kilocode/rules/fix-bug.md +67 -0
  199. package/.kilocode/rules/gate-trace.md +88 -0
  200. package/.kilocode/rules/generate-allure-report.md +285 -0
  201. package/.kilocode/rules/grill-me.md +108 -0
  202. package/.kilocode/rules/grill-with-docs.md +53 -0
  203. package/.kilocode/rules/guard-git.md +231 -0
  204. package/.kilocode/rules/harden-vps.md +288 -0
  205. package/.kilocode/rules/hook-commits.md +94 -0
  206. package/.kilocode/rules/inspect-quality.md +106 -0
  207. package/.kilocode/rules/investigate-bug.md +127 -0
  208. package/.kilocode/rules/kickoff-branch.md +143 -0
  209. package/.kilocode/rules/maintain-wiki.md +64 -0
  210. package/.kilocode/rules/map-codebase.md +71 -0
  211. package/.kilocode/rules/migrate-spec.md +862 -0
  212. package/.kilocode/rules/model-domain.md +232 -0
  213. package/.kilocode/rules/orchestrate-project.md +174 -0
  214. package/.kilocode/rules/organize-workspace.md +164 -0
  215. package/.kilocode/rules/plan-refactor.md +87 -0
  216. package/.kilocode/rules/plan-release.md +145 -0
  217. package/.kilocode/rules/plan-tests.md +75 -0
  218. package/.kilocode/rules/plan-work.md +260 -0
  219. package/.kilocode/rules/publish-package.md +328 -0
  220. package/.kilocode/rules/quick-fix.md +114 -0
  221. package/.kilocode/rules/release-branch.md +298 -0
  222. package/.kilocode/rules/request-review.md +113 -0
  223. package/.kilocode/rules/research-first.md +87 -0
  224. package/.kilocode/rules/reset-baseline.md +21 -0
  225. package/.kilocode/rules/respond-review.md +71 -0
  226. package/.kilocode/rules/run-benchmark.md +85 -0
  227. package/.kilocode/rules/run-evals.md +80 -0
  228. package/.kilocode/rules/run-planning.md +101 -0
  229. package/.kilocode/rules/scope-work.md +63 -0
  230. package/.kilocode/rules/search-skills.md +73 -0
  231. package/.kilocode/rules/security-review.md +384 -0
  232. package/.kilocode/rules/seed-conventions.md +285 -0
  233. package/.kilocode/rules/session-state.md +146 -0
  234. package/.kilocode/rules/setup-environment.md +39 -0
  235. package/.kilocode/rules/simulate-agents.md +26 -0
  236. package/.kilocode/rules/slice-tasks.md +68 -0
  237. package/.kilocode/rules/smoke-test.md +242 -0
  238. package/.kilocode/rules/spike-prototype.md +95 -0
  239. package/.kilocode/rules/stocktake-skills.md +72 -0
  240. package/.kilocode/rules/survey-context.md +135 -0
  241. package/.kilocode/rules/terse-mode.md +42 -0
  242. package/.kilocode/rules/trace-requirement.md +69 -0
  243. package/.kilocode/rules/using-bigpowers.md +111 -0
  244. package/.kilocode/rules/validate-contracts.md +309 -0
  245. package/.kilocode/rules/validate-fix.md +106 -0
  246. package/.kilocode/rules/verify-work.md +191 -0
  247. package/.kilocode/rules/visual-dashboard.md +50 -0
  248. package/.kilocode/rules/wire-ci.md +358 -0
  249. package/.kilocode/rules/wire-observability.md +97 -0
  250. package/.kilocode/rules/write-document.md +255 -0
  251. package/.mimocode/skills/audit-code/SKILL.md +4 -7
  252. package/.mimocode/skills/grill-me/SKILL.md +12 -0
  253. package/.mimocode/skills/grill-with-docs/SKILL.md +12 -0
  254. package/.mimocode/skills/request-review/SKILL.md +1 -0
  255. package/.mimocode/skills/wire-ci/SKILL.md +164 -181
  256. package/.pi/package.json +1 -1
  257. package/.pi/prompts/audit-code.md +4 -7
  258. package/.pi/prompts/grill-me.md +12 -0
  259. package/.pi/prompts/grill-with-docs.md +12 -0
  260. package/.pi/prompts/request-review.md +1 -0
  261. package/.pi/prompts/wire-ci.md +164 -181
  262. package/.pi/skills/audit-code/SKILL.md +4 -7
  263. package/.pi/skills/grill-me/SKILL.md +12 -0
  264. package/.pi/skills/grill-with-docs/SKILL.md +12 -0
  265. package/.pi/skills/request-review/SKILL.md +1 -0
  266. package/.pi/skills/wire-ci/SKILL.md +164 -181
  267. package/.trae/skills/align-grid/SKILL.md +110 -0
  268. package/.trae/skills/assess-impact/SKILL.md +91 -0
  269. package/.trae/skills/audit-code/SKILL.md +184 -0
  270. package/.trae/skills/audit-plan/SKILL.md +89 -0
  271. package/.trae/skills/build-epic/SKILL.md +105 -0
  272. package/.trae/skills/change-request/SKILL.md +121 -0
  273. package/.trae/skills/commit-message/SKILL.md +140 -0
  274. package/.trae/skills/compose-workflow/SKILL.md +82 -0
  275. package/.trae/skills/context7-mcp/SKILL.md +55 -0
  276. package/.trae/skills/craft-skill/SKILL.md +179 -0
  277. package/.trae/skills/deepen-architecture/SKILL.md +260 -0
  278. package/.trae/skills/define-language/SKILL.md +80 -0
  279. package/.trae/skills/define-success/SKILL.md +65 -0
  280. package/.trae/skills/delegate-task/SKILL.md +91 -0
  281. package/.trae/skills/deploy/SKILL.md +198 -0
  282. package/.trae/skills/design-interface/SKILL.md +97 -0
  283. package/.trae/skills/develop-tdd/SKILL.md +406 -0
  284. package/.trae/skills/diagnose-root/SKILL.md +24 -0
  285. package/.trae/skills/diagnose-stall/SKILL.md +54 -0
  286. package/.trae/skills/dispatch-agents/SKILL.md +118 -0
  287. package/.trae/skills/edit-document/SKILL.md +23 -0
  288. package/.trae/skills/elaborate-spec/SKILL.md +101 -0
  289. package/.trae/skills/enforce-first/SKILL.md +32 -0
  290. package/.trae/skills/evolve-skill/SKILL.md +55 -0
  291. package/.trae/skills/execute-plan/SKILL.md +61 -0
  292. package/.trae/skills/extract-design/SKILL.md +132 -0
  293. package/.trae/skills/find-way/SKILL.md +191 -0
  294. package/.trae/skills/fix-bug/SKILL.md +67 -0
  295. package/.trae/skills/gate-trace/SKILL.md +88 -0
  296. package/.trae/skills/generate-allure-report/SKILL.md +285 -0
  297. package/.trae/skills/grill-me/SKILL.md +108 -0
  298. package/.trae/skills/grill-with-docs/SKILL.md +53 -0
  299. package/.trae/skills/guard-git/SKILL.md +231 -0
  300. package/.trae/skills/harden-vps/SKILL.md +288 -0
  301. package/.trae/skills/hook-commits/SKILL.md +94 -0
  302. package/.trae/skills/inspect-quality/SKILL.md +106 -0
  303. package/.trae/skills/investigate-bug/SKILL.md +127 -0
  304. package/.trae/skills/kickoff-branch/SKILL.md +143 -0
  305. package/.trae/skills/maintain-wiki/SKILL.md +64 -0
  306. package/.trae/skills/map-codebase/SKILL.md +71 -0
  307. package/.trae/skills/migrate-spec/SKILL.md +862 -0
  308. package/.trae/skills/model-domain/SKILL.md +232 -0
  309. package/.trae/skills/orchestrate-project/SKILL.md +174 -0
  310. package/.trae/skills/organize-workspace/SKILL.md +164 -0
  311. package/.trae/skills/plan-refactor/SKILL.md +87 -0
  312. package/.trae/skills/plan-release/SKILL.md +145 -0
  313. package/.trae/skills/plan-tests/SKILL.md +75 -0
  314. package/.trae/skills/plan-work/SKILL.md +260 -0
  315. package/.trae/skills/publish-package/SKILL.md +328 -0
  316. package/.trae/skills/quick-fix/SKILL.md +114 -0
  317. package/.trae/skills/release-branch/SKILL.md +298 -0
  318. package/.trae/skills/request-review/SKILL.md +113 -0
  319. package/.trae/skills/research-first/SKILL.md +87 -0
  320. package/.trae/skills/reset-baseline/SKILL.md +21 -0
  321. package/.trae/skills/respond-review/SKILL.md +71 -0
  322. package/.trae/skills/run-benchmark/SKILL.md +85 -0
  323. package/.trae/skills/run-evals/SKILL.md +80 -0
  324. package/.trae/skills/run-planning/SKILL.md +101 -0
  325. package/.trae/skills/scope-work/SKILL.md +63 -0
  326. package/.trae/skills/search-skills/SKILL.md +73 -0
  327. package/.trae/skills/security-review/SKILL.md +384 -0
  328. package/.trae/skills/seed-conventions/SKILL.md +285 -0
  329. package/.trae/skills/session-state/SKILL.md +146 -0
  330. package/.trae/skills/setup-environment/SKILL.md +39 -0
  331. package/.trae/skills/simulate-agents/SKILL.md +26 -0
  332. package/.trae/skills/slice-tasks/SKILL.md +68 -0
  333. package/.trae/skills/smoke-test/SKILL.md +242 -0
  334. package/.trae/skills/spike-prototype/SKILL.md +95 -0
  335. package/.trae/skills/stocktake-skills/SKILL.md +72 -0
  336. package/.trae/skills/survey-context/SKILL.md +135 -0
  337. package/.trae/skills/terse-mode/SKILL.md +42 -0
  338. package/.trae/skills/trace-requirement/SKILL.md +69 -0
  339. package/.trae/skills/using-bigpowers/SKILL.md +111 -0
  340. package/.trae/skills/validate-contracts/SKILL.md +309 -0
  341. package/.trae/skills/validate-fix/SKILL.md +106 -0
  342. package/.trae/skills/verify-work/SKILL.md +191 -0
  343. package/.trae/skills/visual-dashboard/SKILL.md +50 -0
  344. package/.trae/skills/wire-ci/SKILL.md +358 -0
  345. package/.trae/skills/wire-observability/SKILL.md +97 -0
  346. package/.trae/skills/write-document/SKILL.md +255 -0
  347. package/.windsurf/rules/align-grid.md +110 -0
  348. package/.windsurf/rules/assess-impact.md +91 -0
  349. package/.windsurf/rules/audit-code.md +184 -0
  350. package/.windsurf/rules/audit-plan.md +89 -0
  351. package/.windsurf/rules/build-epic.md +105 -0
  352. package/.windsurf/rules/change-request.md +121 -0
  353. package/.windsurf/rules/commit-message.md +140 -0
  354. package/.windsurf/rules/compose-workflow.md +82 -0
  355. package/.windsurf/rules/context7-mcp.md +55 -0
  356. package/.windsurf/rules/craft-skill.md +179 -0
  357. package/.windsurf/rules/deepen-architecture.md +260 -0
  358. package/.windsurf/rules/define-language.md +80 -0
  359. package/.windsurf/rules/define-success.md +65 -0
  360. package/.windsurf/rules/delegate-task.md +91 -0
  361. package/.windsurf/rules/deploy.md +198 -0
  362. package/.windsurf/rules/design-interface.md +97 -0
  363. package/.windsurf/rules/develop-tdd.md +406 -0
  364. package/.windsurf/rules/diagnose-root.md +24 -0
  365. package/.windsurf/rules/diagnose-stall.md +54 -0
  366. package/.windsurf/rules/dispatch-agents.md +118 -0
  367. package/.windsurf/rules/edit-document.md +23 -0
  368. package/.windsurf/rules/elaborate-spec.md +101 -0
  369. package/.windsurf/rules/enforce-first.md +32 -0
  370. package/.windsurf/rules/evolve-skill.md +55 -0
  371. package/.windsurf/rules/execute-plan.md +61 -0
  372. package/.windsurf/rules/extract-design.md +132 -0
  373. package/.windsurf/rules/find-way.md +191 -0
  374. package/.windsurf/rules/fix-bug.md +67 -0
  375. package/.windsurf/rules/gate-trace.md +88 -0
  376. package/.windsurf/rules/generate-allure-report.md +285 -0
  377. package/.windsurf/rules/grill-me.md +108 -0
  378. package/.windsurf/rules/grill-with-docs.md +53 -0
  379. package/.windsurf/rules/guard-git.md +231 -0
  380. package/.windsurf/rules/harden-vps.md +288 -0
  381. package/.windsurf/rules/hook-commits.md +94 -0
  382. package/.windsurf/rules/inspect-quality.md +106 -0
  383. package/.windsurf/rules/investigate-bug.md +127 -0
  384. package/.windsurf/rules/kickoff-branch.md +143 -0
  385. package/.windsurf/rules/maintain-wiki.md +64 -0
  386. package/.windsurf/rules/map-codebase.md +71 -0
  387. package/.windsurf/rules/migrate-spec.md +862 -0
  388. package/.windsurf/rules/model-domain.md +232 -0
  389. package/.windsurf/rules/orchestrate-project.md +174 -0
  390. package/.windsurf/rules/organize-workspace.md +164 -0
  391. package/.windsurf/rules/plan-refactor.md +87 -0
  392. package/.windsurf/rules/plan-release.md +145 -0
  393. package/.windsurf/rules/plan-tests.md +75 -0
  394. package/.windsurf/rules/plan-work.md +260 -0
  395. package/.windsurf/rules/publish-package.md +328 -0
  396. package/.windsurf/rules/quick-fix.md +114 -0
  397. package/.windsurf/rules/release-branch.md +298 -0
  398. package/.windsurf/rules/request-review.md +113 -0
  399. package/.windsurf/rules/research-first.md +87 -0
  400. package/.windsurf/rules/reset-baseline.md +21 -0
  401. package/.windsurf/rules/respond-review.md +71 -0
  402. package/.windsurf/rules/run-benchmark.md +85 -0
  403. package/.windsurf/rules/run-evals.md +80 -0
  404. package/.windsurf/rules/run-planning.md +101 -0
  405. package/.windsurf/rules/scope-work.md +63 -0
  406. package/.windsurf/rules/search-skills.md +73 -0
  407. package/.windsurf/rules/security-review.md +384 -0
  408. package/.windsurf/rules/seed-conventions.md +285 -0
  409. package/.windsurf/rules/session-state.md +146 -0
  410. package/.windsurf/rules/setup-environment.md +39 -0
  411. package/.windsurf/rules/simulate-agents.md +26 -0
  412. package/.windsurf/rules/slice-tasks.md +68 -0
  413. package/.windsurf/rules/smoke-test.md +242 -0
  414. package/.windsurf/rules/spike-prototype.md +95 -0
  415. package/.windsurf/rules/stocktake-skills.md +72 -0
  416. package/.windsurf/rules/survey-context.md +135 -0
  417. package/.windsurf/rules/terse-mode.md +42 -0
  418. package/.windsurf/rules/trace-requirement.md +69 -0
  419. package/.windsurf/rules/using-bigpowers.md +111 -0
  420. package/.windsurf/rules/validate-contracts.md +309 -0
  421. package/.windsurf/rules/validate-fix.md +106 -0
  422. package/.windsurf/rules/verify-work.md +191 -0
  423. package/.windsurf/rules/visual-dashboard.md +50 -0
  424. package/.windsurf/rules/wire-ci.md +358 -0
  425. package/.windsurf/rules/wire-observability.md +97 -0
  426. package/.windsurf/rules/write-document.md +255 -0
  427. package/.zcode/skills/audit-code/SKILL.md +4 -7
  428. package/.zcode/skills/grill-me/SKILL.md +12 -0
  429. package/.zcode/skills/grill-with-docs/SKILL.md +12 -0
  430. package/.zcode/skills/request-review/SKILL.md +1 -0
  431. package/.zcode/skills/wire-ci/SKILL.md +164 -181
  432. package/CHANGELOG.md +37 -0
  433. package/CONVENTIONS.md +22 -0
  434. package/README.md +14 -1
  435. package/SKILL-INDEX.md +84 -76
  436. package/bin/setup.js +9 -1
  437. package/instructions +1 -0
  438. package/package.json +1 -1
  439. package/scripts/adapters/cline.sh +53 -3
  440. package/scripts/adapters/codebuddy.sh +58 -0
  441. package/scripts/adapters/codex.sh +58 -0
  442. package/scripts/adapters/copilot.sh +58 -0
  443. package/scripts/adapters/kilocode.sh +44 -3
  444. package/scripts/adapters/opencode.sh +58 -0
  445. package/scripts/adapters/qwen.sh +53 -1
  446. package/scripts/adapters/trae.sh +58 -0
  447. package/scripts/adapters/windsurf.sh +52 -0
  448. package/scripts/bp-yaml-set.sh +2 -0
  449. package/scripts/generate-skill-index.sh +20 -4
  450. package/scripts/generate-wave-b-hub.py +31 -0
  451. package/scripts/golden-g04-selftest.sh +19 -0
  452. package/scripts/hooks/cline/HOOKS.md +16 -0
  453. package/scripts/hooks/cline/hooks-manifest.json +12 -0
  454. package/scripts/hooks/cline/plugin/guard-git-plugin.ts +16 -0
  455. package/scripts/hooks/codebuddy/HOOKS.md +24 -0
  456. package/scripts/hooks/codebuddy/hooks-manifest.json +20 -0
  457. package/scripts/hooks/codebuddy/pre-tool-git-guard.sh +22 -0
  458. package/scripts/hooks/codebuddy/settings.example.json +16 -0
  459. package/scripts/hooks/codex/HOOKS.md +21 -0
  460. package/scripts/hooks/codex/hooks-manifest.json +17 -0
  461. package/scripts/hooks/codex/pre-tool-git-guard.sh +22 -0
  462. package/scripts/hooks/codex/settings.example.json +16 -0
  463. package/scripts/hooks/kilocode/HOOKS.md +16 -0
  464. package/scripts/hooks/kilocode/hooks-manifest.json +12 -0
  465. package/scripts/hooks/kilocode/plugin/guard-git-plugin.ts +16 -0
  466. package/scripts/hooks/qwen/HOOKS.md +27 -0
  467. package/scripts/hooks/qwen/hooks-manifest.json +23 -0
  468. package/scripts/hooks/qwen/pre-tool-git-guard.sh +22 -0
  469. package/scripts/hooks/qwen/settings.example.json +16 -0
  470. package/scripts/hooks/trae/HOOKS.md +17 -0
  471. package/scripts/hooks/trae/hooks-manifest.json +13 -0
  472. package/scripts/hooks/trae/pre-tool-git-guard.sh +22 -0
  473. package/scripts/hooks/trae/settings.example.json +16 -0
  474. package/scripts/hooks/windsurf/HOOKS.md +23 -0
  475. package/scripts/hooks/windsurf/hooks-manifest.json +19 -0
  476. package/scripts/hooks/windsurf/pre-tool-git-guard.sh +22 -0
  477. package/scripts/hooks/windsurf/settings.example.json +16 -0
  478. package/scripts/install.sh +33 -373
  479. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  480. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  481. package/scripts/lib/context-wire.sh +5 -0
  482. package/scripts/lib/install-grep.sh +18 -0
  483. package/scripts/lib/install-helpers.js +139 -2
  484. package/scripts/lib/install-targets-a.sh +227 -0
  485. package/scripts/lib/install-targets-b.sh +226 -0
  486. package/scripts/lib/install-targets-c.sh +128 -0
  487. package/scripts/lib/install-targets-d.sh +179 -0
  488. package/scripts/lib/srp-engine.py +2 -70
  489. package/scripts/lib/srp_engine_links.py +59 -0
  490. package/scripts/lib/wave_b_hub_codegen_helpers.py +273 -0
  491. package/scripts/lib/wave_b_hub_codegen_install.py +134 -0
  492. package/scripts/lib/wave_b_hub_config.py +130 -0
  493. package/scripts/lib/wave_b_hub_patch.py +213 -0
  494. package/scripts/record-cycle-time.sh +3 -14
  495. package/scripts/targets.yaml +75 -2
  496. package/scripts/test-agy-hub.sh +11 -10
  497. package/scripts/test-cline-adapter.sh +55 -0
  498. package/scripts/test-cline-hub.sh +48 -0
  499. package/scripts/test-codebuddy-adapter.sh +63 -0
  500. package/scripts/test-codebuddy-hub.sh +49 -0
  501. package/scripts/test-codex-adapter.sh +63 -0
  502. package/scripts/test-codex-hub.sh +49 -0
  503. package/scripts/test-copilot-adapter.sh +47 -0
  504. package/scripts/test-copilot-hub.sh +43 -0
  505. package/scripts/test-gemini-hub.sh +10 -9
  506. package/scripts/test-hermes-hub.sh +7 -6
  507. package/scripts/test-install-helpers.js +9 -3
  508. package/scripts/test-kilocode-adapter.sh +55 -0
  509. package/scripts/test-kilocode-hub.sh +48 -0
  510. package/scripts/test-mimo-hub.sh +7 -6
  511. package/scripts/test-opencode-adapter.sh +47 -0
  512. package/scripts/test-opencode-hub.sh +43 -0
  513. package/scripts/test-qwen-adapter.sh +63 -0
  514. package/scripts/test-qwen-hub.sh +49 -0
  515. package/scripts/test-trae-adapter.sh +63 -0
  516. package/scripts/test-trae-hub.sh +49 -0
  517. package/scripts/test-windsurf-adapter.sh +63 -0
  518. package/scripts/test-windsurf-hub.sh +49 -0
  519. package/scripts/test-zcode-hub.sh +7 -6
  520. package/scripts/verify-install.sh +83 -29
  521. package/skills/audit-code/SKILL.md +4 -7
  522. package/skills/grill-me/SKILL.md +12 -0
  523. package/skills/grill-with-docs/SKILL.md +12 -0
  524. package/skills/request-review/SKILL.md +1 -0
  525. package/skills/visual-dashboard/scripts/frame-template.html +1 -39
  526. package/skills/wire-ci/REFERENCE.md +137 -152
  527. package/skills/wire-ci/SKILL.md +28 -30
  528. package/skills-lock.json +5 -5
@@ -10,12 +10,12 @@ description: "CI pipeline setup with pre-built templates and local validation. G
10
10
  >
11
11
  > **HARD GATE** — CI that is untestable locally will break every cycle. Always run `--validate` after generating workflows and `--dry-run` before pushing.
12
12
 
13
- Generate, validate, and test CI workflows. Detects your project type, produces platform-appropriate GitHub Actions configurations, and provides local verification to catch auth, permissions, and syntax issues before they reach CI.
13
+ Generate, validate, and test CI workflows. Detects your project type, copies org templates from `danielvm-git/.github/workflow-templates/`, and provides local verification to catch auth, permissions, and syntax issues before they reach CI.
14
14
 
15
15
  ## What this sets up
16
16
 
17
- 1. **CI workflow** — `.github/workflows/ci.yaml` with test, lint, typecheck, build steps
18
- 2. **Release workflow** — `.github/workflows/release.yaml` with semantic-release (if applicable)
17
+ 1. **Test Build Release workflow** — `.github/workflows/test-build-release.yml` with lint → test → build → release (single pipeline, `needs:` chain)
18
+ 2. **Deploy workflow** — `.github/workflows/deploy.yml` triggered via `workflow_run` (BigBase/Pages stacks only; CLI/library repos omit this)
19
19
  3. **`--validate` mode** — checks YAML syntax, workflow permissions, required secrets, and common pitfalls
20
20
  4. **`--dry-run` mode** — runs workflows locally via `act` or `gh workflow run` to prove correctness before push
21
21
  5. **Failure pattern documentation** — common CI failure categories and their fixes
@@ -24,45 +24,41 @@ Generate, validate, and test CI workflows. Detects your project type, produces p
24
24
 
25
25
  ### 1. Detect project type
26
26
 
27
- Read the project root for manifest files to determine which template to use:
27
+ Read the project root for manifest files to determine which template pair to copy:
28
28
 
29
- | Manifest | Type | Template |
30
- |----------|------|----------|
31
- | `Cargo.toml` | Rust | Rust CI: test, clippy, fmt, build |
32
- | `package.json` | Node | Node CI: test, lint, typecheck, build |
33
- | `setup.py` / `pyproject.toml` | Python | Python CI: pytest, ruff/mypy/flake8, build |
34
- | `go.mod` | Go | Go CI: test, vet, staticcheck, build |
35
- | `CMakeLists.txt` | C/C++ | C/C++ CI: cmake build, ctest |
36
- | Multiple detected | Polyglot | Combined workflows or error if ambiguous |
29
+ | Manifest | Type | Template pair (from `.github` repo) |
30
+ |----------|------|-------------------------------------|
31
+ | `Cargo.toml` | Rust | `test-build-release-monorepo.yml` + `deploy-monorepo.yml` (or monorepo subset) |
32
+ | `package.json` | Node | `test-build-release-node.yml` + `deploy-node.yml` |
33
+ | `setup.py` / `pyproject.toml` | Python | `test-build-release-python.yml` + `deploy-python.yml` |
34
+ | `go.mod` | Go | `test-build-release-go.yml` + `deploy-go.yml` |
35
+ | Static site (no server) | Static | `test-build-release-static.yml` + `deploy-static.yml` |
36
+ | `Package.swift` | Swift | `test-build-release-swift.yml` only (no deploy yet) |
37
+ | Multiple detected | Polyglot | `test-build-release-monorepo.yml` + `deploy-monorepo.yml` |
37
38
 
38
- If no manifest is found, prompt the user to specify the type or pass `--type <rust|node|python|go|cpp>`.
39
+ **CLI/library repos** (no hosted target): copy only `test-build-release-<stack>.yml` → `test-build-release.yml`. The `release` job is terminal; skip `deploy.yml`. See `docs/how-to/migrate-ci-cd/migration-plan.md` § CLI and library repos.
39
40
 
40
- ### 2. Generate CI workflow
41
+ If no manifest is found, prompt the user to specify the type or pass `--type <rust|node|python|go|static|swift>`.
41
42
 
42
- Create `.github/workflows/ci.yaml` with standard steps derived from the project type and its manifest:
43
+ ### 2. Copy test-build-release template
43
44
 
44
- **Rust template (`Cargo.toml`):**
45
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
46
-
47
- **Node template (`package.json`):**
48
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
45
+ Copy the matching template from `~/Developer/.github/workflow-templates/` to `.github/workflows/test-build-release.yml`. **Do not rename the workflow `name:` field** — deploy listens for `"Test Build Release"`.
49
46
 
50
- **Python template (`setup.py` / `pyproject.toml`):**
51
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
47
+ Edit placeholders: `APP_TYPE`, `SITE_URL`, language versions.
52
48
 
53
- **Go template (`go.mod`):**
54
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
49
+ See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md) for stack-specific job shapes.
55
50
 
56
- **C/C++ template (`CMakeLists.txt`):**
57
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
51
+ ### 3. Copy deploy template (hosted stacks only)
58
52
 
59
- ### 3. Generate release workflow (if semantic-release detected)
53
+ If the project deploys to BigBase or GitHub Pages:
60
54
 
61
- If the project has semantic-release configured (in `package.json`, `.releaserc`, or `release.config.js`), also generate `.github/workflows/release.yaml`:
55
+ ```bash
56
+ cp ~/Developer/.github/workflow-templates/deploy-${STACK}.yml .github/workflows/deploy.yml
57
+ ```
62
58
 
63
- See [REFERENCE.md](../../../skills/wire-ci/REFERENCE.md)
59
+ Configure `BIGBASE_SITE_ID`, `BIGBASE_DEPLOY_TOKEN`, and matching `SITE_URL`. Deploy runs via `workflow_run` after TBR succeeds on `main` with `cancel-in-progress: false`.
64
60
 
65
- > **NPM_TOKEN is required** for publishing to npm. Without it, semantic-release will fail at the publish step. See `--validate` to check this.
61
+ Skip this step for CLI/library repos.
66
62
 
67
63
  ### 4. Validate workflows (`--validate`)
68
64
 
@@ -97,6 +93,8 @@ Add the following to the project's documentation or CLAUDE.md after setup:
97
93
  | `cargo clippy` errors | New lints in Rust nightly | `cargo clippy --fix` or allow specific lints |
98
94
  | `act` not found | Docker not running or act not installed | `brew install act` / `docker ps` to verify Docker |
99
95
  | Hardcoded Node version stale | `.nvmrc` exists but workflow uses hardcoded version | Use `node-version-file: .nvmrc` instead |
96
+ | Deploy never runs | TBR workflow renamed | Keep `name: Test Build Release` in test-build-release.yml |
97
+ | Release rebuilds binary | Artifact not downloaded | `release` job must `download-artifact` from `build` |
100
98
 
101
99
  ## Verify
102
100
 
@@ -120,26 +118,24 @@ Add the following to the project's documentation or CLAUDE.md after setup:
120
118
 
121
119
  ## Examples
122
120
 
123
- ### Create CI for a Rust project
121
+ ### Create CI for a Go project (TBR + optional deploy)
124
122
 
125
123
  ```bash
126
- # Detect from Cargo.toml, generate workflows
127
- wire-ci
124
+ # Copy org templates
125
+ cp ~/Developer/.github/workflow-templates/test-build-release-go.yml .github/workflows/test-build-release.yml
126
+ cp ~/Developer/.github/workflow-templates/deploy-go.yml .github/workflows/deploy.yml
128
127
 
129
- # Validate generated workflows
130
128
  wire-ci --validate
131
-
132
- # Run locally with act
133
129
  wire-ci --dry-run
134
130
  ```
135
131
 
136
- ### Create CI for a Node project with semantic-release
132
+ ### Create CI for a CLI tool (TBR only, no deploy)
137
133
 
138
134
  ```bash
139
- wire-ci
135
+ cp ~/Developer/.github/workflow-templates/test-build-release-go.yml .github/workflows/test-build-release.yml
136
+ # Edit release job to download build artifact — see big-release dogfood
137
+
140
138
  wire-ci --validate
141
- # Expect warning: "npm publish step found but no NPM_TOKEN in secrets"
142
- # Fix: add NPM_TOKEN to repo secrets
143
139
  ```
144
140
 
145
141
  ### Validate existing workflows (no generation)
@@ -148,7 +144,6 @@ wire-ci --validate
148
144
  wire-ci --validate --check-only
149
145
  ```
150
146
 
151
-
152
147
  ---
153
148
 
154
149
  ## Options
@@ -160,8 +155,7 @@ wire-ci --validate --check-only
160
155
  | `--check-only` | Only validate, do not generate new files |
161
156
  | `--type <type>` | Force project type (skip auto-detection) |
162
157
  | `--force` | Overwrite existing workflow files |
163
- | `--no-release` | Skip release workflow generation even if semantic-release detected |
164
-
158
+ | `--no-deploy` | Skip deploy.yml even for hosted stacks |
165
159
 
166
160
  ---
167
161
 
@@ -174,202 +168,191 @@ When `wire-ci` is used as part of `build-epic`:
174
168
 
175
169
  ---
176
170
 
177
- ## Reference block 1
171
+ ## Reference block 1 — test-build-release.yml (Go, excerpt)
178
172
 
179
173
  ```yaml
180
- name: CI
181
- on: [push, pull_request]
182
- jobs:
183
- test:
184
- runs-on: ubuntu-latest
185
- steps:
186
- - uses: actions/checkout@v4
187
- - uses: actions-rust/toolchain@v1
188
- with:
189
- toolchain: stable
190
- components: clippy, rustfmt
191
- - run: cargo fmt --all -- --check
192
- - run: cargo clippy -- -D warnings
193
- - run: cargo test
194
- - run: cargo build --release
195
- ```
174
+ name: Test Build Release
175
+ on:
176
+ push:
177
+ branches: [main]
178
+ pull_request:
179
+ branches: [main]
196
180
 
197
- ---
181
+ permissions:
182
+ contents: read
198
183
 
199
- ## Reference block 2
184
+ concurrency:
185
+ group: pipeline-${{ github.workflow }}-${{ github.ref }}
186
+ cancel-in-progress: true
200
187
 
201
- ```yaml
202
- name: CI
203
- on: [push, pull_request]
204
188
  jobs:
205
- test:
206
- runs-on: ubuntu-latest
189
+ lint:
190
+ runs-on: ubuntu-22.04
191
+ timeout-minutes: 10
207
192
  steps:
208
- - uses: actions/checkout@v4
209
- - uses: actions/setup-node@v4
193
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
194
+ - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
210
195
  with:
211
- node-version: 20
212
- cache: npm
213
- - run: npm ci
214
- - run: npm test
215
- - run: npm run lint 2>/dev/null || true
216
- - run: npm run typecheck 2>/dev/null || true
217
- - run: npm run build 2>/dev/null || true
218
- ```
219
-
220
- ---
221
-
222
- ## Reference block 3
196
+ go-version: '1.22'
197
+ cache: true
198
+ - uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6.5.2
199
+ with:
200
+ version: v1.64.8
223
201
 
224
- ```yaml
225
- name: CI
226
- on: [push, pull_request]
227
- jobs:
228
202
  test:
229
- runs-on: ubuntu-latest
203
+ needs: [lint]
204
+ runs-on: ubuntu-22.04
230
205
  steps:
231
- - uses: actions/checkout@v4
232
- - uses: actions/setup-python@v5
206
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
207
+ - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
233
208
  with:
234
- python-version: "3.12"
235
- cache: pip
236
- - run: pip install -e ".[dev]" || pip install -e .
237
- - run: pip install pytest ruff mypy
238
- - run: ruff check .
239
- - run: mypy . 2>/dev/null || true
240
- - run: pytest
241
- ```
242
-
243
- ---
244
-
245
- ## Reference block 4
209
+ go-version: '1.22'
210
+ cache: true
211
+ - run: go vet ./...
212
+ - run: go test ./... -count=1
246
213
 
247
- ```yaml
248
- name: CI
249
- on: [push, pull_request]
250
- jobs:
251
- test:
252
- runs-on: ubuntu-latest
214
+ build:
215
+ needs: [test]
216
+ runs-on: ubuntu-22.04
253
217
  steps:
254
- - uses: actions/checkout@v4
255
- - uses: actions/setup-go@v5
218
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
219
+ - uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
256
220
  with:
257
- go-version: stable
221
+ go-version: '1.22'
258
222
  cache: true
259
- - run: go vet ./...
260
- - run: go test ./...
261
223
  - run: go build ./...
224
+ - run: jq -n --arg sha "${{ github.sha }}" '{sha: $sha}' > deploy-meta.json
225
+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
226
+ with:
227
+ name: deploy-meta
228
+ path: deploy-meta.json
229
+
230
+ release:
231
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
232
+ needs: [build]
233
+ permissions:
234
+ contents: write
235
+ steps:
236
+ - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
237
+ with:
238
+ fetch-depth: 0
239
+ - run: npx semantic-release
240
+ env:
241
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
262
242
  ```
263
243
 
264
244
  ---
265
245
 
266
- ## Reference block 5
246
+ ## Reference block 2 — deploy.yml (BigBase, excerpt)
267
247
 
268
248
  ```yaml
269
- name: CI
270
- on: [push, pull_request]
249
+ name: Deploy
250
+ on:
251
+ workflow_run:
252
+ workflows: ["Test Build Release"]
253
+ types: [completed]
254
+
255
+ permissions:
256
+ contents: read
257
+ actions: read
258
+
259
+ concurrency:
260
+ group: deploy-production
261
+ cancel-in-progress: false
262
+
263
+ env:
264
+ SITE_URL: "https://CHANGE-ME.bigbase.click"
265
+
271
266
  jobs:
272
- test:
273
- runs-on: ubuntu-latest
267
+ deploy:
268
+ if: >
269
+ github.event.workflow_run.conclusion == 'success' &&
270
+ github.event.workflow_run.head_branch == 'main'
271
+ runs-on: ubuntu-22.04
272
+ environment: production
274
273
  steps:
275
- - uses: actions/checkout@v4
276
- - run: cmake -B build
277
- - run: cmake --build build
278
- - run: ctest --test-dir build
274
+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
275
+ with:
276
+ name: deploy-meta
277
+ github-token: ${{ secrets.GITHUB_TOKEN }}
278
+ run-id: ${{ github.event.workflow_run.id }}
279
+ path: deploy-meta
280
+ - uses: danielvm-git/.github/actions/bigbase-deploy@9c56ac10c629f3baa110ddb19136579e3c90d690 # v1
281
+ with:
282
+ site_id: ${{ secrets.BIGBASE_SITE_ID }}
283
+ app_type: go
284
+ site_url: ${{ env.SITE_URL }}
285
+ deploy_token: ${{ secrets.BIGBASE_DEPLOY_TOKEN }}
286
+ ref: ${{ steps.meta.outputs.ref }}
287
+ skip_health_check: true
288
+ - name: Health check
289
+ run: |
290
+ curl -sf "${{ env.SITE_URL }}" || exit 1
279
291
  ```
280
292
 
281
293
  ---
282
294
 
283
- ## Reference block 6
295
+ ## Reference block 3 — CLI dogfood (big-release pattern)
284
296
 
285
297
  ```yaml
286
- name: Release
287
- on:
288
- push:
289
- branches: [main]
290
- jobs:
291
- release:
292
- runs-on: ubuntu-latest
293
- permissions:
294
- contents: write
295
- issues: write
296
- pull-requests: write
297
- id-token: write
298
+ build:
299
+ needs: [test]
298
300
  steps:
299
- - uses: actions/checkout@v4
301
+ - run: make build
302
+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
300
303
  with:
301
- fetch-depth: 0
302
- - uses: actions/setup-node@v4
304
+ name: big-release-${{ github.sha }}
305
+ path: bin/big-release
306
+
307
+ release:
308
+ needs: [build]
309
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
310
+ steps:
311
+ - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
303
312
  with:
304
- node-version: 20
305
- cache: npm
306
- - run: npm ci
307
- - run: npm run build 2>/dev/null || true
308
- - run: npx semantic-release
309
- env:
310
- GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
311
- NPM_TOKEN: \${{ secrets.NPM_TOKEN }}
313
+ name: big-release-${{ github.sha }}
314
+ path: bin
315
+ - run: make release # cross-compile assets only; host binary from artifact
316
+ - run: big-release release --verbose
312
317
  ```
313
318
 
319
+ No `deploy.yml` — CLI publishes via the release job.
320
+
314
321
  ---
315
322
 
316
- ## Reference block 7
323
+ ## Reference block 4 — validate script
317
324
 
318
325
  ```bash
319
- # Validate YAML syntax
320
- for f in .github/workflows/*.yaml; do
326
+ for f in .github/workflows/*.yml .github/workflows/*.yaml; do
327
+ [ -f "$f" ] || continue
321
328
  python3 -c "import yaml; yaml.safe_load(open('$f'))" || echo "FAIL: $f has YAML syntax errors"
322
329
  done
323
330
 
324
- # Check permissions block presence
325
- for f in .github/workflows/*.yaml; do
331
+ for f in .github/workflows/test-build-release.yml; do
326
332
  if grep -q "permissions:" "$f"; then
327
333
  echo "OK: $f has permissions block"
328
334
  else
329
- echo "WARNING: $f missing permissions block — add one for security"
330
- fi
331
- done
332
-
333
- # Check for npm publish without NPM_TOKEN
334
- for f in .github/workflows/*.yaml; do
335
- if grep -q "npm publish\|npx semantic-release" "$f"; then
336
- if ! grep -q "NPM_TOKEN" "$f"; then
337
- echo "WARNING: $f has npm publish/semantic-release but no NPM_TOKEN secret"
338
- fi
335
+ echo "WARNING: $f missing permissions block"
339
336
  fi
340
337
  done
341
338
 
342
- # Check for hardcoded Node versions
343
- for f in .github/workflows/*.yaml; do
344
- if grep -q "node-version: [0-9]" "$f" && grep -qv "node-version-file\|\.nvmrc" "$f"; then
345
- echo "NOTE: $f has hardcoded Node version — consider using .nvmrc instead"
339
+ if grep -q 'workflows: \["Test Build Release"\]' .github/workflows/deploy.yml 2>/dev/null; then
340
+ if ! grep -q 'name: Test Build Release' .github/workflows/test-build-release.yml; then
341
+ echo "WARNING: deploy.yml listens for Test Build Release but TBR name may differ"
346
342
  fi
347
- done
348
-
349
- # Check for common secrets reference errors
350
- for f in .github/workflows/*.yaml; do
351
- # Secrets referencing something that doesn't exist in the workflow
352
- grep -oP 'secrets\.\w+' "$f" | sort -u | while read -r secret; do
353
- echo "REF: $f references $secret"
354
- done
355
- done
343
+ fi
356
344
  ```
357
345
 
358
346
  ---
359
347
 
360
- ## Reference block 8
348
+ ## Reference block 5 — dry-run
361
349
 
362
350
  ```bash
363
- # Option A: Use act (recommended)
364
351
  if command -v act &>/dev/null; then
365
- act push --dry-run
366
- echo "OK: act dry-run completed"
352
+ act push --dry-run -W .github/workflows/test-build-release.yml
367
353
  elif command -v gh &>/dev/null; then
368
- # Option B: Use gh workflow run (remote test, no local docker)
369
- gh workflow run ci.yaml --ref "$(git branch --show-current)"
370
- echo "OK: CI workflow dispatched. Check status: gh run list"
354
+ gh workflow run test-build-release.yml --ref "$(git branch --show-current)"
371
355
  else
372
- echo "NOTE: Install act (https://github.com/nektos/act) for full local dry-run"
373
- echo " Install gh CLI for remote dry-run"
356
+ echo "Install act or gh for dry-run"
374
357
  fi
375
358
  ```
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: align-grid
3
+ model: sonnet
4
+ description: "Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one. Encodes the discipline (columns + modules + baseline, grotesque type, flush-left, restrained black/white/red palette) AND the hard-won front-end engineering to make the grid real, visible, and verified: one CSS-variable source of truth, an interactive grid-toggle overlay that lives in the SAME content box as the content, subgrid \"bands\" so every element snaps to a column line, an 8px baseline lock, and runtime OPTICAL ALIGNMENT that puts display type's ink (not its box) on the line. Ships with a scaffold generator and a Puppeteer verification harness that proves 0px adherence."
5
+ ---
6
+
7
+ # Müller-Brockmann Grid Systems — built real, visible, and verified
8
+
9
+ Josef Müller-Brockmann (1914–1996), Zurich; *Grid Systems in Graphic Design* (1981) is the corpus. The grid is treated as an ethic, not decoration: **"The grid system is an aid, not a guarantee. It permits a number of possible uses and each designer can look for a solution appropriate to his personal style. But one must learn how to use the grid; it is an art that requires practice."** This skill encodes that discipline AND — the part most attempts get wrong — the front-end engineering to make the grid genuinely load-bearing on the web, plus a harness that PROVES it.
10
+
11
+ > **HARD GATE** — Do NOT ship a grid page without running `verify_grid.js` first. A visually plausible layout is not evidence of grid adherence — the harness is. Zero failing assertions is the only passing bar.
12
+
13
+ > Two real review notes this skill exists to prevent:
14
+ > 1. *"the grid is just slapped on top and misaligned"* → the overlay wasn't in the same content box as the content (see §2.2).
15
+ > 2. *"the H in the headline is off the grid"* → the headline's BOX was on the grid but its INK wasn't; large glyphs carry a side-bearing (see §2.6). **Box-on-grid ≠ ink-on-grid.**
16
+
17
+ ---
18
+
19
+ ## PART 1 — THE DISCIPLINE (decide before drawing)
20
+ - **Objective order.** The grid brings "constructive thought," legibility, and "objective and functional" design. Restraint is the point; the system, not the ego, organizes the page.
21
+ - **Modular grid.** Divide the type area into a field of **modules** — columns AND rows — separated by consistent **gutters**, inside defined **margins**. Text and images occupy whole modules. Müller-Brockmann specimens common field counts (8 / 20 / 32 fields). For the web, a **12-column grid + 8px baseline** is a robust general default; a **6×6 or 4×8 modular field grid** when you want visible rows too.
22
+ - **Baseline grid.** Vertical rhythm is sacred: **leading = a whole multiple of the baseline unit**, and every element snaps to it. This is what makes facing columns and images line up across the page.
23
+ - **Typography.** A **grotesque sans** (Akzidenz-Grotesk / Helvetica; on the web Inter, Helvetica Now, Archivo). **Flush-left, ragged-right.** Few sizes, large jumps in **scale** for hierarchy; objective, not expressive. Big **numerals/data set large** is a signature move.
24
+ - **Palette.** Pure white paper, near-black ink, **one accent — red is canonical**. Avoid the warm-cream "Claude look"; **never blue/purple gradients** (hard house rule).
25
+ - **White space + asymmetry.** Generous margins; asymmetric compositions held in tension by the grid.
26
+
27
+ ---
28
+
29
+ ## PART 2 — MAKE THE GRID REAL ON THE WEB (the load-bearing engineering)
30
+ `grid_tokens.py` emits this whole scaffold correctly; the rules below are why it's built the way it is.
31
+
32
+ ### 2.1 One source of truth
33
+ Put every grid parameter in `:root` CSS variables — `--cols, --gutter, --margin, --bl (baseline), --lh (leading=3×bl), --maxw`. **Content and the overlay both read these same variables.** Never hand-author the overlay separately or it will drift.
34
+
35
+ ### 2.2 The overlay MUST live in the SAME content box as the content ← #1 bug
36
+ Failure mode: content sits in a centered `max-width` container while the overlay is a **full-width sibling** of the section. On any viewport wider than `--maxw`, the centered content and the full-width overlay no longer share column positions → "slapped on top / misaligned."
37
+ **Fix:** put `.guides` *inside* the same `.wrap`, and draw the column guides with `left/right = var(--margin)` and the **same** `repeat(var(--cols),1fr)` + `column-gap:var(--gutter)`. Then the overlay columns **are** the content columns at every width. Add left/right margin lines at `var(--margin)`.
38
+
39
+ ### 2.3 Place every element by column LINE via subgrid bands
40
+ Don't eyeball spans. Each horizontal **band** spans all columns and re-exposes them:
41
+ ```css
42
+ .band{grid-column:1 / -1; display:grid; grid-template-columns:subgrid; column-gap:var(--gutter); align-items:start;}
43
+ @supports not (grid-template-columns:subgrid){ .band{grid-template-columns:repeat(var(--cols),1fr);} }
44
+ ```
45
+ Children place with `grid-column: <startline> / <endline>` (e.g. `1 / 6`, `6 / 13`). Every headline, paragraph, photo, caption now snaps to identical lines.
46
+
47
+ ### 2.4 Lock vertical rhythm to the baseline
48
+ - Leading = `--lh` (e.g. 24px = 3×8). **Every line-height a multiple of the baseline, in px (not unitless) for display type** — unitless line-heights on large type push the box off the grid.
49
+ - Every margin/padding a multiple of the baseline. Spread top/bottom padding a multiple too, so content starts on a line.
50
+ - **Media heights = multiples of the leading** (e.g. 240/360/432/480px) so a photo's top AND bottom both land on lines.
51
+ - Hairline rules sit inside a baseline-height band, not free-floating.
52
+
53
+ ### 2.5 The toggle (sizzle within the sizzle)
54
+ A control (button **+ `G` key**) toggles `body.grid-on`; overlay fades 0→1. Overlay draws: translucent **numbered column fields**, the **baseline** (major line every `--lh`, faint minor every `--bl`), and **margin lines**. Showing the real grid the page is built on IS the demo.
55
+
56
+ ### 2.6 OPTICAL ALIGNMENT — display ink, not its box ← the subtle bug
57
+ A 180px headline whose layout box is exactly on line 1 still looks misaligned against body text, because the letterform's **ink** is inset by its **left side-bearing**. Cure at runtime:
58
+ ```js
59
+ // after document.fonts.ready and on resize:
60
+ var cvs=document.createElement('canvas'),ctx=cvs.getContext('2d');
61
+ document.querySelectorAll('.masthead,.numeral,.shead h2,.h2b').forEach(function(el){
62
+ el.style.marginLeft='0px';
63
+ var cs=getComputedStyle(el),ch=(el.textContent||'').trim()[0]; if(!ch) return;
64
+ if(cs.textTransform==='uppercase') ch=ch.toUpperCase();
65
+ ctx.font=cs.fontStyle+' '+cs.fontWeight+' '+cs.fontSize+' '+cs.fontFamily; ctx.textAlign='left';
66
+ var abl=ctx.measureText(ch).actualBoundingBoxLeft; // +ve = ink overhangs left of box
67
+ if(isFinite(abl)) el.style.marginLeft=abl.toFixed(2)+'px'; // shift box so INK lands on the line
68
+ });
69
+ ```
70
+ Apply to the masthead, big numerals, and section headlines. It scales with fluid type (re-runs on resize) and uses the **actually-loaded** font, so it's correct in the user's browser.
71
+ **CRITICAL measurement caveat:** side-bearing is **font-specific**. If you measure with the wrong font you get the wrong nudge. Headless/sandbox Chrome usually lacks the webfont, so canvas falls back to a different grotesque (measured **−16px on the fallback vs −7px on real Inter** for the same `H`). To verify optics offline you must **embed the real webfont** via `@font-face` (local TTF). In production the runtime JS measures the loaded font and is correct.
72
+
73
+ ---
74
+
75
+ ## PART 3 — VERIFY (don't trust, measure) → `verify_grid.js`
76
+ Render with headless Chrome (Puppeteer) and assert, at **several widths including > and < `--maxw`** (to catch centered-container drift, e.g. 1440 / 1180 / 900):
77
+ 1. **Column adherence** — every placed `.band > *` left snaps to a column START and right to a column END (~0px). **Exclude the optically-aligned display elements** from this box check (their box is intentionally side-bearing-offset; they're validated in step 4). **Gotcha:** build BOTH the column-start set and the column-end set — a grid item spanning "to line N" ends at the *far* side of the gutter, so single-edge math falsely reports a one-gutter error.
78
+ 2. **Overlay match** — each `.guides .col` rect equals the computed column rect (~0px).
79
+ 3. **Baseline** — text tops modulo the baseline ≈ 0 (tolerance ≈ half a baseline; the box-top is a proxy — the leading does the real work).
80
+ 4. **Optical ink** — each display element's ink-left (box − `actualBoundingBoxLeft`, real font) equals **its own** column line (nearest column-start to its box), not always line 1.
81
+
82
+ Sandbox Chrome flags that work: `--headless=new --no-sandbox --disable-gpu --disable-dbus --use-gl=angle --use-angle=swiftshader`. `file://` works for non-ES-module pages; the CLI `--screenshot` can hang on tall pages — drive via Puppeteer and screenshot per viewport. Read PNGs back with the image-capable Read tool to eyeball a **zoom crop of the top-left corner** (masthead vs body vs column line) — the fastest human check.
83
+
84
+ A clean run looks like: `col=0px overlay=0px baseline≤4px ink=0px` → `GRID VERIFY: PASS`.
85
+
86
+ ---
87
+
88
+ ## PART 4 — CRAFT DEFAULTS (so it looks excellent, not just aligned)
89
+ - **Palette:** white `#fff`, ink `#111`, one accent (Swiss red `#e4002b`). No warm-cream Claude look; no blue/purple gradients.
90
+ - **Type:** a real grotesque webfont (Inter / Helvetica Now / Archivo) for display + body; a **mono** (Space Mono / IBM Plex Mono) for folios, captions, grid annotations — reinforces the technical register. Non-Latin via Noto Sans JP etc.
91
+ - **Hierarchy** through scale + weight + white space, not color. Treat key data as **large numerals**. Kicker labels in mono caps. Per-spread folios.
92
+ - **Real photography.** Ground real subjects in real photos (`SearchImages`). **Host each image via `PublishFilePublicly` and embed the `pub.hyperagent.com` URL** — a `PublishWebpage` artifact runs in a sandboxed iframe that can't authenticate thread-scoped `/api/files/...` URLs (broken-image trap).
93
+ - **Type fidelity if you ever rasterize art** (cairosvg / headless screenshots / image-gen reference): a `Helvetica`/`Arial` CSS stack silently falls back to **Noto Sans** (reads like Calibri). Render in **Liberation Sans** or an embedded Helvetica/Arimo TTF before trusting it. (Same trap as the optical-measurement caveat: wrong font in → wrong result out.)
94
+ - **Spread model:** full-width sections, each its own per-spread `.grid` + `.guides`, consistent margins/folios.
95
+
96
+ ---
97
+
98
+ ## PART 5 — WORKFLOW
99
+ 1. Pick the subject; gather real photos; host them publicly.
100
+ 2. Generate the scaffold: `python3 grid_tokens.py` (or `--scaffold` for a full page; `--cols/--baseline/--gutter/--margin/--maxw/--accent` to taste; it warns if gutter/margin aren't baseline multiples).
101
+ 3. Build spreads as **subgrid bands**; place everything by **column line**; lock spacing/line-heights/media heights to the **baseline**.
102
+ 4. Add the overlay (same content box) + toggle + optical-alignment JS (already in the scaffold; point its selector list at your display elements).
103
+ 5. Publish, then **verify**: `CHROME=… PUP=… node verify_grid.js <file-or-url> --widths=1440,1180,900`. Eyeball a top-left zoom crop. Fix, republish.
104
+
105
+ ## SCRIPTS
106
+ - **`grid_tokens.py`** — deterministic scaffold generator. Emits the `:root` tokens, `.grid`/`.band` (subgrid) scaffold, `.guides` overlay CSS, toggle JS, and the optical-alignment JS — all wired to one source of truth. `--scaffold` emits a full minimal HTML page. No network/credentials.
107
+ - **`verify_grid.js`** — Puppeteer harness implementing all four checks above with the corrected both-edges column math, the optical-exclusion, per-element column-line ink targeting, and PASS/FAIL output at multiple widths. Env: `CHROME` (chrome binary), `PUP` (puppeteer-core module path).
108
+
109
+ ## CREED
110
+ A grid you can't toggle on and measure is a mood board, not a system. Build it from one source of truth, prove it at 0px, and align the **ink**.