incitaciones 0.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 (318) hide show
  1. package/LICENSE +395 -0
  2. package/README.md +410 -0
  3. package/content/distilled/abstraction-miner.md +32 -0
  4. package/content/distilled/adversarial-stakeholder-evaluation.md +121 -0
  5. package/content/distilled/anti-slop-prose.md +46 -0
  6. package/content/distilled/bias-audit.md +39 -0
  7. package/content/distilled/code-review/SKILL.md +53 -0
  8. package/content/distilled/code-review/references/criteria.md +50 -0
  9. package/content/distilled/code-review/references/templates.md +75 -0
  10. package/content/distilled/code-review/references/variants.md +32 -0
  11. package/content/distilled/commit/SKILL.md +41 -0
  12. package/content/distilled/commit/references/criteria.md +21 -0
  13. package/content/distilled/commit/references/templates.md +46 -0
  14. package/content/distilled/composability-diagnostician.md +67 -0
  15. package/content/distilled/context-guardian.md +20 -0
  16. package/content/distilled/create-handoff/SKILL.md +16 -0
  17. package/content/distilled/create-handoff/references/handoff-template.md +65 -0
  18. package/content/distilled/create-handoff/references/naming.md +7 -0
  19. package/content/distilled/create-issues/SKILL.md +72 -0
  20. package/content/distilled/create-issues/references/criteria.md +44 -0
  21. package/content/distilled/create-issues/references/templates.md +75 -0
  22. package/content/distilled/create-plan/SKILL.md +19 -0
  23. package/content/distilled/create-plan/references/plan-template.md +87 -0
  24. package/content/distilled/create-plan/references/scenarios.md +19 -0
  25. package/content/distilled/debug/SKILL.md +42 -0
  26. package/content/distilled/debug/references/criteria.md +27 -0
  27. package/content/distilled/debug/references/templates.md +39 -0
  28. package/content/distilled/describe-pr/SKILL.md +17 -0
  29. package/content/distilled/describe-pr/references/pr-template.md +62 -0
  30. package/content/distilled/design-practice.md +213 -0
  31. package/content/distilled/design-review/SKILL.md +29 -0
  32. package/content/distilled/design-review/references/combined-review.md +27 -0
  33. package/content/distilled/design-review/references/decision-matrix.md +122 -0
  34. package/content/distilled/design-review/references/problem-statement.md +141 -0
  35. package/content/distilled/design-review/references/report-template.md +36 -0
  36. package/content/distilled/design-review/references/scope-document.md +51 -0
  37. package/content/distilled/distill-prompt/SKILL.md +41 -0
  38. package/content/distilled/distill-prompt/references/criteria.md +26 -0
  39. package/content/distilled/distill-prompt/references/templates.md +30 -0
  40. package/content/distilled/doc-link-verifier/SKILL.md +212 -0
  41. package/content/distilled/doc-link-verifier/scripts/check_links.py +453 -0
  42. package/content/distilled/doc-link-verifier/scripts/extract_links.py +521 -0
  43. package/content/distilled/edge-case-discovery.md +123 -0
  44. package/content/distilled/error-handling-diagnostician.md +90 -0
  45. package/content/distilled/extract-prompt.md +220 -0
  46. package/content/distilled/formal-verification-evaluator.md +158 -0
  47. package/content/distilled/grill-me.md +24 -0
  48. package/content/distilled/guided-review.md +68 -0
  49. package/content/distilled/implement-documentation.md +68 -0
  50. package/content/distilled/implement-plan/SKILL.md +23 -0
  51. package/content/distilled/implement-plan/references/common-situations.md +36 -0
  52. package/content/distilled/implement-plan/references/verification-template.md +18 -0
  53. package/content/distilled/invalid-states-diagnostician.md +63 -0
  54. package/content/distilled/issue-review/SKILL.md +37 -0
  55. package/content/distilled/issue-review/references/convergence.md +19 -0
  56. package/content/distilled/issue-review/references/final-report.md +60 -0
  57. package/content/distilled/issue-review/references/pass-1-clarity.md +28 -0
  58. package/content/distilled/issue-review/references/pass-2-scope.md +22 -0
  59. package/content/distilled/issue-review/references/pass-3-dependencies.md +23 -0
  60. package/content/distilled/issue-review/references/pass-4-alignment.md +17 -0
  61. package/content/distilled/issue-review/references/pass-5-executability.md +17 -0
  62. package/content/distilled/issue-review/references/setup.md +25 -0
  63. package/content/distilled/iterate-plan/SKILL.md +24 -0
  64. package/content/distilled/iterate-plan/references/change-template.md +15 -0
  65. package/content/distilled/iterate-plan/references/common-scenarios.md +14 -0
  66. package/content/distilled/julia-performance-diagnostician.md +71 -0
  67. package/content/distilled/modularity-diagnostician.md +68 -0
  68. package/content/distilled/multi-agent-review.md +196 -0
  69. package/content/distilled/mutability-diagnostician.md +63 -0
  70. package/content/distilled/narrative-article.md +60 -0
  71. package/content/distilled/optionality-review.md +190 -0
  72. package/content/distilled/parallel-review/SKILL.md +49 -0
  73. package/content/distilled/parallel-review/references/criteria.md +34 -0
  74. package/content/distilled/parallel-review/references/templates.md +59 -0
  75. package/content/distilled/plan-review/SKILL.md +42 -0
  76. package/content/distilled/plan-review/references/criteria.md +51 -0
  77. package/content/distilled/plan-review/references/templates.md +67 -0
  78. package/content/distilled/pre-mortem.md +10 -0
  79. package/content/distilled/project-status-report.md +124 -0
  80. package/content/distilled/pwa-accessibility-review.md +81 -0
  81. package/content/distilled/rca-diagnostician/SKILL.md +30 -0
  82. package/content/distilled/rca-diagnostician/references/action-hierarchy.md +77 -0
  83. package/content/distilled/rca-diagnostician/references/bias-countermeasures.md +64 -0
  84. package/content/distilled/rca-diagnostician/references/evidence-timeline.md +49 -0
  85. package/content/distilled/rca-diagnostician/references/hypothesis-methods.md +53 -0
  86. package/content/distilled/rca-diagnostician/references/problem-definition.md +34 -0
  87. package/content/distilled/rca-diagnostician/references/report-template.md +75 -0
  88. package/content/distilled/rca-diagnostician/references/rigor-checklist.md +66 -0
  89. package/content/distilled/red-team-review.md +133 -0
  90. package/content/distilled/research-codebase/SKILL.md +22 -0
  91. package/content/distilled/research-codebase/references/report-template.md +75 -0
  92. package/content/distilled/research-codebase/references/search-patterns.md +27 -0
  93. package/content/distilled/research-documentation.md +79 -0
  94. package/content/distilled/research-review/SKILL.md +42 -0
  95. package/content/distilled/research-review/references/criteria.md +51 -0
  96. package/content/distilled/research-review/references/templates.md +73 -0
  97. package/content/distilled/resonant-refactor.md +45 -0
  98. package/content/distilled/resume-handoff/SKILL.md +19 -0
  99. package/content/distilled/resume-handoff/references/analysis-template.md +40 -0
  100. package/content/distilled/resume-handoff/references/locating.md +12 -0
  101. package/content/distilled/review-documentation.md +44 -0
  102. package/content/distilled/rigidity-diagnostician.md +70 -0
  103. package/content/distilled/rule-of-5-universal/SKILL.md +26 -0
  104. package/content/distilled/rule-of-5-universal/references/criteria.md +34 -0
  105. package/content/distilled/rule-of-5-universal/references/examples.md +69 -0
  106. package/content/distilled/rule-of-5-universal/references/templates.md +136 -0
  107. package/content/distilled/specification-evaluation-diagnostician.md +106 -0
  108. package/content/distilled/specification-review/SKILL.md +43 -0
  109. package/content/distilled/specification-review/references/criteria.md +51 -0
  110. package/content/distilled/specification-review/references/templates.md +67 -0
  111. package/content/distilled/systematic-housekeeping.md +27 -0
  112. package/content/distilled/tdd/SKILL.md +38 -0
  113. package/content/distilled/tdd/references/criteria.md +26 -0
  114. package/content/distilled/tdd/references/templates.md +53 -0
  115. package/content/distilled/test-abstraction-miner.md +43 -0
  116. package/content/distilled/test-friction.md +51 -0
  117. package/content/distilled/testability-implementability-evaluator.md +144 -0
  118. package/content/distilled/ui-align.md +32 -0
  119. package/content/distilled/ux-dx-evaluation-diagnostician/SKILL.md +21 -0
  120. package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-1-product.md +20 -0
  121. package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-2-engineering.md +20 -0
  122. package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-3-interface.md +23 -0
  123. package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-4-ecosystem.md +20 -0
  124. package/content/distilled/ux-dx-evaluation-diagnostician/references/layer-5-documentation.md +19 -0
  125. package/content/distilled/ux-dx-evaluation-diagnostician/references/report-template.md +36 -0
  126. package/content/distilled/verification-diagnostician.md +90 -0
  127. package/content/distilled/verify-prompt/SKILL.md +32 -0
  128. package/content/distilled/verify-prompt/references/criteria.md +21 -0
  129. package/content/manifest.json +3220 -0
  130. package/package.json +50 -0
  131. package/pi-package/README.md +9 -0
  132. package/pi-package/prompts/abstraction-miner.md +10 -0
  133. package/pi-package/prompts/adversarial-stakeholder-evaluation.md +10 -0
  134. package/pi-package/prompts/anti-slop-prose.md +10 -0
  135. package/pi-package/prompts/bias-audit.md +10 -0
  136. package/pi-package/prompts/code-review.md +10 -0
  137. package/pi-package/prompts/commit.md +10 -0
  138. package/pi-package/prompts/composability-diagnostician.md +10 -0
  139. package/pi-package/prompts/context-guardian.md +10 -0
  140. package/pi-package/prompts/create-handoff.md +10 -0
  141. package/pi-package/prompts/create-issues.md +10 -0
  142. package/pi-package/prompts/create-plan.md +10 -0
  143. package/pi-package/prompts/debug.md +10 -0
  144. package/pi-package/prompts/describe-pr.md +10 -0
  145. package/pi-package/prompts/design-practice.md +10 -0
  146. package/pi-package/prompts/design-review.md +10 -0
  147. package/pi-package/prompts/distill-prompt.md +10 -0
  148. package/pi-package/prompts/doc-link-verifier.md +10 -0
  149. package/pi-package/prompts/edge-case-discovery.md +10 -0
  150. package/pi-package/prompts/error-handling-diagnostician.md +10 -0
  151. package/pi-package/prompts/extract-prompt.md +10 -0
  152. package/pi-package/prompts/formal-verification-evaluator.md +10 -0
  153. package/pi-package/prompts/grill-me.md +10 -0
  154. package/pi-package/prompts/guided-review.md +10 -0
  155. package/pi-package/prompts/implement-documentation.md +10 -0
  156. package/pi-package/prompts/implement-plan.md +10 -0
  157. package/pi-package/prompts/invalid-states-diagnostician.md +10 -0
  158. package/pi-package/prompts/issue-review.md +10 -0
  159. package/pi-package/prompts/iterate-plan.md +10 -0
  160. package/pi-package/prompts/julia-performance-diagnostician.md +10 -0
  161. package/pi-package/prompts/modularity-diagnostician.md +10 -0
  162. package/pi-package/prompts/multi-agent-review.md +10 -0
  163. package/pi-package/prompts/mutability-diagnostician.md +10 -0
  164. package/pi-package/prompts/narrative-article.md +10 -0
  165. package/pi-package/prompts/optionality-review.md +10 -0
  166. package/pi-package/prompts/parallel-review.md +10 -0
  167. package/pi-package/prompts/plan-review.md +10 -0
  168. package/pi-package/prompts/pre-mortem.md +10 -0
  169. package/pi-package/prompts/project-status-report.md +10 -0
  170. package/pi-package/prompts/pwa-accessibility-review.md +10 -0
  171. package/pi-package/prompts/rca-diagnostician.md +10 -0
  172. package/pi-package/prompts/red-team-review.md +10 -0
  173. package/pi-package/prompts/research-codebase.md +10 -0
  174. package/pi-package/prompts/research-documentation.md +10 -0
  175. package/pi-package/prompts/research-review.md +10 -0
  176. package/pi-package/prompts/resonant-refactor.md +10 -0
  177. package/pi-package/prompts/resume-handoff.md +10 -0
  178. package/pi-package/prompts/review-documentation.md +10 -0
  179. package/pi-package/prompts/rigidity-diagnostician.md +10 -0
  180. package/pi-package/prompts/rule-of-5-universal.md +10 -0
  181. package/pi-package/prompts/specification-evaluation-diagnostician.md +10 -0
  182. package/pi-package/prompts/specification-review.md +10 -0
  183. package/pi-package/prompts/systematic-housekeeping.md +10 -0
  184. package/pi-package/prompts/tdd.md +10 -0
  185. package/pi-package/prompts/test-abstraction-miner.md +10 -0
  186. package/pi-package/prompts/test-friction.md +10 -0
  187. package/pi-package/prompts/testability-implementability-evaluator.md +10 -0
  188. package/pi-package/prompts/ui-align.md +10 -0
  189. package/pi-package/prompts/ux-dx-evaluation-diagnostician.md +10 -0
  190. package/pi-package/prompts/verification-diagnostician.md +10 -0
  191. package/pi-package/prompts/verify-prompt.md +10 -0
  192. package/pi-package/skills/abstraction-miner/SKILL.md +38 -0
  193. package/pi-package/skills/adversarial-stakeholder-evaluation/SKILL.md +127 -0
  194. package/pi-package/skills/anti-slop-prose/SKILL.md +52 -0
  195. package/pi-package/skills/bias-audit/SKILL.md +45 -0
  196. package/pi-package/skills/code-review/SKILL.md +59 -0
  197. package/pi-package/skills/code-review/references/criteria.md +50 -0
  198. package/pi-package/skills/code-review/references/templates.md +75 -0
  199. package/pi-package/skills/code-review/references/variants.md +32 -0
  200. package/pi-package/skills/commit/SKILL.md +47 -0
  201. package/pi-package/skills/commit/references/criteria.md +21 -0
  202. package/pi-package/skills/commit/references/templates.md +46 -0
  203. package/pi-package/skills/composability-diagnostician/SKILL.md +73 -0
  204. package/pi-package/skills/context-guardian/SKILL.md +26 -0
  205. package/pi-package/skills/create-handoff/SKILL.md +22 -0
  206. package/pi-package/skills/create-handoff/references/handoff-template.md +65 -0
  207. package/pi-package/skills/create-handoff/references/naming.md +7 -0
  208. package/pi-package/skills/create-issues/SKILL.md +78 -0
  209. package/pi-package/skills/create-issues/references/criteria.md +44 -0
  210. package/pi-package/skills/create-issues/references/templates.md +75 -0
  211. package/pi-package/skills/create-plan/SKILL.md +25 -0
  212. package/pi-package/skills/create-plan/references/plan-template.md +87 -0
  213. package/pi-package/skills/create-plan/references/scenarios.md +19 -0
  214. package/pi-package/skills/debug/SKILL.md +48 -0
  215. package/pi-package/skills/debug/references/criteria.md +27 -0
  216. package/pi-package/skills/debug/references/templates.md +39 -0
  217. package/pi-package/skills/describe-pr/SKILL.md +23 -0
  218. package/pi-package/skills/describe-pr/references/pr-template.md +62 -0
  219. package/pi-package/skills/design-practice/SKILL.md +219 -0
  220. package/pi-package/skills/design-review/SKILL.md +35 -0
  221. package/pi-package/skills/design-review/references/combined-review.md +27 -0
  222. package/pi-package/skills/design-review/references/decision-matrix.md +122 -0
  223. package/pi-package/skills/design-review/references/problem-statement.md +141 -0
  224. package/pi-package/skills/design-review/references/report-template.md +36 -0
  225. package/pi-package/skills/design-review/references/scope-document.md +51 -0
  226. package/pi-package/skills/distill-prompt/SKILL.md +47 -0
  227. package/pi-package/skills/distill-prompt/references/criteria.md +26 -0
  228. package/pi-package/skills/distill-prompt/references/templates.md +30 -0
  229. package/pi-package/skills/doc-link-verifier/SKILL.md +218 -0
  230. package/pi-package/skills/doc-link-verifier/scripts/check_links.py +453 -0
  231. package/pi-package/skills/doc-link-verifier/scripts/extract_links.py +521 -0
  232. package/pi-package/skills/edge-case-discovery/SKILL.md +129 -0
  233. package/pi-package/skills/error-handling-diagnostician/SKILL.md +96 -0
  234. package/pi-package/skills/extract-prompt/SKILL.md +226 -0
  235. package/pi-package/skills/formal-verification-evaluator/SKILL.md +164 -0
  236. package/pi-package/skills/grill-me/SKILL.md +30 -0
  237. package/pi-package/skills/guided-review/SKILL.md +74 -0
  238. package/pi-package/skills/implement-documentation/SKILL.md +74 -0
  239. package/pi-package/skills/implement-plan/SKILL.md +29 -0
  240. package/pi-package/skills/implement-plan/references/common-situations.md +36 -0
  241. package/pi-package/skills/implement-plan/references/verification-template.md +18 -0
  242. package/pi-package/skills/invalid-states-diagnostician/SKILL.md +69 -0
  243. package/pi-package/skills/issue-review/SKILL.md +43 -0
  244. package/pi-package/skills/issue-review/references/convergence.md +19 -0
  245. package/pi-package/skills/issue-review/references/final-report.md +60 -0
  246. package/pi-package/skills/issue-review/references/pass-1-clarity.md +28 -0
  247. package/pi-package/skills/issue-review/references/pass-2-scope.md +22 -0
  248. package/pi-package/skills/issue-review/references/pass-3-dependencies.md +23 -0
  249. package/pi-package/skills/issue-review/references/pass-4-alignment.md +17 -0
  250. package/pi-package/skills/issue-review/references/pass-5-executability.md +17 -0
  251. package/pi-package/skills/issue-review/references/setup.md +25 -0
  252. package/pi-package/skills/iterate-plan/SKILL.md +30 -0
  253. package/pi-package/skills/iterate-plan/references/change-template.md +15 -0
  254. package/pi-package/skills/iterate-plan/references/common-scenarios.md +14 -0
  255. package/pi-package/skills/julia-performance-diagnostician/SKILL.md +77 -0
  256. package/pi-package/skills/modularity-diagnostician/SKILL.md +74 -0
  257. package/pi-package/skills/multi-agent-review/SKILL.md +202 -0
  258. package/pi-package/skills/mutability-diagnostician/SKILL.md +69 -0
  259. package/pi-package/skills/narrative-article/SKILL.md +66 -0
  260. package/pi-package/skills/optionality-review/SKILL.md +196 -0
  261. package/pi-package/skills/parallel-review/SKILL.md +55 -0
  262. package/pi-package/skills/parallel-review/references/criteria.md +34 -0
  263. package/pi-package/skills/parallel-review/references/templates.md +59 -0
  264. package/pi-package/skills/plan-review/SKILL.md +48 -0
  265. package/pi-package/skills/plan-review/references/criteria.md +51 -0
  266. package/pi-package/skills/plan-review/references/templates.md +67 -0
  267. package/pi-package/skills/pre-mortem/SKILL.md +16 -0
  268. package/pi-package/skills/project-status-report/SKILL.md +130 -0
  269. package/pi-package/skills/pwa-accessibility-review/SKILL.md +87 -0
  270. package/pi-package/skills/rca-diagnostician/SKILL.md +36 -0
  271. package/pi-package/skills/rca-diagnostician/references/action-hierarchy.md +77 -0
  272. package/pi-package/skills/rca-diagnostician/references/bias-countermeasures.md +64 -0
  273. package/pi-package/skills/rca-diagnostician/references/evidence-timeline.md +49 -0
  274. package/pi-package/skills/rca-diagnostician/references/hypothesis-methods.md +53 -0
  275. package/pi-package/skills/rca-diagnostician/references/problem-definition.md +34 -0
  276. package/pi-package/skills/rca-diagnostician/references/report-template.md +75 -0
  277. package/pi-package/skills/rca-diagnostician/references/rigor-checklist.md +66 -0
  278. package/pi-package/skills/red-team-review/SKILL.md +139 -0
  279. package/pi-package/skills/research-codebase/SKILL.md +28 -0
  280. package/pi-package/skills/research-codebase/references/report-template.md +75 -0
  281. package/pi-package/skills/research-codebase/references/search-patterns.md +27 -0
  282. package/pi-package/skills/research-documentation/SKILL.md +85 -0
  283. package/pi-package/skills/research-review/SKILL.md +48 -0
  284. package/pi-package/skills/research-review/references/criteria.md +51 -0
  285. package/pi-package/skills/research-review/references/templates.md +73 -0
  286. package/pi-package/skills/resonant-refactor/SKILL.md +51 -0
  287. package/pi-package/skills/resume-handoff/SKILL.md +25 -0
  288. package/pi-package/skills/resume-handoff/references/analysis-template.md +40 -0
  289. package/pi-package/skills/resume-handoff/references/locating.md +12 -0
  290. package/pi-package/skills/review-documentation/SKILL.md +50 -0
  291. package/pi-package/skills/rigidity-diagnostician/SKILL.md +76 -0
  292. package/pi-package/skills/rule-of-5-universal/SKILL.md +32 -0
  293. package/pi-package/skills/rule-of-5-universal/references/criteria.md +34 -0
  294. package/pi-package/skills/rule-of-5-universal/references/examples.md +69 -0
  295. package/pi-package/skills/rule-of-5-universal/references/templates.md +136 -0
  296. package/pi-package/skills/specification-evaluation-diagnostician/SKILL.md +112 -0
  297. package/pi-package/skills/specification-review/SKILL.md +49 -0
  298. package/pi-package/skills/specification-review/references/criteria.md +51 -0
  299. package/pi-package/skills/specification-review/references/templates.md +67 -0
  300. package/pi-package/skills/systematic-housekeeping/SKILL.md +33 -0
  301. package/pi-package/skills/tdd/SKILL.md +44 -0
  302. package/pi-package/skills/tdd/references/criteria.md +26 -0
  303. package/pi-package/skills/tdd/references/templates.md +53 -0
  304. package/pi-package/skills/test-abstraction-miner/SKILL.md +49 -0
  305. package/pi-package/skills/test-friction/SKILL.md +57 -0
  306. package/pi-package/skills/testability-implementability-evaluator/SKILL.md +150 -0
  307. package/pi-package/skills/ui-align/SKILL.md +38 -0
  308. package/pi-package/skills/ux-dx-evaluation-diagnostician/SKILL.md +27 -0
  309. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-1-product.md +20 -0
  310. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-2-engineering.md +20 -0
  311. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-3-interface.md +23 -0
  312. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-4-ecosystem.md +20 -0
  313. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/layer-5-documentation.md +19 -0
  314. package/pi-package/skills/ux-dx-evaluation-diagnostician/references/report-template.md +36 -0
  315. package/pi-package/skills/verification-diagnostician/SKILL.md +96 -0
  316. package/pi-package/skills/verify-prompt/SKILL.md +38 -0
  317. package/pi-package/skills/verify-prompt/references/criteria.md +21 -0
  318. package/scripts/cli.mjs +453 -0
@@ -0,0 +1,73 @@
1
+ # Research Review Templates
2
+
3
+ Use these templates to provide a structured, high-signal report for each pass and the final verdict.
4
+
5
+ ## Pass Output Template
6
+
7
+ Use this format for reporting results from any of the five passes.
8
+
9
+ ```markdown
10
+ ### PASS [N]: [Focus Area]
11
+
12
+ #### Issues Found:
13
+ [ID] [CRITICAL|HIGH|MEDIUM|LOW] - [Section/Paragraph]
14
+ **Description:** [What's inaccurate, incomplete, or ambiguous]
15
+ **Evidence:** [Why this is a problem - cite source or codebase]
16
+ **Recommendation:** [How to improve with specific research or fix]
17
+
18
+ [ID] ...
19
+ ```
20
+
21
+ ## Convergence Check Template
22
+
23
+ Use this format after each pass (starting with Pass 2).
24
+
25
+ ```markdown
26
+ **Convergence Check After Pass [N]:**
27
+
28
+ 1. New CRITICAL issues: [count]
29
+ 2. Total new issues this pass: [count]
30
+ 3. Total new issues previous pass: [count]
31
+ 4. Estimated false positive rate: [percentage]
32
+
33
+ **Status:** [CONVERGED | ITERATE | NEEDS_HUMAN]
34
+ ```
35
+
36
+ ## Final Report Template
37
+
38
+ After convergence or completing all 5 passes, provide this summary.
39
+
40
+ ```markdown
41
+ # Research Review Final Report
42
+
43
+ **Research:** [path/to/research.md] | **Convergence:** Pass [N]
44
+
45
+ ## Summary Table
46
+ | Severity | Count | Key Focus |
47
+ | :--- | :--- | :--- |
48
+ | **CRITICAL** | [count] | Factual Accuracy / Evidence |
49
+ | **HIGH** | [count] | Analysis Gaps / Conclusions |
50
+ | **MEDIUM** | [count] | Actionability / Clarity |
51
+ | **LOW** | [count] | Metadata / Flow |
52
+
53
+ ## Research Quality Assessment
54
+ - **Accuracy**: [Excellent|Good|Fair|Poor] - [brief comment]
55
+ - **Completeness**: [Excellent|Good|Fair|Poor] - [brief comment]
56
+ - **Actionability**: [Excellent|Good|Fair|Poor] - [brief comment]
57
+ - **Clarity**: [Excellent|Good|Fair|Poor] - [brief comment]
58
+
59
+ ## Top 3 Critical Findings
60
+ 1. **[ID] [Description]** - [Section]
61
+ * **Impact:** [Why this leads to bad decisions or is factually wrong]
62
+ * **Fix:** [Specific actionable step]
63
+
64
+ 2. **[ID] ...**
65
+
66
+ ## Recommended Next Actions
67
+ 1. [Action 1 - specific and actionable]
68
+ 2. [Action 2 - specific and actionable]
69
+ 3. [Action 3 - specific and actionable]
70
+
71
+ ## Verdict: [READY | NEEDS_REVISION | NEEDS_MORE_RESEARCH]
72
+ **Rationale:** [1-2 sentences explaining the verdict based on evidence quality]
73
+ ```
@@ -0,0 +1,45 @@
1
+ <!-- Full version: content/prompt-workflow-resonant-refactor.md -->
2
+ You are a Refactoring Specialist. Perform precise, verified, reversible changes. Do NOT touch any files before the human approves the plan.
3
+
4
+ **TASK**: Refactor to use [DESCRIBE ABSTRACTION/CHANGE]. Target: [FILES OR "discover via analysis"]
5
+
6
+ **Phase 1 — Impact Analysis** (no code changes yet):
7
+ - Find all usage sites via grep/search
8
+ - List every file that will be modified
9
+ - Predict side effects (API changes, type changes, edge cases)
10
+ - Assign risk: Low / Medium / High with one-sentence justification
11
+
12
+ **Phase 2 — Shadow Test** (no code changes yet):
13
+ - Identify existing tests covering the changed code
14
+ - Run them NOW to establish a baseline — if any fail before changes, STOP and report
15
+ - If tests are known flaky, run 3 times; record baseline failure rate; only rollback if execution exceeds baseline
16
+ - If no tests: write a minimal manual verification checklist
17
+
18
+ **Phase 3 — Human Latch** (REQUIRED STOP):
19
+ Output this block and wait for "APPROVE":
20
+
21
+ ---
22
+ REFACTOR PLAN — APPROVAL REQUIRED
23
+ Abstraction: [name]
24
+ Files to modify: [N files — list]
25
+ Impact: [what changes, what stays]
26
+ Risk: [Low/Med/High] — [justification]
27
+ Verification: [test command or manual steps]
28
+ Rollback: `git reset --hard HEAD` restores all changes
29
+
30
+ Reply APPROVE to begin.
31
+ ---
32
+
33
+ **Phase 4 — Atomic Execution** (after APPROVE):
34
+ Do NOT commit or stage files during execution — working tree only. This ensures rollback covers all changes.
35
+
36
+ For each file: apply change → run verification → report "✓ [file] — passed" or "✗ [file] — [error]"
37
+
38
+ Self-correction: on failure, attempt fix up to 3 times. If all 3 fail: run `git reset --hard HEAD`, report the error, stop.
39
+
40
+ **Phase 5 — Quality Gates**:
41
+ - Run linter on modified files
42
+ - Run full test suite
43
+ - Add docstring to new abstraction: what it does, why it exists, parameters
44
+
45
+ **Completion Report**: files modified, verification pass/fail, linter pass/fail, tests pass/fail, abstraction documented, recommended next step.
@@ -0,0 +1,19 @@
1
+ # Resume from Handoff
2
+
3
+ Resume work from a handoff document through analysis and verification.
4
+
5
+ ## Procedure
6
+
7
+ 1. Locate the handoff file.
8
+ 2. Read it completely.
9
+ 3. Extract current status, critical files, learnings, open questions, and next steps.
10
+ 4. Verify how the repository changed since the handoff.
11
+ 5. Read the referenced critical files.
12
+ 6. Present the current situation using `references/analysis-template.md`.
13
+ 7. Wait for confirmation before starting new work.
14
+
15
+ ## Rules
16
+
17
+ - Always verify the handoff against the current codebase.
18
+ - Treat stale handoffs as possibly inaccurate.
19
+ - Preserve the original priorities unless the current repository invalidates them.
@@ -0,0 +1,40 @@
1
+ ```text
2
+ I've analyzed the handoff from [date]. Here's the current situation:
3
+
4
+ ## Original Context
5
+ [Summary of what was being worked on]
6
+
7
+ ## Task Status Review
8
+
9
+ Completed:
10
+ - [x] [Task] - VERIFIED: [Current status]
11
+
12
+ In Progress:
13
+ - [ ] [Task] - STATUS: [Current state]
14
+
15
+ Planned:
16
+ - [ ] [Next task]
17
+
18
+ ## Changes Since Handoff
19
+
20
+ Commits since handoff:
21
+ - [Commit summary]
22
+
23
+ Impact:
24
+ [How the current state affects the original plan]
25
+
26
+ ## Key Learnings Still Applicable
27
+
28
+ 1. [Learning] - [Why it still applies or not]
29
+
30
+ ## Questions Needing Resolution
31
+
32
+ - [ ] [Question]
33
+
34
+ ## Recommended Next Action
35
+
36
+ Priority 1: [Action]
37
+ - Reason: [Why]
38
+ - Files: [What to read or change]
39
+ - Approach: [How to proceed]
40
+ ```
@@ -0,0 +1,12 @@
1
+ ## Locating a Handoff
2
+
3
+ Examples:
4
+
5
+ ```bash
6
+ # List recent handoffs
7
+ ls -lt handoffs/ | head -10
8
+
9
+ # Find handoffs for a specific issue
10
+ ls handoffs/*issue-123* | sort -r | head -1
11
+ rg -n "issue: issue-123" handoffs/*.md
12
+ ```
@@ -0,0 +1,44 @@
1
+ # Review Documentation Quality
2
+
3
+ Perform a Rule of 5 review of the documentation using the Unified Frameworks for Technical Information Architecture.
4
+
5
+ ## REVIEW PROCESS
6
+
7
+ Perform 5 iterative passes, checking for convergence after each pass (starting with pass 2).
8
+
9
+ ### PASS 1: Diátaxis & Intent
10
+ - **Goal:** Does this topic have a single, clear intent?
11
+ - **Checks:** Is it a Tutorial, How-to, Reference, or Explanation? Are there "leaked" intents? (e.g., too much theory in a Tutorial).
12
+ - **Issue Prefix:** [INTENT-001]
13
+
14
+ ### PASS 2: EPPO & Standalone Utility
15
+ - **Goal:** Can a "foraging" reader land here and succeed?
16
+ - **Checks:** Are context and prerequisites established in the first two sentences? Does it rely on "previous chapter" knowledge without links?
17
+ - **Issue Prefix:** [EPPO-001]
18
+
19
+ ### PASS 3: Cognitive Scannability (Info Mapping)
20
+ - **Goal:** Can the reader scan the page in <10 seconds and find the key answer?
21
+ - **Checks:** Are **labels** (descriptive headers) used for every 2-3 paragraphs? Are paragraphs chunked into small units? Are there tables/lists for complex data?
22
+ - **Issue Prefix:** [SCAN-001]
23
+
24
+ ### PASS 4: Accuracy, "Whole Game" & Fail-States
25
+ - **Goal:** Is the content technically sound and resilient?
26
+ - **Checks:** Are the code snippets/math verified? Does it show the "Whole Game" (complete result)? Are common errors (fail-states) documented? In tutorials, is the **Martini Glass** pattern followed (context → exploration)?
27
+ - **Issue Prefix:** [ACC-001]
28
+
29
+ ### PASS 5: Excellence & AI-Readiness
30
+ - **Goal:** Is it production-ready and optimized for AI agents?
31
+ - **Checks:** Is there a TL;DR for LLMs? Are headers semantically unique for RAG? Is the **Answer First** (Pyramid Principle) located in the TL;DR and first paragraph?
32
+ - **Issue Prefix:** [EXCL-001]
33
+
34
+ ## Convergence Check
35
+ After each pass (starting with pass 2), report:
36
+ - Total new issues found.
37
+ - Estimated "Signal-to-Noise" ratio.
38
+ - Convergence status: (CONVERGED | CONTINUE).
39
+
40
+ ## Final Report Format
41
+ - **Total Issues by Severity** (Critical | High | Medium | Low).
42
+ - **Top 3 Findings.**
43
+ - **Verdict:** (Ready | Needs Revision | Needs Rework).
44
+ - **Rationale.**
@@ -0,0 +1,70 @@
1
+ <!-- Full version: content/prompt-task-rigidity-diagnostician.md -->
2
+ You are a Software Architecture Analyst. Diagnose structural rigidity — cascading change resistance caused by excessive coupling, inappropriate inheritance, and OCP violations — and map each finding to a composition-based remediation pattern. Do NOT modify any files — advisory only.
3
+
4
+ **GUARD:** Do not apply to greenfield projects, inter-service rigidity (API contracts between microservices), or languages with no polymorphism mechanism (no interfaces, abstract types, first-class functions, function pointers, or equivalent). Do not recommend composition patterns for stable code with no historical change pressure — flag as premature abstraction risk instead.
5
+
6
+ **INPUT**
7
+ - Target files/directory: [SPECIFY]
8
+ - High-churn files (optional): [git log output OR "none"]
9
+ - Architecture reference (optional): [AGENTS.md rules OR "none"]
10
+ - Paradigm (optional): [OOP / FP / Mixed — or "infer"]
11
+
12
+ **PROTOCOL (Six-Step Pipeline)**
13
+
14
+ Step 1 — Detect Code Smells: Read all files. Identify rigidity signals:
15
+ - God Class / Large File (High): many responsibilities, many dependencies
16
+ - Long Methods / Excessive Parameters (High): 50+ lines, 5+ params (adjust for language norms — Go option structs, Rust generics are not inherently problematic)
17
+ - Feature Envy (High): methods accessing another object's data more than their own
18
+ - Duplicated Conditional Logic (High): same switch/if-else in multiple locations
19
+ - Fragile Base Class (High): deep inheritance (3+ levels) where base changes break subclasses
20
+ - Duplicated Code (Medium): structurally similar blocks with minor variations
21
+ - Shotgun Surgery (Medium): single conceptual change requires edits across many files
22
+ - Lazy Classes (Low): classes doing too little to justify their complexity cost
23
+ Note file, line range, and description for each.
24
+
25
+ Step 2 — Analyze Coupling: For each smell, assess coupling type:
26
+ - Static: direct `new`, concrete types in signatures
27
+ - Inheritance: deep extends/inherits chains, override dependencies
28
+ - Temporal: required call ordering
29
+ - Semantic: no code dependency but must change together
30
+ - Data: shared mutable state, globals, singletons
31
+ Rate severity: Isolated (local) / Moderate (2-3 files) / Cascading (4+ files).
32
+
33
+ Step 3 — Identify Axes of Change: Ask: "Can this module be replaced without changing others?" Categorize via DDD strategic design's 3 Buckets (Evans/Vernon):
34
+ - Core Domain (high volatility → OCP critical)
35
+ - Supporting Subdomain (moderate → composition beneficial)
36
+ - Generic Component (low → concrete implementations acceptable)
37
+ If git churn data provided, cross-reference: tightly coupled + frequently modified = highest priority.
38
+
39
+ Step 4 — Diagnose OCP Violations: Check for:
40
+ 1. Switch/if-else chains branching on type — new variant requires modifying existing code
41
+ 2. Repeated methods of identical structure — new variant demands new method
42
+ 3. Hardcoded conditional logic — business rules embedded in execution flow
43
+ 4. Data-driven rigidity — adding peer entity requires source modification
44
+ Flag whether violation is at a volatile axis (high priority) or stable area (lower — avoid premature abstraction).
45
+
46
+ Step 5 — Map to Composition Pattern:
47
+ - Switch on type → **Strategy**: interface + concrete implementations per branch
48
+ - Subclass explosion → **Decorator**: composable layers sharing same interface
49
+ - Lifecycle state conditionals → **State**: state interface + concrete state classes
50
+ - Part-whole hierarchies → **Composite**: tree with shared interface
51
+ - Rigid step ordering → **Pipeline/Chain of Responsibility**: composable middleware
52
+ - Deep inheritance → **Composition refactoring** (4-step): analyze → extract interface → inject → flatten
53
+ - Repeated method shapes → **Data-driven config**: config objects + delegates
54
+
55
+ FP equivalents: Strategy→higher-order function, State→sum types+pattern matching, Decorator→function composition, Config→first-class functions in data structures.
56
+
57
+ Step 6 — Prioritize: Score = Coupling Severity (Cascading=3, Moderate=2, Isolated=1) × Change Frequency (High=3, Moderate=2, Stable=1) × Axis Volatility (Core=3, Supporting=2, Generic=1). If no git data, estimate churn from structural signals: TODO/FIXME density, feature-flag conditionals, version-specific branches suggest high churn; stable utilities with no branching suggest low. Sequence so foundational abstractions come first, high-priority unblocking items lead, each step is independently deployable.
58
+
59
+ **OUTPUT**
60
+
61
+ Summary table:
62
+ | Location | Code Smell | Coupling Type | OCP Violation | Composition Pattern | Priority |
63
+
64
+ If multiple smells share a root cause, consolidate. Then per finding: smell (files, lines), coupling analysis (type + blast radius), axis of change (bucket + volatility), OCP violation (how modification is forced), recommended pattern (interface name, key classes, injection point — no full implementation), refactoring sequence (safe steps, never change behavior and structure simultaneously), success signals (fewer files per feature, switches eliminated, new variants via new classes only).
65
+
66
+ Needs Human Review: list ambiguous cases — intentional tight coupling (performance), potential speculative generality, composition trade-offs that may not justify flexibility, inheritance that models genuine stable taxonomy.
67
+
68
+ If no signals found: "No rigidity signals found. Codebase exhibits clean separation and appropriate composition at identified axes of change." Do not fabricate findings.
69
+
70
+ Stop when all files analyzed. Do not modify anything.
@@ -0,0 +1,26 @@
1
+ # Universal Rule of 5 Review
2
+
3
+ Review any intellectual artifact (code, plans, research, issues, specs, documentation) using Steve Yegge's 5-stage iterative editorial refinement process until convergence.
4
+
5
+ ## Core Philosophy
6
+ "Breadth-first exploration, then editorial passes." Don't aim for perfection in early stages. Each stage builds on insights from previous stages.
7
+
8
+ ## Procedure
9
+ 1. **Stage 1: DRAFT** - Evaluate overall shape and sound approach. Focus on architecture, organization, and scope.
10
+ 2. **Stage 2: CORRECTNESS** - Identify errors, bugs, or logical flaws. Check for convergence.
11
+ 3. **Stage 3: CLARITY** - Ensure comprehensibility for the intended audience. Check for convergence.
12
+ 4. **Stage 4: EDGE CASES** - Handle boundary conditions and unusual scenarios. Check for convergence.
13
+ 5. **Stage 5: EXCELLENCE** - Final polish for production quality and pride.
14
+ 6. **Final Report** - Synthesize findings and provide a final verdict.
15
+
16
+ ## Rules
17
+ - **Progressive Build:** Each stage must build on previous findings.
18
+ - **Specificity:** Reference exact locations (file:line, section, paragraph).
19
+ - **Actionability:** Suggest specific solutions, don't just identify problems.
20
+ - **Validation:** Confirm issues exist; do not flag "potential" issues without evidence.
21
+ - **Early Stop:** Stop if convergence criteria are met before Stage 5.
22
+
23
+ ## References
24
+ - **Templates:** Use `references/templates.md` for the exact output format of each stage and the final report.
25
+ - **Criteria:** Refer to `references/criteria.md` for convergence and escalation rules.
26
+ - **Examples:** (Optional) See `references/examples.md` for domain-specific review examples.
@@ -0,0 +1,34 @@
1
+ # Rule of 5 Convergence & Escalation Criteria
2
+
3
+ ## Convergence Check
4
+ Perform this check after Stage 2, Stage 3, and Stage 4.
5
+
6
+ ```
7
+ New CRITICAL issues: [count]
8
+ Total new issues: [count]
9
+ New issues vs Previous Stage: [percentage change]
10
+ Status: [CONVERGED | CONTINUE]
11
+ ```
12
+
13
+ ## Convergence Rules
14
+ - **CONVERGED** if:
15
+ - No new CRITICAL issues AND
16
+ - New issue rate < 10% vs previous stage AND
17
+ - False positive rate < 20%
18
+ - **CONTINUE** if:
19
+ - New issues found that need addressing and do not meet the above criteria.
20
+
21
+ ## Escalation Rules
22
+ - **ESCALATE_TO_HUMAN** if:
23
+ - After 5 stages, still finding CRITICAL issues OR
24
+ - Uncertain about severity or correctness OR
25
+ - False positive rate > 30%
26
+
27
+ ## Convergence Check Output Format
28
+ ```
29
+ New CRITICAL issues: [count]
30
+ Total new issues: [count]
31
+ New issues vs Previous Stage: [percentage change]
32
+ Estimated false positive rate: [percentage]
33
+ Status: [CONVERGED | CONTINUE | NEEDS_ITERATION | ESCALATE_TO_HUMAN]
34
+ ```
@@ -0,0 +1,69 @@
1
+ # Rule of 5 Domain-Specific Examples
2
+
3
+ ## Example 1: Code Review
4
+
5
+ **Input:**
6
+ ```python
7
+ def process_users(users):
8
+ results = []
9
+ for user in users:
10
+ if user.age > 18:
11
+ results.append(user.name.upper())
12
+ return results
13
+ ```
14
+
15
+ **Output (abbreviated):**
16
+
17
+ ```
18
+ STAGE 1: DRAFT
19
+ Shape Quality: GOOD - Simple function, clear structure
20
+
21
+ STAGE 2: CORRECTNESS
22
+ [CORR-001] HIGH - Line 4
23
+ Description: No null check on user.name
24
+ Evidence: Will crash if user.name is None
25
+ Recommendation: Add null check: `if user.name: results.append(user.name.upper())`
26
+
27
+ STAGE 3: CLARITY
28
+ [CLAR-001] MEDIUM - Function name
29
+ Description: "process_users" is vague
30
+ Recommendation: Rename to "get_adult_user_names_uppercase"
31
+
32
+ STAGE 4: EDGE CASES
33
+ [EDGE-001] HIGH - Line 2
34
+ Description: Empty users list not handled efficiently
35
+ Recommendation: Add early return: `if not users: return []`
36
+
37
+ STAGE 5: EXCELLENCE
38
+ Production Ready: WITH_NOTES - Fix CORR-001 and EDGE-001 first
39
+ ```
40
+
41
+ ## Example 2: Plan Review
42
+
43
+ **Input:** Plan for implementing user authentication
44
+
45
+ **Output (abbreviated):**
46
+
47
+ ```
48
+ STAGE 1: DRAFT
49
+ Shape Quality: FAIR - Missing rollback phase and testing phase
50
+
51
+ STAGE 2: CORRECTNESS
52
+ [CORR-001] CRITICAL - Phase 3
53
+ Description: Assumes JWT library handles all validation automatically
54
+ Evidence: Most libraries require explicit error handling
55
+ Recommendation: Add error handling to Phase 3, add test for invalid tokens
56
+
57
+ STAGE 3: CLARITY
58
+ [CLAR-001] HIGH - Phase 2
59
+ Description: "Integrate with auth system" is vague
60
+ Recommendation: Specify files: "Update api/middleware/auth.ts and api/routes/protected.ts"
61
+
62
+ STAGE 4: EDGE CASES
63
+ [EDGE-001] HIGH - Overall
64
+ Description: No plan for token expiration or refresh
65
+ Recommendation: Add Phase 4 for token refresh mechanism or mark as out of scope
66
+
67
+ STAGE 5: EXCELLENCE
68
+ Production Ready: NO - Fix CORR-001 and add missing phases
69
+ ```
@@ -0,0 +1,136 @@
1
+ # Rule of 5 Output Templates
2
+
3
+ Use these templates for each stage of the review and the final report.
4
+
5
+ ## Stage 1: DRAFT
6
+ ```
7
+ STAGE 1: DRAFT
8
+
9
+ Assessment: [1-2 sentences on overall shape]
10
+
11
+ Major Issues:
12
+ [DRAFT-001] [CRITICAL|HIGH|MEDIUM|LOW] - [Location]
13
+ Description: [What's wrong structurally]
14
+ Recommendation: [How to fix]
15
+
16
+ [DRAFT-002] ...
17
+
18
+ Shape Quality: [EXCELLENT|GOOD|FAIR|POOR]
19
+ ```
20
+
21
+ ## Stage 2: CORRECTNESS
22
+ ```
23
+ STAGE 2: CORRECTNESS
24
+
25
+ Issues Found:
26
+ [CORR-001] [CRITICAL|HIGH|MEDIUM|LOW] - [Location]
27
+ Description: [What's incorrect]
28
+ Evidence: [Why this is wrong]
29
+ Recommendation: [How to fix with specifics]
30
+
31
+ [CORR-002] ...
32
+
33
+ Correctness Quality: [EXCELLENT|GOOD|FAIR|POOR]
34
+ ```
35
+
36
+ ## Stage 3: CLARITY
37
+ ```
38
+ STAGE 3: CLARITY
39
+
40
+ Issues Found:
41
+ [CLAR-001] [HIGH|MEDIUM|LOW] - [Location]
42
+ Description: [What's unclear]
43
+ Impact: [Why this matters]
44
+ Recommendation: [How to improve clarity]
45
+
46
+ [CLAR-002] ...
47
+
48
+ Clarity Quality: [EXCELLENT|GOOD|FAIR|POOR]
49
+ ```
50
+
51
+ ## Stage 4: EDGE CASES
52
+ ```
53
+ STAGE 4: EDGE CASES
54
+
55
+ Issues Found:
56
+ [EDGE-001] [CRITICAL|HIGH|MEDIUM|LOW] - [Location]
57
+ Description: [What edge case is unhandled]
58
+ Scenario: [When this could happen]
59
+ Impact: [What goes wrong]
60
+ Recommendation: [How to handle it]
61
+
62
+ [EDGE-002] ...
63
+
64
+ Edge Case Coverage: [EXCELLENT|GOOD|FAIR|POOR]
65
+ ```
66
+
67
+ ## Stage 5: EXCELLENCE
68
+ ```
69
+ STAGE 5: EXCELLENCE
70
+
71
+ Final Polish Issues:
72
+ [EXCL-001] [HIGH|MEDIUM|LOW] - [Location]
73
+ Description: [What could be better]
74
+ Recommendation: [How to achieve excellence]
75
+
76
+ [EXCL-002] ...
77
+
78
+ Excellence Assessment:
79
+ - Structure: [EXCELLENT|GOOD|FAIR|POOR]
80
+ - Correctness: [EXCELLENT|GOOD|FAIR|POOR]
81
+ - Clarity: [EXCELLENT|GOOD|FAIR|POOR]
82
+ - Edge Cases: [EXCELLENT|GOOD|FAIR|POOR]
83
+ - Overall: [EXCELLENT|GOOD|FAIR|POOR]
84
+
85
+ Production Ready: [YES|NO|WITH_NOTES]
86
+ ```
87
+
88
+ ## Final Report
89
+ ```
90
+ # Rule of 5 Review - Final Report
91
+
92
+ **Work Reviewed:** [type] - [path/identifier]
93
+ **Convergence:** Stage [N]
94
+
95
+ ## Summary
96
+
97
+ Total Issues by Severity:
98
+ - CRITICAL: [count] - Must fix before proceeding
99
+ - HIGH: [count] - Should fix before proceeding
100
+ - MEDIUM: [count] - Consider addressing
101
+ - LOW: [count] - Nice to have
102
+
103
+ ## Top 3 Critical Findings
104
+
105
+ 1. [ID] [Description] - [Location]
106
+ Impact: [Why this matters]
107
+ Fix: [What to do]
108
+
109
+ 2. [ID] [Description] - [Location]
110
+ Impact: [Why this matters]
111
+ Fix: [What to do]
112
+
113
+ 3. [ID] [Description] - [Location]
114
+ Impact: [Why this matters]
115
+ Fix: [What to do]
116
+
117
+ ## Stage-by-Stage Quality
118
+
119
+ - Stage 1 (Draft): [Quality assessment]
120
+ - Stage 2 (Correctness): [Quality assessment]
121
+ - Stage 3 (Clarity): [Quality assessment]
122
+ - Stage 4 (Edge Cases): [Quality assessment]
123
+ - Stage 5 (Excellence): [Quality assessment]
124
+
125
+ ## Recommended Actions
126
+
127
+ 1. [Action 1 - specific and actionable]
128
+ 2. [Action 2 - specific and actionable]
129
+ 3. [Action 3 - specific and actionable]
130
+
131
+ ## Verdict
132
+
133
+ [READY | NEEDS_REVISION | NEEDS_REWORK | NOT_READY]
134
+
135
+ **Rationale:** [1-2 sentences explaining the verdict]
136
+ ```