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,108 @@
1
+ ---
2
+ name: grill-me
3
+ model: sonnet
4
+ description: "Interactive assumption-surfacing Q&A that stress-tests a plan through relentless questioning until every decision is resolved. Use when user wants to challenge a plan, validate decisions from conversation/context, or mentions \"grill me\". For doc-grounded variant, use grill-with-docs."
5
+ ---
6
+
7
+ # Grill Me
8
+
9
+ > **Use this vs grill-with-docs:** `grill-me` surfaces assumptions from the conversation and context alone — no documentation fetching. Use `grill-with-docs` (the doc-grounded variant) when the plan relies on a specific library or external API and every challenge must cite a real doc URL.
10
+
11
+ Two modes. Default is **Design**. Switch to **Docs** by saying "grill me with docs" or when the plan relies on a specific library or external API.
12
+
13
+ > **HARD GATE** — Do NOT accept a design until every hard decision has been stress-tested. "Seems right" is not a decision. Grilling must identify and resolve tensions before build begins.
14
+
15
+ ## Design mode (default)
16
+
17
+ Interview relentlessly about every aspect of this plan until reaching shared understanding. Walk each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer. Ask one question at a time.
18
+
19
+ If a question can be answered by exploring the codebase, explore it instead.
20
+
21
+ ### Facts vs. Decisions Boundary
22
+
23
+ Distinguish between **facts** and **decisions**:
24
+ - **Facts** — things discoverable by exploring the codebase, reading docs, or checking APIs. Do not ask the user to confirm facts; find them yourself.
25
+ - **Decisions** — choices that require user input (trade-offs, preferences, priorities). Always present options and ask the user to choose.
26
+
27
+ Never "grill yourself" — if the answer is in the code, go find it. Only ask questions where the user's judgment is needed.
28
+
29
+ ## Docs mode
30
+
31
+ Ground every challenge in real documentation — no assumption about a library's behavior goes unchecked. See [REFERENCE.md](REFERENCE.md) for the full process.
32
+
33
+ Short form:
34
+ 1. List every external library, third-party API, and framework behavior relied upon.
35
+ 2. Fetch the actual docs for each (`WebFetch` the official API reference).
36
+ 3. Challenge each plan assumption against the real docs: correct method signature? right version? deprecated?
37
+ 4. Report confirmed ✓, corrected ✗ (with the real behavior), and uncertain → `spike-prototype`.
38
+ 5. Update the plan for each confirmed discrepancy.
39
+
40
+ ## Confirmation Gate
41
+
42
+ > **HARD GATE** — Do NOT enact the plan or generate specifications until the user explicitly confirms shared understanding. Wait for explicit approval (e.g., "looks good", "confirmed", "proceed") before transitioning to any implementation, spec-writing, or task-slicing step.
43
+
44
+ ---
45
+
46
+ # Docs Mode — Full Process
47
+
48
+ Triggered by "grill me with docs" or when a plan depends on a specific library or external API.
49
+
50
+ **Why this matters:** AI agents hallucinate API methods, argument orders, and behaviors. Every assumption about an external dependency must be validated against the actual docs before code is written.
51
+
52
+ ## Step 1 — Identify the dependencies
53
+
54
+ From the plan or conversation, list:
55
+ - Every external library being used
56
+ - Every third-party API being called
57
+ - Every framework behavior being relied upon
58
+
59
+ Ask: "Which of these are you most confident about? Which are you less sure of?"
60
+
61
+ ## Step 2 — Fetch the relevant docs
62
+
63
+ For each dependency, fetch the actual documentation:
64
+
65
+ ```
66
+ WebFetch the official docs for [library/API]
67
+ ```
68
+
69
+ Prioritize:
70
+ - The API reference for the specific method being used
71
+ - The changelog for the version in use (breaking changes)
72
+ - Migration guides if upgrading from a previous version
73
+ - Known gotchas / FAQ sections
74
+
75
+ ## Step 3 — Challenge each assumption
76
+
77
+ For every assumption in the plan, find the corresponding doc section and ask:
78
+
79
+ - "Does the real API actually work this way? Show me the doc."
80
+ - "Is this method available in the version you're using?"
81
+ - "Does this argument order match the actual signature?"
82
+ - "Are there rate limits, quotas, or timeout behaviors that affect this design?"
83
+ - "Is this marked as deprecated in the current version?"
84
+
85
+ Ask one question at a time. For each challenge, cite the specific URL and section.
86
+
87
+ ## Step 4 — Surface hallucinations
88
+
89
+ When an assumption doesn't match the docs:
90
+
91
+ > "Your plan uses `library.doThing(a, b)` but the [docs](https://example.com/api-reference) show the signature is `doThing(config: {a, b})` with a config object. This will fail at runtime."
92
+
93
+ Document each discrepancy clearly.
94
+
95
+ ## Step 5 — Update the plan
96
+
97
+ For each confirmed discrepancy, recommend a concrete fix:
98
+ - Correct method signature
99
+ - Correct argument order
100
+ - Alternative approach that matches what the library actually supports
101
+ - Whether a spike (`spike-prototype`) is needed to validate a remaining uncertainty
102
+
103
+ ## Step 6 — Sign off
104
+
105
+ When all major assumptions have been validated against docs, report:
106
+ - Which assumptions were confirmed ✓
107
+ - Which were corrected ✗ + what the correct approach is
108
+ - Which remain uncertain → recommend `spike-prototype`
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: grill-with-docs
3
+ model: opus
4
+ description: "Doc-grounded variant of grill-me — stress-tests plan assumptions by fetching and citing real library or API documentation. Every challenge must cite a real URL. Use when the plan depends on a specific library or external API."
5
+ ---
6
+
7
+ # Grill With Docs
8
+
9
+ > **Use this vs grill-me:** `grill-with-docs` is the doc-grounded variant of `grill-me`. Use it when the plan relies on external libraries or APIs and every challenge must be grounded in and cite a real documentation URL. Use `grill-me` for context-only assumption surfacing without fetching docs.
10
+
11
+ > **HARD GATE** — Every challenge must cite a real documentation URL. No hallucinated APIs.
12
+
13
+ ## Process
14
+
15
+ 1. Read the plan or design under test (`specs/release-plan.yaml + epic shards`, INTERFACE-OPTIONS.md, etc.).
16
+ 2. List assumptions that depend on external libraries or APIs.
17
+ 3. For each assumption: fetch or quote official docs; challenge with "docs say X, plan says Y."
18
+ 4. Resolve or update the plan inline; unresolved items block `plan-work`.
19
+
20
+ ## Docs mode rules
21
+
22
+ - Cite URL + quoted snippet (method name, parameter, version).
23
+ - If docs contradict the plan, plan loses until updated.
24
+ - Prefer official docs over blog posts.
25
+
26
+ ## Facts vs. Decisions Boundary
27
+
28
+ Distinguish between **facts** and **decisions**:
29
+ - **Facts** — things discoverable by reading docs, checking APIs, or exploring the codebase. Do not ask the user to confirm facts; find them yourself.
30
+ - **Decisions** — choices that require user input (trade-offs, preferences, priorities). Always present options and ask the user to choose.
31
+
32
+ Never "grill yourself" — if the answer is in the docs, go fetch it. Only ask questions where the user's judgment is needed.
33
+
34
+ ## Confirmation Gate
35
+
36
+ > **HARD GATE** — Do NOT enact the plan or generate specifications until the user explicitly confirms shared understanding. Wait for explicit approval (e.g., "looks good", "confirmed", "proceed") before transitioning to any implementation, spec-writing, or task-slicing step.
37
+
38
+ ## Verify
39
+
40
+ → verify: `test -f skills/grill-with-docs/SKILL.md && test -f skills/grill-with-docs/REFERENCE.md`
41
+
42
+ See [REFERENCE.md](REFERENCE.md) for question templates.
43
+
44
+
45
+ <!-- story: e03s01 -->
46
+
47
+ ---
48
+
49
+ # Grill With Docs — Question templates
50
+
51
+ - "Docs at [URL] show signature `foo(bar?: Baz)`. Your plan calls `foo(bar, baz)` — which is correct?"
52
+ - "The changelog at [URL] deprecates X in v3. Your plan still uses X — migrate or pin version?"
53
+ - "Error handling in [URL] throws `NetworkError`. Your plan catches `Error` only — is that sufficient?"
@@ -0,0 +1,231 @@
1
+ ---
2
+ name: guard-git
3
+ model: haiku
4
+ description: "Block dangerous git commands (push, force push, reset --hard, clean, branch -D, checkout/restore .) and enforce Conventional Commits & Branch Protection before an AI agent runs them. Installs hook scripts for Claude Code, Cursor, Cursor CLI, and Gemini CLI; documents Google Antigravity Terminal deny lists. Use when the user wants git safety hooks, to block git push or destructive git in agents, or to mirror the same policy across AI coding tools."
5
+ ---
6
+
7
+ # Guard Git
8
+ > **HARD GATE** — **HARD GATE** — Before committing, verify: branch is not main/master, author is correct, git user is configured. Bad commits are hard to fix.
9
+
10
+
11
+ Installs a shared hook that blocks destructive git operations and enforces workflow discipline. **Requires `jq` on the agent's PATH** when the hook runs.
12
+
13
+ ## What gets blocked/enforced
14
+
15
+ - **Safety**: `git push --force`, `git reset --hard`, `git clean -f`, `git branch -D`, `git checkout .`, `git restore .`.
16
+ - **Discipline**: Blocks direct commits or pushes to protected branches (`main`, `master`) unless `GIT_BIGPOWERS_LAND=1` (set only by `scripts/land-branch.sh`).
17
+ - **Allows**: `git push origin <feature-branch>` for backup/CI; solo land push to `main` only inside `land-branch.sh`.
18
+ - **Standardization**: Enforces [Conventional Commits](https://www.conventionalcommits.org/) for all `git commit` commands.
19
+ - **Secrets**: Blocks commits containing common secret patterns (`sk-`, `ghp_`, `AKIA`, `xoxb-`, `-----BEGIN` private keys) — see [REFERENCE.md](REFERENCE.md).
20
+
21
+ ## Quick start
22
+
23
+ 1. **Scope**: ask project-only vs global (paths differ per product).
24
+ 2. **Write the hook bundle** from [REFERENCE.md](REFERENCE.md) into the client's hooks directory.
25
+ 3. **Run `chmod +x`** on `pre-tool-use.sh`.
26
+ 4. **Merge** the hook snippet from [REFERENCE.md](REFERENCE.md) into the right settings file — do not wipe unrelated keys.
27
+ 5. **Verify** with the tests in [REFERENCE.md](REFERENCE.md).
28
+
29
+ | Client | Mechanism | Config |
30
+ |--------|-----------|--------|
31
+ | Claude Code | `PreToolUse` (Bash) | `.claude/settings.json` or `~/.claude/settings.json` |
32
+ | Cursor / Cursor CLI | `beforeShellExecution` | `.cursor/hooks.json` or `~/.cursor/hooks.json` |
33
+ | Gemini CLI | `BeforeTool` + `run_shell_command` | `.gemini/settings.json` or `~/.gemini/settings.json` |
34
+ | Google Antigravity | Built-in Terminal **Deny list** | Settings UI (no shell hook) |
35
+
36
+ **Modes (env on the hook command):** `GIT_GUARDRAILS_MODE` is `claude` (default) or `cursor` → stderr + exit `2` on block. Set `gemini` for Gemini CLI → JSON `decision` on stdout.
37
+
38
+ ## Customization
39
+
40
+ To add or remove patterns or protected branches, edit `pre-tool-use.sh`.
41
+
42
+ ## Advanced
43
+
44
+ Full JSON examples, merge rules, Antigravity deny-list entries, and test commands: [REFERENCE.md](REFERENCE.md).
45
+
46
+
47
+
48
+ <!-- story: e01s03 -->
49
+
50
+ ---
51
+
52
+ # Git guardrails — reference
53
+
54
+ ## Navigation
55
+
56
+ | Lines | Section |
57
+ |-------|---------|
58
+ | 1 | Title |
59
+ | 3–16 | Navigation |
60
+ | 17–28 | Secret patterns (audit + pre-commit) |
61
+ | 29–46 | Copy layout |
62
+ | 47–72 | Claude Code |
63
+ | 73–94 | Cursor and Cursor CLI |
64
+ | 95–122 | Gemini CLI |
65
+ | 123–137 | Google Antigravity |
66
+ | 138–180 | Verify (local tests) |
67
+
68
+ ## Secret patterns (audit + pre-commit)
69
+
70
+ Agents must not commit files containing:
71
+
72
+ - `sk-` (OpenAI API keys)
73
+ - `ghp_` / `gho_` (GitHub tokens)
74
+ - `AKIA` (AWS access key id)
75
+ - `xoxb-` (Slack bot tokens)
76
+ - `-----BEGIN` private keys
77
+
78
+ Use `audit-code` supply-chain checklist before commit. Consider `git-secrets` or custom pre-commit hook in target projects.
79
+
80
+ ## Copy layout
81
+
82
+ The main script is `pre-tool-use.sh`.
83
+
84
+ ```text
85
+ <hooks-dir>/pre-tool-use.sh
86
+ ```
87
+
88
+ Example project locations:
89
+
90
+ - Claude: `.claude/hooks/`
91
+ - Cursor: `.cursor/hooks/`
92
+ - Gemini: `.gemini/hooks/`
93
+
94
+ Use the same layout for user-level hooks (`~/.claude/hooks`, `~/.cursor/hooks`, `~/.gemini/hooks`).
95
+
96
+ ---
97
+
98
+ ## Claude Code
99
+
100
+ Hook command does **not** need `GIT_GUARDRAILS_MODE` (defaults to `claude`).
101
+
102
+ **Project** (`.claude/settings.json`):
103
+
104
+ ```json
105
+ {
106
+ "hooks": {
107
+ "PreToolUse": [
108
+ {
109
+ "matcher": "Bash",
110
+ "hooks": [
111
+ {
112
+ "type": "command",
113
+ "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/pre-tool-use.sh"
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ ```
121
+
122
+ ---
123
+
124
+ ## Cursor and Cursor CLI
125
+
126
+ Use `beforeShellExecution`. Set `GIT_GUARDRAILS_MODE=cursor`.
127
+
128
+ **Project** (`.cursor/hooks.json`):
129
+
130
+ ```json
131
+ {
132
+ "version": 1,
133
+ "hooks": {
134
+ "beforeShellExecution": [
135
+ {
136
+ "command": "GIT_GUARDRAILS_MODE=cursor .cursor/hooks/pre-tool-use.sh",
137
+ "matcher": "git"
138
+ }
139
+ ]
140
+ }
141
+ }
142
+ ```
143
+
144
+ ---
145
+
146
+ ## Gemini CLI
147
+
148
+ Use `BeforeTool` with matcher `run_shell_command`. Set **`GIT_GUARDRAILS_MODE=gemini`**.
149
+
150
+ **Project** (`.gemini/settings.json`):
151
+
152
+ ```json
153
+ {
154
+ "hooks": {
155
+ "BeforeTool": [
156
+ {
157
+ "matcher": "run_shell_command",
158
+ "hooks": [
159
+ {
160
+ "name": "git-guardrails",
161
+ "type": "command",
162
+ "command": "GIT_GUARDRAILS_MODE=gemini \"$GEMINI_PROJECT_DIR\"/.gemini/hooks/pre-tool-use.sh",
163
+ "timeout": 5000
164
+ }
165
+ ]
166
+ }
167
+ ]
168
+ }
169
+ }
170
+ ```
171
+
172
+ ---
173
+
174
+ ## Google Antigravity
175
+
176
+ Add **Deny list** entries in **Antigravity → Settings → Terminal**:
177
+
178
+ - `git push --force`
179
+ - `git push origin main`
180
+ - `git push origin master`
181
+ - `git reset --hard`
182
+ - `git clean`
183
+ - `git branch -D`
184
+ - `git checkout .`
185
+ - `git restore .`
186
+
187
+ ---
188
+
189
+ ## Verify (local tests)
190
+
191
+ **1. Block push to main without land mode (Claude mode):**
192
+ ```bash
193
+ echo '{"tool_input":{"command":"git push origin main"}}' | ./pre-tool-use.sh
194
+ # Expected: exit 2, protected branch message
195
+ ```
196
+
197
+ **2. Allow push to main with GIT_BIGPOWERS_LAND=1:**
198
+ ```bash
199
+ GIT_BIGPOWERS_LAND=1 echo '{"tool_input":{"command":"git push origin main"}}' | ./pre-tool-use.sh
200
+ # Expected: exit 0 (when on main)
201
+ ```
202
+
203
+ **3. Allow push to feature branch:**
204
+ ```bash
205
+ echo '{"tool_input":{"command":"git push -u origin feat/my-task"}}' | ./pre-tool-use.sh
206
+ # Expected: exit 0
207
+ ```
208
+
209
+ **4. Conventional Commits (Gemini mode):**
210
+ ```bash
211
+ echo '{"tool_input":{"command":"git commit -m \"bad message\""}}' | GIT_GUARDRAILS_MODE=gemini ./pre-tool-use.sh
212
+ # Expected: exit 0, {"decision":"deny", "reason":"..."}
213
+ ```
214
+
215
+ **5. Protected Branch commit (Cursor mode):**
216
+ ```bash
217
+ # Run on 'main' branch
218
+ echo '{"command":"git commit -m \"feat: valid message\""}' | GIT_GUARDRAILS_MODE=cursor ./pre-tool-use.sh
219
+ # Expected: exit 2, "Direct commits to protected branch 'main' are forbidden"
220
+ ```
221
+
222
+ **6. Land script exists:**
223
+ ```bash
224
+ test -x scripts/land-branch.sh && echo OK
225
+ ```
226
+
227
+ **7. Allow (Gemini mode):**
228
+ ```bash
229
+ echo '{"tool_input":{"command":"git status"}}' | GIT_GUARDRAILS_MODE=gemini ./pre-tool-use.sh
230
+ # Expected: exit 0, {"decision":"allow"}
231
+ ```
@@ -0,0 +1,291 @@
1
+ ---
2
+ name: harden-vps
3
+ model: haiku
4
+ description: "Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server."
5
+ ---
6
+
7
+ # Harden VPS
8
+
9
+ Three-layer production hardening for a self-hosted app on any VPS. Each layer independently verifiable. Apply OS first (firewall blocks attacks immediately), then your application (alerts + backups), then your VPS provider (snapshots). See [REFERENCE.md](REFERENCE.md) for full script bodies, systemd unit template, and gotchas.
10
+
11
+ ## Quick start
12
+
13
+ SSH as root into the VPS. Find credentials in the your VPS provider Customer Control Panel.
14
+
15
+ > **HARD GATE** — Run `ufw status` first. No firewall = layer 1 takes priority over everything.
16
+
17
+ ## Layer 1 — Ubuntu OS
18
+
19
+ ```bash
20
+ # UFW
21
+ ufw default deny incoming && ufw default allow outgoing
22
+ ufw allow 22/tcp && ufw allow 80/tcp && ufw allow 443/tcp && ufw enable
23
+ # → verify: ufw status | grep -q active
24
+
25
+ # fail2ban
26
+ apt install -y fail2ban
27
+ # Configure /etc/fail2ban/jail.local: sshd, maxretry=3, bantime=3600, findtime=600
28
+ systemctl restart fail2ban
29
+ # → verify: fail2ban-client status sshd
30
+
31
+ # unattended-upgrades
32
+ apt install -y unattended-upgrades && dpkg-reconfigure -plow unattended-upgrades
33
+ # → verify: systemctl is-active unattended-upgrades | grep -q active
34
+
35
+ # SSH: PermitRootLogin no, PasswordAuthentication no, PubkeyAuthentication yes
36
+ # → verify: sshd -T | grep -E 'permitrootlogin no|passwordauthentication no'
37
+
38
+ # Deploy healthcheck.sh → /opt/your-app/scripts/healthcheck.sh
39
+ # Crontab: */5 * * * * /opt/your-app/scripts/healthcheck.sh
40
+ ```
41
+
42
+ ## Layer 2 — applicationlication
43
+
44
+ ```bash
45
+ # systemd: User=your-app, NoNewPrivileges=yes, ProtectSystem=full,
46
+ # ProtectKernelTunables=yes, ProtectKernelModules=yes,
47
+ # ProtectControlGroups=yes, RestrictAddressFamilies=AF_INET AF_INET6,
48
+ # RestrictRealtime=yes, PrivateTmp=yes, LimitNOFILE=65536
49
+ # → verify: systemctl show your-app -p NoNewPrivileges -p ProtectSystem -p User
50
+
51
+ # Alerts (your application requires auth; insert via SQLite)
52
+ sqlite3 /opt/your-app/data/your-app.db "
53
+ INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
54
+ VALUES ('a1','Disk >80%','disk_used_percent',80,'gt',1,300);
55
+ INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
56
+ VALUES ('a2','CPU >90%','cpu_percent',90,'gt',1,60);
57
+ INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
58
+ VALUES ('a3','RAM >85%','mem_used_percent',85,'gt',1,120);
59
+ "
60
+ systemctl restart your-app
61
+
62
+ # Backup crontab (root):
63
+ # 0 2 * * * cp /opt/your-app/data/your-app.db /backup/your-app-$(date +\%Y\%m\%d).db
64
+ # 0 3 * * * find /backup/ -name "your-app-*.db" -mtime +90 -delete
65
+ ```
66
+
67
+ ## Layer 3 — VPS provider
68
+
69
+ ```bash
70
+ # cntb CLI
71
+ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
72
+ | grep browser_download_url.*linux_amd64.tar.gz | head -1 | cut -d'"' -f4)" \
73
+ | tar xz -C /usr/local/bin
74
+
75
+ # Snapshot script → /opt/your-app/scripts/contabo-snapshot.sh (reads from /opt/your-app/.env)
76
+ # Credentials as env vars in /opt/your-app/.env (deployed by GitHub Actions):
77
+ # CONTABO_CLIENT_ID, CONTABO_CLIENT_SECRET, CONTABO_API_USER, CONTABO_API_PASSWORD
78
+ # Crontab: 0 4 1 * * /opt/your-app/scripts/contabo-snapshot.sh
79
+
80
+ # > HARD GATE — Snapshot cron silently fails until env vars are set in .env.
81
+ # Credentials source: your VPS provider Customer Panel → API Details.
82
+ # Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/your-app/.env
83
+ ```
84
+
85
+ ## CRITICAL GOTCHAS
86
+
87
+ 1. **Shell escaping in Orca terminals:** `$VAR`, `$(…)`, and `%` get eaten by the local shell. Always use base64: `echo '<base64>' | base64 -d > script.sh`
88
+ 2. **Crontab `%`:** cron interprets `%` as newline. Escape as `\%` in `$(date +\%Y\%m\%d)`
89
+ 3. **fail2ban exit 255:** means a jail references a missing log file. Remove the broken jail, restart.
90
+ 4. **your application alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart your application.
91
+
92
+ ## Verify all 8 gates
93
+
94
+ ```bash
95
+ ufw status|grep -q active||echo FAIL:ufw
96
+ fail2ban-client status sshd>/dev/null 2>&1||echo FAIL:fail2ban
97
+ systemctl is-active unattended-upgrades|grep -q active||echo FAIL:unattended
98
+ sshd -T|grep -q 'permitrootlogin no'||echo FAIL:sshd
99
+ systemctl show your-app -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
100
+ systemctl is-active your-app|grep -q active||echo FAIL:your-app
101
+ sqlite3 /opt/your-app/data/your-app.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
102
+ crontab -l|grep -q healthcheck&&crontab -l|grep -q your-app.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
103
+ echo ALL 8 GATES PASSED
104
+ ```
105
+
106
+ → verify: # requires VPS SSH — run the 8-gate one-liner on the VPS manually
107
+
108
+ ---
109
+
110
+ # Harden VPS — Reference
111
+
112
+ ## Health check script
113
+
114
+ Deploy to `/opt/your-app/scripts/healthcheck.sh`:
115
+
116
+ ```bash
117
+ #!/bin/bash
118
+ LOG=/var/log/your-app/health.log
119
+ mkdir -p /var/log/your-app
120
+ DISK=$(df / | awk 'NR==2 {print $5}' | tr -d '%')
121
+ RAM=$(free | awk '/Mem:/ {printf "%.0f", $3/$2*100}')
122
+ NOW=$(date -Iseconds)
123
+ [ "$DISK" -gt 85 ] && echo "$NOW ALERT: Disk ${DISK}%" >> "$LOG"
124
+ [ "$RAM" -gt 90 ] && echo "$NOW ALERT: RAM ${RAM}%" >> "$LOG"
125
+ systemctl is-active --quiet your-app || { echo "$NOW ALERT: your application DOWN" >> "$LOG"; systemctl restart your-app; }
126
+ [ -f /var/run/reboot-required ] && echo "$NOW WARN: kernel reboot pending" >> "$LOG"
127
+ ```
128
+
129
+ Make executable: `chmod +x /opt/your-app/scripts/healthcheck.sh`
130
+
131
+ ## your application systemd unit
132
+
133
+ Full hardened unit at `/etc/systemd/system/your-app.service`:
134
+
135
+ ```ini
136
+ [Unit]
137
+ Description=your application BaaS Platform
138
+ Documentation=https://github.com/example-org/example-app
139
+ After=network.target caddy.service
140
+ Wants=caddy.service
141
+
142
+ [Service]
143
+ Type=simple
144
+ User=your-app
145
+ Group=your-app
146
+ WorkingDirectory=/opt/your-app
147
+ ExecStart=/opt/your-app/bin/your-app serve \
148
+ --port 8080 \
149
+ --db /opt/your-app/data/your-app.db \
150
+ --sites-domain <your-domain.example.com>
151
+ EnvironmentFile=-/opt/your-app/.env
152
+ Environment=APP_HOME=/opt/your-app
153
+ Environment=HOME=/opt/your-app
154
+ Environment=NPM_CONFIG_CACHE=/opt/your-app/.npm
155
+ Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
156
+ Restart=always
157
+ RestartSec=5
158
+ StartLimitIntervalSec=60
159
+ StartLimitBurst=3
160
+ TimeoutStopSec=30
161
+ KillSignal=SIGTERM
162
+ NoNewPrivileges=yes
163
+ PrivateTmp=yes
164
+ ProtectSystem=full
165
+ ProtectHome=yes
166
+ ProtectKernelTunables=yes
167
+ ProtectKernelModules=yes
168
+ ProtectControlGroups=yes
169
+ RestrictAddressFamilies=AF_INET AF_INET6
170
+ RestrictRealtime=yes
171
+ ReadWritePaths=/opt/your-app/data
172
+ ReadWritePaths=/opt/your-app/backups
173
+ ReadWritePaths=/opt/your-app/secrets
174
+ ReadWritePaths=/opt/your-app/.npm
175
+ ReadWritePaths=/opt/your-app/logs
176
+ LimitNOFILE=65536
177
+
178
+ [Install]
179
+ WantedBy=multi-user.target
180
+ ```
181
+
182
+ ## fail2ban jail.local
183
+
184
+ ```ini
185
+ [sshd]
186
+ enabled = true
187
+ port = ssh
188
+ filter = sshd
189
+ logpath = /var/log/auth.log
190
+ maxretry = 3
191
+ bantime = 3600
192
+ findtime = 600
193
+ ```
194
+
195
+ Note: your application auth jail deferred — your application logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
196
+
197
+ ## provider-snapshot.sh — worked example (Contabo API)
198
+
199
+ > Snapshot APIs are provider-specific. This is one worked example, not a
200
+ > bigpowers default; swap the auth and endpoint calls for your own provider.
201
+
202
+ Deploy to `/opt/your-app/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/your-app/.env` (same file used by your application systemd unit):
203
+
204
+ ```bash
205
+ #!/bin/bash
206
+ set -e
207
+ LOG=/var/log/your-app/snapshot.log
208
+ ENVFILE=/opt/your-app/.env
209
+ INSTANCE_ID=<your-contabo-instance-id>
210
+
211
+ [ -f "$ENVFILE" ] || { echo "$(date -Iseconds) ERROR: $ENVFILE missing" >> "$LOG"; exit 1; }
212
+ set -a; source "$ENVFILE"; set +a
213
+
214
+ [ -z "$CONTABO_CLIENT_ID" ] && { echo "$(date -Iseconds) ERROR: CONTABO_CLIENT_ID not set" >> "$LOG"; exit 1; }
215
+
216
+ TOKEN=$(curl -s -d "client_id=$CONTABO_CLIENT_ID" \
217
+ -d "client_secret=$CONTABO_CLIENT_SECRET" \
218
+ --data-urlencode "username=$CONTABO_API_USER" \
219
+ --data-urlencode "password=$CONTABO_API_PASSWORD" \
220
+ -d 'grant_type=password' \
221
+ 'https://auth.contabo.com/auth/realms/contabo/protocol/openid-connect/token' \
222
+ | jq -r '.access_token')
223
+
224
+ [ -z "$TOKEN" ] || [ "$TOKEN" = "null" ] && { echo "$(date -Iseconds) ERROR: auth failed" >> "$LOG"; exit 1; }
225
+
226
+ curl -s -X POST \
227
+ -H "Authorization: Bearer $TOKEN" \
228
+ -H "Content-Type: application/json" \
229
+ -H "x-request-id: $(uuidgen 2>/dev/null || echo $RANDOM)" \
230
+ "https://api.contabo.com/v1/compute/instances/${INSTANCE_ID}/snapshots" \
231
+ | tee -a "$LOG"
232
+
233
+ echo >> "$LOG"
234
+ echo "$(date -Iseconds) Snapshot requested for $INSTANCE_ID" >> "$LOG"
235
+ ```
236
+
237
+ ## your VPS provider credentials
238
+
239
+ Add to `/opt/your-app/.env` (same file used by your application systemd unit, deployed by GitHub Actions):
240
+
241
+ ```
242
+ CONTABO_CLIENT_ID=
243
+ CONTABO_CLIENT_SECRET=
244
+ CONTABO_API_USER=
245
+ CONTABO_API_PASSWORD=
246
+ ```
247
+
248
+ Source: your VPS provider Customer Control Panel → API Details. ClientId and ClientSecret are generated there. API User is your email. API Password is set separately in the panel.
249
+
250
+ **Pipeline:** GitHub Secrets → deploy workflow → `/opt/your-app/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
251
+
252
+ ## your VPS provider instance info template
253
+
254
+ Fill in your instance details from the your VPS provider Customer Control Panel:
255
+
256
+ ```
257
+ IP: <your-instance-ip>
258
+ IPv6: <your-instance-ipv6>
259
+ Region: <your-region>
260
+ OS: <your-os-version>
261
+ Disk: <your-disk-size>
262
+ Default user: root
263
+ Customer ID: <your-customer-id>
264
+ ```
265
+
266
+ ## your application monitoring alert SQL
267
+
268
+ ```sql
269
+ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
270
+ VALUES ('alert-001', 'VPS Disk above 80%', 'disk_used_percent', 80, 'gt', 1, 300);
271
+
272
+ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
273
+ VALUES ('alert-002', 'VPS CPU above 90%', 'cpu_percent', 90, 'gt', 1, 60);
274
+
275
+ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
276
+ VALUES ('alert-003', 'VPS RAM above 85%', 'mem_used_percent', 85, 'gt', 1, 120);
277
+ ```
278
+
279
+ Alerts are loaded at your application startup. Restart with `systemctl restart your-app` after inserting.
280
+
281
+ ## Base64 encoding workaround
282
+
283
+ When sending scripts through Orca terminal `--text`, the local bash shell interprets `$`, `(`, and `%`. Encode locally and decode remotely:
284
+
285
+ ```bash
286
+ # Local
287
+ cat script.sh | base64
288
+
289
+ # Remote terminal
290
+ echo '<base64-output>' | base64 -d > script.sh
291
+ ```