bigpowers 2.87.4 → 2.87.5

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 (258) hide show
  1. package/.cursor/rules/align-grid.mdc +109 -0
  2. package/.cursor/rules/assess-impact.mdc +90 -0
  3. package/.cursor/rules/audit-code.mdc +183 -0
  4. package/.cursor/rules/audit-plan.mdc +88 -0
  5. package/.cursor/rules/build-epic.mdc +104 -0
  6. package/.cursor/rules/change-request.mdc +120 -0
  7. package/.cursor/rules/commit-message.mdc +139 -0
  8. package/.cursor/rules/compose-workflow.mdc +81 -0
  9. package/.cursor/rules/context7-mcp.mdc +54 -0
  10. package/.cursor/rules/craft-skill.mdc +195 -0
  11. package/.cursor/rules/deepen-architecture.mdc +259 -0
  12. package/.cursor/rules/define-language.mdc +79 -0
  13. package/.cursor/rules/define-success.mdc +11 -0
  14. package/.cursor/rules/delegate-task.mdc +90 -0
  15. package/.cursor/rules/deploy.mdc +197 -0
  16. package/.cursor/rules/design-interface.mdc +96 -0
  17. package/.cursor/rules/develop-tdd.mdc +415 -0
  18. package/.cursor/rules/diagnose-root.mdc +23 -0
  19. package/.cursor/rules/diagnose-stall.mdc +53 -0
  20. package/.cursor/rules/dispatch-agents.mdc +117 -0
  21. package/.cursor/rules/edit-document.mdc +22 -0
  22. package/.cursor/rules/elaborate-spec.mdc +100 -0
  23. package/.cursor/rules/enforce-first.mdc +44 -0
  24. package/.cursor/rules/evolve-skill.mdc +54 -0
  25. package/.cursor/rules/execute-plan.mdc +60 -0
  26. package/.cursor/rules/extract-design.mdc +131 -0
  27. package/.cursor/rules/find-way.mdc +190 -0
  28. package/.cursor/rules/fix-bug.mdc +66 -0
  29. package/.cursor/rules/gate-trace.mdc +91 -0
  30. package/.cursor/rules/generate-allure-report.mdc +284 -0
  31. package/.cursor/rules/grill-me.mdc +107 -0
  32. package/.cursor/rules/grill-with-docs.mdc +52 -0
  33. package/.cursor/rules/guard-git.mdc +230 -0
  34. package/.cursor/rules/harden-vps.mdc +290 -0
  35. package/.cursor/rules/hook-commits.mdc +93 -0
  36. package/.cursor/rules/inspect-quality.mdc +105 -0
  37. package/.cursor/rules/investigate-bug.mdc +126 -0
  38. package/.cursor/rules/kickoff-branch.mdc +142 -0
  39. package/.cursor/rules/maintain-wiki.mdc +63 -0
  40. package/.cursor/rules/map-codebase.mdc +70 -0
  41. package/.cursor/rules/migrate-spec.mdc +907 -0
  42. package/.cursor/rules/model-domain.mdc +231 -0
  43. package/.cursor/rules/orchestrate-project.mdc +173 -0
  44. package/.cursor/rules/organize-workspace.mdc +163 -0
  45. package/.cursor/rules/plan-refactor.mdc +86 -0
  46. package/.cursor/rules/plan-release.mdc +144 -0
  47. package/.cursor/rules/plan-tests.mdc +74 -0
  48. package/.cursor/rules/plan-work.mdc +271 -0
  49. package/.cursor/rules/publish-package.mdc +337 -0
  50. package/.cursor/rules/quick-fix.mdc +113 -0
  51. package/.cursor/rules/release-branch.mdc +301 -0
  52. package/.cursor/rules/request-review.mdc +112 -0
  53. package/.cursor/rules/research-first.mdc +86 -0
  54. package/.cursor/rules/reset-baseline.mdc +20 -0
  55. package/.cursor/rules/respond-review.mdc +70 -0
  56. package/.cursor/rules/run-benchmark.mdc +84 -0
  57. package/.cursor/rules/run-evals.mdc +79 -0
  58. package/.cursor/rules/run-planning.mdc +100 -0
  59. package/.cursor/rules/scope-work.mdc +62 -0
  60. package/.cursor/rules/search-skills.mdc +72 -0
  61. package/.cursor/rules/security-review.mdc +383 -0
  62. package/.cursor/rules/seed-conventions.mdc +311 -0
  63. package/.cursor/rules/session-state.mdc +145 -0
  64. package/.cursor/rules/setup-environment.mdc +38 -0
  65. package/.cursor/rules/simple-english.mdc +345 -0
  66. package/.cursor/rules/simulate-agents.mdc +25 -0
  67. package/.cursor/rules/slice-tasks.mdc +67 -0
  68. package/.cursor/rules/smoke-test.mdc +260 -0
  69. package/.cursor/rules/spike-prototype.mdc +94 -0
  70. package/.cursor/rules/stocktake-skills.mdc +73 -0
  71. package/.cursor/rules/survey-context.mdc +134 -0
  72. package/.cursor/rules/terse-mode.mdc +41 -0
  73. package/.cursor/rules/trace-requirement.mdc +68 -0
  74. package/.cursor/rules/using-bigpowers.mdc +110 -0
  75. package/.cursor/rules/validate-contracts.mdc +285 -0
  76. package/.cursor/rules/validate-fix.mdc +146 -0
  77. package/.cursor/rules/verify-work.mdc +190 -0
  78. package/.cursor/rules/visual-dashboard.mdc +49 -0
  79. package/.cursor/rules/wire-ci.mdc +380 -0
  80. package/.cursor/rules/wire-observability.mdc +96 -0
  81. package/.cursor/rules/write-document.mdc +280 -0
  82. package/.gemini/extensions/bigpowers/commands/prompts/align-grid.md +109 -0
  83. package/.gemini/extensions/bigpowers/commands/prompts/assess-impact.md +90 -0
  84. package/.gemini/extensions/bigpowers/commands/prompts/audit-code.md +183 -0
  85. package/.gemini/extensions/bigpowers/commands/prompts/audit-plan.md +88 -0
  86. package/.gemini/extensions/bigpowers/commands/prompts/build-epic.md +104 -0
  87. package/.gemini/extensions/bigpowers/commands/prompts/change-request.md +120 -0
  88. package/.gemini/extensions/bigpowers/commands/prompts/commit-message.md +139 -0
  89. package/.gemini/extensions/bigpowers/commands/prompts/compose-workflow.md +81 -0
  90. package/.gemini/extensions/bigpowers/commands/prompts/context7-mcp.md +54 -0
  91. package/.gemini/extensions/bigpowers/commands/prompts/craft-skill.md +195 -0
  92. package/.gemini/extensions/bigpowers/commands/prompts/deepen-architecture.md +259 -0
  93. package/.gemini/extensions/bigpowers/commands/prompts/define-language.md +79 -0
  94. package/.gemini/extensions/bigpowers/commands/prompts/define-success.md +11 -0
  95. package/.gemini/extensions/bigpowers/commands/prompts/delegate-task.md +90 -0
  96. package/.gemini/extensions/bigpowers/commands/prompts/deploy.md +197 -0
  97. package/.gemini/extensions/bigpowers/commands/prompts/design-interface.md +96 -0
  98. package/.gemini/extensions/bigpowers/commands/prompts/develop-tdd.md +415 -0
  99. package/.gemini/extensions/bigpowers/commands/prompts/diagnose-root.md +23 -0
  100. package/.gemini/extensions/bigpowers/commands/prompts/diagnose-stall.md +53 -0
  101. package/.gemini/extensions/bigpowers/commands/prompts/dispatch-agents.md +117 -0
  102. package/.gemini/extensions/bigpowers/commands/prompts/edit-document.md +22 -0
  103. package/.gemini/extensions/bigpowers/commands/prompts/elaborate-spec.md +100 -0
  104. package/.gemini/extensions/bigpowers/commands/prompts/enforce-first.md +44 -0
  105. package/.gemini/extensions/bigpowers/commands/prompts/evolve-skill.md +54 -0
  106. package/.gemini/extensions/bigpowers/commands/prompts/execute-plan.md +60 -0
  107. package/.gemini/extensions/bigpowers/commands/prompts/extract-design.md +131 -0
  108. package/.gemini/extensions/bigpowers/commands/prompts/find-way.md +190 -0
  109. package/.gemini/extensions/bigpowers/commands/prompts/fix-bug.md +66 -0
  110. package/.gemini/extensions/bigpowers/commands/prompts/gate-trace.md +91 -0
  111. package/.gemini/extensions/bigpowers/commands/prompts/generate-allure-report.md +284 -0
  112. package/.gemini/extensions/bigpowers/commands/prompts/grill-me.md +107 -0
  113. package/.gemini/extensions/bigpowers/commands/prompts/grill-with-docs.md +52 -0
  114. package/.gemini/extensions/bigpowers/commands/prompts/guard-git.md +230 -0
  115. package/.gemini/extensions/bigpowers/commands/prompts/harden-vps.md +290 -0
  116. package/.gemini/extensions/bigpowers/commands/prompts/hook-commits.md +93 -0
  117. package/.gemini/extensions/bigpowers/commands/prompts/inspect-quality.md +105 -0
  118. package/.gemini/extensions/bigpowers/commands/prompts/investigate-bug.md +126 -0
  119. package/.gemini/extensions/bigpowers/commands/prompts/kickoff-branch.md +142 -0
  120. package/.gemini/extensions/bigpowers/commands/prompts/maintain-wiki.md +63 -0
  121. package/.gemini/extensions/bigpowers/commands/prompts/map-codebase.md +70 -0
  122. package/.gemini/extensions/bigpowers/commands/prompts/migrate-spec.md +907 -0
  123. package/.gemini/extensions/bigpowers/commands/prompts/model-domain.md +231 -0
  124. package/.gemini/extensions/bigpowers/commands/prompts/orchestrate-project.md +173 -0
  125. package/.gemini/extensions/bigpowers/commands/prompts/organize-workspace.md +163 -0
  126. package/.gemini/extensions/bigpowers/commands/prompts/plan-refactor.md +86 -0
  127. package/.gemini/extensions/bigpowers/commands/prompts/plan-release.md +144 -0
  128. package/.gemini/extensions/bigpowers/commands/prompts/plan-tests.md +74 -0
  129. package/.gemini/extensions/bigpowers/commands/prompts/plan-work.md +271 -0
  130. package/.gemini/extensions/bigpowers/commands/prompts/publish-package.md +337 -0
  131. package/.gemini/extensions/bigpowers/commands/prompts/quick-fix.md +113 -0
  132. package/.gemini/extensions/bigpowers/commands/prompts/release-branch.md +301 -0
  133. package/.gemini/extensions/bigpowers/commands/prompts/request-review.md +112 -0
  134. package/.gemini/extensions/bigpowers/commands/prompts/research-first.md +86 -0
  135. package/.gemini/extensions/bigpowers/commands/prompts/reset-baseline.md +20 -0
  136. package/.gemini/extensions/bigpowers/commands/prompts/respond-review.md +70 -0
  137. package/.gemini/extensions/bigpowers/commands/prompts/run-benchmark.md +84 -0
  138. package/.gemini/extensions/bigpowers/commands/prompts/run-evals.md +79 -0
  139. package/.gemini/extensions/bigpowers/commands/prompts/run-planning.md +100 -0
  140. package/.gemini/extensions/bigpowers/commands/prompts/scope-work.md +62 -0
  141. package/.gemini/extensions/bigpowers/commands/prompts/search-skills.md +72 -0
  142. package/.gemini/extensions/bigpowers/commands/prompts/security-review.md +383 -0
  143. package/.gemini/extensions/bigpowers/commands/prompts/seed-conventions.md +311 -0
  144. package/.gemini/extensions/bigpowers/commands/prompts/session-state.md +145 -0
  145. package/.gemini/extensions/bigpowers/commands/prompts/setup-environment.md +38 -0
  146. package/.gemini/extensions/bigpowers/commands/prompts/simple-english.md +345 -0
  147. package/.gemini/extensions/bigpowers/commands/prompts/simulate-agents.md +25 -0
  148. package/.gemini/extensions/bigpowers/commands/prompts/slice-tasks.md +67 -0
  149. package/.gemini/extensions/bigpowers/commands/prompts/smoke-test.md +260 -0
  150. package/.gemini/extensions/bigpowers/commands/prompts/spike-prototype.md +94 -0
  151. package/.gemini/extensions/bigpowers/commands/prompts/stocktake-skills.md +73 -0
  152. package/.gemini/extensions/bigpowers/commands/prompts/survey-context.md +134 -0
  153. package/.gemini/extensions/bigpowers/commands/prompts/terse-mode.md +41 -0
  154. package/.gemini/extensions/bigpowers/commands/prompts/trace-requirement.md +68 -0
  155. package/.gemini/extensions/bigpowers/commands/prompts/using-bigpowers.md +110 -0
  156. package/.gemini/extensions/bigpowers/commands/prompts/validate-contracts.md +285 -0
  157. package/.gemini/extensions/bigpowers/commands/prompts/validate-fix.md +146 -0
  158. package/.gemini/extensions/bigpowers/commands/prompts/verify-work.md +190 -0
  159. package/.gemini/extensions/bigpowers/commands/prompts/visual-dashboard.md +49 -0
  160. package/.gemini/extensions/bigpowers/commands/prompts/wire-ci.md +380 -0
  161. package/.gemini/extensions/bigpowers/commands/prompts/wire-observability.md +96 -0
  162. package/.gemini/extensions/bigpowers/commands/prompts/write-document.md +280 -0
  163. package/.gemini/extensions/bigpowers/gemini-extension.json +16 -0
  164. package/.gemini/extensions/bigpowers/hooks/HOOKS.md +43 -0
  165. package/.gemini/extensions/bigpowers/hooks/before-tool-git-guard.sh +26 -0
  166. package/.gemini/extensions/bigpowers/hooks/before-tool-rtk.sh +14 -0
  167. package/.gemini/extensions/bigpowers/hooks/before-tool-token-mgmt.sh +19 -0
  168. package/.gemini/extensions/bigpowers/hooks/hooks-manifest.json +36 -0
  169. package/.gemini/extensions/bigpowers/hooks/run-hook.cmd +29 -0
  170. package/.gemini/extensions/bigpowers/hooks/session-start +48 -0
  171. package/.gemini/extensions/bigpowers/hooks/settings.json.example +41 -0
  172. package/.gemini/extensions/bigpowers/skills/align-grid/SKILL.md +111 -0
  173. package/.gemini/extensions/bigpowers/skills/assess-impact/SKILL.md +92 -0
  174. package/.gemini/extensions/bigpowers/skills/audit-code/SKILL.md +185 -0
  175. package/.gemini/extensions/bigpowers/skills/audit-plan/SKILL.md +90 -0
  176. package/.gemini/extensions/bigpowers/skills/build-epic/SKILL.md +106 -0
  177. package/.gemini/extensions/bigpowers/skills/change-request/SKILL.md +122 -0
  178. package/.gemini/extensions/bigpowers/skills/commit-message/SKILL.md +141 -0
  179. package/.gemini/extensions/bigpowers/skills/compose-workflow/SKILL.md +83 -0
  180. package/.gemini/extensions/bigpowers/skills/context7-mcp/SKILL.md +56 -0
  181. package/.gemini/extensions/bigpowers/skills/craft-skill/SKILL.md +197 -0
  182. package/.gemini/extensions/bigpowers/skills/deepen-architecture/SKILL.md +261 -0
  183. package/.gemini/extensions/bigpowers/skills/define-language/SKILL.md +81 -0
  184. package/.gemini/extensions/bigpowers/skills/define-success/SKILL.md +13 -0
  185. package/.gemini/extensions/bigpowers/skills/delegate-task/SKILL.md +92 -0
  186. package/.gemini/extensions/bigpowers/skills/deploy/SKILL.md +199 -0
  187. package/.gemini/extensions/bigpowers/skills/design-interface/SKILL.md +98 -0
  188. package/.gemini/extensions/bigpowers/skills/develop-tdd/SKILL.md +417 -0
  189. package/.gemini/extensions/bigpowers/skills/diagnose-root/SKILL.md +25 -0
  190. package/.gemini/extensions/bigpowers/skills/diagnose-stall/SKILL.md +55 -0
  191. package/.gemini/extensions/bigpowers/skills/dispatch-agents/SKILL.md +119 -0
  192. package/.gemini/extensions/bigpowers/skills/edit-document/SKILL.md +24 -0
  193. package/.gemini/extensions/bigpowers/skills/elaborate-spec/SKILL.md +102 -0
  194. package/.gemini/extensions/bigpowers/skills/enforce-first/SKILL.md +46 -0
  195. package/.gemini/extensions/bigpowers/skills/evolve-skill/SKILL.md +56 -0
  196. package/.gemini/extensions/bigpowers/skills/execute-plan/SKILL.md +62 -0
  197. package/.gemini/extensions/bigpowers/skills/extract-design/SKILL.md +133 -0
  198. package/.gemini/extensions/bigpowers/skills/find-way/SKILL.md +192 -0
  199. package/.gemini/extensions/bigpowers/skills/fix-bug/SKILL.md +68 -0
  200. package/.gemini/extensions/bigpowers/skills/gate-trace/SKILL.md +93 -0
  201. package/.gemini/extensions/bigpowers/skills/generate-allure-report/SKILL.md +286 -0
  202. package/.gemini/extensions/bigpowers/skills/grill-me/SKILL.md +109 -0
  203. package/.gemini/extensions/bigpowers/skills/grill-with-docs/SKILL.md +54 -0
  204. package/.gemini/extensions/bigpowers/skills/guard-git/SKILL.md +232 -0
  205. package/.gemini/extensions/bigpowers/skills/harden-vps/SKILL.md +292 -0
  206. package/.gemini/extensions/bigpowers/skills/hook-commits/SKILL.md +95 -0
  207. package/.gemini/extensions/bigpowers/skills/inspect-quality/SKILL.md +107 -0
  208. package/.gemini/extensions/bigpowers/skills/investigate-bug/SKILL.md +128 -0
  209. package/.gemini/extensions/bigpowers/skills/kickoff-branch/SKILL.md +144 -0
  210. package/.gemini/extensions/bigpowers/skills/maintain-wiki/SKILL.md +65 -0
  211. package/.gemini/extensions/bigpowers/skills/map-codebase/SKILL.md +72 -0
  212. package/.gemini/extensions/bigpowers/skills/migrate-spec/SKILL.md +909 -0
  213. package/.gemini/extensions/bigpowers/skills/model-domain/SKILL.md +233 -0
  214. package/.gemini/extensions/bigpowers/skills/orchestrate-project/SKILL.md +175 -0
  215. package/.gemini/extensions/bigpowers/skills/organize-workspace/SKILL.md +165 -0
  216. package/.gemini/extensions/bigpowers/skills/plan-refactor/SKILL.md +88 -0
  217. package/.gemini/extensions/bigpowers/skills/plan-release/SKILL.md +146 -0
  218. package/.gemini/extensions/bigpowers/skills/plan-tests/SKILL.md +76 -0
  219. package/.gemini/extensions/bigpowers/skills/plan-work/SKILL.md +273 -0
  220. package/.gemini/extensions/bigpowers/skills/publish-package/SKILL.md +339 -0
  221. package/.gemini/extensions/bigpowers/skills/quick-fix/SKILL.md +115 -0
  222. package/.gemini/extensions/bigpowers/skills/release-branch/SKILL.md +303 -0
  223. package/.gemini/extensions/bigpowers/skills/request-review/SKILL.md +114 -0
  224. package/.gemini/extensions/bigpowers/skills/research-first/SKILL.md +88 -0
  225. package/.gemini/extensions/bigpowers/skills/reset-baseline/SKILL.md +22 -0
  226. package/.gemini/extensions/bigpowers/skills/respond-review/SKILL.md +72 -0
  227. package/.gemini/extensions/bigpowers/skills/run-benchmark/SKILL.md +86 -0
  228. package/.gemini/extensions/bigpowers/skills/run-evals/SKILL.md +81 -0
  229. package/.gemini/extensions/bigpowers/skills/run-planning/SKILL.md +102 -0
  230. package/.gemini/extensions/bigpowers/skills/scope-work/SKILL.md +64 -0
  231. package/.gemini/extensions/bigpowers/skills/search-skills/SKILL.md +74 -0
  232. package/.gemini/extensions/bigpowers/skills/security-review/SKILL.md +385 -0
  233. package/.gemini/extensions/bigpowers/skills/seed-conventions/SKILL.md +313 -0
  234. package/.gemini/extensions/bigpowers/skills/session-state/SKILL.md +147 -0
  235. package/.gemini/extensions/bigpowers/skills/setup-environment/SKILL.md +40 -0
  236. package/.gemini/extensions/bigpowers/skills/simple-english/SKILL.md +347 -0
  237. package/.gemini/extensions/bigpowers/skills/simulate-agents/SKILL.md +27 -0
  238. package/.gemini/extensions/bigpowers/skills/slice-tasks/SKILL.md +69 -0
  239. package/.gemini/extensions/bigpowers/skills/smoke-test/SKILL.md +262 -0
  240. package/.gemini/extensions/bigpowers/skills/spike-prototype/SKILL.md +96 -0
  241. package/.gemini/extensions/bigpowers/skills/stocktake-skills/SKILL.md +75 -0
  242. package/.gemini/extensions/bigpowers/skills/survey-context/SKILL.md +136 -0
  243. package/.gemini/extensions/bigpowers/skills/terse-mode/SKILL.md +43 -0
  244. package/.gemini/extensions/bigpowers/skills/trace-requirement/SKILL.md +70 -0
  245. package/.gemini/extensions/bigpowers/skills/using-bigpowers/SKILL.md +112 -0
  246. package/.gemini/extensions/bigpowers/skills/validate-contracts/SKILL.md +287 -0
  247. package/.gemini/extensions/bigpowers/skills/validate-fix/SKILL.md +148 -0
  248. package/.gemini/extensions/bigpowers/skills/verify-work/SKILL.md +192 -0
  249. package/.gemini/extensions/bigpowers/skills/visual-dashboard/SKILL.md +51 -0
  250. package/.gemini/extensions/bigpowers/skills/wire-ci/SKILL.md +382 -0
  251. package/.gemini/extensions/bigpowers/skills/wire-observability/SKILL.md +98 -0
  252. package/.gemini/extensions/bigpowers/skills/write-document/SKILL.md +282 -0
  253. package/.pi/package.json +1 -1
  254. package/CHANGELOG.md +7 -0
  255. package/package.json +1 -1
  256. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  257. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  258. package/scripts/test-install-helpers.js +31 -0
@@ -0,0 +1,117 @@
1
+ ---
2
+ description: "Dispatch multiple subagents in parallel on independent tasks. No waiting between them — all run concurrently. Use when tasks are truly decoupled and speed matters. Distinct from delegate-task (concurrent here, no inter-task review gate)."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # story: e09s04
7
+ # story: e45s38
8
+ <!-- story: e45s11 -->
9
+
10
+
11
+ # story: e45s30
12
+
13
+ # Dispatch Agents
14
+ > **HARD GATE** — **HARD GATE** — Agent work must be parallelizable and have explicit synchronization points. Do NOT dispatch work that has hidden dependencies between agents.
15
+
16
+
17
+ Run multiple subagents in parallel on independent tasks. Use when tasks are genuinely decoupled — no agent needs the output of another to start.
18
+
19
+ **Distinct from `delegate-task`:** This skill maximizes throughput via concurrency. There is no sequential review gate between tasks. Use `delegate-task` instead when a single task needs careful two-stage oversight before proceeding.
20
+
21
+ ## When to use
22
+
23
+ - Tasks that can run simultaneously without shared state
24
+ - Large plans that can be broken into parallel workstreams
25
+ - Exploration: gather information from multiple parts of the codebase at once
26
+
27
+ ## When NOT to use
28
+
29
+ - Task B depends on Task A's output
30
+ - You need to review Task A before Task B can start safely
31
+ - The tasks share a file and concurrent edits would conflict
32
+
33
+ ## Process
34
+
35
+ ### 1. Confirm independence
36
+
37
+ Before dispatching, verify each task pair is truly independent:
38
+ - No shared files being written
39
+ - No shared state (DB migrations, config files)
40
+ - No ordering dependency between outcomes
41
+
42
+ If any two tasks conflict, sequence them with `delegate-task` or `execute-plan` instead.
43
+
44
+ ## Subagent depth tiers (e45s30)
45
+
46
+ Map `effort:` frontmatter and story `risk:` to prompt depth — do not send `minimal_decisive` agents a `full_maturity` brief.
47
+
48
+ | Tier | When | Brief shape | Token budget |
49
+ |------|------|-------------|----------------|
50
+ | `full_maturity` | `effort: heavy`, `risk: P0`, security-sensitive diffs | Full `task_brief` + CONVENTIONS excerpts + threat model if present | Full envelope |
51
+ | `standard` | `effort: standard`, `risk: P1`–`P2` | Standard `task_brief` fields below | Default |
52
+ | `minimal_decisive` | `effort: light`, `risk: P3`, read-only exploration | `goal` + `verify` + `in_scope` only | ≤15 lines |
53
+
54
+ Record `depth: <tier>` in the Agent tool description when dispatching.
55
+
56
+ ### 2. Write typed task briefs (Orca message protocol)
57
+
58
+ Before writing briefs, read `specs/state.yaml` if it exists — each agent gets only the decisions relevant to its task, nothing else.
59
+
60
+ Every inter-agent message uses a **typed envelope** — no freeform prose between waves:
61
+
62
+ | `type` | When | Required fields |
63
+ |--------|------|-----------------|
64
+ | `task_brief` | Dispatch | `task_id`, `goal`, `in_scope`, `out_of_bounds`, `verify`, `prior_decisions` |
65
+ | `checkpoint` | Mid-wave progress | `task_id`, `status` (`running`\|`blocked`), `comment` (one line) |
66
+ | `result` | Agent return | `task_id`, `exit` (`pass`\|`fail`), `summary`, `verify_output` |
67
+ | `circuit_open` | 3 consecutive failures | `task_id`, `failures` (3), `escalate_to` (`user`) |
68
+
69
+ Example `task_brief` (each agent starts cold — brief size directly controls token cost and hallucination risk):
70
+
71
+ ```yaml
72
+ type: task_brief
73
+ task_id: agent-1
74
+ goal: [one sentence — what success looks like]
75
+ in_scope: [explicit file or module list]
76
+ out_of_bounds: [what NOT to touch]
77
+ verify: [runnable command]
78
+ prior_decisions: [relevant entries from specs/state.yaml — omit if none]
79
+ ```
80
+
81
+ Emit **`checkpoint`** comments when an agent is slow or blocked — one line, no stack traces. Parent reads checkpoints before spawning follow-ups.
82
+
83
+ Do not include the full conversation, full file contents, or decisions unrelated to this agent's task.
84
+
85
+ ### 3. Circuit breaker + iterative retrieval (max 3 cycles)
86
+
87
+ Track **consecutive failures per `task_id`**. On the **3rd consecutive `result.exit: fail`** for the same task, emit `type: circuit_open` and **stop dispatching** that task — escalate to user with the three failure summaries. Reset counter on any `pass`.
88
+
89
+ After each wave completes:
90
+ 1. **Dispatch** — run parallel agents with typed `task_brief` envelopes.
91
+ 2. **Evaluate** — read `result` messages; list gaps vs goal; honor open circuits.
92
+ 3. **Refine** — tighten briefs or spawn follow-up agents (max **3 cycles** total).
93
+
94
+ Stop when gaps empty, circuit opens, or cycle 3 reached — escalate to user. If agents go silent without returning, invoke `diagnose-stall` before spawning another wave.
95
+
96
+ ### 4. Dispatch in parallel
97
+
98
+ Spawn all agents in a single message using multiple Agent tool calls. Each agent gets its own complete brief.
99
+
100
+ ```
101
+ Agent 1: brief for task A
102
+ Agent 2: brief for task B
103
+ Agent 3: brief for task C
104
+ ```
105
+
106
+ ### 5. Collect and review results
107
+
108
+ When all agents return: review each result, run verify commands, check diffs for scope violations.
109
+
110
+ ### 6. Integrate
111
+
112
+ Merge accepted results. Resolve conflicts manually; note in summary.
113
+
114
+ Report: which tasks succeeded, which need revision, overall verify status.
115
+
116
+ ## Verify
117
+ → verify: `test -f skills/dispatch-agents/SKILL.md && test -f scripts/lib/completeness-critic.sh`
@@ -0,0 +1,22 @@
1
+ ---
2
+ description: "Edit and improve documents by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, restructure, or improve any document — including specs/ files, articles, READMEs, or technical writing."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # Edit Document
7
+
8
+ **Distinct from `write-document`:** Use this skill when the document already exists and needs restructuring, clarity, or prose improvements. Use `write-document` to create a document from scratch.
9
+
10
+ > **HARD GATE** — Document edits must preserve intent and accuracy. Do NOT remove or contradict existing content without understanding why it was written. Check git history for context.
11
+
12
+ ## Process
13
+
14
+ 1. First, divide the document into sections based on its headings. Think about the main points made in each section.
15
+
16
+ Consider that information is a directed acyclic graph, and that pieces of information can depend on other pieces of information. Make sure that the order of the sections and their contents respects these dependencies.
17
+
18
+ Confirm the sections with the user.
19
+
20
+ 2. For each section:
21
+
22
+ 2a. Rewrite the section to improve clarity, coherence, and flow. Use maximum 240 characters per paragraph.
@@ -0,0 +1,100 @@
1
+ ---
2
+ description: "Refine a rough idea into a clear, detailed specification through dialogue. Does not produce code. Use when user has a vague idea, wants to think through a feature before planning, or needs to turn \"I want X\" into a concrete spec."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # Elaborate Spec
7
+
8
+ Turn a rough idea into a clear specification through focused dialogue. No code is written during this skill — the output is shared understanding and a refined problem statement.
9
+
10
+ > **HARD GATE** — Do NOT proceed with planning or implementation until the problem space is clearly understood. Success criteria, actors, and scope must be explicit before drafting a plan.
11
+
12
+ ## Process
13
+
14
+ ### 1. Listen first
15
+
16
+ Let the user describe their idea in their own words. Do not interrupt or redirect. Take notes on:
17
+ - The core problem they're trying to solve
18
+ - Who is affected (actors)
19
+ - What success looks like to them
20
+ - Any constraints they've already identified
21
+
22
+ ### 2. Ask clarifying questions
23
+
24
+ Ask one question at a time. Work through these areas:
25
+
26
+ **Problem clarity**
27
+ - What is the current behavior (or lack of behavior) that prompted this?
28
+ - Who experiences this problem? How often?
29
+ - What's the cost of not solving it?
30
+
31
+ **Solution boundaries**
32
+ - What is explicitly IN scope?
33
+ - What is explicitly OUT of scope?
34
+ - Are there existing solutions (internal or external) this replaces or integrates with?
35
+
36
+ **Success criteria**
37
+ - How will you know this is done?
38
+ - What does the happy path look like end-to-end?
39
+ - What are the key failure modes to handle?
40
+
41
+ **Constraints**
42
+ - Any performance requirements?
43
+ - Any compatibility constraints (existing APIs, data formats)?
44
+ - Any non-negotiable implementation decisions already made?
45
+
46
+ ### 2.5. Multiple Interpretations (HARD GATE)
47
+
48
+ > **HARD GATE** — If the request admits ≥2 valid interpretations, do NOT guess. You must list them and ask the user to choose before proceeding. Proceeding with unresolved ambiguity is a failure of integrity.
49
+
50
+ Present the options clearly:
51
+ > "I see two ways to read this:
52
+ > 1. [Interpretation A] — my recommendation because [reason]
53
+ > 2. [Interpretation B]
54
+ > Which is closer to what you mean?"
55
+
56
+ ### 3. Surface hidden assumptions
57
+
58
+ Once the user has answered the main questions, probe for assumptions:
59
+ - "You mentioned X — does that mean Y is also true?"
60
+ - "What happens when Z fails?"
61
+ - "Is this for internal users, external users, or both?"
62
+
63
+ ### 4. Synthesize and confirm
64
+
65
+ Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](../../docs/countable-story-format.md):
66
+ - The problem (feeds into §1 Business narrative)
67
+ - The solution and main flow (feeds into §5)
68
+ - The key constraints and alternative flows (feeds into §6)
69
+ - The success criteria (feeds into §17 Gherkin)
70
+ - What's out of scope (feeds into §18)
71
+
72
+ Ask: "Is this an accurate summary? Anything missing or wrong?"
73
+
74
+ ### 5. Write specs/planning-context.yaml
75
+
76
+ After the user confirms the summary in step 4, persist the key decisions:
77
+
78
+ ```yaml
79
+ # specs/planning-context.yaml — written by elaborate-spec; consumed by scope-work and slice-tasks
80
+ feature_name: "<from step 1>"
81
+ problem_statement: "<one paragraph>"
82
+ constraints:
83
+ - "<constraint 1>"
84
+ out_of_scope:
85
+ - "<excluded item 1>"
86
+ key_decisions:
87
+ - decision: "<what was decided>"
88
+ rationale: "<why>"
89
+ ```
90
+
91
+ If `specs/planning-context.yaml` already exists, ask: `"Planning context from a prior session exists. Update it? [Y/n]"`. Overwrite on Y; leave unchanged on N.
92
+
93
+ ### 6. Suggest next skill
94
+
95
+ Once the spec is clear, recommend the next step:
96
+ - If domain model needs work → `model-domain`
97
+ - If ready to plan → `plan-release` (creates epic capsules with `epic.yaml` + story `.md` + `-tasks.yaml`) then `plan-work` per story
98
+ - If a spike is needed first → `spike-prototype`
99
+ - If architecture decisions are needed → `deepen-architecture` or `grill-me`
100
+ - If the plan depends on a specific library or API → `grill-me` in docs mode
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: "Apply the F.I.R.S.T test quality rubric (per CONVENTIONS.md §Tests) to a test suite or individual tests. Use when develop-tdd is writing tests, when test quality needs to be checked, or when user mentions F.I.R.S.T or \"test quality\"."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # Enforce FIRST
7
+ > **HARD GATE** — **HARD GATE** — Before shipping, ALL enforcement checks must pass: lint, typecheck, tests, coverage gates. Do NOT disable or skip checks to get to green.
8
+
9
+
10
+ Apply the F.I.R.S.T rubric per CONVENTIONS.md §Tests to evaluate and improve tests.
11
+
12
+ This skill is typically invoked internally by `develop-tdd` during the test-writing phase. It can also be run standalone on an existing test suite.
13
+
14
+ ## Modes
15
+
16
+ - Default: full F.I.R.S.T audit (all 5 criteria)
17
+ - --quick: Check Fast, Independent, and Self-Validating criteria only (per CONVENTIONS.md §Tests). Used by build-epic step 6 as a mechanical gate after audit-code. Skips Repeatable and Timely which require contextual judgment.
18
+
19
+ ## The F.I.R.S.T Rubric
20
+
21
+ See CONVENTIONS.md §Tests for the canonical F.I.R.S.T rubric definition, checklists, and fix patterns.
22
+
23
+ Mechanical self-check (runs before reporting audit complete):
24
+
25
+ ```bash
26
+ grep -q '## Tests (F.I.R.S.T' CONVENTIONS.md
27
+ grep -qE 'Fast|Independent|Repeatable|Self-Validating|Timely' CONVENTIONS.md
28
+ ```
29
+
30
+ Each criterion must be explicitly addressed in the audit report with pass/fail per test file reviewed.
31
+
32
+ ## Applying the rubric
33
+
34
+ For each failing criterion:
35
+ 1. Identify which tests violate it
36
+ 2. Describe the fix
37
+ 3. Apply the fix
38
+ 4. Re-run the suite to confirm it still passes
39
+
40
+ Report: "F.I.R.S.T audit complete. X criteria passed, Y fixed."
41
+
42
+ ## Verify
43
+
44
+ → verify: `grep -q '## Tests (F.I.R.S.T' CONVENTIONS.md && grep -qE 'Self-Validating|Repeatable' skills/enforce-first/SKILL.md && echo OK`
@@ -0,0 +1,54 @@
1
+ ---
2
+ description: "Benchmark-gated skill evolution — consume bigpowers-benchmark report, propose plan-work change, edit skill via craft-skill, re-run benchmark, record ADR. Use when a skill underperforms on benchmark or stocktake finds systemic gap."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # story: e23s03
7
+
8
+ # story: e09s01
9
+ # story: e09s05
10
+
11
+ # Evolve Skill
12
+
13
+ > **HARD GATE** — No skill change ships without benchmark score ≥ pre-change baseline. Learning is measured and versioned — never implicit.
14
+
15
+ ## Loop
16
+
17
+ 1. **Regression gate** — Run `bash scripts/run-verification-gates.sh` to catch mechanical regressions (compliance, sync pipeline, size budget) before spending time on benchmark evals. If golden suite fails, fix regressions first — they are pre-requisites for any capability improvement.
18
+ 2. **Establish baseline** — Run `run-benchmark <skill> --baseline`. If no definition exists at `specs/benchmarks/<skill>.yaml`, create one following `specs/benchmarks/SCHEMA.md` first. Save report path in `state.yaml`. If `specs/benchmarks/reports/BASELINE-<skill>.yaml` already exists, skip this step.
19
+
20
+ 3. **Identify gap** — Read the baseline report (`specs/benchmarks/reports/BASELINE-<skill>.yaml`). Find scenarios with `result: FAIL` or low `pass_at_k`. This is the measurable gap.
21
+
22
+ 4. **`plan-work`** — Write a minimal change proposal targeting the failing scenarios. Include verify commands.
23
+
24
+ 5. **Edit** via `craft-skill` / direct SKILL.md edit; run `bash scripts/sync-skills.sh`.
25
+
26
+ 6. **Re-run benchmark** — `run-benchmark <skill>`. Compare new `pass_at_k` against baseline.
27
+ - **IMPROVED or STABLE** → advance to step 6.
28
+ - **REGRESSION** (`new pass_at_k < baseline`) → revert the change and loop back to step 3.
29
+
30
+ 7. **Record decision** — Write `specs/adr/NNNN-evolve-<skill>.md` with before/after `pass_at_k` scores. Update `session-state`.
31
+
32
+ ## Verify
33
+
34
+ → verify: `test -d specs/benchmarks && test -f skills/run-benchmark/SKILL.md`
35
+
36
+ See [REFERENCE.md](REFERENCE.md) for ADR template.
37
+
38
+
39
+ <!-- story: e31s07 -->
40
+
41
+ ---
42
+
43
+ # Evolve Skill — ADR snippet
44
+
45
+ ```markdown
46
+ ## ADR-XXXX: Evolve &lt;skill-name&gt;
47
+
48
+ **Status:** Accepted
49
+ **Benchmark:** before X% / after Y%
50
+ **Change:** one-sentence summary
51
+ **Evidence:** path/to/benchmark-report.md
52
+ ```
53
+
54
+ Benchmark repo: `bigpowers-benchmark` — resolve the local clone on this machine; clone it from wherever your fork lives if absent. Never assume a hard-coded absolute path or a specific owner.
@@ -0,0 +1,60 @@
1
+ ---
2
+ description: "Batch-execute tasks from the active epic capsule sequentially, with a human checkpoint after each step. Use when user has an approved plan and wants step-by-step oversight."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # Execute Plan
7
+
8
+ Execute tasks from the **active epic** (`specs/epics/eNN-slug/epic.yaml` story `tasks[]`) one at a time, showing evidence after each step before proceeding.
9
+
10
+ > **HARD GATE** — Do NOT proceed if on `main` or `master`. Run `kickoff-branch` first.
11
+ >
12
+ > **HARD GATE** — Active epic must exist with runnable `verify` on each task. If missing, run `plan-release` then `plan-work` or `build-epic`.
13
+
14
+ ## Process
15
+
16
+ ### 1. Read the plan
17
+
18
+ Read `specs/state.yaml` (`active_epic`, `active_story`) and the matching `specs/epics/*/epic.yaml`. Parse `depends-on` in task descriptions for execution waves.
19
+
20
+ > **CONTEXT ISOLATION** — Spawn each skill with a **fresh context window**. Pass decisions only through `specs/state.yaml` `handoff` — never rely on prior chat history.
21
+
22
+ Confirm with the user: step count, skip/reorder, stop-after step.
23
+
24
+ ### 2. Execute step by step
25
+
26
+ For each task in the active story:
27
+
28
+ **a. Announce** — task `desc` and `verify` command.
29
+
30
+ **b. Execute** — code or `delegate-task` / `dispatch-agents` for waves.
31
+
32
+ **c. Run verify** — must be green before advancing.
33
+
34
+ **d. Log** — non-obvious decisions in `specs/state.yaml` under `decisions[]` or `handoff` block.
35
+
36
+ **e. Checkpoint** — ask to proceed unless autonomous mode requested.
37
+
38
+ **f. Story UAT** — after last task, run manual verification script from story notes or `verify-work`.
39
+
40
+ On verify failure: fix and re-run; never advance on red.
41
+
42
+ Update `specs/execution-status.yaml` when a story/epic completes (`bash scripts/sync-status-from-epics.sh` or direct edit).
43
+
44
+ ### 3. Blockers
45
+
46
+ Report blocker; ask skip/adapt/stop; update epic capsule if plan changes.
47
+
48
+ ### 4. Final report
49
+
50
+ Suggest: `verify-work` → `run-evals` → `audit-code` → `simulate-agents` → `commit-message` → `release-branch`
51
+
52
+ ## Rules
53
+
54
+ - **Loop until behavioral correctness is verified**: if a verify command passes but the observed behavior is still wrong, return to step 1 and run the execution cycle again.
55
+
56
+
57
+
58
+ <!-- story: e02s03 -->
59
+ <!-- story: e05s02 -->
60
+ <!-- story: e08s01 -->
@@ -0,0 +1,131 @@
1
+ ---
2
+ description: "Extract a Google DESIGN.md file from an HTML prototype (claude.ai/design or any styled page) using Puppeteer, producing machine-readable tokens and AI-generated prose. Use when the user has an HTML prototype and wants a DESIGN.md to anchor their project's visual identity, or when seed-conventions has just scaffolded a new project."
3
+ alwaysApply: false
4
+ ---
5
+
6
+ # Extract DESIGN.md from HTML
7
+
8
+ > **HARD GATE** — Do NOT write DESIGN.md without Puppeteer dual-pass extraction. Tokens from static HTML (Cheerio, regex, string scanning) are invalid — they miss cascade, custom properties, and Tailwind resolution.
9
+ >
10
+ > **HARD GATE** — Do NOT claim certainty where evidence is thin. Low-confidence color roles, component classifications, and prose assertions MUST be flagged with `<!-- AGENT NOTE: uncertain — validate during grill-me. Evidence: [what was observed] -->`.
11
+ >
12
+ > **HARD GATE** — Do NOT ship DESIGN.md without running `npx @google/design.md lint`. Unvalidated output is unverified output. If lint is unavailable (offline), flag prominently in terminal and in DESIGN.md prose.
13
+
14
+ ## Quick Start
15
+
16
+ ```bash
17
+ # First run — extract from HTML prototype
18
+ node extract-design/scripts/extract.js --source ./prototype.html
19
+
20
+ # From a published URL
21
+ node extract-design/scripts/extract.js --source https://my-prototype.example.com
22
+
23
+ # With a custom name
24
+ node extract-design/scripts/extract.js --source ./proto.html --name "My Design System"
25
+
26
+ # Update — re-extract from new HTML, diff against existing
27
+ node extract-design/scripts/extract.js --source ./proto-v2.html
28
+
29
+ # Lint-only — validate existing DESIGN.md without re-extraction
30
+ node extract-design/scripts/extract.js --lint-only
31
+ ```
32
+
33
+ ## Flow
34
+
35
+ 1. **Launch Puppeteer** — dual-pass (light + dark) with retry + timeout. CI flags: `--headless=new --no-sandbox --disable-gpu --disable-dbus --use-gl=angle --use-angle=swiftshader`.
36
+ 2. **Collect styles** — `page.evaluate()` collects computed styles from every element. Returns raw JSON to Node.js. Browser = sensor; Node = brain.
37
+ 3. **Classify tokens** — modular pipeline: colors (Material 3 roles), typography (scale detection), spacing (tolerance GCD), rounded (clustering), components (visual signature + pseudo-state variants).
38
+ 4. **Generate prose** — AI heuristics produce all 8 DESIGN.md sections. Overview and Do's/Don'ts flagged with agent notes.
39
+ 5. **Write + validate** — serialize to `specs/tech-architecture/DESIGN_LATEST.md`, run `npx @google/design.md lint`, report to terminal.
40
+ 6. **Handoff** — writes `handoff.next_skill: grill-me` to `specs/state.yaml` with uncertain decisions context.
41
+
42
+ ## Inputs
43
+
44
+ | Parameter | Required | Description |
45
+ |-----------|----------|-------------|
46
+ | `--source <file\|url>` | First run: yes. Update: optional | HTML prototype path or URL |
47
+ | `--name <string>` | No | Design system name (defaults to `<title>` or directory name) |
48
+ | `--lint-only` | No | Validate existing DESIGN.md without re-extraction |
49
+
50
+ ## Output
51
+
52
+ - `specs/tech-architecture/DESIGN_LATEST.md` — replaces `DESIGN_PLAN_LATEST.md` as the canonical design artifact
53
+ - Terminal summary: token counts, component count, lint result, uncertain decisions
54
+ - Structured JSON log to stderr: extraction events, timing, counts
55
+ - `specs/state.yaml` → `handoff.next_skill: grill-me` with context
56
+
57
+ ## Error Tiers
58
+
59
+ | Tier | Condition | Response |
60
+ |------|-----------|----------|
61
+ | Fatal | No Chrome, page load timeout after retries | Exit non-zero, suggest fixes |
62
+ | Degraded | Zero colors, zero typography, SPA shell | Write DESIGN.md with degradation warning |
63
+ | Warned | Lint errors, uncertain decisions | Write DESIGN.md, flag in terminal, hand off to grill-me |
64
+
65
+ ## Dependencies
66
+
67
+ - **Puppeteer** (Chrome binary) — wrapped behind `BrowserExtractor` interface for testability
68
+ - **`@google/design.md`** (soft, via `npx`) — wrapped behind `DesignValidator` interface. Warns and skips if offline.
69
+
70
+ ## verify
71
+
72
+ ```bash
73
+ node extract-design/tests/test-extraction.js
74
+ ```
75
+
76
+ See [REFERENCE.md](REFERENCE.md) for extraction algorithms and heuristics.
77
+
78
+ ---
79
+
80
+ # Extract Design — Reference
81
+
82
+ ## Extraction Algorithms
83
+
84
+ ### Color Classification
85
+ 1. Collect unique computed `background-color`, `color`, `border-color` from every DOM element.
86
+ 2. Count frequency and context (text vs. bg vs. border vs. button).
87
+ 3. Classify using Material 3 roles: surface = largest-area bg, on-surface = most-used text, tertiary = highest-saturation on CTAs, error = reddish.
88
+ 4. Surface container levels: luminance-ordered. Hard-cap at 3 unless data supports 5.
89
+ 5. Low-confidence → `<!-- AGENT NOTE -->` in Colors prose.
90
+
91
+ ### Typography Classification
92
+ 1. Collect unique (fontFamily, fontSize, fontWeight, lineHeight, letterSpacing) tuples.
93
+ 2. Cluster by fontSize (±2px) → type scale.
94
+ 3. Detect heading hierarchy from HTML tag + computed size.
95
+ 4. Name levels: display-lg, headline-lg/md/sm, title-lg, body-lg/md/sm, label-lg/md/sm.
96
+ 5. Parse `<link>` and `@font-face`; warn if computed font differs from declared.
97
+
98
+ ### Spacing Classification
99
+ 1. Collect unique padding, margin, gap values. Filter: ignore values < 3 occurrences.
100
+ 2. Compute tolerance-based GCD (0.5px tolerance).
101
+ 3. Declare base unit. Detect half-step if gcd/2 values present ≥3 times.
102
+ 4. Map: unit×1 → sm, ×2 → md, ×4 → lg, ×8 → xl.
103
+
104
+ ### Rounded Classification
105
+ 1. Collect unique border-radius values. Cluster (1px tolerance).
106
+ 2. Name: none (0), sm (smallest), md (median), lg (large), xl (largest), full (9999px).
107
+
108
+ ### Component Detection
109
+ - Button: w<300px, h<64px, bg+radius set, short text. cursor:pointer is bonus.
110
+ - Card: bg+radius+padding set, larger area.
111
+ - Input: `<input>` or `<textarea>` tag.
112
+ - Pseudo-state variants: force :hover, :active, :focus for high-confidence components.
113
+
114
+ ### Prose Generation
115
+ Generates all 8 DESIGN.md sections. Overview and Do's/Don'ts flagged with `<!-- AGENT NOTE: Generated from visual analysis. Grill-me should validate. -->`.
116
+
117
+ ## Material 3 Token Conventions
118
+ Colors: primary, on-primary, secondary, tertiary, error, surface, on-surface, surface-container-*, outline, background, on-background.
119
+ Typography: display-lg/md/sm, headline-lg/md/sm, title-lg/md/sm, body-lg/md/sm, label-lg/md/sm.
120
+ Rounded: none, xs, sm, md, lg, xl, full.
121
+
122
+ ## CI Compatibility
123
+ Chrome flags: `--headless=new --no-sandbox --disable-gpu --disable-dbus --use-gl=angle --use-angle=swiftshader`
124
+
125
+ ## Defensive Code
126
+ Retry with backoff (3 attempts, 1s/2s/4s), Timeout (30s page load, 10s pseudo-state), Graceful degradation (Tier 2 on empty extraction).
127
+
128
+ ## Known Risks
129
+ - DESIGN.md spec is alpha. Skill pins to current spec.
130
+ - Puppeteer is heavy (~300MB Chrome). Document requirement clearly.
131
+ - Prose quality depends on AI heuristics. grill-me is the validation gate.