@bastani/atomic 0.5.11 → 0.5.12-0

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 (506) hide show
  1. package/.agents/skills/adapt/SKILL.md +199 -0
  2. package/.agents/skills/advanced-evaluation/SKILL.md +402 -0
  3. package/.agents/skills/advanced-evaluation/references/bias-mitigation.md +288 -0
  4. package/.agents/skills/advanced-evaluation/references/evaluation-pipeline.md +43 -0
  5. package/.agents/skills/advanced-evaluation/references/implementation-patterns.md +315 -0
  6. package/.agents/skills/advanced-evaluation/references/metrics-guide.md +331 -0
  7. package/.agents/skills/advanced-evaluation/scripts/evaluation_example.py +392 -0
  8. package/.agents/skills/animate/SKILL.md +175 -0
  9. package/.agents/skills/arrange/SKILL.md +124 -0
  10. package/.agents/skills/audit/SKILL.md +148 -0
  11. package/.agents/skills/bdi-mental-states/SKILL.md +311 -0
  12. package/.agents/skills/bdi-mental-states/references/bdi-ontology-core.md +207 -0
  13. package/.agents/skills/bdi-mental-states/references/framework-integration.md +582 -0
  14. package/.agents/skills/bdi-mental-states/references/rdf-examples.md +315 -0
  15. package/.agents/skills/bdi-mental-states/references/sparql-competency.md +420 -0
  16. package/.agents/skills/bolder/SKILL.md +117 -0
  17. package/.agents/skills/bun/SKILL.md +199 -0
  18. package/.agents/skills/clarify/SKILL.md +183 -0
  19. package/.agents/skills/colorize/SKILL.md +143 -0
  20. package/.agents/skills/context-compression/SKILL.md +272 -0
  21. package/.agents/skills/context-compression/references/evaluation-framework.md +213 -0
  22. package/.agents/skills/context-compression/scripts/compression_evaluator.py +862 -0
  23. package/.agents/skills/context-compression/tests/test_compression_evaluator.py +56 -0
  24. package/.agents/skills/context-degradation/SKILL.md +206 -0
  25. package/.agents/skills/context-degradation/references/patterns.md +314 -0
  26. package/.agents/skills/context-degradation/scripts/degradation_detector.py +614 -0
  27. package/.agents/skills/context-fundamentals/SKILL.md +201 -0
  28. package/.agents/skills/context-fundamentals/references/context-components.md +283 -0
  29. package/.agents/skills/context-fundamentals/scripts/context_manager.py +533 -0
  30. package/.agents/skills/context-optimization/SKILL.md +195 -0
  31. package/.agents/skills/context-optimization/references/optimization_techniques.md +272 -0
  32. package/.agents/skills/context-optimization/scripts/compaction.py +562 -0
  33. package/.agents/skills/create-spec/SKILL.md +244 -0
  34. package/.agents/skills/critique/SKILL.md +225 -0
  35. package/.agents/skills/critique/reference/cognitive-load.md +106 -0
  36. package/.agents/skills/critique/reference/heuristics-scoring.md +234 -0
  37. package/.agents/skills/critique/reference/personas.md +178 -0
  38. package/.agents/skills/delight/SKILL.md +304 -0
  39. package/.agents/skills/distill/SKILL.md +122 -0
  40. package/.agents/skills/docx/LICENSE.txt +30 -0
  41. package/.agents/skills/docx/SKILL.md +590 -0
  42. package/.agents/skills/docx/scripts/__init__.py +1 -0
  43. package/.agents/skills/docx/scripts/accept_changes.py +135 -0
  44. package/.agents/skills/docx/scripts/comment.py +318 -0
  45. package/.agents/skills/docx/scripts/office/helpers/__init__.py +0 -0
  46. package/.agents/skills/docx/scripts/office/helpers/merge_runs.py +199 -0
  47. package/.agents/skills/docx/scripts/office/helpers/simplify_redlines.py +197 -0
  48. package/.agents/skills/docx/scripts/office/pack.py +159 -0
  49. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  50. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  51. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  52. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  53. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  54. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  55. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  56. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  57. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  58. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  59. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  60. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  61. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  62. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  63. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  64. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  65. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  66. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  67. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  68. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  69. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  70. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  71. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  72. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  73. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  74. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  75. package/.agents/skills/docx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  76. package/.agents/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  77. package/.agents/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  78. package/.agents/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  79. package/.agents/skills/docx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  80. package/.agents/skills/docx/scripts/office/schemas/mce/mc.xsd +75 -0
  81. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  82. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  83. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  84. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  85. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  86. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  87. package/.agents/skills/docx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  88. package/.agents/skills/docx/scripts/office/soffice.py +183 -0
  89. package/.agents/skills/docx/scripts/office/unpack.py +132 -0
  90. package/.agents/skills/docx/scripts/office/validate.py +111 -0
  91. package/.agents/skills/docx/scripts/office/validators/__init__.py +15 -0
  92. package/.agents/skills/docx/scripts/office/validators/base.py +847 -0
  93. package/.agents/skills/docx/scripts/office/validators/docx.py +446 -0
  94. package/.agents/skills/docx/scripts/office/validators/pptx.py +275 -0
  95. package/.agents/skills/docx/scripts/office/validators/redlining.py +247 -0
  96. package/.agents/skills/docx/scripts/templates/comments.xml +3 -0
  97. package/.agents/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  98. package/.agents/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  99. package/.agents/skills/docx/scripts/templates/commentsIds.xml +3 -0
  100. package/.agents/skills/docx/scripts/templates/people.xml +3 -0
  101. package/.agents/skills/evaluation/SKILL.md +251 -0
  102. package/.agents/skills/evaluation/references/metrics.md +339 -0
  103. package/.agents/skills/evaluation/scripts/evaluator.py +627 -0
  104. package/.agents/skills/explain-code/SKILL.md +230 -0
  105. package/.agents/skills/extract/SKILL.md +91 -0
  106. package/.agents/skills/filesystem-context/SKILL.md +287 -0
  107. package/.agents/skills/filesystem-context/references/implementation-patterns.md +549 -0
  108. package/.agents/skills/filesystem-context/scripts/filesystem_context.py +425 -0
  109. package/.agents/skills/find-skills/SKILL.md +142 -0
  110. package/.agents/skills/frontend-design/SKILL.md +147 -0
  111. package/.agents/skills/frontend-design/reference/color-and-contrast.md +132 -0
  112. package/.agents/skills/frontend-design/reference/interaction-design.md +195 -0
  113. package/.agents/skills/frontend-design/reference/motion-design.md +99 -0
  114. package/.agents/skills/frontend-design/reference/responsive-design.md +114 -0
  115. package/.agents/skills/frontend-design/reference/spatial-design.md +100 -0
  116. package/.agents/skills/frontend-design/reference/typography.md +133 -0
  117. package/.agents/skills/frontend-design/reference/ux-writing.md +107 -0
  118. package/.agents/skills/gh-commit/SKILL.md +243 -0
  119. package/.agents/skills/gh-create-pr/SKILL.md +93 -0
  120. package/.agents/skills/harden/SKILL.md +354 -0
  121. package/.agents/skills/hosted-agents/SKILL.md +260 -0
  122. package/.agents/skills/hosted-agents/references/infrastructure-patterns.md +700 -0
  123. package/.agents/skills/hosted-agents/scripts/sandbox_manager.py +590 -0
  124. package/.agents/skills/impeccable/SKILL.md +365 -0
  125. package/.agents/skills/impeccable/reference/color-and-contrast.md +105 -0
  126. package/.agents/skills/impeccable/reference/craft.md +70 -0
  127. package/.agents/skills/impeccable/reference/extract.md +70 -0
  128. package/.agents/skills/impeccable/reference/interaction-design.md +195 -0
  129. package/.agents/skills/impeccable/reference/motion-design.md +99 -0
  130. package/.agents/skills/impeccable/reference/responsive-design.md +114 -0
  131. package/.agents/skills/impeccable/reference/spatial-design.md +100 -0
  132. package/.agents/skills/impeccable/reference/typography.md +142 -0
  133. package/.agents/skills/impeccable/reference/ux-writing.md +107 -0
  134. package/.agents/skills/impeccable/scripts/cleanup-deprecated.mjs +214 -0
  135. package/.agents/skills/init/SKILL.md +138 -0
  136. package/.agents/skills/layout/SKILL.md +125 -0
  137. package/.agents/skills/liteparse/SKILL.md +222 -0
  138. package/.agents/skills/memory-systems/SKILL.md +219 -0
  139. package/.agents/skills/memory-systems/references/implementation.md +551 -0
  140. package/.agents/skills/memory-systems/scripts/memory_store.py +616 -0
  141. package/.agents/skills/multi-agent-patterns/SKILL.md +257 -0
  142. package/.agents/skills/multi-agent-patterns/references/frameworks.md +433 -0
  143. package/.agents/skills/multi-agent-patterns/scripts/coordination.py +613 -0
  144. package/.agents/skills/normalize/SKILL.md +70 -0
  145. package/.agents/skills/onboard/SKILL.md +245 -0
  146. package/.agents/skills/opentui/SKILL.md +201 -0
  147. package/.agents/skills/opentui/references/animation/REFERENCE.md +431 -0
  148. package/.agents/skills/opentui/references/components/REFERENCE.md +144 -0
  149. package/.agents/skills/opentui/references/components/code-diff.md +672 -0
  150. package/.agents/skills/opentui/references/components/containers.md +417 -0
  151. package/.agents/skills/opentui/references/components/inputs.md +531 -0
  152. package/.agents/skills/opentui/references/components/text-display.md +386 -0
  153. package/.agents/skills/opentui/references/core/REFERENCE.md +145 -0
  154. package/.agents/skills/opentui/references/core/api.md +543 -0
  155. package/.agents/skills/opentui/references/core/configuration.md +168 -0
  156. package/.agents/skills/opentui/references/core/gotchas.md +393 -0
  157. package/.agents/skills/opentui/references/core/patterns.md +449 -0
  158. package/.agents/skills/opentui/references/keyboard/REFERENCE.md +617 -0
  159. package/.agents/skills/opentui/references/layout/REFERENCE.md +337 -0
  160. package/.agents/skills/opentui/references/layout/patterns.md +444 -0
  161. package/.agents/skills/opentui/references/react/REFERENCE.md +174 -0
  162. package/.agents/skills/opentui/references/react/api.md +436 -0
  163. package/.agents/skills/opentui/references/react/configuration.md +302 -0
  164. package/.agents/skills/opentui/references/react/gotchas.md +443 -0
  165. package/.agents/skills/opentui/references/react/patterns.md +501 -0
  166. package/.agents/skills/opentui/references/solid/REFERENCE.md +201 -0
  167. package/.agents/skills/opentui/references/solid/api.md +564 -0
  168. package/.agents/skills/opentui/references/solid/configuration.md +316 -0
  169. package/.agents/skills/opentui/references/solid/gotchas.md +427 -0
  170. package/.agents/skills/opentui/references/solid/patterns.md +560 -0
  171. package/.agents/skills/opentui/references/testing/REFERENCE.md +614 -0
  172. package/.agents/skills/optimize/SKILL.md +266 -0
  173. package/.agents/skills/overdrive/SKILL.md +142 -0
  174. package/.agents/skills/pdf/LICENSE.txt +30 -0
  175. package/.agents/skills/pdf/SKILL.md +314 -0
  176. package/.agents/skills/pdf/forms.md +294 -0
  177. package/.agents/skills/pdf/reference.md +612 -0
  178. package/.agents/skills/pdf/scripts/check_bounding_boxes.py +65 -0
  179. package/.agents/skills/pdf/scripts/check_fillable_fields.py +11 -0
  180. package/.agents/skills/pdf/scripts/convert_pdf_to_images.py +33 -0
  181. package/.agents/skills/pdf/scripts/create_validation_image.py +37 -0
  182. package/.agents/skills/pdf/scripts/extract_form_field_info.py +122 -0
  183. package/.agents/skills/pdf/scripts/extract_form_structure.py +115 -0
  184. package/.agents/skills/pdf/scripts/fill_fillable_fields.py +98 -0
  185. package/.agents/skills/pdf/scripts/fill_pdf_form_with_annotations.py +107 -0
  186. package/.agents/skills/playwright-cli/SKILL.md +344 -0
  187. package/.agents/skills/playwright-cli/references/element-attributes.md +23 -0
  188. package/.agents/skills/playwright-cli/references/playwright-tests.md +39 -0
  189. package/.agents/skills/playwright-cli/references/request-mocking.md +87 -0
  190. package/.agents/skills/playwright-cli/references/running-code.md +231 -0
  191. package/.agents/skills/playwright-cli/references/session-management.md +169 -0
  192. package/.agents/skills/playwright-cli/references/storage-state.md +275 -0
  193. package/.agents/skills/playwright-cli/references/test-generation.md +88 -0
  194. package/.agents/skills/playwright-cli/references/tracing.md +139 -0
  195. package/.agents/skills/playwright-cli/references/video-recording.md +143 -0
  196. package/.agents/skills/polish/SKILL.md +224 -0
  197. package/.agents/skills/pptx/LICENSE.txt +30 -0
  198. package/.agents/skills/pptx/SKILL.md +232 -0
  199. package/.agents/skills/pptx/editing.md +205 -0
  200. package/.agents/skills/pptx/pptxgenjs.md +420 -0
  201. package/.agents/skills/pptx/scripts/__init__.py +0 -0
  202. package/.agents/skills/pptx/scripts/add_slide.py +195 -0
  203. package/.agents/skills/pptx/scripts/clean.py +286 -0
  204. package/.agents/skills/pptx/scripts/office/helpers/__init__.py +0 -0
  205. package/.agents/skills/pptx/scripts/office/helpers/merge_runs.py +199 -0
  206. package/.agents/skills/pptx/scripts/office/helpers/simplify_redlines.py +197 -0
  207. package/.agents/skills/pptx/scripts/office/pack.py +159 -0
  208. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  209. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  210. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  211. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  212. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  213. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  214. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  215. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  216. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  217. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  218. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  219. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  220. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  221. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  222. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  223. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  224. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  225. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  226. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  227. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  228. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  229. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  230. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  231. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  232. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  233. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  234. package/.agents/skills/pptx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  235. package/.agents/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  236. package/.agents/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  237. package/.agents/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  238. package/.agents/skills/pptx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  239. package/.agents/skills/pptx/scripts/office/schemas/mce/mc.xsd +75 -0
  240. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  241. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  242. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  243. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  244. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  245. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  246. package/.agents/skills/pptx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  247. package/.agents/skills/pptx/scripts/office/soffice.py +183 -0
  248. package/.agents/skills/pptx/scripts/office/unpack.py +132 -0
  249. package/.agents/skills/pptx/scripts/office/validate.py +111 -0
  250. package/.agents/skills/pptx/scripts/office/validators/__init__.py +15 -0
  251. package/.agents/skills/pptx/scripts/office/validators/base.py +847 -0
  252. package/.agents/skills/pptx/scripts/office/validators/docx.py +446 -0
  253. package/.agents/skills/pptx/scripts/office/validators/pptx.py +275 -0
  254. package/.agents/skills/pptx/scripts/office/validators/redlining.py +247 -0
  255. package/.agents/skills/pptx/scripts/thumbnail.py +289 -0
  256. package/.agents/skills/project-development/SKILL.md +291 -0
  257. package/.agents/skills/project-development/references/case-studies.md +388 -0
  258. package/.agents/skills/project-development/references/pipeline-patterns.md +610 -0
  259. package/.agents/skills/project-development/scripts/pipeline_template.py +796 -0
  260. package/.agents/skills/prompt-engineer/SKILL.md +263 -0
  261. package/.agents/skills/prompt-engineer/references/advanced_patterns.md +271 -0
  262. package/.agents/skills/prompt-engineer/references/core_prompting.md +137 -0
  263. package/.agents/skills/prompt-engineer/references/quality_improvement.md +193 -0
  264. package/.agents/skills/quieter/SKILL.md +103 -0
  265. package/.agents/skills/research-codebase/SKILL.md +227 -0
  266. package/.agents/skills/shape/SKILL.md +96 -0
  267. package/.agents/skills/skill-creator/LICENSE.txt +202 -0
  268. package/.agents/skills/skill-creator/SKILL.md +485 -0
  269. package/.agents/skills/skill-creator/agents/analyzer.md +274 -0
  270. package/.agents/skills/skill-creator/agents/comparator.md +202 -0
  271. package/.agents/skills/skill-creator/agents/grader.md +223 -0
  272. package/.agents/skills/skill-creator/assets/eval_review.html +146 -0
  273. package/.agents/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  274. package/.agents/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  275. package/.agents/skills/skill-creator/references/schemas.md +430 -0
  276. package/.agents/skills/skill-creator/scripts/__init__.py +0 -0
  277. package/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  278. package/.agents/skills/skill-creator/scripts/generate_report.py +326 -0
  279. package/.agents/skills/skill-creator/scripts/improve_description.py +247 -0
  280. package/.agents/skills/skill-creator/scripts/package_skill.py +136 -0
  281. package/.agents/skills/skill-creator/scripts/quick_validate.py +103 -0
  282. package/.agents/skills/skill-creator/scripts/run_eval.py +310 -0
  283. package/.agents/skills/skill-creator/scripts/run_loop.py +328 -0
  284. package/.agents/skills/skill-creator/scripts/utils.py +47 -0
  285. package/.agents/skills/sl-commit/SKILL.md +51 -0
  286. package/.agents/skills/sl-submit-diff/SKILL.md +55 -0
  287. package/.agents/skills/teach-impeccable/SKILL.md +71 -0
  288. package/.agents/skills/test-driven-development/SKILL.md +371 -0
  289. package/.agents/skills/test-driven-development/testing-anti-patterns.md +299 -0
  290. package/.agents/skills/tool-design/SKILL.md +271 -0
  291. package/.agents/skills/tool-design/references/architectural_reduction.md +210 -0
  292. package/.agents/skills/tool-design/references/best_practices.md +176 -0
  293. package/.agents/skills/tool-design/scripts/description_generator.py +528 -0
  294. package/.agents/skills/typescript-advanced-types/SKILL.md +719 -0
  295. package/.agents/skills/typescript-expert/SKILL.md +428 -0
  296. package/.agents/skills/typescript-expert/references/tsconfig-strict.json +92 -0
  297. package/.agents/skills/typescript-expert/references/typescript-cheatsheet.md +383 -0
  298. package/.agents/skills/typescript-expert/references/utility-types.ts +335 -0
  299. package/.agents/skills/typescript-expert/scripts/ts_diagnostic.py +203 -0
  300. package/.agents/skills/typescript-react-reviewer/SKILL.md +200 -0
  301. package/.agents/skills/typescript-react-reviewer/references/antipatterns.md +510 -0
  302. package/.agents/skills/typescript-react-reviewer/references/checklist.md +267 -0
  303. package/.agents/skills/typescript-react-reviewer/references/react19-patterns.md +305 -0
  304. package/.agents/skills/typeset/SKILL.md +116 -0
  305. package/.agents/skills/workflow-creator/SKILL.md +337 -0
  306. package/.agents/skills/workflow-creator/references/agent-sessions.md +789 -0
  307. package/.agents/skills/workflow-creator/references/computation-and-validation.md +224 -0
  308. package/.agents/skills/workflow-creator/references/control-flow.md +450 -0
  309. package/.agents/skills/workflow-creator/references/discovery-and-verification.md +156 -0
  310. package/.agents/skills/workflow-creator/references/failure-modes.md +732 -0
  311. package/.agents/skills/workflow-creator/references/getting-started.md +289 -0
  312. package/.agents/skills/workflow-creator/references/session-config.md +355 -0
  313. package/.agents/skills/workflow-creator/references/state-and-data-flow.md +374 -0
  314. package/.agents/skills/workflow-creator/references/user-input.md +206 -0
  315. package/.agents/skills/workflow-creator/references/workflow-inputs.md +274 -0
  316. package/.agents/skills/xlsx/LICENSE.txt +30 -0
  317. package/.agents/skills/xlsx/SKILL.md +292 -0
  318. package/.agents/skills/xlsx/scripts/office/helpers/__init__.py +0 -0
  319. package/.agents/skills/xlsx/scripts/office/helpers/merge_runs.py +199 -0
  320. package/.agents/skills/xlsx/scripts/office/helpers/simplify_redlines.py +197 -0
  321. package/.agents/skills/xlsx/scripts/office/pack.py +159 -0
  322. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  323. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  324. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  325. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  326. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  327. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  328. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  329. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  330. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  331. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  332. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  333. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  334. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  335. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  336. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  337. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  338. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  339. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  340. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  341. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  342. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  343. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  344. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  345. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  346. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  347. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  348. package/.agents/skills/xlsx/scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  349. package/.agents/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  350. package/.agents/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  351. package/.agents/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  352. package/.agents/skills/xlsx/scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  353. package/.agents/skills/xlsx/scripts/office/schemas/mce/mc.xsd +75 -0
  354. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-2010.xsd +560 -0
  355. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-2012.xsd +67 -0
  356. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-2018.xsd +14 -0
  357. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-cex-2018.xsd +20 -0
  358. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-cid-2016.xsd +13 -0
  359. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  360. package/.agents/skills/xlsx/scripts/office/schemas/microsoft/wml-symex-2015.xsd +8 -0
  361. package/.agents/skills/xlsx/scripts/office/soffice.py +183 -0
  362. package/.agents/skills/xlsx/scripts/office/unpack.py +132 -0
  363. package/.agents/skills/xlsx/scripts/office/validate.py +111 -0
  364. package/.agents/skills/xlsx/scripts/office/validators/__init__.py +15 -0
  365. package/.agents/skills/xlsx/scripts/office/validators/base.py +847 -0
  366. package/.agents/skills/xlsx/scripts/office/validators/docx.py +446 -0
  367. package/.agents/skills/xlsx/scripts/office/validators/pptx.py +275 -0
  368. package/.agents/skills/xlsx/scripts/office/validators/redlining.py +247 -0
  369. package/.agents/skills/xlsx/scripts/recalc.py +184 -0
  370. package/.claude/agents/reviewer.md +1 -0
  371. package/.github/agents/reviewer.md +1 -0
  372. package/.opencode/agents/reviewer.md +1 -0
  373. package/README.md +274 -169
  374. package/package.json +6 -7
  375. package/src/commands/cli/init/index.ts +2 -2
  376. package/src/commands/cli/init/scm.ts +7 -8
  377. package/src/commands/cli/workflow-command.test.ts +74 -0
  378. package/src/commands/cli/workflow.ts +7 -2
  379. package/src/scripts/bundle-configs.ts +128 -0
  380. package/src/sdk/components/compact-switcher.tsx +1 -1
  381. package/src/sdk/components/orchestrator-panel-store.ts +13 -0
  382. package/src/sdk/components/orchestrator-panel.tsx +10 -0
  383. package/src/sdk/components/statusline.tsx +13 -1
  384. package/src/sdk/providers/claude.ts +42 -0
  385. package/src/sdk/runtime/executor.ts +111 -32
  386. package/src/sdk/types.ts +7 -0
  387. package/src/sdk/workflows/builtin/ralph/claude/index.ts +132 -76
  388. package/src/sdk/workflows/builtin/ralph/copilot/index.ts +129 -71
  389. package/src/sdk/workflows/builtin/ralph/helpers/git.ts +184 -17
  390. package/src/sdk/workflows/builtin/ralph/helpers/prompts.ts +463 -79
  391. package/src/sdk/workflows/builtin/ralph/opencode/index.ts +124 -80
  392. package/src/services/system/auto-sync.ts +31 -51
  393. package/src/services/system/skills.ts +56 -60
  394. package/dist/lib/path-root-guard.d.ts +0 -4
  395. package/dist/lib/path-root-guard.d.ts.map +0 -1
  396. package/dist/sdk/components/color-utils.d.ts +0 -4
  397. package/dist/sdk/components/color-utils.d.ts.map +0 -1
  398. package/dist/sdk/components/compact-switcher.d.ts +0 -10
  399. package/dist/sdk/components/compact-switcher.d.ts.map +0 -1
  400. package/dist/sdk/components/connectors.d.ts +0 -15
  401. package/dist/sdk/components/connectors.d.ts.map +0 -1
  402. package/dist/sdk/components/connectors.test.d.ts +0 -2
  403. package/dist/sdk/components/connectors.test.d.ts.map +0 -1
  404. package/dist/sdk/components/edge.d.ts +0 -4
  405. package/dist/sdk/components/edge.d.ts.map +0 -1
  406. package/dist/sdk/components/error-boundary.d.ts +0 -23
  407. package/dist/sdk/components/error-boundary.d.ts.map +0 -1
  408. package/dist/sdk/components/graph-theme.d.ts +0 -17
  409. package/dist/sdk/components/graph-theme.d.ts.map +0 -1
  410. package/dist/sdk/components/header.d.ts +0 -3
  411. package/dist/sdk/components/header.d.ts.map +0 -1
  412. package/dist/sdk/components/hooks.d.ts +0 -15
  413. package/dist/sdk/components/hooks.d.ts.map +0 -1
  414. package/dist/sdk/components/layout.d.ts +0 -27
  415. package/dist/sdk/components/layout.d.ts.map +0 -1
  416. package/dist/sdk/components/layout.test.d.ts +0 -2
  417. package/dist/sdk/components/layout.test.d.ts.map +0 -1
  418. package/dist/sdk/components/node-card.d.ts +0 -10
  419. package/dist/sdk/components/node-card.d.ts.map +0 -1
  420. package/dist/sdk/components/orchestrator-panel-contexts.d.ts +0 -16
  421. package/dist/sdk/components/orchestrator-panel-contexts.d.ts.map +0 -1
  422. package/dist/sdk/components/orchestrator-panel-store.d.ts +0 -46
  423. package/dist/sdk/components/orchestrator-panel-store.d.ts.map +0 -1
  424. package/dist/sdk/components/orchestrator-panel-store.test.d.ts +0 -2
  425. package/dist/sdk/components/orchestrator-panel-store.test.d.ts.map +0 -1
  426. package/dist/sdk/components/orchestrator-panel-types.d.ts +0 -18
  427. package/dist/sdk/components/orchestrator-panel-types.d.ts.map +0 -1
  428. package/dist/sdk/components/orchestrator-panel.d.ts +0 -52
  429. package/dist/sdk/components/orchestrator-panel.d.ts.map +0 -1
  430. package/dist/sdk/components/session-graph-panel.d.ts +0 -7
  431. package/dist/sdk/components/session-graph-panel.d.ts.map +0 -1
  432. package/dist/sdk/components/status-helpers.d.ts +0 -6
  433. package/dist/sdk/components/status-helpers.d.ts.map +0 -1
  434. package/dist/sdk/components/statusline.d.ts +0 -7
  435. package/dist/sdk/components/statusline.d.ts.map +0 -1
  436. package/dist/sdk/components/workflow-picker-panel.d.ts +0 -123
  437. package/dist/sdk/components/workflow-picker-panel.d.ts.map +0 -1
  438. package/dist/sdk/define-workflow.d.ts +0 -78
  439. package/dist/sdk/define-workflow.d.ts.map +0 -1
  440. package/dist/sdk/define-workflow.test.d.ts +0 -2
  441. package/dist/sdk/define-workflow.test.d.ts.map +0 -1
  442. package/dist/sdk/errors.d.ts +0 -24
  443. package/dist/sdk/errors.d.ts.map +0 -1
  444. package/dist/sdk/errors.test.d.ts +0 -2
  445. package/dist/sdk/errors.test.d.ts.map +0 -1
  446. package/dist/sdk/index.d.ts +0 -13
  447. package/dist/sdk/index.d.ts.map +0 -1
  448. package/dist/sdk/providers/claude.d.ts +0 -170
  449. package/dist/sdk/providers/claude.d.ts.map +0 -1
  450. package/dist/sdk/providers/copilot.d.ts +0 -11
  451. package/dist/sdk/providers/copilot.d.ts.map +0 -1
  452. package/dist/sdk/providers/opencode.d.ts +0 -11
  453. package/dist/sdk/providers/opencode.d.ts.map +0 -1
  454. package/dist/sdk/runtime/discovery.d.ts +0 -86
  455. package/dist/sdk/runtime/discovery.d.ts.map +0 -1
  456. package/dist/sdk/runtime/executor-entry.d.ts +0 -11
  457. package/dist/sdk/runtime/executor-entry.d.ts.map +0 -1
  458. package/dist/sdk/runtime/executor.d.ts +0 -72
  459. package/dist/sdk/runtime/executor.d.ts.map +0 -1
  460. package/dist/sdk/runtime/executor.test.d.ts +0 -2
  461. package/dist/sdk/runtime/executor.test.d.ts.map +0 -1
  462. package/dist/sdk/runtime/graph-inference.d.ts +0 -35
  463. package/dist/sdk/runtime/graph-inference.d.ts.map +0 -1
  464. package/dist/sdk/runtime/loader.d.ts +0 -70
  465. package/dist/sdk/runtime/loader.d.ts.map +0 -1
  466. package/dist/sdk/runtime/panel.d.ts +0 -9
  467. package/dist/sdk/runtime/panel.d.ts.map +0 -1
  468. package/dist/sdk/runtime/theme.d.ts +0 -28
  469. package/dist/sdk/runtime/theme.d.ts.map +0 -1
  470. package/dist/sdk/runtime/tmux.d.ts +0 -297
  471. package/dist/sdk/runtime/tmux.d.ts.map +0 -1
  472. package/dist/sdk/types.d.ts +0 -295
  473. package/dist/sdk/types.d.ts.map +0 -1
  474. package/dist/sdk/workflows/builtin/deep-research-codebase/claude/index.d.ts +0 -62
  475. package/dist/sdk/workflows/builtin/deep-research-codebase/claude/index.d.ts.map +0 -1
  476. package/dist/sdk/workflows/builtin/deep-research-codebase/copilot/index.d.ts +0 -46
  477. package/dist/sdk/workflows/builtin/deep-research-codebase/copilot/index.d.ts.map +0 -1
  478. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/heuristic.d.ts +0 -26
  479. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/heuristic.d.ts.map +0 -1
  480. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/prompts.d.ts +0 -92
  481. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/prompts.d.ts.map +0 -1
  482. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/scout.d.ts +0 -57
  483. package/dist/sdk/workflows/builtin/deep-research-codebase/helpers/scout.d.ts.map +0 -1
  484. package/dist/sdk/workflows/builtin/deep-research-codebase/opencode/index.d.ts +0 -49
  485. package/dist/sdk/workflows/builtin/deep-research-codebase/opencode/index.d.ts.map +0 -1
  486. package/dist/sdk/workflows/builtin/ralph/claude/index.d.ts +0 -14
  487. package/dist/sdk/workflows/builtin/ralph/claude/index.d.ts.map +0 -1
  488. package/dist/sdk/workflows/builtin/ralph/copilot/index.d.ts +0 -14
  489. package/dist/sdk/workflows/builtin/ralph/copilot/index.d.ts.map +0 -1
  490. package/dist/sdk/workflows/builtin/ralph/helpers/git.d.ts +0 -17
  491. package/dist/sdk/workflows/builtin/ralph/helpers/git.d.ts.map +0 -1
  492. package/dist/sdk/workflows/builtin/ralph/helpers/prompts.d.ts +0 -119
  493. package/dist/sdk/workflows/builtin/ralph/helpers/prompts.d.ts.map +0 -1
  494. package/dist/sdk/workflows/builtin/ralph/helpers/review.d.ts +0 -20
  495. package/dist/sdk/workflows/builtin/ralph/helpers/review.d.ts.map +0 -1
  496. package/dist/sdk/workflows/builtin/ralph/opencode/index.d.ts +0 -14
  497. package/dist/sdk/workflows/builtin/ralph/opencode/index.d.ts.map +0 -1
  498. package/dist/sdk/workflows/index.d.ts +0 -24
  499. package/dist/sdk/workflows/index.d.ts.map +0 -1
  500. package/dist/services/config/definitions.d.ts +0 -85
  501. package/dist/services/config/definitions.d.ts.map +0 -1
  502. package/dist/services/system/copy.d.ts +0 -77
  503. package/dist/services/system/copy.d.ts.map +0 -1
  504. package/dist/services/system/detect.d.ts +0 -75
  505. package/dist/services/system/detect.d.ts.map +0 -1
  506. package/tsconfig.json +0 -33
@@ -0,0 +1,193 @@
1
+ # Quality Improvement Techniques
2
+
3
+ This document covers techniques for improving specific aspects of language model output quality: consistency, factual accuracy, and security.
4
+
5
+ ## Reducing Hallucinations
6
+
7
+ ### Core Definition
8
+
9
+ Language models can generate factually incorrect or contextually inconsistent text, a problem termed "hallucination." This guide provides strategies to minimize such issues.
10
+
11
+ ### Basic Strategies
12
+
13
+ **1. Permission to Admit Uncertainty**
14
+ Allow the model to say "I don't know" by explicitly granting permission to acknowledge uncertainty. This straightforward approach substantially reduces false information generation.
15
+
16
+ Example:
17
+
18
+ ```
19
+ If you don't know the answer or are uncertain, please say so rather than guessing.
20
+ ```
21
+
22
+ **2. Direct Quotation Grounding**
23
+ For very lengthy documents (100K+ tokens) or when working with multiple large documents, request that the model extract verbatim passages before proceeding with analysis. This anchors responses to actual source material rather than inferred content.
24
+
25
+ Example:
26
+
27
+ ```
28
+ First, find and quote the relevant passages from the document.
29
+ Then, based only on those quotes, provide your analysis.
30
+ ```
31
+
32
+ **3. Citation Verification**
33
+ Make outputs traceable by requiring the model to cite supporting quotes for each claim. The model should then verify claims by locating corroborating evidence; unsupported statements must be removed.
34
+
35
+ Example:
36
+
37
+ ```
38
+ For each claim you make, provide a direct quote from the source material.
39
+ After drafting your response, verify that each claim has supporting evidence.
40
+ Remove any claims that cannot be substantiated with quotes.
41
+ ```
42
+
43
+ ### Advanced Approaches
44
+
45
+ **Step-by-step reasoning**
46
+ Request the model explain its logic before providing final answers, exposing potentially flawed assumptions
47
+
48
+ **Multiple-run comparison**
49
+ Execute identical prompts several times and analyze outputs for inconsistencies suggesting hallucinations
50
+
51
+ **Progressive validation**
52
+ Use prior responses as foundation for follow-up queries asking for verification or expansion of statements
53
+
54
+ **Information source limitation**
55
+ Explicitly restrict the model to provided materials, excluding general knowledge access
56
+
57
+ Example:
58
+
59
+ ```
60
+ Use ONLY the information provided in the attached documents.
61
+ Do not use any external knowledge or general information.
62
+ If the documents don't contain the information needed to answer, say so.
63
+ ```
64
+
65
+ ### Important Caveat
66
+
67
+ While these techniques significantly reduce hallucinations, they don't eliminate them entirely. Always validate critical information, especially for high-stakes decisions.
68
+
69
+ ---
70
+
71
+ ## Increasing Consistency
72
+
73
+ ### Core Techniques
74
+
75
+ **1. Format Specification**
76
+ Define desired output structures using JSON, XML, or custom templates. This approach ensures the model understands all formatting requirements before generating responses.
77
+
78
+ Example JSON:
79
+
80
+ ```json
81
+ {
82
+ "sentiment": "positive|negative|neutral",
83
+ "confidence": "high|medium|low",
84
+ "key_themes": ["theme1", "theme2"],
85
+ "summary": "Brief summary here"
86
+ }
87
+ ```
88
+
89
+ Example XML:
90
+
91
+ ```xml
92
+ <analysis>
93
+ <sentiment>positive|negative|neutral</sentiment>
94
+ <confidence>high|medium|low</confidence>
95
+ <key_themes>
96
+ <theme>theme1</theme>
97
+ <theme>theme2</theme>
98
+ </key_themes>
99
+ <summary>Brief summary here</summary>
100
+ </analysis>
101
+ ```
102
+
103
+ **2. Response Prefilling**
104
+ Begin the Assistant turn with your desired structure. This technique "bypasses the model's default preamble and enforces your structure," making it particularly effective for standardized reports.
105
+
106
+ Example:
107
+
108
+ ```
109
+ User: Analyze this customer feedback.
110
+ Assistant: {
111
+ ```
112
+
113
+ This forces the model to immediately start with the JSON structure.
114
+
115
+ **3. Example-Based Constraints**
116
+ Supply concrete examples of desired output. Examples train the model's understanding better than abstract instructions alone.
117
+
118
+ **4. Retrieval-Grounded Responses**
119
+ For knowledge-dependent tasks, use retrieval mechanisms to anchor the model's replies in fixed information sets. This maintains contextual consistency across multiple interactions.
120
+
121
+ **5. Prompt Chaining**
122
+ Decompose intricate workflows into sequential, focused subtasks. This prevents inconsistency errors by ensuring "each subtask gets the model's full attention."
123
+
124
+ ### Practical Applications
125
+
126
+ The guide demonstrates these techniques through real-world scenarios:
127
+
128
+ - **Customer feedback analysis**: Using JSON structures for consistent categorization
129
+ - **Sales report generation**: Via XML templates for standardized formatting
130
+ - **Competitive intelligence**: With structured formats for comparable analysis
131
+ - **IT support systems**: Leveraging knowledge bases for consistent responses
132
+
133
+ Each example illustrates how precise specifications and contextual grounding produce reliable, repeatable outputs suitable for scaled operations.
134
+
135
+ ---
136
+
137
+ ## Mitigating Jailbreaks and Prompt Injections
138
+
139
+ ### Core Strategies
140
+
141
+ **1. Harmlessness Screening**
142
+ Pre-screen user inputs using a lightweight model for content moderation. Have the model evaluate whether submitted content "refers to harmful, illegal, or explicit activities" and respond with Y or N accordingly.
143
+
144
+ Example:
145
+
146
+ ```
147
+ Evaluate the following user input. Does it refer to harmful, illegal, or explicit activities?
148
+ Respond with only Y or N.
149
+
150
+ User input: <user_input>{USER_INPUT}</user_input>
151
+ ```
152
+
153
+ **2. Input Validation**
154
+ Filter prompts for jailbreaking patterns. You can use an LLM to create a generalized validation screen by providing known jailbreaking language as examples.
155
+
156
+ **3. Prompt Engineering**
157
+ Design system prompts that establish clear ethical boundaries. For instance, define organizational values including:
158
+
159
+ - "Integrity: Never deceive or aid in deception"
160
+ - "Compliance: Refuse any request that violates laws or our policies"
161
+
162
+ Example system prompt:
163
+
164
+ ```
165
+ You are an AI assistant for [Company]. You must adhere to these values:
166
+
167
+ 1. Integrity: Never deceive users or help them deceive others
168
+ 2. Safety: Refuse requests for harmful, illegal, or explicit content
169
+ 3. Compliance: Follow all applicable laws and company policies
170
+ 4. Privacy: Protect user data and confidential information
171
+
172
+ If a request violates these values, politely explain why you cannot help and suggest an alternative approach if possible.
173
+ ```
174
+
175
+ **4. User Accountability**
176
+ Monitor for repeated abuse attempts. If a user "triggers the same kind of refusal multiple times," communicate that their actions violate usage policies and take appropriate enforcement action.
177
+
178
+ **5. Continuous Monitoring**
179
+ Regularly analyze outputs for jailbreaking indicators and use findings to refine your validation strategies iteratively.
180
+
181
+ ### Advanced Approach: Layered Protection
182
+
183
+ Combine multiple safeguards for enterprise applications. For example, in a financial services context, the system should sequentially:
184
+
185
+ 1. Screen queries for compliance
186
+ 2. Process legitimate requests
187
+ 3. Refuse non-compliant ones with specific explanations
188
+
189
+ This multi-layered approach creates comprehensive defense without relying on any single security mechanism.
190
+
191
+ ### Important Note
192
+
193
+ No single technique provides complete protection. A defense-in-depth approach combining multiple strategies provides the most robust security against jailbreaks and prompt injections.
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: quieter
3
+ description: Tones down visually aggressive or overstimulating designs, reducing intensity while preserving quality. Use when the user mentions too bold, too loud, overwhelming, aggressive, garish, or wants a calmer, more refined aesthetic.
4
+ version: 2.1.1
5
+ user-invocable: true
6
+ argument-hint: "[target]"
7
+ ---
8
+
9
+ Reduce visual intensity in designs that are too bold, aggressive, or overstimulating, creating a more refined and approachable aesthetic without losing effectiveness.
10
+
11
+ ## MANDATORY PREPARATION
12
+
13
+ Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
14
+
15
+ ---
16
+
17
+ ## Assess Current State
18
+
19
+ Analyze what makes the design feel too intense:
20
+
21
+ 1. **Identify intensity sources**:
22
+ - **Color saturation**: Overly bright or saturated colors
23
+ - **Contrast extremes**: Too much high-contrast juxtaposition
24
+ - **Visual weight**: Too many bold, heavy elements competing
25
+ - **Animation excess**: Too much motion or overly dramatic effects
26
+ - **Complexity**: Too many visual elements, patterns, or decorations
27
+ - **Scale**: Everything is large and loud with no hierarchy
28
+
29
+ 2. **Understand the context**:
30
+ - What's the purpose? (Marketing vs tool vs reading experience)
31
+ - Who's the audience? (Some contexts need energy)
32
+ - What's working? (Don't throw away good ideas)
33
+ - What's the core message? (Preserve what matters)
34
+
35
+ If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
36
+
37
+ **CRITICAL**: "Quieter" doesn't mean boring or generic. It means refined, sophisticated, and easier on the eyes. Think luxury, not laziness.
38
+
39
+ ## Plan Refinement
40
+
41
+ Create a strategy to reduce intensity while maintaining impact:
42
+
43
+ - **Color approach**: Desaturate or shift to more sophisticated tones?
44
+ - **Hierarchy approach**: Which elements should stay bold (very few), which should recede?
45
+ - **Simplification approach**: What can be removed entirely?
46
+ - **Sophistication approach**: How can we signal quality through restraint?
47
+
48
+ **IMPORTANT**: Great quiet design is harder than great bold design. Subtlety requires precision.
49
+
50
+ ## Refine the Design
51
+
52
+ Systematically reduce intensity across these dimensions:
53
+
54
+ ### Color Refinement
55
+ - **Reduce saturation**: Shift from fully saturated to 70-85% saturation
56
+ - **Soften palette**: Replace bright colors with muted, sophisticated tones
57
+ - **Reduce color variety**: Use fewer colors more thoughtfully
58
+ - **Neutral dominance**: Let neutrals do more work, use color as accent (10% rule)
59
+ - **Gentler contrasts**: High contrast only where it matters most
60
+ - **Tinted grays**: Use warm or cool tinted grays instead of pure gray—adds sophistication without loudness
61
+ - **Never gray on color**: If you have gray text on a colored background, use a darker shade of that color or transparency instead
62
+
63
+ ### Visual Weight Reduction
64
+ - **Typography**: Reduce font weights (900 → 600, 700 → 500), decrease sizes where appropriate
65
+ - **Hierarchy through subtlety**: Use weight, size, and space instead of color and boldness
66
+ - **White space**: Increase breathing room, reduce density
67
+ - **Borders & lines**: Reduce thickness, decrease opacity, or remove entirely
68
+
69
+ ### Simplification
70
+ - **Remove decorative elements**: Gradients, shadows, patterns, textures that don't serve purpose
71
+ - **Simplify shapes**: Reduce border radius extremes, simplify custom shapes
72
+ - **Reduce layering**: Flatten visual hierarchy where possible
73
+ - **Clean up effects**: Reduce or remove blur effects, glows, multiple shadows
74
+
75
+ ### Motion Reduction
76
+ - **Reduce animation intensity**: Shorter distances (10-20px instead of 40px), gentler easing
77
+ - **Remove decorative animations**: Keep functional motion, remove flourishes
78
+ - **Subtle micro-interactions**: Replace dramatic effects with gentle feedback
79
+ - **Refined easing**: Use ease-out-quart for smooth, understated motion—never bounce or elastic
80
+ - **Remove animations entirely** if they're not serving a clear purpose
81
+
82
+ ### Composition Refinement
83
+ - **Reduce scale jumps**: Smaller contrast between sizes creates calmer feeling
84
+ - **Align to grid**: Bring rogue elements back into systematic alignment
85
+ - **Even out spacing**: Replace extreme spacing variations with consistent rhythm
86
+
87
+ **NEVER**:
88
+ - Make everything the same size/weight (hierarchy still matters)
89
+ - Remove all color (quiet ≠ grayscale)
90
+ - Eliminate all personality (maintain character through refinement)
91
+ - Sacrifice usability for aesthetics (functional elements still need clear affordances)
92
+ - Make everything small and light (some anchors needed)
93
+
94
+ ## Verify Quality
95
+
96
+ Ensure refinement maintains quality:
97
+
98
+ - **Still functional**: Can users still accomplish tasks easily?
99
+ - **Still distinctive**: Does it have character, or is it generic now?
100
+ - **Better reading**: Is text easier to read for extended periods?
101
+ - **Sophistication**: Does it feel more refined and premium?
102
+
103
+ Remember: Quiet design is confident design. It doesn't need to shout. Less is more, but less is also harder. Refine with precision and maintain intentionality.
@@ -0,0 +1,227 @@
1
+ ---
2
+ name: research-codebase
3
+ description: Document codebase as-is with research directory for historical context
4
+ argument-hint: "<research-question>"
5
+ ---
6
+
7
+ # Research Codebase
8
+
9
+ You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning parallel sub-agents and synthesizing their findings.
10
+
11
+ The user's research question/request is: **$ARGUMENTS**
12
+
13
+ ## Steps to follow after receiving the research query:
14
+
15
+ <EXTREMELY_IMPORTANT>
16
+
17
+ - OPTIMIZE the research question using your prompt-engineer skill to refine phrasing and structure for maximum clarity and precision.
18
+ - After research is complete and the research artifact(s) are generated, provide an executive summary of the research and path to the research document(s) to the user, and ask if they have any follow-up questions or need clarification.
19
+
20
+ </EXTREMELY_IMPORTANT>
21
+
22
+ 1. **Read any directly mentioned files first:**
23
+ - If the user mentions specific files (tickets, docs, or other notes), read them FULLY first
24
+ - **IMPORTANT**: Use the `readFile` tool WITHOUT limit/offset parameters to read entire files
25
+ - **CRITICAL**: Read these files yourself in the main context before spawning any sub-tasks
26
+ - This ensures you have full context before decomposing the research
27
+
28
+ 2. **Analyze and decompose the research question:**
29
+ - Break the research question down into composable research areas
30
+ - Take time to ultrathink about the underlying patterns, connections, and architectural implications the user might be seeking
31
+ - Identify specific components, patterns, or concepts to investigate
32
+ - Create a research plan using TodoWrite to track all subtasks
33
+ - Consider which directories, files, or architectural patterns are relevant
34
+
35
+ 3. **Spawn parallel sub-agent tasks:**
36
+ - Create multiple Task agents to research different aspects concurrently
37
+ - We now have specialized agents that know how to do specific research tasks:
38
+
39
+ **For codebase research:**
40
+ - Use the **codebase-locator** agent to find WHERE files and components live
41
+ - Use the **codebase-analyzer** agent to understand HOW specific code works (without critiquing it)
42
+ - Use the **codebase-pattern-finder** agent to find examples of existing patterns (without evaluating them)
43
+ - Output directory: `research/docs/`
44
+ - Examples:
45
+ - The database logic is found and can be documented in `research/docs/2024-01-10-database-implementation.md`
46
+ - The authentication flow is found and can be documented in `research/docs/2024-01-11-authentication-flow.md`
47
+
48
+ **IMPORTANT**: All agents are documentarians, not critics. They will describe what exists without suggesting improvements or identifying issues.
49
+
50
+ **For research directory:**
51
+ - Use the **codebase-research-locator** agent to discover what documents exist about the topic
52
+ - Use the **codebase-research-analyzer** agent to extract key insights from specific documents (only the most relevant ones)
53
+
54
+ **For online search:**
55
+ - VERY IMPORTANT: In case you discover external libraries as dependencies, use the **codebase-online-researcher** agent for external documentation and resources
56
+ - The agent fetches live web content using the **playwright-cli** skill (or `bunx @playwright/cli` / `curl`). Instruct it to apply the token-efficient fetch order: (1) try `curl https://<site>/llms.txt` for an AI-friendly index (see [llmstxt.org](https://llmstxt.org/llms.txt)), (2) try `curl <url> -H "Accept: text/markdown"` to get pre-converted Markdown (supported on Cloudflare-hosted docs via [Markdown for Agents](https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/)), (3) fall back to HTML parsing via `playwright-cli`
57
+ - Instruct the agent to return LINKS with their findings and INCLUDE those links in the research document
58
+ - The agent should persist reusable source documents under `research/web/<YYYY-MM-DD>-<kebab-case-topic>.md` (with frontmatter noting `source_url`, `fetched_at`, and `fetch_method`) so future research can reuse them without re-fetching
59
+ - Output directory for the synthesized research artifact: `research/docs/`
60
+ - Examples:
61
+ - If researching `Redis` locks usage, the agent might find relevant usage and create a document `research/docs/2024-01-15-redis-locks-usage.md` with internal links to Redis docs and code references (and cache the fetched Redis docs under `research/web/`)
62
+ - If researching `OAuth` flows, the agent might find relevant external articles and create a document `research/docs/2024-01-16-oauth-flows.md` with links to those articles
63
+
64
+ The key is to use these agents intelligently:
65
+ - Start with locator agents to find what exists
66
+ - Then use analyzer agents on the most promising findings to document how they work
67
+ - Run multiple agents in parallel when they're searching for different things
68
+ - Each agent knows its job - just tell it what you're looking for
69
+ - Don't write detailed prompts about HOW to search - the agents already know
70
+ - Remind agents they are documenting, not evaluating or improving
71
+
72
+ 4. **Wait for all sub-agents to complete and synthesize:**
73
+ - IMPORTANT: Wait for ALL sub-agent tasks to complete before proceeding
74
+ - Compile all sub-agent results (both codebase and research findings)
75
+ - Prioritize live codebase findings as primary source of truth
76
+ - Use research findings as supplementary historical context
77
+ - Connect findings across different components
78
+ - Include specific file paths and line numbers for reference
79
+ - Highlight patterns, connections, and architectural decisions
80
+ - Answer the user's research question with concrete evidence
81
+ - **If findings reveal the original question was misframed** (e.g., the system works differently than assumed, or the components don't exist where expected), flag this to the user before finalizing the document. This is valuable signal — don't bury it.
82
+
83
+ 5. **Generate research document:**
84
+ - Follow the directory structure for research documents:
85
+
86
+ ```
87
+ research/
88
+ ├── tickets/
89
+ │ ├── YYYY-MM-DD-XXXX-description.md
90
+ ├── docs/
91
+ │ ├── YYYY-MM-DD-topic.md
92
+ ├── notes/
93
+ │ ├── YYYY-MM-DD-meeting.md
94
+ ├── ...
95
+ └──
96
+ ```
97
+
98
+ - Naming conventions:
99
+ - YYYY-MM-DD is today's date
100
+ - topic is a brief kebab-case description of the research topic
101
+ - meeting is a brief kebab-case description of the meeting topic
102
+ - XXXX is the ticket number (omit if no ticket)
103
+ - description is a brief kebab-case description of the research topic
104
+ - Examples:
105
+ - With ticket: `2025-01-08-1478-parent-child-tracking.md`
106
+ - Without ticket: `2025-01-08-authentication-flow.md`
107
+ - Structure the document with YAML frontmatter followed by content:
108
+
109
+ ```markdown
110
+ ---
111
+ date: !`date '+%Y-%m-%d %H:%M:%S %Z'`
112
+ researcher: [Researcher name from thoughts status]
113
+ git_commit: !`git rev-parse --verify HEAD 2>/dev/null || echo "no-commits"`
114
+ branch: !`git branch --show-current 2>/dev/null || git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unborn"`
115
+ repository: !`basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown-repo"`
116
+ topic: "[User's Question/Topic]"
117
+ tags: [research, codebase, relevant-component-names]
118
+ status: complete
119
+ last_updated: !`date '+%Y-%m-%d'`
120
+ last_updated_by: [Researcher name]
121
+ ---
122
+
123
+ # Research
124
+
125
+ ## Research Question
126
+
127
+ [Original user query]
128
+
129
+ ## Summary
130
+
131
+ [High-level documentation of what was found, answering the user's question by describing what exists]
132
+
133
+ ## Detailed Findings
134
+
135
+ ### [Component/Area 1]
136
+
137
+ - Description of what exists ([file.ext:line](link))
138
+ - How it connects to other components
139
+ - Current implementation details (without evaluation)
140
+
141
+ ### [Component/Area 2]
142
+
143
+ ...
144
+
145
+ ## Code References
146
+
147
+ - `path/to/file.py:123` - Description of what's there
148
+ - `another/file.ts:45-67` - Description of the code block
149
+
150
+ ## Architecture Documentation
151
+
152
+ [Current patterns, conventions, and design implementations found in the codebase]
153
+
154
+ ## Historical Context (from research/)
155
+
156
+ [Relevant insights from research/ directory with references]
157
+
158
+ - `research/docs/YYYY-MM-DD-topic.md` - Information about module X
159
+ - `research/notes/YYYY-MM-DD-meeting.md` - Past notes from internal engineering, customer, etc. discussions
160
+ - ...
161
+
162
+ ## Related Research
163
+
164
+ [Links to other research documents in research/]
165
+
166
+ ## Open Questions
167
+
168
+ [Any areas that need further investigation]
169
+ ```
170
+
171
+ 1. **Add GitHub permalinks (if applicable):**
172
+ - Check if on main branch or if commit is pushed: `git branch --show-current` and `git status`
173
+ - If on main/master or pushed, generate GitHub permalinks:
174
+ - Get repo info: `gh repo view --json owner,name`
175
+ - Create permalinks: `https://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line}`
176
+ - Replace local file references with permalinks in the document
177
+
178
+ 2. **Present findings:**
179
+ - Present a concise summary of findings to the user
180
+ - Include key file references for easy navigation
181
+ - Ask if they have follow-up questions or need clarification
182
+
183
+ 3. **Handle follow-up questions:**
184
+
185
+ - If the user has follow-up questions, append to the same research document
186
+ - Update the frontmatter fields `last_updated` and `last_updated_by` to reflect the update
187
+ - Add `last_updated_note: "Added follow-up research for [brief description]"` to frontmatter
188
+ - Add a new section: `## Follow-up Research [timestamp]`
189
+ - Spawn new sub-agents as needed for additional investigation
190
+ - Continue updating the document and syncing
191
+
192
+ ## Important notes:
193
+
194
+ - Please DO NOT implement anything in this stage, just create the comprehensive research document
195
+ - Always use parallel Task agents to maximize efficiency and minimize context usage
196
+ - Always run fresh codebase research - never rely solely on existing research documents
197
+ - The `research/` directory provides historical context to supplement live findings
198
+ - Focus on finding concrete file paths and line numbers for developer reference
199
+ - Research documents should be self-contained with all necessary context
200
+ - Each sub-agent prompt should be specific and focused on read-only documentation operations
201
+ - Document cross-component connections and how systems interact
202
+ - Include temporal context (when the research was conducted)
203
+ - Link to GitHub when possible for permanent references
204
+ - Keep the main agent focused on synthesis, not deep file reading
205
+ - Have sub-agents document examples and usage patterns as they exist
206
+ - Explore all of research/ directory, not just research subdirectory
207
+ - **CRITICAL**: You and all sub-agents are documentarians, not evaluators
208
+ - **REMEMBER**: Document what IS, not what SHOULD BE
209
+ - **NO RECOMMENDATIONS**: Only describe the current state of the codebase
210
+ - **File reading**: Always read mentioned files FULLY (no limit/offset) before spawning sub-tasks
211
+ - **Critical ordering**: Follow the numbered steps exactly
212
+ - ALWAYS read mentioned files first before spawning sub-tasks (step 1)
213
+ - ALWAYS wait for all sub-agents to complete before synthesizing (step 4)
214
+ - ALWAYS gather metadata before writing the document (step 5 before step 6)
215
+ - NEVER write the research document with placeholder values
216
+
217
+ - **Frontmatter consistency**:
218
+ - Always include frontmatter at the beginning of research documents
219
+ - Keep frontmatter fields consistent across all research documents
220
+ - Update frontmatter when adding follow-up research
221
+ - Use snake_case for multi-word field names (e.g., `last_updated`, `git_commit`)
222
+ - Tags should be relevant to the research topic and components studied
223
+
224
+ ## Final Output
225
+
226
+ - A collection of research files with comprehensive research findings, properly formatted and linked, ready for consumption to create detailed specifications or design documents.
227
+ - IMPORTANT: DO NOT generate any other artifacts or files OUTSIDE of the `research/` directory.
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: shape
3
+ description: Plan the UX and UI for a feature before writing code. Runs a structured discovery interview, then produces a design brief that guides implementation. Use during the planning phase to establish design direction, constraints, and strategy before any code is written.
4
+ version: 2.1.1
5
+ user-invocable: true
6
+ argument-hint: "[feature to shape]"
7
+ ---
8
+
9
+ ## MANDATORY PREPARATION
10
+
11
+ Invoke /impeccable, which contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. If no design context exists yet, you MUST run /impeccable teach first.
12
+
13
+ ---
14
+
15
+ Shape the UX and UI for a feature before any code is written. This skill produces a **design brief**: a structured artifact that guides implementation through discovery, not guesswork.
16
+
17
+ **Scope**: Design planning only. This skill does NOT write code. It produces the thinking that makes code good.
18
+
19
+ **Output**: A design brief that can be handed off to /impeccable craft, /impeccable, or any other implementation skill.
20
+
21
+ ## Philosophy
22
+
23
+ Most AI-generated UIs fail not because of bad code, but because of skipped thinking. They jump to "here's a card grid" without asking "what is the user trying to accomplish?" This skill inverts that: understand deeply first, so implementation is precise.
24
+
25
+ ## Phase 1: Discovery Interview
26
+
27
+ **Do NOT write any code or make any design decisions during this phase.** Your only job is to understand the feature deeply enough to make excellent design decisions later.
28
+
29
+ Ask these questions in conversation, adapting based on answers. Don't dump them all at once; have a natural dialogue. ask the user directly to clarify what you cannot infer.
30
+
31
+ ### Purpose & Context
32
+ - What is this feature for? What problem does it solve?
33
+ - Who specifically will use it? (Not "users"; be specific: role, context, frequency)
34
+ - What does success look like? How will you know this feature is working?
35
+ - What's the user's state of mind when they reach this feature? (Rushed? Exploring? Anxious? Focused?)
36
+
37
+ ### Content & Data
38
+ - What content or data does this feature display or collect?
39
+ - What are the realistic ranges? (Minimum, typical, maximum, e.g., 0 items, 5 items, 500 items)
40
+ - What are the edge cases? (Empty state, error state, first-time use, power user)
41
+ - Is any content dynamic? What changes and how often?
42
+
43
+ ### Design Goals
44
+ - What's the single most important thing a user should do or understand here?
45
+ - What should this feel like? (Fast/efficient? Calm/trustworthy? Fun/playful? Premium/refined?)
46
+ - Are there existing patterns in the product this should be consistent with?
47
+ - Are there specific examples (inside or outside the product) that capture what you're going for?
48
+
49
+ ### Constraints
50
+ - Are there technical constraints? (Framework, performance budget, browser support)
51
+ - Are there content constraints? (Localization, dynamic text length, user-generated content)
52
+ - Mobile/responsive requirements?
53
+ - Accessibility requirements beyond WCAG AA?
54
+
55
+ ### Anti-Goals
56
+ - What should this NOT be? What would be a wrong direction?
57
+ - What's the biggest risk of getting this wrong?
58
+
59
+ ## Phase 2: Design Brief
60
+
61
+ After the interview, synthesize everything into a structured design brief. Present it to the user for confirmation before considering this skill complete.
62
+
63
+ ### Brief Structure
64
+
65
+ **1. Feature Summary** (2-3 sentences)
66
+ What this is, who it's for, what it needs to accomplish.
67
+
68
+ **2. Primary User Action**
69
+ The single most important thing a user should do or understand here.
70
+
71
+ **3. Design Direction**
72
+ How this should feel. What aesthetic approach fits. Reference the project's design context from `.impeccable.md` and explain how this feature should express it.
73
+
74
+ **4. Layout Strategy**
75
+ High-level spatial approach: what gets emphasis, what's secondary, how information flows. Describe the visual hierarchy and rhythm, not specific CSS.
76
+
77
+ **5. Key States**
78
+ List every state the feature needs: default, empty, loading, error, success, edge cases. For each, note what the user needs to see and feel.
79
+
80
+ **6. Interaction Model**
81
+ How users interact with this feature. What happens on click, hover, scroll? What feedback do they get? What's the flow from entry to completion?
82
+
83
+ **7. Content Requirements**
84
+ What copy, labels, empty state messages, error messages, and microcopy are needed. Note any dynamic content and its realistic ranges.
85
+
86
+ **8. Recommended References**
87
+ Based on the brief, list which impeccable reference files would be most valuable during implementation (e.g., spatial-design.md for complex layouts, motion-design.md for animated features, interaction-design.md for form-heavy features).
88
+
89
+ **9. Open Questions**
90
+ Anything unresolved that the implementer should resolve during build.
91
+
92
+ ---
93
+
94
+ ask the user directly to clarify what you cannot infer. Get explicit confirmation of the brief before finishing. If the user disagrees with any part, revisit the relevant discovery questions.
95
+
96
+ Once confirmed, the brief is complete. The user can now hand it to /impeccable, or use it to guide any other implementation approach. (If the user wants the full discovery-then-build flow in one step, they should use /impeccable craft instead, which runs this skill internally.)