@cratis/pi 8.0.2 → 8.1.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 (486) hide show
  1. package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +9 -102
  2. package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
  3. package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
  4. package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
  5. package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
  6. package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
  7. package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
  8. package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
  9. package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
  10. package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
  11. package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
  12. package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
  13. package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
  14. package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
  15. package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
  16. package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
  17. package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
  18. package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
  19. package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
  20. package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
  21. package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
  22. package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
  23. package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
  24. package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
  25. package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
  26. package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
  27. package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
  28. package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
  29. package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
  30. package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
  31. package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
  32. package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
  33. package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
  34. package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
  35. package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
  36. package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
  37. package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
  38. package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
  39. package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
  40. package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
  41. package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
  42. package/package/corpus/hooks/README.md +4 -7
  43. package/package/corpus/hooks/scripts/quality-gates.json +3 -5
  44. package/package/corpus/rules/ai-distribution.md +9 -102
  45. package/package/corpus/rules/authoring-skills.md +3 -5
  46. package/package/corpus/rules/browser.md +8 -49
  47. package/package/corpus/rules/code-health-policy.txt +4 -24
  48. package/package/corpus/rules/code-health.md +1 -1
  49. package/package/corpus/rules/code-quality.csharp.md +3 -84
  50. package/package/corpus/rules/code-quality.md +6 -51
  51. package/package/corpus/rules/code-quality.typescript.md +4 -81
  52. package/package/corpus/rules/codescene.md +5 -54
  53. package/package/corpus/rules/components.md +1 -1
  54. package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
  55. package/package/corpus/rules/csharp.md +7 -315
  56. package/package/corpus/rules/dialogs.md +1 -1
  57. package/package/corpus/rules/discoverability.md +3 -25
  58. package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
  59. package/package/corpus/rules/documentation.md +5 -104
  60. package/package/corpus/rules/editing-cratis-docs.md +5 -63
  61. package/package/corpus/rules/efcore.md +8 -55
  62. package/package/corpus/rules/efcore.specs.md +3 -33
  63. package/package/corpus/rules/elixir.md +6 -79
  64. package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
  65. package/package/corpus/rules/framework-dotnet.md +4 -6
  66. package/package/corpus/rules/framework.md +0 -2
  67. package/package/corpus/rules/frontend-quality.md +0 -1
  68. package/package/corpus/rules/frontend-testing.md +1 -1
  69. package/package/corpus/rules/general.md +2 -2
  70. package/package/corpus/rules/github-actions.md +7 -138
  71. package/package/corpus/rules/glossary.md +19 -19
  72. package/package/corpus/rules/go-engineering.md +1 -4
  73. package/package/corpus/rules/go.md +2 -7
  74. package/package/corpus/rules/guards-and-fuses.md +5 -6
  75. package/package/corpus/rules/java.md +7 -129
  76. package/package/corpus/rules/kotlin.md +8 -165
  77. package/package/corpus/rules/orleans.md +5 -98
  78. package/package/corpus/rules/profiles.md +9 -63
  79. package/package/corpus/rules/scripting.md +1 -1
  80. package/package/corpus/rules/specs.csharp.md +8 -148
  81. package/package/corpus/rules/specs.elixir.md +4 -37
  82. package/package/corpus/rules/specs.typescript.md +3 -1
  83. package/package/corpus/rules/storybook.md +7 -70
  84. package/package/corpus/rules/typescript.md +8 -98
  85. package/package/corpus/rules/writing-correct-examples.md +3 -47
  86. package/package/corpus/rules/writing-cratis-docs.md +3 -65
  87. package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
  88. package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
  89. package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
  90. package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
  91. package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
  92. package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
  93. package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
  94. package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
  95. package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
  96. package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
  97. package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
  98. package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
  99. package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
  100. package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
  101. package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
  102. package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
  103. package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
  104. package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
  105. package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
  106. package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
  107. package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
  108. package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
  109. package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
  110. package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
  111. package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
  112. package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
  113. package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
  114. package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
  115. package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
  116. package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
  117. package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
  118. package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
  119. package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
  120. package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
  121. package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
  122. package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
  123. package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
  124. package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
  125. package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
  126. package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
  127. package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
  128. package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
  129. package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
  130. package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
  131. package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
  132. package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
  133. package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
  134. package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
  135. package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
  136. package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
  137. package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
  138. package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
  139. package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
  140. package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
  141. package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
  142. package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
  143. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
  144. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
  145. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
  146. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
  147. package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
  148. package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
  149. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
  150. package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
  151. package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
  152. package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
  153. package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
  154. package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
  155. package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
  156. package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
  157. package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
  158. package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
  159. package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
  160. package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
  161. package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
  162. package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
  163. package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
  164. package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
  165. package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
  166. package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
  167. package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
  168. package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
  169. package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
  170. package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
  171. package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
  172. package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
  173. package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
  174. package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
  175. package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
  176. package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
  177. package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
  178. package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
  179. package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
  180. package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
  181. package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
  182. package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
  183. package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
  184. package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
  185. package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
  186. package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
  187. package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
  188. package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
  189. package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
  190. package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
  191. package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
  192. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
  193. package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
  194. package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
  195. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
  196. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
  197. package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
  198. package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
  199. package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
  200. package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
  201. package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
  202. package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
  203. package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
  204. package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
  205. package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
  206. package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
  207. package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
  208. package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
  209. package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
  210. package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
  211. package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
  212. package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
  213. package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
  214. package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
  215. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
  216. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
  217. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
  218. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
  219. package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
  220. package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
  221. package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
  222. package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
  223. package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
  224. package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
  225. package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
  226. package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
  227. package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
  228. package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
  229. package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
  230. package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
  231. package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
  232. package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
  233. package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
  234. package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
  235. package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
  236. package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
  237. package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
  238. package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
  239. package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
  240. package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
  241. package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
  242. package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
  243. package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
  244. package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
  245. package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
  246. package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
  247. package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
  248. package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
  249. package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
  250. package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
  251. package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
  252. package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
  253. package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
  254. package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
  255. package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
  256. package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
  257. package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
  258. package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
  259. package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
  260. package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
  261. package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
  262. package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
  263. package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
  264. package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
  265. package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
  266. package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
  267. package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
  268. package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
  269. package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
  270. package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
  271. package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
  272. package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
  273. package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
  274. package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
  275. package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
  276. package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
  277. package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
  278. package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
  279. package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
  280. package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
  281. package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
  282. package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
  283. package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
  284. package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
  285. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
  286. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
  287. package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
  288. package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
  289. package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
  290. package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
  291. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
  292. package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
  293. package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
  294. package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
  295. package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
  296. package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
  297. package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
  298. package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
  299. package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
  300. package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
  301. package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
  302. package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
  303. package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
  304. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
  305. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
  306. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
  307. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
  308. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
  309. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
  310. package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
  311. package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
  312. package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
  313. package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
  314. package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
  315. package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
  316. package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
  317. package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
  318. package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
  319. package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
  320. package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
  321. package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
  322. package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
  323. package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
  324. package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
  325. package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
  326. package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
  327. package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
  328. package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
  329. package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
  330. package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
  331. package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
  332. package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
  333. package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
  334. package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
  335. package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
  336. package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
  337. package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
  338. package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
  339. package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
  340. package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
  341. package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
  342. package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
  343. package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
  344. package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
  345. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
  346. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
  347. package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
  348. package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
  349. package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
  350. package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
  351. package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
  352. package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
  353. package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
  354. package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
  355. package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
  356. package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
  357. package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
  358. package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
  359. package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
  360. package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
  361. package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
  362. package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
  363. package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
  364. package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
  365. package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
  366. package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
  367. package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
  368. package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
  369. package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
  370. package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
  371. package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
  372. package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
  373. package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
  374. package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
  375. package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
  376. package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
  377. package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
  378. package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
  379. package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
  380. package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
  381. package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
  382. package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
  383. package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
  384. package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
  385. package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
  386. package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
  387. package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
  388. package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
  389. package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
  390. package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
  391. package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
  392. package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
  393. package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
  394. package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
  395. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
  396. package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
  397. package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
  398. package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
  399. package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
  400. package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
  401. package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
  402. package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
  403. package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
  404. package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
  405. package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
  406. package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
  407. package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
  408. package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
  409. package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
  410. package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
  411. package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
  412. package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
  413. package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
  414. package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
  415. package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
  416. package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
  417. package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
  418. package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
  419. package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
  420. package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
  421. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
  422. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
  423. package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
  424. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
  425. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
  426. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +4 -12
  427. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
  428. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
  429. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
  430. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
  431. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
  432. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
  433. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
  434. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
  435. package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
  436. package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
  437. package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
  438. package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
  439. package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
  440. package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
  441. package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
  442. package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
  443. package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
  444. package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
  445. package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
  446. package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
  447. package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
  448. package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
  449. package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
  450. package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
  451. package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
  452. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
  453. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
  454. package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
  455. package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
  456. package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
  457. package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
  458. package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
  459. package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
  460. package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
  461. package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
  462. package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
  463. package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
  464. package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
  465. package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
  466. package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
  467. package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
  468. package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
  469. package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
  470. package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
  471. package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
  472. package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
  473. package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
  474. package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
  475. package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
  476. package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
  477. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
  478. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
  479. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
  480. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
  481. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
  482. package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
  483. package/package.json +1 -1
  484. /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
  485. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
  486. /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
@@ -1,224 +1,29 @@
1
- # Playbook evidence
2
-
3
- ## Contents
4
-
5
- - How developers find and evaluate tools
6
- - Openings, hooks and clicks
7
- - Platform rules
8
- - How developer-tools companies work
9
- - Distribution, frequency and replies
10
- - Example: a specialist audience
11
- - Folklore sources
12
-
13
- The sources behind the developer-marketing skill, checked on 2026-09-25. Each entry says what
14
- the source found or describes, and how far it can be stretched. Company practices are
15
- summarized in our own words. Read the originals before quoting them.
16
-
17
- Evidence types used below:
18
-
19
- - **Official:** a platform or project describing its own rules or system. Good evidence of
20
- the rule. It doesn't show that a tactic works.
21
- - **Peer-reviewed:** a published study. Check whether its population resembles yours.
22
- - **Survey:** self-reported answers from a recruited sample. Shows what respondents say, not
23
- what they did.
24
- - **Vendor observational:** a tool vendor's analysis of its own customers' data. Shows
25
- association in that sample, not cause, and not the whole platform.
26
- - **Company practice:** how one company says it works. A pattern to consider, not a result
27
- to borrow.
28
- - **Case example:** a single published piece that shows a technique in use.
29
-
30
- ## How developers find and evaluate tools
31
-
32
- Stack Overflow's surveys are large but recruited mostly through Stack Overflow's own
33
- channels. The 2025 methodology notes that highly engaged users were more likely to see the
34
- invitation. Different years asked different questions, so don't read the figures as a trend.
35
-
36
- - In 2025, technical documentation was the most-used resource for learning in the past
37
- year, at 67.8% of respondents. Survey.
38
- https://survey.stackoverflow.co/2025/developers/
39
- - In 2024, asked how they discover and research solutions when buying a tool, 75.2% chose
40
- starting a free trial and 72.5% chose asking developers they know. The page's narrative
41
- says "evaluate", but the question is about discovery and research. Survey.
42
- https://survey.stackoverflow.co/2024/work/
43
- - In 2024, asked where they first go with a technical question at work, about 55% said
44
- traditional search and 15% AI-powered search. Survey.
45
- https://survey.stackoverflow.co/2024/professional-developers/
46
- - In 2024, 75.2% selected APIs among the features they care about when endorsing a purchase.
47
- The page's own wording implies APIs make endorsement more likely. The question doesn't
48
- show that. Survey. https://survey.stackoverflow.co/2024/work/
49
- - In 2025, for work projects, APIs ranked first and quality second among attraction or
50
- endorsement factors. AI integration ranked ninth, second to last. The top reasons to
51
- reject a technology were security or privacy concerns, prohibitive pricing and better
52
- alternatives, in that order. Survey. https://survey.stackoverflow.co/2025/work/
53
- - Reported influence over purchases varied by role in 2024: the page highlights senior
54
- executives at 99%, engineering managers at 87% and product managers at 77% reporting some
55
- influence. In 2025, 48% said they had endorsed or influenced a technology in the past year,
56
- and some of those endorsements led to no purchase or use. Survey.
57
- https://survey.stackoverflow.co/2024/work/ and https://survey.stackoverflow.co/2025/work/
58
- - In 2025, more respondents distrusted the accuracy of AI-tool output (46%) than trusted it
59
- (33%). The biggest frustrations were AI answers that are almost right (66%) and debugging
60
- AI-generated code taking longer (45%). Survey. https://survey.stackoverflow.co/2025/ai/
61
- - Developer Nation's Q1 2025 report names documentation the leading onboarding resource
62
- (39.3% called it essential), followed by tutorials and how-to videos (32.7%) and sample
63
- projects (28.9%). The most common first-use problem with vendor resources was a lack of
64
- examples suited to the reader's skill level (16.3%). The item denominators are not stated
65
- on the public page. Survey. https://www.developernation.net/developer-reports/dn29/
66
-
67
- ## Openings, hooks and clicks
68
-
69
- - The Upworthy archive holds headline-and-image A/B tests run from January 2013 to April
70
- 2015 on a U.S. news and entertainment site. Tests varied whole packages, so single
71
- properties aren't isolated. Peer-reviewed dataset.
72
- https://www.nature.com/articles/s41597-021-00934-7
73
- - A 2025 registered report across 8,977 of those experiments found that more concreteness
74
- helped headlines that were too vague and hurt ones that were already too concrete. The
75
- authors caution that the audience was one site's mostly American readers. Peer-reviewed.
76
- https://www.nature.com/articles/s41598-024-81575-9
77
- - A 2023 registered report found that linguistic features predicted the higher-CTR headline
78
- only 54% of the time across pairs. Peer-reviewed.
79
- https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0281682
80
- - Another 2023 registered report estimated that each extra negative word raised CTR by 2.3%
81
- relative (not percentage points) for an average-length headline, and names the site's
82
- clickbait style as a limit on generalizing. Nothing here measures trust or reading.
83
- Peer-reviewed. https://www.nature.com/articles/s41562-023-01538-4
84
- - A study of more than 4,400 Facebook news posts associated clickbait features with post
85
- interactions in both directions and had no click-through data at all. Observational.
86
- https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0266743
87
- - Google's title-link guidance asks for descriptive, concise titles and warns against vague
88
- or needlessly long ones. It governs search titles, not social hooks. Official.
89
- https://developers.google.com/search/docs/appearance/title-link
90
-
91
- ## Platform rules
92
-
93
- - Hacker News asks for the original source and generally the original title unless it is
94
- misleading or linkbait. It discourages attention-grabbing capitalization and
95
- editorializing, allows posting your own work some of the time but not primarily for
96
- promotion, prohibits soliciting votes or comments, and in its comment guidelines prohibits
97
- generated or AI-edited text. The generated-text rule sits under comments. Cratis applies
98
- it to titles and submission text too, as its own stricter policy. Official.
99
- https://news.ycombinator.com/newsguidelines.html
100
- - LinkedIn says members may use AI to refine language but posts and comments should
101
- represent their own voice and perspective. It says apparently AI-generated content that
102
- lacks a clear perspective is less likely to spread beyond the immediate network. That is
103
- not a ban on AI assistance. Official.
104
- https://news.linkedin.com/2026/keeping-conversations-real-on-linkedin
105
- - LinkedIn's engineering team describes LLM-based retrieval and sequential ranking that
106
- learn from profile context and reading, liking, commenting, returning and scrolling past.
107
- It publishes no weights and no fixed early-engagement cutoff. Official.
108
- https://www.linkedin.com/blog/engineering/feed/engineering-the-next-generation-of-linkedins-feed
109
-
110
- ## How developer-tools companies work
111
-
112
- Summaries of published practice. None of these reports a controlled result, and several
113
- pages are years old.
114
-
115
- - **PostHog** treats content as its main marketing effort and says it sets no arbitrary
116
- volume goals and doesn't rely on AI to write. Writers decide who a post is for and how it
117
- will reach them before drafting, with social described as fast and spiky and search as
118
- slow and compounding. Its voice guide asks for concrete examples, directness and honesty
119
- about limitations. Engineers write about their own work and may use AI for research and
120
- line edits, not the whole piece. It focuses on three primary social platforms and doesn't
121
- tailor posts for secondary ones. It reports that on LinkedIn, individuals' content does
122
- better and reads as more earnest than brand content, with no numbers given. It warns that
123
- one video doing well isn't enough to change strategy. It separates a product release,
124
- owned by the product team, from a marketing launch, and prefers small rolling launches.
125
- Company practice (living handbook).
126
- https://posthog.com/handbook/content,
127
- https://posthog.com/handbook/content/blogs,
128
- https://posthog.com/handbook/brand/tone,
129
- https://posthog.com/handbook/engineering/writing-blogs,
130
- https://posthog.com/handbook/content/social-media,
131
- https://posthog.com/handbook/marketing/product-announcements
132
- - **Supabase** planned its first Launch Week in 2021 after three more months of building,
133
- as a week of separate announcements. Later that year it wrote that it rarely held features
134
- back, shipped early, announced to existing users as things landed, and saved full
135
- write-ups and broad marketing for Launch Week. It said the engineer who built a feature
136
- often wrote its technical content and helped choose channels. Company practice, 2021,
137
- possibly stale. https://supabase.com/blog/launch-week and
138
- https://supabase.com/blog/supabase-how-we-launch
139
- - **Vercel** published an engineering article that explains a latency problem, the cost of
140
- the obvious fix, the production experiments, and a 91% reduction in P99 metadata lookup
141
- latency. The number applies to that lookup, not the whole CDN. Case example, 2026.
142
- https://vercel.com/blog/how-we-cut-cdn-metadata-lookup-latency-by-91-percent
143
- - **Tailscale** published a 2020 post in one engineer's playful first-person voice that
144
- still explains the real logging pipeline and what happens when the log server can't
145
- receive data. Case example, historical.
146
- https://tailscale.com/blog/the-log-blog
147
- - **Stripe**'s developer blog pages link to its docs, YouTube channel, Discord and local
148
- meetups. These are site-wide links, not evidence that a given article was paired with a
149
- video or event. Case example. https://stripe.dev/blog/how-api-changes-flow-into-stripes-developer-products
150
- - **Linear** advised in 2020 that changelogs cover what a human would find interesting, with
151
- internal work mentioned only when it changes performance or experience. Company practice,
152
- historical. https://linear.app/now/startups-write-changelogs
153
- - **Fly.io** introduced an open-sourced service-discovery component through its own account
154
- of a 2024 outage and the concurrency bug behind it. Case example, 2025.
155
- https://fly.io/blog/corrosion/
156
-
157
- Also reviewed, and left out because the specific claims were not independently checked:
158
- Cloudflare, Resend, Temporal, Prisma, Turso, Oxide and Particular. Revisit them with a fresh
159
- check before citing.
160
-
161
- ## Distribution, frequency and replies
162
-
163
- - Buffer distinguishes crossposting (the same content on several platforms) from
164
- repurposing (a core idea reworked into a different format). Vendor guidance, 2026-01-20.
165
- https://buffer.com/resources/repurposing-content-guide/
166
- - Buffer's analysis of over two million LinkedIn posts from more than 94,000 accounts
167
- associates two to five posts a week with 1,182 more impressions per post and 0.23
168
- percentage points more engagement than one a week. It suggests starting in a sustainable
169
- range and trying a higher pace for a month while tracking. Vendor observational, not
170
- causal. https://buffer.com/resources/how-often-to-post-on-linkedin/
171
- - Buffer reports roughly 30% higher engagement within an account on LinkedIn posts where the
172
- creator replied, says causation is uncertain, and says its medians describe its own
173
- dataset. Vendor observational.
174
- https://buffer.com/resources/state-of-social-media-engagement-2026/
175
- - Buffer's same report gives a median 21.77% engagement for LinkedIn document carousels in
176
- its sample. One agency's carousel analysis counts slide-advance clicks as engagement.
177
- Vendor observational and small study.
178
- https://www.seoworks.co.uk/downloads/data-led-analysis-of-linkedin-video-vs-carousels/
179
-
180
- ## Example: a specialist audience
181
-
182
- The .NET and event-sourcing audience shows how one "developer community" is really several
183
- places with different norms. Broad discovery happens through creator videos, newsletters,
184
- blogs and conferences. Deeper modeling and event-sourcing conversations live in narrower
185
- venues. Audience counters on those channels are not active readers, and none of this
186
- measures which format works for a given product.
187
-
188
- - Oskar Dudycz's 2026 article on fixing bugs in event-sourced systems opens with bad data
189
- from integrations, users and shipped changes, then a support incident. Case example.
190
- https://event-driven.io/en/fixing-bugs-in-event-sourcing-is-hard/
191
- - Jeremy D. Miller's writing distinguishes Wolverine's logical message deduplication from
192
- transactional-inbox idempotency, the kind of precise distinction practitioners argue
193
- about. Case example. https://jeremydmiller.com/
194
- - Marten describes itself as a PostgreSQL-backed .NET document database and event store
195
- and links tutorials and a chat. Official. https://martendb.io/
196
- - Kurrent runs a discussion forum with product and Domain-Driven Design categories.
197
- Official. https://discuss.kurrent.io/
198
- - Virtual DDD builds sessions around problems members bring, solved or not, and continues
199
- discussion on Discord. That describes the community. It doesn't grant permission to
200
- promote there. Official. https://virtualddd.com/
201
- - NDC links most earlier talks from its YouTube archive. Official.
202
- https://ndcconferences.com/
203
- - Jimmy Bogard reported over 700 registrations for a webinar. Registrations, not
204
- attendance. Case example.
205
- https://www.jimmybogard.com/vertical-slice-architecture-webinar-recording-and-whats-next/
206
-
207
- ## Folklore sources
208
-
209
- | Claim | Why it fails | Source |
210
- | --- | --- | --- |
211
- | Links in the LinkedIn body kill reach | Format medians don't isolate link placement | https://buffer.com/resources/state-of-social-media-engagement-2026/ |
212
- | The first hour decides a post | LinkedIn discloses no cutoff | https://www.linkedin.com/blog/engineering/feed/engineering-the-next-generation-of-linkedins-feed |
213
- | Exact hashtag counts, or saves outrank likes | No weights published | Same LinkedIn Engineering post |
214
- | Carousels drive developer adoption | Engagement can include slide clicks; no adoption data | Buffer report above; https://www.seoworks.co.uk/downloads/data-led-analysis-of-linkedin-video-vs-carousels/ |
215
- | Founder posts have a fixed multiplier | One company's unquantified observation | https://posthog.com/handbook/content/social-media |
216
- | Everyone should post two to five times a week | Observational association | https://buffer.com/resources/how-often-to-post-on-linkedin/ |
217
- | Negative or mystery hooks win with engineers | Historical news-site CTR, not trust or adoption | https://www.nature.com/articles/s41598-024-81575-9 and https://www.nature.com/articles/s41562-023-01538-4 |
218
- | Documentation only matters after the sale | Developers report using docs to learn and onboard | https://survey.stackoverflow.co/2025/developers/ and https://www.developernation.net/developer-reports/dn29/ |
219
- | Stars, impressions or last clicks equal adoption | Different events | https://docs.github.com/en/get-started/exploring-projects-on-github/saving-repositories-with-stars and https://support.google.com/analytics/answer/9756891 |
220
- | HN welcomes polished promotional replies | Its rules prohibit generated comments and primarily promotional use | https://news.ycombinator.com/newsguidelines.html |
221
-
222
- Unchecked and not used: current subreddit rules, live platform character limits (see the
223
- content-length skill), and any vendor benchmark not listed above. Check them at the time of
224
- use.
1
+ # Judge a marketing claim before using it
2
+
3
+ ## Match the claim to the evidence
4
+
5
+ - **Platform rule:** check the platform's current documentation or composer.
6
+ A rule describes what is permitted or counted, not what will work. Check
7
+ community rules before proposing a post, answer, or follow-up.
8
+ - **Survey:** use responses to frame hypotheses about a specific audience.
9
+ Check who was recruited, which question was asked, and its denominator.
10
+ Don't turn stated preferences into observed purchases, compare answers to
11
+ different questions as a trend, or treat every role as the decision-maker.
12
+ - **Observational benchmark:** check whose accounts and posts were measured,
13
+ what counted as engagement, and what else changed. Don't turn a correlation
14
+ into a publishing frequency, formula, or guaranteed outcome.
15
+ - **Company practice or case example:** extract the technique and its cost,
16
+ not a predicted result. Make a small, measurable pilot for the intended
17
+ audience. A specialist's success is not evidence for a general audience.
18
+
19
+ ## Check before repeating common claims
20
+
21
+ - Opening variants can affect clicks without helping the reader evaluate a
22
+ tool. Don't borrow a headline tactic from news or infer trust from clicks.
23
+ - A link-format comparison does not isolate link placement. Don't move a link
24
+ out of the body without a reason relevant to the reader or a local test.
25
+ - Don't invent first-hour cutoffs, ranking weights, hashtag counts, or a
26
+ founder-reach multiplier. For each derivative, tie format and timing to
27
+ the useful action a reader can take.
28
+ - A carousel page advance, author reply, or native impression is not adoption.
29
+ Check definitions and measure the behavior of interest separately.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-discoverability
3
- description: Use when checking Cratis search discoverability, metadata, adoption claims, structured data or indexing before publication. Not for page voice, export architecture, distribution strategy or content length.
3
+ description: Use when checking Cratis search discoverability, metadata, adoption claims, structured data or indexing before publication. Not for designing documentation exports for assistants (use cratis-llm-friendly-documentation).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -39,8 +39,8 @@ Read [references/page-checklist.md](references/page-checklist.md) when checking
39
39
  - **Landing page.** One primary term in the title, the `<h1>` or the first paragraph, and a
40
40
  one-sentence definition above the fold. Brand lines stay; pair them with a category term in the
41
41
  title and description. Respect the claim gate in `BRAND.md`, `MESSAGING.md` and `SITE.md`.
42
- - **README.** The H1 may be the product name ("Cratis <Product>"). The first sentence defines the product in 15-35 plain
43
- nouns, with no logo-only or metaphor opener. Links are absolute; link the docs page.
42
+ - **README.** The H1 may be the product name ("Cratis <Product>"). The first sentence defines the product in 15–35 plain
43
+ words, with no logo-only or metaphor opener. Links are absolute; link the docs page.
44
44
  - **Package metadata.** One sentence naming what the package is and which Cratis product it belongs
45
45
  to, identical to the README opener. `PackageProjectUrl` and `homepage` point at the docs page, not
46
46
  only at GitHub. Read [references/package-metadata.md](references/package-metadata.md) when editing package fields, GitHub About,
@@ -75,12 +75,19 @@ Without approved public founder facts, reference the organization by `@id` inste
75
75
  ## Checking a built site
76
76
 
77
77
  For a built static site (Astro `dist/` or a plain-HTML repository root), run with Node.js:
78
- `node <skill-directory>/scripts/verify-discoverability.mjs --root <dir> --site <https://host>`.
78
+ `node <skill-directory>/scripts/verify-discoverability.mjs --site <https://host>`.
79
+ Use `--root <dir>` when the built site is not in `dist`.
79
80
  It reports `<html lang>`, title, description, canonical host, `<h1>` count, JSON-LD parse errors,
80
81
  `robots.txt`, the sitemap and `llms.txt` structure. Errors exit 1; warnings do not. Pass
81
82
  `--warn-only` to downgrade errors and `--require-llms` where the site ships `llms.txt`.
82
83
  Read `scripts/verify-discoverability.mjs` only when changing the checker.
83
84
 
85
+ ## Route near misses
86
+
87
+ - Voice: use `cratis-writing-voice-and-cadence`.
88
+ - Distribution: use `cratis-developer-marketing`.
89
+ - Length: use `cratis-content-length`.
90
+
84
91
  ## Pitfalls
85
92
 
86
93
  - Question headings everywhere: use a question only when it expresses the reader's actual question
@@ -12,7 +12,7 @@
12
12
 
13
13
  | Field | NuGet (`.csproj`, `Directory.Build.props`) | npm (`package.json`) |
14
14
  | --- | --- | --- |
15
- | Description | `<Description>`, 80-250 characters; the first 100 are what shows | `description`, 80-160 characters |
15
+ | Description | `<Description>`, 80–250 characters (editorial target) | `description`, 80–160 characters (editorial target) |
16
16
  | Tags | `<PackageTags>`, 5-10, `cratis` plus category terms | `keywords`, the same list |
17
17
  | Project URL | `<PackageProjectUrl>` = `https://www.cratis.io/<product>/` | `homepage`, the same |
18
18
  | Repository | `RepositoryUrl` | `repository` |
@@ -50,7 +50,7 @@ the GitHub About text. Tags are specific ("event-sourcing", "cqrs", "dotnet"); n
50
50
  Inspect effective NuGet properties on a packable project, including inherited values:
51
51
 
52
52
  ```sh
53
- dotnet msbuild <packable.csproj> -getProperty:Authors -getProperty:Company -getProperty:Description -getProperty:PackageProjectUrl
53
+ dotnet msbuild <packable.csproj> -getProperty:Authors,Company,Description,PackageProjectUrl
54
54
  ```
55
55
 
56
56
  A pass shows `Cratis` for Authors and Company, a nonempty parent-product definition and the
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-documentation-writing
3
- description: Use when planning a Cratis documentation reader journey, choosing a page's purpose or reviewing its structure. Not for example execution, release notes or publication; use the corresponding specialist.
3
+ description: Use when planning a Cratis documentation reader journey, choosing a page's purpose or reviewing its structure. Not for verifying runnable examples (use cratis-technical-examples).
4
4
  license: MIT
5
5
  ---
6
6
 
@@ -8,13 +8,14 @@ license: MIT
8
8
 
9
9
  A developer arrives with a job to do, not with an interest in our repository
10
10
  structure. Start from that job: what did they try, what stopped them, and what
11
- would let them know they succeeded? Use [Diátaxis](https://diataxis.fr/)
12
- as a compass for each page's primary purpose, not a purity test. This skill
11
+ would let them know they succeeded? Use [Diátaxis](https://diataxis.fr/) to choose the page's primary purpose. This skill
13
12
  governs content and reader journeys; the owning repository governs page
14
13
  placement, navigation, and rendering.
15
14
 
16
15
  ## Use the specialists at their boundary
17
16
 
17
+ For release notes, use `cratis-release-notes`.
18
+
18
19
  Read this skill to plan the reader journey, then read
19
20
  **cratis-engineering-docs-authoring** to draft from product evidence,
20
21
  **cratis-technical-examples** to verify code, commands, configuration and output.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cratis-engineering-ci-gates
3
- description: Use when choosing CI-matched local gates, waiting for exact workflow runs or considering cancellation of owned superseded checks. Not for delivery grouping, review rounds or optimizing workflow design.
3
+ description: Use when matching local checks to CI or waiting for an exact workflow run. Not for assembling a release candidate (use cratis-engineering-release-trains).
4
4
  license: LICENSE
5
5
  compatibility: Requires git and the GitHub CLI (gh).
6
6
  ---
@@ -13,7 +13,7 @@ compatibility: Requires git and the GitHub CLI (gh).
13
13
  Operate checks; do not redesign workflows here. Run the applicable local gates
14
14
  before pushing and require the repository's required CI checks before merging.
15
15
  For release labels and PR body checks, use
16
- [cratis-platform-prepare-release-pr](../cratis-platform-prepare-release-pr/SKILL.md).
16
+ `cratis-platform-prepare-release-pr`.
17
17
  A `no-release` label never waives required checks.
18
18
  A request to verify does not authorize a push.
19
19
 
@@ -42,56 +42,19 @@ replaces defaults; project overrides still apply.
42
42
  and API regeneration checks; never hand-edit generated files. A package bump
43
43
  regenerates the checked-in snapshots that pin versions, in the same commit.
44
44
  For Arc TypeScript proxy generation in the client's Debug build, use
45
- cratis-arc-generate-proxies (`cratis/arc/core`). Keep generation out of CI and
46
- its local mirror: pass `-p:CratisProxiesSkip=true -p:CratisProxiesOutputPath=`
47
- (`CratisProxiesSkip` needs Arc 22.185.1 or later; the empty path covers older Arc).
45
+ `cratis-arc-generate-proxies` (`cratis/arc/core`). Keep generation out of CI and
46
+ its local mirror. Mirror the workflow’s configured suppression; when adding
47
+ it to an Arc build, pass `-p:CratisProxiesSkip=true`.
48
48
 
49
49
  Before pushing, run every required local gate not yet passed on the candidate.
50
50
  When several deliveries form one candidate, the assembler runs the final gate
51
51
  on the assembled state; deliveries bring targeted results. A changed state after
52
52
  a failure needs the required gate again.
53
53
 
54
- ## Phase execution
55
-
56
- - Budget targeted checks around 120 seconds and build/test phases around 300 seconds;
57
- explain any longer budget first, and obtain explicit approval before a phase exceeds
58
- 600 seconds. Do not blindly retry or repeat passing tests on unchanged inputs without
59
- a flaky-test hypothesis or required matrix.
60
- - Separate status/fetch from builds, Debug from Release, each test project, and frontend
61
- lint/compile/test/build. Do not combine these into an opaque command with a large
62
- outer timeout. Expose progress and cancellation; report the precise failed or
63
- timed-out phase and do not continue dependent phases after failure.
64
- - Capture the producer's exit status before summarizing output; `pipefail` alone is
65
- insufficient with early-closing consumers such as `head`. Never use
66
- `build/test | grep | sort/head/tail` as gate evidence. Printed zero-error counts are
67
- not proof of success. Preserve needed full diagnostics in the task’s ignored scratch folder
68
- logs rather than hiding them in `/tmp`.
69
- - Fast feedback is a product requirement: a spec takes milliseconds, the suite seconds;
70
- specs share setup and run in parallel; analyzers must not halt builds. CI builds the
71
- spec path without analyzers and enforces them, warnings as errors, in a parallel
72
- required job; the pre-push gate runs them. A slowdown is a defect.
73
-
74
- Report the exact command and result. Put verification and deferred coverage in
75
- reviewer comments, not the release-note description.
76
-
77
- ## Local first, and resource-aware
78
-
79
- CI is the final confirmation before merge and deploy, never a feedback loop.
80
- Pass the applicable local gates before an authorized push. Do not push to see whether something compiles or passes, and do not use
81
- a red run to discover the next failure.
82
-
83
- Several agents, worktrees or builds often share one machine. Keep it responsive:
84
-
85
- - Cap parallelism, for example `dotnet build -m:2`, built spec executables with their
86
- runner-specific thread limit, and `vitest run --maxWorkers=2`. Do not pass MSBuild
87
- `-m` to executables; `dotnet test <project> --no-build -m:2` is VSTest-only.
88
- - Run one heavy phase at a time (build, then specs, then frontend lint and
89
- tests), never several at once.
90
- - Do not start a heavy phase while another agent's runs in the same machine's
91
- checkout; wait or lower the cap, and do not retry a starved or timed-out phase
92
- at full parallelism.
93
-
94
- ## Wait without polling
54
+ Read [local phase execution](references/gate-operation.md#phase-execution) when
55
+ setting deadlines, parallelism, or capturing check evidence.
56
+
57
+ ## Watch the exact run
95
58
 
96
59
  After an authorized push, capture the full head SHA and discover the run for the
97
60
  intended workflow. For example:
@@ -119,92 +82,13 @@ repeated `gh run list`, `gh run view` or PR-check requests while waiting.
119
82
 
120
83
  Say: "Waiting on CI run <id> for the current PR head." Do independent work while
121
84
  it runs. If none remains, end the turn. If the watch cannot finish in the session,
122
- leave a [handoff](../cratis-session-handoff/SKILL.md) with the SHA, run ID and outstanding checks;
85
+ leave a `cratis-session-handoff` with the SHA, run ID and outstanding checks;
123
86
  report the wait as incomplete, not successful. A watch timeout does not cancel
124
87
  the remote run and is not a failed-test diagnosis.
125
88
 
126
- ## Diagnose once, fix together
127
-
128
- After the run completes with a failure:
129
-
130
- 1. Read the failed logs once, for example
131
- `gh run view <id> --repo OWNER/REPO --log-failed`.
132
- 2. Check other jobs in that completed run, for example
133
- `gh run view <id> --repo OWNER/REPO --json jobs`. Account for every failure,
134
- including independent failures beyond the first red job.
135
- 3. Fix all in-scope causes together. Report unrelated or unavailable causes as
136
- blockers rather than silently waiving them. Re-run the required local gate
137
- on the fixed state, then push once when the request authorizes it.
138
- 4. Flaky tests never hang a release. Classify within about 15 minutes from one
139
- failed-log read and the test's history on main: real (in code the change
140
- touched) or flaky. A flaky or pre-existing claim needs independent root-cause
141
- validation; an unknown or repeating failure without a matching signature is
142
- real and a blocker, not a quarantine candidate.
143
- - Confirmed flake: after the run completes, rerun once, e.g.
144
- `gh run rerun <id> --repo OWNER/REPO --failed`; a known flake with a
145
- matching signature may go straight to quarantine. If it fails again,
146
- quarantine the test in the same train via the repo's mechanism, open a
147
- tracked "Flaky: <test>" issue with the evidence (label `flaky`), and push
148
- once. Never quarantine silently or disable security or critical-path
149
- coverage; if the security lens vetoes, evict the item or escalate.
150
- - Real failure: fix in one round or evict the item. Never retry in loops; a
151
- train waits at most one CI cycle on a flake.
152
-
153
- Never put a CI skip token in a title or commit. Do not spend a push on each
154
- individual fix or use CI to discover whether speculative fixes compile.
155
-
156
- ## Cancel only owned, superseded work
157
-
158
- Cancellation needs a reason and an exact target. Within an authorized shipping
159
- or folding request, cancel only runs started by the session's own superseded or
160
- folded pushes. Anyone else's run needs the owner's agreement. Merely sharing a
161
- branch or finding a duplicate run does not establish ownership.
162
-
163
- Before acting, inspect each candidate, for example:
164
-
165
- ```bash
166
- gh run view <id> --repo OWNER/REPO \
167
- --json workflowName,event,headBranch,headSha,status,createdAt
168
- ```
169
-
170
- Confirm the initiating push, workflow and SHA against the superseding head or
171
- folded PR. Inspect the workflow's jobs if its effects are unclear. Never cancel
172
- a release, publish or deploy run, regardless of ownership or workflow name.
173
- Do not cancel a check whose result a queued or running publication needs, or a
174
- required check about to gate a merge. Another owner's watched merge run needs
175
- that owner's agreement. Even with agreement, release, publish and deploy runs
176
- and checks needed by publication remain protected.
177
-
178
- Re-read immediately before cancelling so drift cannot widen the target. Do not
179
- cancel by branch, name or age alone, or use a bulk cancellation command. Once
180
- confirmed, for example:
181
-
182
- ```bash
183
- gh run cancel <id> --repo OWNER/REPO
184
- ```
185
-
186
- Report one line naming the run ID and superseding or folding reason. If ownership
187
- or downstream use is uncertain, leave it running and report the uncertainty.
188
-
189
- ## Integration and containers
190
-
191
- Run local integration only when the tier policy calls for it or a bounded
192
- cross-repository proof needs it. Give every container phase and Docker call a
193
- deadline, including startup, image builds, tests and teardown. A background job
194
- is not a timeout or a cleanup policy.
195
-
196
- Keep track of the containers and networks created by the phase. On success,
197
- failure, timeout or abandonment, stop and remove only those owned resources.
198
- Use exact IDs or a task-specific Compose project; confirm ownership before
199
- removal. Do not restart a shared daemon or stop another task's services.
200
- Never run `docker system prune -a` or `docker image prune -a`.
201
-
202
- When a test run hangs, ask for a mini hang dump (`--blame-hang-dump-type mini` on VSTest, `--hangdump-type Mini` on Microsoft.Testing.Platform). Read the stack (for example `dotnet-dump analyze <file>` then `clrstack -all`), keep the text output, and delete the `.dmp` file. Use a full dump only for a named investigation that needs heap contents.
203
-
204
- For a repository's Compose test setup, one scoped teardown example is
205
- `docker compose -p <task-project> down`, under its own deadline. Do not add
206
- volume deletion unless those volumes are disposable and owned by this task.
207
- Keep secrets out of logs and artifacts.
89
+ Read [failure diagnosis and cancellation](references/gate-operation.md#diagnose-once-fix-together)
90
+ for failed or superseded runs, and [container checks](references/gate-operation.md#integration-and-containers)
91
+ before running local integration.
208
92
 
209
93
  ## What breaks
210
94