@kolbo/kolbo-code-linux-arm64-musl 0.0.0-dev-202604161628

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 (282) hide show
  1. package/bin/kolbo +0 -0
  2. package/package.json +14 -0
  3. package/skills/brainstorming/SKILL.md +164 -0
  4. package/skills/brainstorming/scripts/frame-template.html +214 -0
  5. package/skills/brainstorming/scripts/helper.js +88 -0
  6. package/skills/brainstorming/scripts/server.cjs +354 -0
  7. package/skills/brainstorming/scripts/start-server.sh +148 -0
  8. package/skills/brainstorming/scripts/stop-server.sh +56 -0
  9. package/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
  10. package/skills/brainstorming/visual-companion.md +287 -0
  11. package/skills/color-grading/SKILL.md +152 -0
  12. package/skills/dispatching-parallel-agents/SKILL.md +182 -0
  13. package/skills/docx/.skillfish.json +10 -0
  14. package/skills/docx/SKILL.md +196 -0
  15. package/skills/docx/docx-js.md +350 -0
  16. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  17. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  18. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  19. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  20. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  21. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  22. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  23. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  24. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  25. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  26. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  27. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  28. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  29. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  30. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  31. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  32. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  33. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  34. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  35. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  36. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  37. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  38. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  39. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  40. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  41. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  42. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  43. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  44. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  45. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  46. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  47. package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  48. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  49. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  50. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  51. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  52. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  53. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  54. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  55. package/skills/docx/ooxml/scripts/pack.py +159 -0
  56. package/skills/docx/ooxml/scripts/unpack.py +29 -0
  57. package/skills/docx/ooxml/scripts/validate.py +69 -0
  58. package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  59. package/skills/docx/ooxml/scripts/validation/base.py +951 -0
  60. package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  61. package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  62. package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  63. package/skills/docx/ooxml.md +599 -0
  64. package/skills/docx/scripts/__init__.py +1 -0
  65. package/skills/docx/scripts/document.py +1272 -0
  66. package/skills/docx/scripts/templates/comments.xml +3 -0
  67. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  68. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  69. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  70. package/skills/docx/scripts/templates/people.xml +3 -0
  71. package/skills/docx/scripts/utilities.py +374 -0
  72. package/skills/executing-plans/SKILL.md +70 -0
  73. package/skills/ffmpeg-patterns/SKILL.md +240 -0
  74. package/skills/finishing-a-development-branch/SKILL.md +200 -0
  75. package/skills/frontend-design/SKILL.md +42 -0
  76. package/skills/fullstack-app/SKILL.md +621 -0
  77. package/skills/image-prompting-guide/SKILL.md +143 -0
  78. package/skills/kolbo/SKILL.md +610 -0
  79. package/skills/music-prompting/SKILL.md +146 -0
  80. package/skills/pdf/.skillfish.json +10 -0
  81. package/skills/pdf/FORMS.md +205 -0
  82. package/skills/pdf/REFERENCE.md +612 -0
  83. package/skills/pdf/SKILL.md +293 -0
  84. package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  85. package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  86. package/skills/pdf/scripts/check_fillable_fields.py +12 -0
  87. package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  88. package/skills/pdf/scripts/create_validation_image.py +41 -0
  89. package/skills/pdf/scripts/extract_form_field_info.py +152 -0
  90. package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  91. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  92. package/skills/photo-studio/SKILL.md +130 -0
  93. package/skills/pptx/.skillfish.json +10 -0
  94. package/skills/pptx/SKILL.md +483 -0
  95. package/skills/pptx/html2pptx.md +626 -0
  96. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  97. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  98. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  99. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  100. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  101. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  102. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  103. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  104. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  105. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  106. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  107. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  108. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  109. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  110. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  111. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  112. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  113. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  114. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  115. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  116. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  117. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  118. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  119. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  120. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  121. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  122. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  123. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  124. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  125. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  126. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  127. package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  128. package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  129. package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  130. package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  131. package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  132. package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  133. package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  134. package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  135. package/skills/pptx/ooxml/scripts/pack.py +159 -0
  136. package/skills/pptx/ooxml/scripts/unpack.py +29 -0
  137. package/skills/pptx/ooxml/scripts/validate.py +69 -0
  138. package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  139. package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
  140. package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  141. package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  142. package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  143. package/skills/pptx/ooxml.md +427 -0
  144. package/skills/pptx/scripts/html2pptx.js +995 -0
  145. package/skills/pptx/scripts/inventory.py +1020 -0
  146. package/skills/pptx/scripts/rearrange.py +231 -0
  147. package/skills/pptx/scripts/replace.py +385 -0
  148. package/skills/pptx/scripts/thumbnail.py +450 -0
  149. package/skills/production-review/SKILL.md +152 -0
  150. package/skills/receiving-code-review/SKILL.md +213 -0
  151. package/skills/remotion-best-practices/SKILL.md +62 -0
  152. package/skills/remotion-best-practices/rules/3d.md +86 -0
  153. package/skills/remotion-best-practices/rules/animations.md +27 -0
  154. package/skills/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
  155. package/skills/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
  156. package/skills/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +103 -0
  157. package/skills/remotion-best-practices/rules/assets.md +78 -0
  158. package/skills/remotion-best-practices/rules/audio-visualization.md +198 -0
  159. package/skills/remotion-best-practices/rules/audio.md +169 -0
  160. package/skills/remotion-best-practices/rules/calculate-metadata.md +134 -0
  161. package/skills/remotion-best-practices/rules/can-decode.md +81 -0
  162. package/skills/remotion-best-practices/rules/charts.md +120 -0
  163. package/skills/remotion-best-practices/rules/compositions.md +154 -0
  164. package/skills/remotion-best-practices/rules/display-captions.md +184 -0
  165. package/skills/remotion-best-practices/rules/extract-frames.md +229 -0
  166. package/skills/remotion-best-practices/rules/ffmpeg.md +38 -0
  167. package/skills/remotion-best-practices/rules/fonts.md +152 -0
  168. package/skills/remotion-best-practices/rules/get-audio-duration.md +58 -0
  169. package/skills/remotion-best-practices/rules/get-video-dimensions.md +68 -0
  170. package/skills/remotion-best-practices/rules/get-video-duration.md +60 -0
  171. package/skills/remotion-best-practices/rules/gifs.md +141 -0
  172. package/skills/remotion-best-practices/rules/images.md +134 -0
  173. package/skills/remotion-best-practices/rules/import-srt-captions.md +69 -0
  174. package/skills/remotion-best-practices/rules/light-leaks.md +73 -0
  175. package/skills/remotion-best-practices/rules/lottie.md +70 -0
  176. package/skills/remotion-best-practices/rules/maps.md +412 -0
  177. package/skills/remotion-best-practices/rules/measuring-dom-nodes.md +34 -0
  178. package/skills/remotion-best-practices/rules/measuring-text.md +140 -0
  179. package/skills/remotion-best-practices/rules/motion-design.md +215 -0
  180. package/skills/remotion-best-practices/rules/parameters.md +109 -0
  181. package/skills/remotion-best-practices/rules/sequencing.md +118 -0
  182. package/skills/remotion-best-practices/rules/sfx.md +30 -0
  183. package/skills/remotion-best-practices/rules/subtitles.md +36 -0
  184. package/skills/remotion-best-practices/rules/tailwind.md +11 -0
  185. package/skills/remotion-best-practices/rules/text-animations.md +20 -0
  186. package/skills/remotion-best-practices/rules/timing.md +179 -0
  187. package/skills/remotion-best-practices/rules/transcribe-captions.md +70 -0
  188. package/skills/remotion-best-practices/rules/transitions.md +197 -0
  189. package/skills/remotion-best-practices/rules/transparent-videos.md +106 -0
  190. package/skills/remotion-best-practices/rules/trimming.md +51 -0
  191. package/skills/remotion-best-practices/rules/videos.md +171 -0
  192. package/skills/remotion-best-practices/rules/voiceover.md +99 -0
  193. package/skills/requesting-code-review/SKILL.md +105 -0
  194. package/skills/requesting-code-review/code-reviewer.md +146 -0
  195. package/skills/short-form-video/SKILL.md +168 -0
  196. package/skills/sound-design/SKILL.md +154 -0
  197. package/skills/storytelling/SKILL.md +139 -0
  198. package/skills/subagent-driven-development/SKILL.md +277 -0
  199. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
  200. package/skills/subagent-driven-development/implementer-prompt.md +113 -0
  201. package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  202. package/skills/subtitle-production/SKILL.md +244 -0
  203. package/skills/subtitle-production/reference/burn_to_video.py +222 -0
  204. package/skills/subtitle-production/reference/export_srts.py +127 -0
  205. package/skills/subtitle-production/reference/gen_srt.py +42 -0
  206. package/skills/supabase/.skillfish.json +10 -0
  207. package/skills/supabase/SKILL.md +106 -0
  208. package/skills/supabase/assets/feedback-issue-template.md +17 -0
  209. package/skills/supabase/references/skill-feedback.md +17 -0
  210. package/skills/supabase-postgres-best-practices/.skillfish.json +10 -0
  211. package/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  212. package/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  213. package/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  214. package/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  215. package/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  216. package/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  217. package/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  218. package/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  219. package/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  220. package/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  221. package/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  222. package/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  223. package/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  224. package/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  225. package/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  226. package/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  227. package/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  228. package/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  229. package/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  230. package/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  231. package/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  232. package/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  233. package/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  234. package/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  235. package/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  236. package/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  237. package/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  238. package/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  239. package/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  240. package/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  241. package/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  242. package/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  243. package/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  244. package/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  245. package/skills/supabase-postgres-best-practices/references/security-rls-performance.md +57 -0
  246. package/skills/supabase-quickstart/SKILL.md +400 -0
  247. package/skills/systematic-debugging/CREATION-LOG.md +119 -0
  248. package/skills/systematic-debugging/SKILL.md +296 -0
  249. package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  250. package/skills/systematic-debugging/condition-based-waiting.md +115 -0
  251. package/skills/systematic-debugging/defense-in-depth.md +122 -0
  252. package/skills/systematic-debugging/find-polluter.sh +63 -0
  253. package/skills/systematic-debugging/root-cause-tracing.md +169 -0
  254. package/skills/systematic-debugging/test-academic.md +14 -0
  255. package/skills/systematic-debugging/test-pressure-1.md +58 -0
  256. package/skills/systematic-debugging/test-pressure-2.md +68 -0
  257. package/skills/systematic-debugging/test-pressure-3.md +69 -0
  258. package/skills/test-driven-development/SKILL.md +371 -0
  259. package/skills/test-driven-development/testing-anti-patterns.md +299 -0
  260. package/skills/typography-video/SKILL.md +182 -0
  261. package/skills/typography-video/reference/KineticTitleScene.tsx +345 -0
  262. package/skills/using-git-worktrees/SKILL.md +218 -0
  263. package/skills/using-superpowers/SKILL.md +115 -0
  264. package/skills/using-superpowers/references/codex-tools.md +100 -0
  265. package/skills/using-superpowers/references/gemini-tools.md +33 -0
  266. package/skills/verification-before-completion/SKILL.md +139 -0
  267. package/skills/video-editing/SKILL.md +128 -0
  268. package/skills/video-production/SKILL.md +247 -0
  269. package/skills/video-prompting-guide/SKILL.md +268 -0
  270. package/skills/writing-plans/SKILL.md +152 -0
  271. package/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
  272. package/skills/writing-skills/SKILL.md +655 -0
  273. package/skills/writing-skills/anthropic-best-practices.md +1150 -0
  274. package/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  275. package/skills/writing-skills/graphviz-conventions.dot +172 -0
  276. package/skills/writing-skills/persuasion-principles.md +187 -0
  277. package/skills/writing-skills/render-graphs.js +168 -0
  278. package/skills/writing-skills/testing-skills-with-subagents.md +384 -0
  279. package/skills/xlsx/.skillfish.json +10 -0
  280. package/skills/xlsx/SKILL.md +288 -0
  281. package/skills/xlsx/recalc.py +178 -0
  282. package/skills/youtube-clipper/SKILL.md +187 -0
@@ -0,0 +1,154 @@
1
+ ---
2
+ name: sound-design
3
+ description: >
4
+ Audio production rules for video: dialogue levels, music ducking, SFX placement and timing,
5
+ BPM selection by content type, platform loudness targets (LUFS), voice EQ and compression,
6
+ audio ducking levels. Use when mixing audio for video, choosing background music, or placing
7
+ sound effects.
8
+ Keywords: audio, sound design, ducking, LUFS, loudness, music, sfx, sound effects, mixing,
9
+ dialogue, voice, EQ, compression, BPM, volume, audio levels
10
+ ---
11
+
12
+ # Sound Design for Video Production
13
+
14
+ ## Quick Reference
15
+
16
+ ```
17
+ DIALOGUE: -12 dB peak | -16 to -14 LUFS integrated
18
+ MUSIC BED: -30 to -20 dB (18-20 dB below dialogue)
19
+ SFX: -18 to -12 dB (6 dB below dialogue minimum)
20
+ WHOOSH TIMING: Start 10-20ms before visual, duration 400-500ms
21
+ MUSIC BPM: Calm 60-80 | Standard 90-110 | Upbeat 120-140
22
+ TRUE PEAK: Never exceed -1.5 dBTP
23
+ VOICE EQ: HPF 80Hz, cut 500Hz, boost 2-5kHz, cut 6-8kHz
24
+ VOICE COMP: 3:1 ratio, 1-5ms attack, 10-20ms release
25
+ TARGET LUFS: -14 LUFS (YouTube/TikTok/IG) | -16 LUFS (podcasts)
26
+ ```
27
+
28
+ ## Audio Ducking Levels
29
+
30
+ | Element | Peak Level | Notes |
31
+ |---------|-----------|-------|
32
+ | Dialogue / Narration | -6 dB to -12 dB | Primary element |
33
+ | Background music (during speech) | -18 dB to -20 dB | 18-20 dB below dialogue |
34
+ | Sound effects | -12 dB to -18 dB | Between dialogue and music |
35
+ | Final mix | -10 dB to -20 dB | Never exceed 0 dB |
36
+
37
+ **Ducking rules:**
38
+ - W3C accessibility: music must be **20 dB lower** than foreground speech
39
+ - BBC guideline: lower music by an additional **4 dB** from where you think it sounds right
40
+ - Duck music **6-12 dB** when narration is active
41
+ - EQ trick: cut **2-4 kHz** on background music to clear the speech intelligibility band
42
+ - When testing, adjust in **1 dB increments** from a -20 dB baseline upward
43
+
44
+ ## Music Selection by Content Type
45
+
46
+ | Content Type | BPM Range | Mood |
47
+ |-------------|-----------|------|
48
+ | Calm explainer / tutorial | 60-80 | Contemplative, focused |
49
+ | Corporate / testimonial | 60-100 | Professional, calm |
50
+ | Standard explainer | 90-110 | Steady, engaging |
51
+ | Upbeat promo | 110-130 | Enthusiastic |
52
+ | High-energy / demo | 120-140 | Exciting, dynamic |
53
+ | Action / fast-paced | 140-200 | Adrenaline |
54
+
55
+ **Genre recommendations for explainers:**
56
+ - Lo-fi (steady, non-distracting, modern feel)
57
+ - Ambient (atmospheric, stays in background)
58
+ - Light acoustic guitar instrumentals (warm, approachable)
59
+ - Inspiring soundtrack / cinematic light (builds emotion without overwhelming)
60
+
61
+ **Key rules:**
62
+ - Always use **instrumental** tracks when voiceover is present
63
+ - Choose dynamically **even** tracks — avoid dramatic crescendos or beat drops
64
+ - Match energy to the content: upbeat for "exciting new concept," gentle for serious topics
65
+
66
+ ## Sound Effects (SFX) Placement
67
+
68
+ | SFX Type | Use Case | Duration | Level |
69
+ |----------|----------|----------|-------|
70
+ | Whoosh / Swish | Scene transitions | 400-500ms | -18 to -12 dB |
71
+ | Pop / Pluck | Text appearing, bullet points | <200ms | -15 to -12 dB |
72
+ | Click / Tap | UI interactions | <100ms | -20 to -15 dB |
73
+ | Riser / Swell | Building to a reveal | 1-3s | -18 to -12 dB |
74
+ | Impact / Hit | Key reveal, stat | <300ms | -12 to -6 dB |
75
+ | Subtle whoosh | Element sliding in/out | 200-400ms | -20 to -15 dB |
76
+
77
+ ### Timing Rules
78
+ - Start whoosh **10-20ms before** the visual transition (brain processes audio faster)
79
+ - Peak of whoosh energy = **moment of greatest visual change**
80
+ - Fine-tune in **1-frame increments** for sync
81
+ - When stacking whooshes, keep them in different frequency bands
82
+
83
+ ## Platform Loudness Targets
84
+
85
+ | Platform | Integrated LUFS | True Peak |
86
+ |----------|----------------|-----------|
87
+ | YouTube | -14 LUFS | -1 dBTP |
88
+ | TikTok | -14 LUFS | -1 dBTP |
89
+ | Instagram Reels | -14 LUFS | -1 dBTP |
90
+ | Spotify (podcast) | -14 LUFS | -1 dBTP |
91
+ | Apple Podcasts | -16 LUFS | -1 dBTP |
92
+ | Broadcast TV | -24 LUFS | -2 dBTP |
93
+
94
+ ## Voice Processing Chain
95
+
96
+ Apply in this order:
97
+ 1. **High-pass filter** at 80 Hz (removes rumble)
98
+ 2. **Cut 500 Hz** by 2-3 dB (removes muddiness)
99
+ 3. **Boost 2-5 kHz** by 2-3 dB (presence and clarity)
100
+ 4. **Cut 6-8 kHz** by 1-2 dB (reduces sibilance)
101
+ 5. **Compress** at 3:1 ratio, 1-5ms attack, 10-20ms release
102
+ 6. **Normalize** to target LUFS
103
+
104
+ ## FFmpeg Audio Commands
105
+
106
+ ### Loudness Normalization
107
+ ```bash
108
+ ffmpeg -i input.mp4 -af loudnorm=I=-14:LRA=11:TP=-1 -c:v copy output.mp4
109
+ ```
110
+
111
+ ### Audio Ducking with Sidechain
112
+ ```bash
113
+ ffmpeg -i narration.wav -i music.wav -filter_complex \
114
+ "[1:a]asplit=2[music1][music2]; \
115
+ [0:a][music2]sidechaincompress=threshold=0.02:ratio=9:attack=200:release=500[ducked]; \
116
+ [music1][ducked]amix=inputs=2:weights='1 0.15'" \
117
+ -c:a aac output.m4a
118
+ ```
119
+
120
+ ### Measure Loudness
121
+ ```bash
122
+ ffmpeg -i input.mp4 -af loudnorm=print_format=json -f null - 2>&1 | grep -A 20 "Parsed_loudnorm"
123
+ ```
124
+
125
+ ---
126
+
127
+ ## Kolbo MCP Integration
128
+
129
+ | Task | Kolbo MCP Tool | Notes |
130
+ |------|---------------|-------|
131
+ | Generate narration | `generate_speech` | See `list_voices` for voice options |
132
+ | Generate music | `generate_music` | Use BPM tables above, always instrumental=true |
133
+ | Generate SFX | `generate_sound` | Describe physically: "door slam in stone hallway" |
134
+ | Transcribe audio | `transcribe_audio` | Word-level timestamps for sync |
135
+ | Voice discovery | `list_voices` | Filter by language, gender, provider |
136
+
137
+ **Full audio production workflow:**
138
+ 1. `generate_speech` → narration track
139
+ 2. `generate_music` instrumental=true → background music
140
+ 3. `generate_sound` → individual SFX (whooshes, impacts)
141
+ 4. Mix with FFmpeg using the ducking commands above
142
+ 5. Normalize to -14 LUFS for social platforms
143
+
144
+ ---
145
+
146
+ ## Local / Free Options
147
+
148
+ > **IMPORTANT:** Always use Kolbo MCP tools by default. Only mention these if the user explicitly asks for free/offline options. Always confirm before installing anything.
149
+
150
+ **TTS:** `edge-tts` (free Microsoft voices, no GPU, `pip install edge-tts`) or `piper-tts` (fully offline, CPU-only). Both are safe, lightweight installs.
151
+
152
+ **SFX libraries (no install needed):** Freesound.org, Pixabay Sound Effects, BBC Sound Effects — all free, browser-based.
153
+
154
+ **FFmpeg** is the only tool you should use without asking — it's standard and safe. All the mixing/ducking/normalization commands in this skill use FFmpeg.
@@ -0,0 +1,139 @@
1
+ ---
2
+ name: storytelling
3
+ description: >
4
+ Narrative structure and storytelling for video content. Explainer arc templates, hook types,
5
+ the 30-second retention rule, pacing by duration, the "but-therefore" method, concept
6
+ introduction patterns. Use when scripting explainer videos, educational content, or any
7
+ narrative-driven video.
8
+ Keywords: storytelling, narrative, script, explainer, hook, arc, structure, pacing, retention,
9
+ educational, concept, story, writing, script structure
10
+ ---
11
+
12
+ # Storytelling & Narrative Structure for Video
13
+
14
+ ## The Explainer Arc Template (3 minutes)
15
+
16
+ Scale proportionally for other lengths.
17
+
18
+ ```
19
+ [0:00 - 0:08] HOOK
20
+ Pattern interrupt or counterintuitive claim. 1-2 sentences max.
21
+ Visual: striking image or animation that creates curiosity.
22
+
23
+ [0:08 - 0:30] TENSION / INFORMATION GAP
24
+ "Here's what most people think... but that's not quite right."
25
+ Establish stakes: why should I care?
26
+
27
+ [0:30 - 0:50] CONCEPT 1 (Foundation)
28
+ Simplest building block needed. ONE idea, ONE visual.
29
+ End with a "but" or "therefore" transition.
30
+
31
+ [0:50 - 1:15] CONCEPT 2 (Complication)
32
+ Build on Concept 1. Introduce the wrinkle.
33
+ Visual: transform/evolve the previous visual.
34
+
35
+ [1:15 - 1:20] PALETTE CLEANSER
36
+ Brief pause, visual gag, or "let that sink in" moment.
37
+ Gives working memory a beat to consolidate.
38
+
39
+ [1:20 - 1:50] CONCEPT 3 (Key Insight)
40
+ The "aha" moment. Core of the video.
41
+ 1-3 seconds of deliberate silence after the reveal.
42
+ Visual: the most polished animation in the video.
43
+
44
+ [1:50 - 2:20] PROOF / EXAMPLE
45
+ Concrete demonstration: "Watch what happens when..."
46
+ Show the insight working in a specific case.
47
+
48
+ [2:20 - 2:45] IMPLICATIONS / "SO WHAT?"
49
+ Connect back to the real world. "This means that..."
50
+ Scale from specific back to general.
51
+
52
+ [2:45 - 3:00] REFRAME + CLOSE
53
+ Callback to the hook. Restate core insight in one sentence.
54
+ Optional: open a new curiosity gap.
55
+ ```
56
+
57
+ ## Scaling by Duration
58
+
59
+ | Length | Concepts | Hook | Tension | Core | Proof | Close |
60
+ |--------|----------|------|---------|------|-------|-------|
61
+ | 1 min | 1-2 | 5s | 10s | 30s | 10s | 5s |
62
+ | 2 min | 2-3 | 8s | 15s | 60s | 25s | 12s |
63
+ | 3 min | 3-5 | 8s | 22s | 100s | 30s | 15s |
64
+ | 5 min | 5-8 | 10s | 30s | 180s | 50s | 20s |
65
+
66
+ ## Hook Types
67
+
68
+ | Type | Pattern | Best For |
69
+ |------|---------|----------|
70
+ | **Contrarian** | "Everything you've been told about X is wrong." | Science/myth-busting |
71
+ | **Outcome** | "By the end of this video, you'll understand X." | Math/concept explainers |
72
+ | **Mystery** | "In 1987, something impossible happened..." | Story-driven content |
73
+ | **Stakes** | "This one mistake costs people X every year." | Practical/how-to |
74
+
75
+ ## The 30-Second Rule
76
+
77
+ 50% of viewer drop-off happens in the first 30 seconds. The hook + tension setup MUST be complete by second 30. Retention curves that survive the 30-second cliff typically retain 40-60% through the full video.
78
+
79
+ ## The "But-Therefore" Method
80
+
81
+ Never connect sections with "and then." Always use **"but"** or **"therefore."**
82
+
83
+ **Bad:** "Atoms have electrons, AND THEN those electrons have energy levels, AND THEN..."
84
+
85
+ **Good:** "Atoms have electrons. BUT those electrons can only exist at specific energy levels. THEREFORE, when they jump between levels, they release light at exact frequencies."
86
+
87
+ Each "but" creates tension. Each "therefore" resolves it. This is the engine of narrative momentum.
88
+
89
+ ## Concept Introduction Pattern
90
+
91
+ For each new concept in the video:
92
+
93
+ 1. **Name it** — give the concept a label the viewer can hold onto
94
+ 2. **Show it** — visual representation (never just explain with words)
95
+ 3. **Contrast it** — "unlike X, this works by..."
96
+ 4. **Apply it** — concrete example in the real world
97
+ 5. **Connect it** — link to the previous concept with "but" or "therefore"
98
+
99
+ ## Pacing by Content Energy
100
+
101
+ | Energy Level | Pacing | Visual Change Rate |
102
+ |-------------|--------|-------------------|
103
+ | High (promo, action) | Fast cuts, 1-2s per shot | Every 1-2 seconds |
104
+ | Medium (tutorial, explainer) | Balanced, 3-5s per shot | Every 3-4 seconds |
105
+ | Low (meditation, documentary) | Let scenes breathe, 5-10s | Every 5-8 seconds |
106
+
107
+ ## Common Mistakes
108
+
109
+ - **Info dump at the start** — frontload curiosity, not information
110
+ - **No stakes** — "here's a cool fact" vs "this changes how you should think about X"
111
+ - **Too many concepts** — one concept per minute is the maximum for retention
112
+ - **Missing the "aha"** — every video needs ONE clear revelation moment
113
+ - **Symmetric structure** — the most important concept should be at 60-70% through the video, not in the middle
114
+ - **No callback** — the close should reference the hook, creating a satisfying loop
115
+
116
+ ---
117
+
118
+ ## Kolbo MCP Integration
119
+
120
+ Use storytelling structure to guide Kolbo generation workflows:
121
+
122
+ **Scripted Explainer Workflow:**
123
+ 1. Write script using the arc template above
124
+ 2. `generate_speech` → narrate each section
125
+ 3. `generate_image` or `generate_video` per scene (with visual direction from script)
126
+ 4. `generate_music` → background track matching the energy arc
127
+ 5. Compose in Remotion or FFmpeg following the timing structure
128
+ 6. `transcribe_audio` → generate captions for accessibility
129
+
130
+ **AI-Assisted Scripting:**
131
+ Use `chat_send_message` with a video-capable model to brainstorm scripts. Feed the arc template as context and ask the AI to fill in each section for your topic.
132
+
133
+ **Creative Director for Visual Storyboarding:**
134
+ `generate_creative_director` with 4-8 scenes mapped to the arc sections:
135
+ - Scene 1: Hook visual
136
+ - Scene 2-3: Concept visuals
137
+ - Scene 4: Key insight / "aha" visual
138
+ - Scene 5-6: Proof / example
139
+ - Scene 7-8: Close / callback
@@ -0,0 +1,277 @@
1
+ ---
2
+ name: subagent-driven-development
3
+ description: Use when executing implementation plans with independent tasks in the current session
4
+ ---
5
+
6
+ # Subagent-Driven Development
7
+
8
+ Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.
9
+
10
+ **Why subagents:** You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
11
+
12
+ **Core principle:** Fresh subagent per task + two-stage review (spec then quality) = high quality, fast iteration
13
+
14
+ ## When to Use
15
+
16
+ ```dot
17
+ digraph when_to_use {
18
+ "Have implementation plan?" [shape=diamond];
19
+ "Tasks mostly independent?" [shape=diamond];
20
+ "Stay in this session?" [shape=diamond];
21
+ "subagent-driven-development" [shape=box];
22
+ "executing-plans" [shape=box];
23
+ "Manual execution or brainstorm first" [shape=box];
24
+
25
+ "Have implementation plan?" -> "Tasks mostly independent?" [label="yes"];
26
+ "Have implementation plan?" -> "Manual execution or brainstorm first" [label="no"];
27
+ "Tasks mostly independent?" -> "Stay in this session?" [label="yes"];
28
+ "Tasks mostly independent?" -> "Manual execution or brainstorm first" [label="no - tightly coupled"];
29
+ "Stay in this session?" -> "subagent-driven-development" [label="yes"];
30
+ "Stay in this session?" -> "executing-plans" [label="no - parallel session"];
31
+ }
32
+ ```
33
+
34
+ **vs. Executing Plans (parallel session):**
35
+ - Same session (no context switch)
36
+ - Fresh subagent per task (no context pollution)
37
+ - Two-stage review after each task: spec compliance first, then code quality
38
+ - Faster iteration (no human-in-loop between tasks)
39
+
40
+ ## The Process
41
+
42
+ ```dot
43
+ digraph process {
44
+ rankdir=TB;
45
+
46
+ subgraph cluster_per_task {
47
+ label="Per Task";
48
+ "Dispatch implementer subagent (./implementer-prompt.md)" [shape=box];
49
+ "Implementer subagent asks questions?" [shape=diamond];
50
+ "Answer questions, provide context" [shape=box];
51
+ "Implementer subagent implements, tests, commits, self-reviews" [shape=box];
52
+ "Dispatch spec reviewer subagent (./spec-reviewer-prompt.md)" [shape=box];
53
+ "Spec reviewer subagent confirms code matches spec?" [shape=diamond];
54
+ "Implementer subagent fixes spec gaps" [shape=box];
55
+ "Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" [shape=box];
56
+ "Code quality reviewer subagent approves?" [shape=diamond];
57
+ "Implementer subagent fixes quality issues" [shape=box];
58
+ "Mark task complete in TodoWrite" [shape=box];
59
+ }
60
+
61
+ "Read plan, extract all tasks with full text, note context, create TodoWrite" [shape=box];
62
+ "More tasks remain?" [shape=diamond];
63
+ "Dispatch final code reviewer subagent for entire implementation" [shape=box];
64
+ "Use superpowers:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
65
+
66
+ "Read plan, extract all tasks with full text, note context, create TodoWrite" -> "Dispatch implementer subagent (./implementer-prompt.md)";
67
+ "Dispatch implementer subagent (./implementer-prompt.md)" -> "Implementer subagent asks questions?";
68
+ "Implementer subagent asks questions?" -> "Answer questions, provide context" [label="yes"];
69
+ "Answer questions, provide context" -> "Dispatch implementer subagent (./implementer-prompt.md)";
70
+ "Implementer subagent asks questions?" -> "Implementer subagent implements, tests, commits, self-reviews" [label="no"];
71
+ "Implementer subagent implements, tests, commits, self-reviews" -> "Dispatch spec reviewer subagent (./spec-reviewer-prompt.md)";
72
+ "Dispatch spec reviewer subagent (./spec-reviewer-prompt.md)" -> "Spec reviewer subagent confirms code matches spec?";
73
+ "Spec reviewer subagent confirms code matches spec?" -> "Implementer subagent fixes spec gaps" [label="no"];
74
+ "Implementer subagent fixes spec gaps" -> "Dispatch spec reviewer subagent (./spec-reviewer-prompt.md)" [label="re-review"];
75
+ "Spec reviewer subagent confirms code matches spec?" -> "Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" [label="yes"];
76
+ "Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" -> "Code quality reviewer subagent approves?";
77
+ "Code quality reviewer subagent approves?" -> "Implementer subagent fixes quality issues" [label="no"];
78
+ "Implementer subagent fixes quality issues" -> "Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" [label="re-review"];
79
+ "Code quality reviewer subagent approves?" -> "Mark task complete in TodoWrite" [label="yes"];
80
+ "Mark task complete in TodoWrite" -> "More tasks remain?";
81
+ "More tasks remain?" -> "Dispatch implementer subagent (./implementer-prompt.md)" [label="yes"];
82
+ "More tasks remain?" -> "Dispatch final code reviewer subagent for entire implementation" [label="no"];
83
+ "Dispatch final code reviewer subagent for entire implementation" -> "Use superpowers:finishing-a-development-branch";
84
+ }
85
+ ```
86
+
87
+ ## Model Selection
88
+
89
+ Use the least powerful model that can handle each role to conserve cost and increase speed.
90
+
91
+ **Mechanical implementation tasks** (isolated functions, clear specs, 1-2 files): use a fast, cheap model. Most implementation tasks are mechanical when the plan is well-specified.
92
+
93
+ **Integration and judgment tasks** (multi-file coordination, pattern matching, debugging): use a standard model.
94
+
95
+ **Architecture, design, and review tasks**: use the most capable available model.
96
+
97
+ **Task complexity signals:**
98
+ - Touches 1-2 files with a complete spec → cheap model
99
+ - Touches multiple files with integration concerns → standard model
100
+ - Requires design judgment or broad codebase understanding → most capable model
101
+
102
+ ## Handling Implementer Status
103
+
104
+ Implementer subagents report one of four statuses. Handle each appropriately:
105
+
106
+ **DONE:** Proceed to spec compliance review.
107
+
108
+ **DONE_WITH_CONCERNS:** The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review.
109
+
110
+ **NEEDS_CONTEXT:** The implementer needs information that wasn't provided. Provide the missing context and re-dispatch.
111
+
112
+ **BLOCKED:** The implementer cannot complete the task. Assess the blocker:
113
+ 1. If it's a context problem, provide more context and re-dispatch with the same model
114
+ 2. If the task requires more reasoning, re-dispatch with a more capable model
115
+ 3. If the task is too large, break it into smaller pieces
116
+ 4. If the plan itself is wrong, escalate to the human
117
+
118
+ **Never** ignore an escalation or force the same model to retry without changes. If the implementer said it's stuck, something needs to change.
119
+
120
+ ## Prompt Templates
121
+
122
+ - `./implementer-prompt.md` - Dispatch implementer subagent
123
+ - `./spec-reviewer-prompt.md` - Dispatch spec compliance reviewer subagent
124
+ - `./code-quality-reviewer-prompt.md` - Dispatch code quality reviewer subagent
125
+
126
+ ## Example Workflow
127
+
128
+ ```
129
+ You: I'm using Subagent-Driven Development to execute this plan.
130
+
131
+ [Read plan file once: docs/superpowers/plans/feature-plan.md]
132
+ [Extract all 5 tasks with full text and context]
133
+ [Create TodoWrite with all tasks]
134
+
135
+ Task 1: Hook installation script
136
+
137
+ [Get Task 1 text and context (already extracted)]
138
+ [Dispatch implementation subagent with full task text + context]
139
+
140
+ Implementer: "Before I begin - should the hook be installed at user or system level?"
141
+
142
+ You: "User level (~/.config/superpowers/hooks/)"
143
+
144
+ Implementer: "Got it. Implementing now..."
145
+ [Later] Implementer:
146
+ - Implemented install-hook command
147
+ - Added tests, 5/5 passing
148
+ - Self-review: Found I missed --force flag, added it
149
+ - Committed
150
+
151
+ [Dispatch spec compliance reviewer]
152
+ Spec reviewer: ✅ Spec compliant - all requirements met, nothing extra
153
+
154
+ [Get git SHAs, dispatch code quality reviewer]
155
+ Code reviewer: Strengths: Good test coverage, clean. Issues: None. Approved.
156
+
157
+ [Mark Task 1 complete]
158
+
159
+ Task 2: Recovery modes
160
+
161
+ [Get Task 2 text and context (already extracted)]
162
+ [Dispatch implementation subagent with full task text + context]
163
+
164
+ Implementer: [No questions, proceeds]
165
+ Implementer:
166
+ - Added verify/repair modes
167
+ - 8/8 tests passing
168
+ - Self-review: All good
169
+ - Committed
170
+
171
+ [Dispatch spec compliance reviewer]
172
+ Spec reviewer: ❌ Issues:
173
+ - Missing: Progress reporting (spec says "report every 100 items")
174
+ - Extra: Added --json flag (not requested)
175
+
176
+ [Implementer fixes issues]
177
+ Implementer: Removed --json flag, added progress reporting
178
+
179
+ [Spec reviewer reviews again]
180
+ Spec reviewer: ✅ Spec compliant now
181
+
182
+ [Dispatch code quality reviewer]
183
+ Code reviewer: Strengths: Solid. Issues (Important): Magic number (100)
184
+
185
+ [Implementer fixes]
186
+ Implementer: Extracted PROGRESS_INTERVAL constant
187
+
188
+ [Code reviewer reviews again]
189
+ Code reviewer: ✅ Approved
190
+
191
+ [Mark Task 2 complete]
192
+
193
+ ...
194
+
195
+ [After all tasks]
196
+ [Dispatch final code-reviewer]
197
+ Final reviewer: All requirements met, ready to merge
198
+
199
+ Done!
200
+ ```
201
+
202
+ ## Advantages
203
+
204
+ **vs. Manual execution:**
205
+ - Subagents follow TDD naturally
206
+ - Fresh context per task (no confusion)
207
+ - Parallel-safe (subagents don't interfere)
208
+ - Subagent can ask questions (before AND during work)
209
+
210
+ **vs. Executing Plans:**
211
+ - Same session (no handoff)
212
+ - Continuous progress (no waiting)
213
+ - Review checkpoints automatic
214
+
215
+ **Efficiency gains:**
216
+ - No file reading overhead (controller provides full text)
217
+ - Controller curates exactly what context is needed
218
+ - Subagent gets complete information upfront
219
+ - Questions surfaced before work begins (not after)
220
+
221
+ **Quality gates:**
222
+ - Self-review catches issues before handoff
223
+ - Two-stage review: spec compliance, then code quality
224
+ - Review loops ensure fixes actually work
225
+ - Spec compliance prevents over/under-building
226
+ - Code quality ensures implementation is well-built
227
+
228
+ **Cost:**
229
+ - More subagent invocations (implementer + 2 reviewers per task)
230
+ - Controller does more prep work (extracting all tasks upfront)
231
+ - Review loops add iterations
232
+ - But catches issues early (cheaper than debugging later)
233
+
234
+ ## Red Flags
235
+
236
+ **Never:**
237
+ - Start implementation on main/master branch without explicit user consent
238
+ - Skip reviews (spec compliance OR code quality)
239
+ - Proceed with unfixed issues
240
+ - Dispatch multiple implementation subagents in parallel (conflicts)
241
+ - Make subagent read plan file (provide full text instead)
242
+ - Skip scene-setting context (subagent needs to understand where task fits)
243
+ - Ignore subagent questions (answer before letting them proceed)
244
+ - Accept "close enough" on spec compliance (spec reviewer found issues = not done)
245
+ - Skip review loops (reviewer found issues = implementer fixes = review again)
246
+ - Let implementer self-review replace actual review (both are needed)
247
+ - **Start code quality review before spec compliance is ✅** (wrong order)
248
+ - Move to next task while either review has open issues
249
+
250
+ **If subagent asks questions:**
251
+ - Answer clearly and completely
252
+ - Provide additional context if needed
253
+ - Don't rush them into implementation
254
+
255
+ **If reviewer finds issues:**
256
+ - Implementer (same subagent) fixes them
257
+ - Reviewer reviews again
258
+ - Repeat until approved
259
+ - Don't skip the re-review
260
+
261
+ **If subagent fails task:**
262
+ - Dispatch fix subagent with specific instructions
263
+ - Don't try to fix manually (context pollution)
264
+
265
+ ## Integration
266
+
267
+ **Required workflow skills:**
268
+ - **superpowers:using-git-worktrees** - REQUIRED: Set up isolated workspace before starting
269
+ - **superpowers:writing-plans** - Creates the plan this skill executes
270
+ - **superpowers:requesting-code-review** - Code review template for reviewer subagents
271
+ - **superpowers:finishing-a-development-branch** - Complete development after all tasks
272
+
273
+ **Subagents should use:**
274
+ - **superpowers:test-driven-development** - Subagents follow TDD for each task
275
+
276
+ **Alternative workflow:**
277
+ - **superpowers:executing-plans** - Use for parallel session instead of same-session execution
@@ -0,0 +1,26 @@
1
+ # Code Quality Reviewer Prompt Template
2
+
3
+ Use this template when dispatching a code quality reviewer subagent.
4
+
5
+ **Purpose:** Verify implementation is well-built (clean, tested, maintainable)
6
+
7
+ **Only dispatch after spec compliance review passes.**
8
+
9
+ ```
10
+ Task tool (superpowers:code-reviewer):
11
+ Use template at requesting-code-review/code-reviewer.md
12
+
13
+ WHAT_WAS_IMPLEMENTED: [from implementer's report]
14
+ PLAN_OR_REQUIREMENTS: Task N from [plan-file]
15
+ BASE_SHA: [commit before task]
16
+ HEAD_SHA: [current commit]
17
+ DESCRIPTION: [task summary]
18
+ ```
19
+
20
+ **In addition to standard code quality concerns, the reviewer should check:**
21
+ - Does each file have one clear responsibility with a well-defined interface?
22
+ - Are units decomposed so they can be understood and tested independently?
23
+ - Is the implementation following the file structure from the plan?
24
+ - Did this implementation create new files that are already large, or significantly grow existing files? (Don't flag pre-existing file sizes — focus on what this change contributed.)
25
+
26
+ **Code reviewer returns:** Strengths, Issues (Critical/Important/Minor), Assessment