incitaciones 0.8.0 → 0.10.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 (345) hide show
  1. package/README.md +24 -2
  2. package/content/distilled/codebase-cartography/references/report-template.md +4 -3
  3. package/content/distilled/codebase-cartography/references/zoom-levels.md +11 -3
  4. package/content/distilled/context-guardian.md +3 -2
  5. package/content/distilled/diagnostician/SKILL.md +32 -0
  6. package/content/distilled/{modularity-diagnostician.md → diagnostician/references/modularity-diagnostician.md} +1 -0
  7. package/content/distilled/doc-link-verifier/SKILL.md +6 -77
  8. package/content/distilled/doc-link-verifier/references/contextual-correctness.md +41 -0
  9. package/content/distilled/doc-link-verifier/references/report-template.md +39 -0
  10. package/content/distilled/documentation/SKILL.md +22 -0
  11. package/content/distilled/file-headers.md +26 -0
  12. package/content/distilled/grill-me.md +3 -3
  13. package/content/distilled/issues/SKILL.md +21 -0
  14. package/content/distilled/{create-issues → issues/references/create-issues}/SKILL.md +5 -1
  15. package/content/distilled/{create-issues → issues/references/create-issues}/references/templates.md +1 -0
  16. package/content/distilled/{issue-review → issues/references/issue-review}/SKILL.md +1 -0
  17. package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-5-executability.md +2 -0
  18. package/content/distilled/planning/SKILL.md +23 -0
  19. package/{pi-package/skills → content/distilled/planning/references}/implement-plan/SKILL.md +2 -6
  20. package/{pi-package/skills → content/distilled/planning/references}/implement-plan/references/verification-template.md +1 -0
  21. package/content/distilled/pointers/close.md +7 -0
  22. package/content/distilled/pointers/create-handoff.md +7 -0
  23. package/content/distilled/pointers/create-issues.md +7 -0
  24. package/content/distilled/pointers/issue-review.md +7 -0
  25. package/content/distilled/pointers/next.md +7 -0
  26. package/content/distilled/pointers/park.md +7 -0
  27. package/content/distilled/pointers/renew.md +7 -0
  28. package/content/distilled/pointers/rule-of-5-universal.md +7 -0
  29. package/content/distilled/prompt-meta/SKILL.md +21 -0
  30. package/content/distilled/resonant-refactor.md +2 -1
  31. package/content/distilled/review/SKILL.md +27 -0
  32. package/content/distilled/{code-review → review/references/code-review}/SKILL.md +1 -1
  33. package/content/distilled/{code-review → review/references/code-review}/references/criteria.md +2 -1
  34. package/content/distilled/session/SKILL.md +26 -0
  35. package/content/distilled/{close → session/references/close}/SKILL.md +12 -8
  36. package/content/distilled/{next → session/references/next}/SKILL.md +1 -5
  37. package/content/distilled/{park → session/references/park}/SKILL.md +1 -5
  38. package/content/distilled/{renew → session/references/renew}/SKILL.md +1 -5
  39. package/content/distilled/tdd/SKILL.md +3 -2
  40. package/content/distilled/tdd/references/criteria.md +1 -0
  41. package/content/distilled/whisper/SKILL.md +47 -83
  42. package/content/manifest.json +1037 -2724
  43. package/package.json +1 -1
  44. package/pi-package/prompts/abstraction-miner.md +1 -1
  45. package/pi-package/prompts/adversarial-stakeholder-evaluation.md +1 -1
  46. package/pi-package/prompts/agent-value-alignment.md +1 -1
  47. package/pi-package/prompts/anti-slop-prose.md +1 -1
  48. package/pi-package/prompts/bias-audit.md +1 -1
  49. package/pi-package/prompts/close.md +1 -1
  50. package/pi-package/prompts/codebase-cartography.md +1 -1
  51. package/pi-package/prompts/commit.md +1 -1
  52. package/pi-package/prompts/context-guardian.md +1 -1
  53. package/pi-package/prompts/create-handoff.md +1 -1
  54. package/pi-package/prompts/create-issues.md +1 -1
  55. package/pi-package/prompts/debug.md +1 -1
  56. package/pi-package/prompts/describe-pr.md +1 -1
  57. package/pi-package/prompts/design-practice.md +1 -1
  58. package/pi-package/prompts/design-review.md +1 -1
  59. package/pi-package/prompts/diagnostician.md +10 -0
  60. package/pi-package/prompts/doc-link-verifier.md +1 -1
  61. package/pi-package/prompts/documentation.md +10 -0
  62. package/pi-package/prompts/edge-case-discovery.md +1 -1
  63. package/pi-package/prompts/file-headers.md +10 -0
  64. package/pi-package/prompts/formal-verification-evaluator.md +1 -1
  65. package/pi-package/prompts/grill-me.md +1 -1
  66. package/pi-package/prompts/issue-review.md +1 -1
  67. package/pi-package/prompts/issues.md +10 -0
  68. package/pi-package/prompts/narrative-article.md +1 -1
  69. package/pi-package/prompts/next.md +1 -1
  70. package/pi-package/prompts/optionality-review.md +1 -1
  71. package/pi-package/prompts/park.md +1 -1
  72. package/pi-package/prompts/planning.md +10 -0
  73. package/pi-package/prompts/pre-mortem.md +1 -1
  74. package/pi-package/prompts/project-status-report.md +1 -1
  75. package/pi-package/prompts/prompt-meta.md +10 -0
  76. package/pi-package/prompts/pwa-accessibility-review.md +1 -1
  77. package/pi-package/prompts/renew.md +1 -1
  78. package/pi-package/prompts/research-codebase.md +1 -1
  79. package/pi-package/prompts/research-review.md +1 -1
  80. package/pi-package/prompts/resonant-refactor.md +1 -1
  81. package/pi-package/prompts/review.md +10 -0
  82. package/pi-package/prompts/rule-of-5-universal.md +1 -1
  83. package/pi-package/prompts/session.md +10 -0
  84. package/pi-package/prompts/specification-review.md +1 -1
  85. package/pi-package/prompts/systematic-housekeeping.md +1 -1
  86. package/pi-package/prompts/tdd.md +1 -1
  87. package/pi-package/prompts/test-abstraction-miner.md +1 -1
  88. package/pi-package/prompts/test-friction.md +1 -1
  89. package/pi-package/prompts/ui-align.md +1 -1
  90. package/pi-package/prompts/whisper.md +1 -1
  91. package/pi-package/skills/abstraction-miner/SKILL.md +1 -1
  92. package/pi-package/skills/adversarial-stakeholder-evaluation/SKILL.md +1 -1
  93. package/pi-package/skills/agent-value-alignment/SKILL.md +1 -1
  94. package/pi-package/skills/anti-slop-prose/SKILL.md +1 -1
  95. package/pi-package/skills/bias-audit/SKILL.md +1 -1
  96. package/pi-package/skills/close/SKILL.md +6 -66
  97. package/pi-package/skills/codebase-cartography/SKILL.md +1 -1
  98. package/pi-package/skills/codebase-cartography/references/report-template.md +4 -3
  99. package/pi-package/skills/codebase-cartography/references/zoom-levels.md +11 -3
  100. package/pi-package/skills/commit/SKILL.md +1 -1
  101. package/pi-package/skills/context-guardian/SKILL.md +4 -3
  102. package/pi-package/skills/create-handoff/SKILL.md +6 -14
  103. package/pi-package/skills/create-issues/SKILL.md +6 -90
  104. package/pi-package/skills/debug/SKILL.md +1 -1
  105. package/pi-package/skills/describe-pr/SKILL.md +1 -1
  106. package/pi-package/skills/design-practice/SKILL.md +1 -1
  107. package/pi-package/skills/design-review/SKILL.md +1 -1
  108. package/pi-package/skills/diagnostician/SKILL.md +38 -0
  109. package/pi-package/skills/{composability-diagnostician/SKILL.md → diagnostician/references/composability-diagnostician.md} +0 -6
  110. package/pi-package/skills/{error-handling-diagnostician/SKILL.md → diagnostician/references/error-handling-diagnostician.md} +0 -6
  111. package/pi-package/skills/{invalid-states-diagnostician/SKILL.md → diagnostician/references/invalid-states-diagnostician.md} +0 -6
  112. package/pi-package/skills/{julia-performance-diagnostician/SKILL.md → diagnostician/references/julia-performance-diagnostician.md} +0 -6
  113. package/pi-package/skills/{modularity-diagnostician/SKILL.md → diagnostician/references/modularity-diagnostician.md} +1 -6
  114. package/pi-package/skills/{mutability-diagnostician/SKILL.md → diagnostician/references/mutability-diagnostician.md} +0 -6
  115. package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/SKILL.md +0 -6
  116. package/pi-package/skills/{rigidity-diagnostician/SKILL.md → diagnostician/references/rigidity-diagnostician.md} +0 -6
  117. package/pi-package/skills/{specification-evaluation-diagnostician/SKILL.md → diagnostician/references/specification-evaluation-diagnostician.md} +0 -6
  118. package/pi-package/skills/{testability-implementability-evaluator/SKILL.md → diagnostician/references/testability-implementability-evaluator.md} +0 -6
  119. package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/SKILL.md +0 -6
  120. package/pi-package/skills/{verification-diagnostician/SKILL.md → diagnostician/references/verification-diagnostician.md} +0 -6
  121. package/pi-package/skills/doc-link-verifier/SKILL.md +7 -83
  122. package/pi-package/skills/doc-link-verifier/references/contextual-correctness.md +41 -0
  123. package/pi-package/skills/doc-link-verifier/references/report-template.md +39 -0
  124. package/pi-package/skills/documentation/SKILL.md +28 -0
  125. package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/SKILL.md +0 -6
  126. package/pi-package/skills/{research-documentation → documentation/references/research-documentation}/SKILL.md +0 -6
  127. package/pi-package/skills/{review-documentation → documentation/references/review-documentation}/SKILL.md +0 -6
  128. package/pi-package/skills/edge-case-discovery/SKILL.md +1 -1
  129. package/pi-package/skills/file-headers/SKILL.md +32 -0
  130. package/pi-package/skills/formal-verification-evaluator/SKILL.md +1 -1
  131. package/pi-package/skills/grill-me/SKILL.md +4 -4
  132. package/pi-package/skills/issue-review/SKILL.md +6 -37
  133. package/pi-package/skills/issues/SKILL.md +27 -0
  134. package/pi-package/skills/issues/references/create-issues/SKILL.md +96 -0
  135. package/pi-package/skills/{create-issues → issues/references/create-issues}/references/templates.md +1 -0
  136. package/pi-package/skills/issues/references/issue-review/SKILL.md +40 -0
  137. package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-5-executability.md +2 -0
  138. package/pi-package/skills/narrative-article/SKILL.md +1 -1
  139. package/pi-package/skills/next/SKILL.md +6 -52
  140. package/pi-package/skills/optionality-review/SKILL.md +1 -1
  141. package/pi-package/skills/park/SKILL.md +6 -96
  142. package/pi-package/skills/planning/SKILL.md +29 -0
  143. package/pi-package/skills/{create-plan → planning/references/create-plan}/SKILL.md +0 -6
  144. package/{content/distilled → pi-package/skills/planning/references}/implement-plan/SKILL.md +2 -0
  145. package/{content/distilled → pi-package/skills/planning/references}/implement-plan/references/verification-template.md +1 -0
  146. package/pi-package/skills/{iterate-plan → planning/references/iterate-plan}/SKILL.md +0 -6
  147. package/pi-package/skills/{plan-review → planning/references/plan-review}/SKILL.md +0 -6
  148. package/pi-package/skills/pre-mortem/SKILL.md +1 -1
  149. package/pi-package/skills/project-status-report/SKILL.md +1 -1
  150. package/pi-package/skills/prompt-meta/SKILL.md +27 -0
  151. package/pi-package/skills/{distill-prompt → prompt-meta/references/distill-prompt}/SKILL.md +0 -6
  152. package/pi-package/skills/{extract-prompt/SKILL.md → prompt-meta/references/extract-prompt.md} +0 -6
  153. package/pi-package/skills/{verify-prompt → prompt-meta/references/verify-prompt}/SKILL.md +0 -6
  154. package/pi-package/skills/pwa-accessibility-review/SKILL.md +1 -1
  155. package/pi-package/skills/renew/SKILL.md +6 -162
  156. package/pi-package/skills/research-codebase/SKILL.md +1 -1
  157. package/pi-package/skills/research-review/SKILL.md +1 -1
  158. package/pi-package/skills/resonant-refactor/SKILL.md +3 -2
  159. package/pi-package/skills/review/SKILL.md +33 -0
  160. package/pi-package/skills/{code-review → review/references/code-review}/SKILL.md +1 -7
  161. package/pi-package/skills/{code-review → review/references/code-review}/references/criteria.md +2 -1
  162. package/pi-package/skills/{guided-review/SKILL.md → review/references/guided-review.md} +0 -6
  163. package/pi-package/skills/{multi-agent-review/SKILL.md → review/references/multi-agent-review.md} +0 -6
  164. package/pi-package/skills/{parallel-review → review/references/parallel-review}/SKILL.md +0 -6
  165. package/pi-package/skills/{red-team-review/SKILL.md → review/references/red-team-review.md} +0 -6
  166. package/pi-package/skills/review/references/rule-of-5-universal/SKILL.md +26 -0
  167. package/pi-package/skills/rule-of-5-universal/SKILL.md +6 -24
  168. package/pi-package/skills/session/SKILL.md +32 -0
  169. package/pi-package/skills/session/references/close/SKILL.md +72 -0
  170. package/pi-package/skills/session/references/create-handoff/SKILL.md +16 -0
  171. package/pi-package/skills/session/references/next/SKILL.md +50 -0
  172. package/pi-package/skills/session/references/park/SKILL.md +94 -0
  173. package/pi-package/skills/session/references/renew/SKILL.md +160 -0
  174. package/pi-package/skills/{resume-handoff → session/references/resume-handoff}/SKILL.md +0 -6
  175. package/pi-package/skills/specification-review/SKILL.md +1 -1
  176. package/pi-package/skills/systematic-housekeeping/SKILL.md +1 -1
  177. package/pi-package/skills/tdd/SKILL.md +4 -3
  178. package/pi-package/skills/tdd/references/criteria.md +1 -0
  179. package/pi-package/skills/test-abstraction-miner/SKILL.md +1 -1
  180. package/pi-package/skills/test-friction/SKILL.md +1 -1
  181. package/pi-package/skills/ui-align/SKILL.md +1 -1
  182. package/pi-package/skills/whisper/SKILL.md +48 -89
  183. package/scripts/cli.mjs +61 -22
  184. package/scripts/generate-pi-resources.mjs +17 -4
  185. package/pi-package/prompts/code-review.md +0 -10
  186. package/pi-package/prompts/composability-diagnostician.md +0 -10
  187. package/pi-package/prompts/create-plan.md +0 -10
  188. package/pi-package/prompts/distill-prompt.md +0 -10
  189. package/pi-package/prompts/error-handling-diagnostician.md +0 -10
  190. package/pi-package/prompts/extract-prompt.md +0 -10
  191. package/pi-package/prompts/guided-review.md +0 -10
  192. package/pi-package/prompts/implement-documentation.md +0 -10
  193. package/pi-package/prompts/implement-plan.md +0 -10
  194. package/pi-package/prompts/invalid-states-diagnostician.md +0 -10
  195. package/pi-package/prompts/iterate-plan.md +0 -10
  196. package/pi-package/prompts/julia-performance-diagnostician.md +0 -10
  197. package/pi-package/prompts/modularity-diagnostician.md +0 -10
  198. package/pi-package/prompts/multi-agent-review.md +0 -10
  199. package/pi-package/prompts/mutability-diagnostician.md +0 -10
  200. package/pi-package/prompts/parallel-review.md +0 -10
  201. package/pi-package/prompts/plan-review.md +0 -10
  202. package/pi-package/prompts/rca-diagnostician.md +0 -10
  203. package/pi-package/prompts/red-team-review.md +0 -10
  204. package/pi-package/prompts/research-documentation.md +0 -10
  205. package/pi-package/prompts/resume-handoff.md +0 -10
  206. package/pi-package/prompts/review-documentation.md +0 -10
  207. package/pi-package/prompts/rigidity-diagnostician.md +0 -10
  208. package/pi-package/prompts/specification-evaluation-diagnostician.md +0 -10
  209. package/pi-package/prompts/testability-implementability-evaluator.md +0 -10
  210. package/pi-package/prompts/ux-dx-evaluation-diagnostician.md +0 -10
  211. package/pi-package/prompts/verification-diagnostician.md +0 -10
  212. package/pi-package/prompts/verify-prompt.md +0 -10
  213. /package/content/distilled/{composability-diagnostician.md → diagnostician/references/composability-diagnostician.md} +0 -0
  214. /package/content/distilled/{error-handling-diagnostician.md → diagnostician/references/error-handling-diagnostician.md} +0 -0
  215. /package/content/distilled/{invalid-states-diagnostician.md → diagnostician/references/invalid-states-diagnostician.md} +0 -0
  216. /package/content/distilled/{julia-performance-diagnostician.md → diagnostician/references/julia-performance-diagnostician.md} +0 -0
  217. /package/content/distilled/{mutability-diagnostician.md → diagnostician/references/mutability-diagnostician.md} +0 -0
  218. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/SKILL.md +0 -0
  219. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/action-hierarchy.md +0 -0
  220. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/bias-countermeasures.md +0 -0
  221. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/evidence-timeline.md +0 -0
  222. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/hypothesis-methods.md +0 -0
  223. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/problem-definition.md +0 -0
  224. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/report-template.md +0 -0
  225. /package/content/distilled/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/rigor-checklist.md +0 -0
  226. /package/content/distilled/{rigidity-diagnostician.md → diagnostician/references/rigidity-diagnostician.md} +0 -0
  227. /package/content/distilled/{specification-evaluation-diagnostician.md → diagnostician/references/specification-evaluation-diagnostician.md} +0 -0
  228. /package/content/distilled/{testability-implementability-evaluator.md → diagnostician/references/testability-implementability-evaluator.md} +0 -0
  229. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/SKILL.md +0 -0
  230. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-1-product.md +0 -0
  231. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-2-engineering.md +0 -0
  232. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-3-interface.md +0 -0
  233. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-4-ecosystem.md +0 -0
  234. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-5-documentation.md +0 -0
  235. /package/content/distilled/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/report-template.md +0 -0
  236. /package/content/distilled/{verification-diagnostician.md → diagnostician/references/verification-diagnostician.md} +0 -0
  237. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/SKILL.md +0 -0
  238. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/references/anti-patterns.md +0 -0
  239. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/references/diataxis-implementation.md +0 -0
  240. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/references/templates.md +0 -0
  241. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/references/tooling-comparison.md +0 -0
  242. /package/content/distilled/{implement-documentation → documentation/references/implement-documentation}/references/versioning.md +0 -0
  243. /package/content/distilled/{research-documentation → documentation/references/research-documentation}/SKILL.md +0 -0
  244. /package/content/distilled/{research-documentation → documentation/references/research-documentation}/references/checklist.md +0 -0
  245. /package/content/distilled/{research-documentation → documentation/references/research-documentation}/references/llm-readiness.md +0 -0
  246. /package/content/distilled/{research-documentation → documentation/references/research-documentation}/references/metrics.md +0 -0
  247. /package/content/distilled/{research-documentation → documentation/references/research-documentation}/references/report-template.md +0 -0
  248. /package/content/distilled/{review-documentation → documentation/references/review-documentation}/SKILL.md +0 -0
  249. /package/content/distilled/{review-documentation → documentation/references/review-documentation}/references/ai-readiness-criteria.md +0 -0
  250. /package/content/distilled/{create-issues → issues/references/create-issues}/references/criteria.md +0 -0
  251. /package/content/distilled/{issue-review → issues/references/issue-review}/references/convergence.md +0 -0
  252. /package/content/distilled/{issue-review → issues/references/issue-review}/references/final-report.md +0 -0
  253. /package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-0-preflight.md +0 -0
  254. /package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-1-clarity.md +0 -0
  255. /package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-2-scope.md +0 -0
  256. /package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-3-dependencies.md +0 -0
  257. /package/content/distilled/{issue-review → issues/references/issue-review}/references/pass-4-alignment.md +0 -0
  258. /package/content/distilled/{issue-review → issues/references/issue-review}/references/setup.md +0 -0
  259. /package/content/distilled/{create-plan → planning/references/create-plan}/SKILL.md +0 -0
  260. /package/content/distilled/{create-plan → planning/references/create-plan}/references/plan-template.md +0 -0
  261. /package/content/distilled/{create-plan → planning/references/create-plan}/references/scenarios.md +0 -0
  262. /package/content/distilled/{implement-plan → planning/references/implement-plan}/references/common-situations.md +0 -0
  263. /package/content/distilled/{iterate-plan → planning/references/iterate-plan}/SKILL.md +0 -0
  264. /package/content/distilled/{iterate-plan → planning/references/iterate-plan}/references/change-template.md +0 -0
  265. /package/content/distilled/{iterate-plan → planning/references/iterate-plan}/references/common-scenarios.md +0 -0
  266. /package/content/distilled/{plan-review → planning/references/plan-review}/SKILL.md +0 -0
  267. /package/content/distilled/{plan-review → planning/references/plan-review}/references/criteria.md +0 -0
  268. /package/content/distilled/{plan-review → planning/references/plan-review}/references/templates.md +0 -0
  269. /package/content/distilled/{distill-prompt → prompt-meta/references/distill-prompt}/SKILL.md +0 -0
  270. /package/content/distilled/{distill-prompt → prompt-meta/references/distill-prompt}/references/criteria.md +0 -0
  271. /package/content/distilled/{distill-prompt → prompt-meta/references/distill-prompt}/references/templates.md +0 -0
  272. /package/content/distilled/{extract-prompt.md → prompt-meta/references/extract-prompt.md} +0 -0
  273. /package/content/distilled/{verify-prompt → prompt-meta/references/verify-prompt}/SKILL.md +0 -0
  274. /package/content/distilled/{verify-prompt → prompt-meta/references/verify-prompt}/references/criteria.md +0 -0
  275. /package/content/distilled/{code-review → review/references/code-review}/references/templates.md +0 -0
  276. /package/content/distilled/{code-review → review/references/code-review}/references/variants.md +0 -0
  277. /package/content/distilled/{guided-review.md → review/references/guided-review.md} +0 -0
  278. /package/content/distilled/{multi-agent-review.md → review/references/multi-agent-review.md} +0 -0
  279. /package/content/distilled/{parallel-review → review/references/parallel-review}/SKILL.md +0 -0
  280. /package/content/distilled/{parallel-review → review/references/parallel-review}/references/criteria.md +0 -0
  281. /package/content/distilled/{parallel-review → review/references/parallel-review}/references/templates.md +0 -0
  282. /package/content/distilled/{red-team-review.md → review/references/red-team-review.md} +0 -0
  283. /package/content/distilled/{rule-of-5-universal → review/references/rule-of-5-universal}/SKILL.md +0 -0
  284. /package/content/distilled/{rule-of-5-universal → review/references/rule-of-5-universal}/references/criteria.md +0 -0
  285. /package/content/distilled/{rule-of-5-universal → review/references/rule-of-5-universal}/references/examples.md +0 -0
  286. /package/content/distilled/{rule-of-5-universal → review/references/rule-of-5-universal}/references/templates.md +0 -0
  287. /package/content/distilled/{create-handoff → session/references/create-handoff}/SKILL.md +0 -0
  288. /package/content/distilled/{create-handoff → session/references/create-handoff}/references/handoff-template.md +0 -0
  289. /package/content/distilled/{create-handoff → session/references/create-handoff}/references/naming.md +0 -0
  290. /package/content/distilled/{resume-handoff → session/references/resume-handoff}/SKILL.md +0 -0
  291. /package/content/distilled/{resume-handoff → session/references/resume-handoff}/references/analysis-template.md +0 -0
  292. /package/content/distilled/{resume-handoff → session/references/resume-handoff}/references/locating.md +0 -0
  293. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/action-hierarchy.md +0 -0
  294. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/bias-countermeasures.md +0 -0
  295. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/evidence-timeline.md +0 -0
  296. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/hypothesis-methods.md +0 -0
  297. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/problem-definition.md +0 -0
  298. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/report-template.md +0 -0
  299. /package/pi-package/skills/{rca-diagnostician → diagnostician/references/rca-diagnostician}/references/rigor-checklist.md +0 -0
  300. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-1-product.md +0 -0
  301. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-2-engineering.md +0 -0
  302. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-3-interface.md +0 -0
  303. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-4-ecosystem.md +0 -0
  304. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/layer-5-documentation.md +0 -0
  305. /package/pi-package/skills/{ux-dx-evaluation-diagnostician → diagnostician/references/ux-dx-evaluation-diagnostician}/references/report-template.md +0 -0
  306. /package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/references/anti-patterns.md +0 -0
  307. /package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/references/diataxis-implementation.md +0 -0
  308. /package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/references/templates.md +0 -0
  309. /package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/references/tooling-comparison.md +0 -0
  310. /package/pi-package/skills/{implement-documentation → documentation/references/implement-documentation}/references/versioning.md +0 -0
  311. /package/pi-package/skills/{research-documentation → documentation/references/research-documentation}/references/checklist.md +0 -0
  312. /package/pi-package/skills/{research-documentation → documentation/references/research-documentation}/references/llm-readiness.md +0 -0
  313. /package/pi-package/skills/{research-documentation → documentation/references/research-documentation}/references/metrics.md +0 -0
  314. /package/pi-package/skills/{research-documentation → documentation/references/research-documentation}/references/report-template.md +0 -0
  315. /package/pi-package/skills/{review-documentation → documentation/references/review-documentation}/references/ai-readiness-criteria.md +0 -0
  316. /package/pi-package/skills/{create-issues → issues/references/create-issues}/references/criteria.md +0 -0
  317. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/convergence.md +0 -0
  318. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/final-report.md +0 -0
  319. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-0-preflight.md +0 -0
  320. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-1-clarity.md +0 -0
  321. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-2-scope.md +0 -0
  322. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-3-dependencies.md +0 -0
  323. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/pass-4-alignment.md +0 -0
  324. /package/pi-package/skills/{issue-review → issues/references/issue-review}/references/setup.md +0 -0
  325. /package/pi-package/skills/{create-plan → planning/references/create-plan}/references/plan-template.md +0 -0
  326. /package/pi-package/skills/{create-plan → planning/references/create-plan}/references/scenarios.md +0 -0
  327. /package/pi-package/skills/{implement-plan → planning/references/implement-plan}/references/common-situations.md +0 -0
  328. /package/pi-package/skills/{iterate-plan → planning/references/iterate-plan}/references/change-template.md +0 -0
  329. /package/pi-package/skills/{iterate-plan → planning/references/iterate-plan}/references/common-scenarios.md +0 -0
  330. /package/pi-package/skills/{plan-review → planning/references/plan-review}/references/criteria.md +0 -0
  331. /package/pi-package/skills/{plan-review → planning/references/plan-review}/references/templates.md +0 -0
  332. /package/pi-package/skills/{distill-prompt → prompt-meta/references/distill-prompt}/references/criteria.md +0 -0
  333. /package/pi-package/skills/{distill-prompt → prompt-meta/references/distill-prompt}/references/templates.md +0 -0
  334. /package/pi-package/skills/{verify-prompt → prompt-meta/references/verify-prompt}/references/criteria.md +0 -0
  335. /package/pi-package/skills/{code-review → review/references/code-review}/references/templates.md +0 -0
  336. /package/pi-package/skills/{code-review → review/references/code-review}/references/variants.md +0 -0
  337. /package/pi-package/skills/{parallel-review → review/references/parallel-review}/references/criteria.md +0 -0
  338. /package/pi-package/skills/{parallel-review → review/references/parallel-review}/references/templates.md +0 -0
  339. /package/pi-package/skills/{rule-of-5-universal → review/references/rule-of-5-universal}/references/criteria.md +0 -0
  340. /package/pi-package/skills/{rule-of-5-universal → review/references/rule-of-5-universal}/references/examples.md +0 -0
  341. /package/pi-package/skills/{rule-of-5-universal → review/references/rule-of-5-universal}/references/templates.md +0 -0
  342. /package/pi-package/skills/{create-handoff → session/references/create-handoff}/references/handoff-template.md +0 -0
  343. /package/pi-package/skills/{create-handoff → session/references/create-handoff}/references/naming.md +0 -0
  344. /package/pi-package/skills/{resume-handoff → session/references/resume-handoff}/references/analysis-template.md +0 -0
  345. /package/pi-package/skills/{resume-handoff → session/references/resume-handoff}/references/locating.md +0 -0
package/README.md CHANGED
@@ -7,7 +7,22 @@ A collection of reusable prompts and best practices for CLI LLM tools.
7
7
 
8
8
  ## Quick Install
9
9
 
10
- ### Via npm / npx (recommended)
10
+ ### Via skills.sh (works with any agent)
11
+
12
+ ```bash
13
+ # Browse & install interactively (pick individual skills):
14
+ npx skills add incitaciones
15
+
16
+ # Install everything:
17
+ npx skills add incitaciones --skill '*' --all
18
+
19
+ # Install only a specific skill:
20
+ npx skills add incitaciones --skill commit
21
+ ```
22
+
23
+ The skills.sh catalog (committed `skills/` directory) is generated from `content/manifest.json` — compat pointers are marked `metadata.internal: true` and hidden from discovery there.
24
+
25
+ ### Via npm / npx (pi + multi-tool installers)
11
26
 
12
27
  ```bash
13
28
  # Install as pi package (native skills, best UX):
@@ -89,6 +104,13 @@ After changing distilled content or manifest entries, you don't need to touch `p
89
104
 
90
105
  ### Publishing a new version
91
106
 
107
+ Before publishing — and on every **model or provider change** — rerun the skill
108
+ evals; a model upgrade can silently break an unchanged skill:
109
+
110
+ ```bash
111
+ just skill-eval commit # add more skills as fixtures land (scripts/skill-eval-fixtures/)
112
+ ```
113
+
92
114
  ```bash
93
115
  npm version patch # bumps to 0.5.1, creates a git tag
94
116
  npm version minor # bumps to 0.6.0
@@ -153,7 +175,7 @@ just search
153
175
  Everything lives in `content/` with descriptive filenames:
154
176
 
155
177
  - `prompt-*.md` - Reusable prompts (source)
156
- - `distilled/` - Optimized prompts for agent consumption (single file or multi-file)
178
+ - `distilled/` - Optimized prompts for agent consumption (single file, multi-file, or router + references/ — see AGENTS.md "Distilled Formats")
157
179
  - `research-*.md` - Experiments and findings
158
180
  - `example-*.md` - Real-world examples
159
181
  - `template-*.md` - Templates for new content
@@ -12,10 +12,11 @@ Structure the final output by mode. All modes share the closing sections. Keep m
12
12
 
13
13
  ## Mode: macro
14
14
 
15
- 1. **Module inventory** — table (module, path, responsibility, deps out, fan-in)
15
+ 1. **Module inventory** — table (module, path, responsibility, weight bar, deps out, fan-in)
16
16
  2. **Dependency matrix** — text DSM with ↑ marks for layer violations
17
17
  3. **Module graph** — Mermaid, edges labeled with counts
18
- 4. Structural observations
18
+ 4. **Composition** — disk-reality breakdown by file kind (source / test / generated / vendored / config), excluded code included; distinct from the inventory weight column (analysis code, exclusions applied)
19
+ 5. Structural observations
19
20
 
20
21
  ## Mode: meso
21
22
 
@@ -65,7 +66,7 @@ One finding block per pattern (format in `smell-signatures.md`), ordered by seve
65
66
  An explicit batch request ("generate all the reports", "map every module") is a user request — Zoom Discipline's offer-don't-dump rule applies to unprompted follow-ups only.
66
67
 
67
68
  - Enumerate targets from the module inventory. Confirm the list once when it exceeds 3 targets or the scope is ambiguous; proceed unless corrected.
68
- - One markdown per target in `docs/cartography/` — each the artifact of record for its target. For each, re-verify counts immediately before writing (Zoom Discipline).
69
+ - One markdown per target in `docs/cartography/` — each the artifact of record for its target. For each, re-verify counts and re-confirm weight/composition shares immediately before writing — one consolidated pass per batch is fine (Zoom Discipline).
69
70
  - Include a health report only if the batch request names health/smells.
70
71
  - A target too large for one pass: skip it, mark it as "offered — too large for one pass" in the final summary and, when HTML export is part of the batch, in `index.html`. Do not stop the batch to ask.
71
72
  - Superseded artifacts from older exports (old-format HTML pages, render scripts): regenerate in place, recommend deleting the superseded script/pages, and never index stale-format files.
@@ -13,13 +13,19 @@ Adapt import syntax to the language (see language rule below).
13
13
  2. Inter-module imports: scan import statements crossing module boundaries. Quoting-safe scan (works in POSIX shells), e.g. JS/TS: `rg 'from ["'"'"']' --type js --type ts` or simply `rg 'import|require'`; then filter by path.
14
14
  3. Count edges per pair of modules to get a weighted dependency list.
15
15
  4. Determine layering for violation flags: use the repo's declared layering (README/ARCHITECTURE/docs) if present; otherwise infer it from the majority dependency direction and label that inference in the report.
16
+ 5. **Weight & composition:** size each module by LOC (default) or file count (mixed-language repos, where LOC is not comparable across languages). Tool: `tokei` (apply the step-1 globs via `tokei -e ...`, or `cloc`); fallback: `rg --files -0 <exclusion globs> | xargs -0 wc -l`, summed per module. Two distinct metrics:
17
+ - **Weight** (inventory column) — analysis code only, same exclusions as all counts (step 1).
18
+ - **Composition** (report block) — disk reality: all code grouped by kind (source / test / generated / vendored / config), excluded code included. Classify by path/name conventions (`tests/`, `test_*.py`, `*_test.go`, `*.spec.ts` → test; step-1 exclusion-glob hits → generated/vendored; lockfiles, manifests, dotfiles → config). Works without modules too (flat/script repos): group by top-level directory or language.
19
+ If neither tool nor fallback works, degrade to file-count-only weight and note it in the report.
16
20
 
17
21
  **Render:**
18
22
 
19
23
  Module inventory table:
20
24
 
21
- | Module | Path | Responsibility (one line, from evidence) | Deps out → | Fan-in |
22
- | :---- | :---- | :---- | :---- | :---- |
25
+ | Module | Path | Responsibility (one line, from evidence) | Weight | Deps out → | Fan-in |
26
+ | :---- | :---- | :---- | :---- | :---- | :---- |
27
+
28
+ Weight bar: 10-cell `▓/░` bar proportional to the module's share of total weight, rounded to nearest cell, minimum 1 filled cell when weight > 0, followed by an integer percentage — e.g. `▓▓▓▓▓▓▓░░░ 67%`. Weight flags candidate targets for deeper levels; size ≠ complexity (a big cohesive module can be cheaper to map than a small hotspot).
23
29
 
24
30
  Text dependency matrix (DSM-style). Rows depend on columns; mark `↑` for a dependency that skips a layer or points "backward" against the declared — or inferred (see collect step 4) — layering:
25
31
 
@@ -39,7 +45,7 @@ graph TD
39
45
  jobs --> core
40
46
  ```
41
47
 
42
- **Facts to surface:** layering violations (↑ marks), cycles, hub modules (highest fan-in/out), orphan modules (zero fan-in).
48
+ **Facts to surface:** layering violations (↑ marks), cycles, hub modules (highest fan-in/out), orphan modules (zero fan-in), bulk distribution (largest modules by weight; share of total).
43
49
 
44
50
  ## Meso — Module / Feature Wiring
45
51
 
@@ -97,3 +103,5 @@ RefundRequest{invoiceId, amount} → validated Amount → gateway response → L
97
103
  ```
98
104
 
99
105
  **Facts to surface:** where purity ends (first I/O hop), total hops, state mutated, error paths encountered (report; do not evaluate their quality).
106
+
107
+ Decision record: macro maps encode scale as a proportional weight bar in the inventory table (treemap area-encoding, phronemophobic "Treemaps are awesome!") plus a Composition block, not as literal treemap graphics — the vendored Mermaid v9.4.3 has no treemap diagram (v11.5+ is ESM-only, CORS-blocked under `file://`) and an ASCII treemap is less diff-able than the bar column. (treemap evaluation, 2026-09-05)
@@ -12,9 +12,10 @@ You are the Gatekeeper of the Architecture. Before generating any code, always r
12
12
  **Directives**:
13
13
  1. FORBIDDEN: writing raw logic if a higher-level abstraction exists (no raw fetch() if useApi() exists, no inline error handling if handleError() exists, no raw CSS if a design system exists)
14
14
  2. Add `// Reusing: [Name] — avoids duplicating [what]` comments when using existing abstractions
15
- 3. Refusal Protocol: if asked to violate architecture — STOP, explain the rule being violated, propose the resonant alternative instead
15
+ 3. File Headers: every new source file opens with a `Purpose / Responsibilities / Rationale` header (see file-headers); when a change alters what a file does or why, update its Rationale in the same change — a stale header misleads. If the Purpose can't be stated in one sentence, the file mixes concerns: flag it for splitting instead of writing a vague header
16
+ 4. Refusal Protocol: if asked to violate architecture — STOP, explain the rule being violated, propose the resonant alternative instead
16
17
 
17
18
  **Output structure for every response**:
18
19
  1. Reuse Plan: "I will build X using [existing abstractions]. I need new code for [only what's new]."
19
20
  2. Code (with Reusing comments)
20
- 3. Verification checklist: all abstractions reused? no raw logic where abstraction exists? style conventions followed?
21
+ 3. Verification checklist: all abstractions reused? no raw logic where abstraction exists? style conventions followed? file headers present (new files) and current (changed files)?
@@ -0,0 +1,32 @@
1
+ # Diagnostician Router
2
+
3
+ Advisory-only diagnostic evaluation of a codebase, product, or document. Each mode detects a family of pathologies and maps findings to named refactoring/remediation patterns. **Do not modify files in any mode — output findings and recommendations only.**
4
+
5
+ ## Modes
6
+
7
+ | Question the user is asking | Mode | Read |
8
+ |---|---|---|
9
+ | Is it tangled? coupling, cohesion, cycles, God Objects | modularity-diagnostician | `references/modularity-diagnostician.md` |
10
+ | Is change resisted? inheritance rigidity, OCP violations | rigidity-diagnostician | `references/rigidity-diagnostician.md` |
11
+ | Is mutable state pathological? side-effect entanglement | mutability-diagnostician | `references/mutability-diagnostician.md` |
12
+ | Can invalid states be represented? primitive obsession, boolean blindness | invalid-states-diagnostician | `references/invalid-states-diagnostician.md` |
13
+ | Does it compose? type mismatches, missed endomorphisms, algebra gaps | composability-diagnostician | `references/composability-diagnostician.md` |
14
+ | How does it fail? detection, classification, recovery, learning | error-handling-diagnostician | `references/error-handling-diagnostician.md` |
15
+ | Why is Julia slow? type instability, allocation floods, dispatch | julia-performance-diagnostician | `references/julia-performance-diagnostician.md` |
16
+ | Is the product usable? HEART, SPACE/DX Core 4, CLI/API heuristics, Diátaxis | ux-dx-evaluation-diagnostician | `references/ux-dx-evaluation-diagnostician/SKILL.md` |
17
+ | Is the spec verifiable/buildable? | testability-implementability-evaluator | `references/testability-implementability-evaluator.md` |
18
+ | Is this document true? factual errors, unsupported claims, provenance | verification-diagnostician | `references/verification-diagnostician.md` |
19
+ | Is the specification complete/correct/coherent? (ISO 29148) | specification-evaluation-diagnostician | `references/specification-evaluation-diagnostician.md` |
20
+ | Why did this fail? root cause analysis, method selection, corrective actions | rca-diagnostician | `references/rca-diagnostician/SKILL.md` |
21
+
22
+ ## Mode notes
23
+
24
+ - The diagnostician modes are **mutually exclusive by design** — each SKILL.md opens with a GUARD naming its neighbors. Read the GUARD before running a diagnosis; redirect when the symptom belongs to another mode.
25
+ - Formal-verification readiness (paradigm assessment, safety/liveness properties, toolchain scoping) is its own skill — `formal-verification-evaluator` — outside this router; redirect there when the question is about proof-readiness rather than build/test-readiness.
26
+ - Multi-file modes (`rca-diagnostician`, `ux-dx-evaluation-diagnostician`) carry their templates in their own `references/` subdirectory.
27
+
28
+ ## Procedure
29
+
30
+ 1. Pick the mode whose *question* matches (not merely whose keyword matches).
31
+ 2. Read the referenced file; follow its INPUT → PROTOCOL pipeline and report template.
32
+ 3. Rank corrective actions by strength as the mode specifies; never auto-apply them.
@@ -23,6 +23,7 @@ Step 1 — Detect Modularity Signals: Read all files. Identify:
23
23
  - High Afferent Coupling (Medium): module depended upon by many consumers — alterations trigger widespread ripple effects
24
24
  - Temporal Coupling (Medium): files co-changing in commits despite no static dependency — reveals hidden dependencies (skip if no git/co-change data provided)
25
25
  - Missing Boundary (Medium): related functionality spread across modules with no clear owning package
26
+ - Undescribable Module (Medium): a file's purpose cannot be stated in one sentence — the file-header Purpose is missing, stale, or forced to be vague (see `file-headers`). The header is the cohesion contract; needing three sentences means the module is doing three jobs
26
27
  Note file, line range, and description for each.
27
28
 
28
29
  Step 2 — Classify Modularity Scope: For each signal, assess:
@@ -93,90 +93,19 @@ Group results by source file so the user can see which docs are worst-hit.
93
93
 
94
94
  ### Step 4 — Contextual correctness (the hard part)
95
95
 
96
- A link can pass Step 3 (it resolves, the anchor exists) and still be wrong — pointing at an outdated version of a page, at the wrong section, at a page whose title/subject no longer matches what the surrounding prose promises. This is what the user means by "correct in context."
96
+ A link can resolve cleanly and still be wrong: pointing at an outdated page, the wrong section, or a page whose subject no longer matches the surrounding prose.
97
97
 
98
- **Shallow check (default).** For each `ok` link, compare the link text (and a sentence of surrounding context) to the target's identifying label:
99
- - External link, deep mode was run: compare to `<title>` and H1.
100
- - Relative link to another repo file: compare to the file's first H1, or to the heading just under the fragment if one is present. You can read the file directly — this is cheap.
101
- - Anchor-only link: compare the link text to the heading itself.
98
+ - **Shallow check (default):** compare link text plus surrounding context to the target's identifying label (title, H1, or heading at the anchor). Flag specific mismatches; don't flag generic link text — note it instead.
99
+ - **Deep check (on request, or for suspicious cases):** fetch/read the target's actual content and ask whether the context's claim holds up.
100
+ - Escalate shallow→deep when the shallow check flagged a specific mismatch, the context makes a specific technical claim, or the user asked for a thorough audit. Don't escalate for generic link text or huge link counts.
102
101
 
103
- Shallow check mismatches worth flagging:
104
- - Link text says "the API reference" but the target's title is "Installation Guide."
105
- - Link text says "see the v2 migration notes" but the target page is titled "v3 migration notes."
106
- - Link text references a specific concept ("rate limiting") and the target page is about something unrelated ("authentication").
107
-
108
- Shallow misses are usually false alarms when the link text is generic ("see here", "this page", "click here"). Don't flag those — instead, note in the report that generic link text makes contextual verification impossible and suggest more descriptive text if the user cares.
109
-
110
- **Deep check (on request, or for suspicious cases).** Fetch the target page's content and read it. For external links, this means re-running `check_links.py` with `--deep` to pull titles/headings, and for the most suspicious cases, using `web_fetch` yourself to read the full page. For relative links, just read the target file.
111
-
112
- Then ask: does the surrounding context's claim hold up when you look at what the target actually says?
113
-
114
- **Example — shallow pass, deep fail:**
115
-
116
- > "For rate limiting details, see the [API guide](https://example.com/api)."
117
-
118
- Shallow: link text "API guide", target title "API Guide" → match, passes.
119
- Deep: page is about endpoints and auth; there's no rate limiting section anywhere → contextual mismatch.
120
-
121
- **Example — deep pass:**
122
-
123
- > "See [issue #42](https://github.com/org/repo/issues/42) for the discussion of the memory leak."
124
-
125
- Deep: fetch the issue, confirm the title/body talk about a memory leak → context is correct.
126
-
127
- When to escalate from shallow to deep automatically:
128
- - The shallow check flagged a mismatch, but the link text is specific enough that it's worth verifying before reporting.
129
- - The surrounding context makes a specific technical claim ("as shown in X"), and the user has asked for a thorough audit.
130
- - The user explicitly asked for a deep check.
131
-
132
- When NOT to escalate:
133
- - The link text is generic ("here", "this", "docs").
134
- - The repo has thousands of external links (the network cost is too high; ask the user if they want to narrow the scope).
102
+ Full criteria, examples (shallow-pass/deep-fail and deep-pass), and escalation rules: read `references/contextual-correctness.md`.
135
103
 
136
104
  ### Step 5 — Produce the report
137
105
 
138
- The report has a consistent structure so users can skim or drill in:
139
-
140
- ```markdown
141
- # Link audit: <repo>
142
-
143
- ## Summary
144
- - Scanned N files, found M links
145
- - ✅ ok: X · ⚠️ redirected: Y · ❌ broken: Z · ❓ anchor-missing: W · ⏭ skipped: V
146
- - Contextual mismatches flagged: K
147
-
148
- ## Broken links (❌)
149
- Grouped by source file. For each:
150
- - File + line number
151
- - Link text and URL
152
- - What went wrong (HTTP status / "file not found" / etc.)
153
- - Suggested fix if one is obvious
154
-
155
- ## Missing anchors (❓)
156
- For each:
157
- - File + line, link text, URL
158
- - Available headings in the target (from the check result)
159
- - Best-guess replacement
160
-
161
- ## Redirects worth updating (⚠️)
162
- Only include notable ones — permanent URL changes, org renames, etc.
163
- Don't flood the report with trivial http→https redirects unless the user asked.
164
-
165
- ## Contextual mismatches
166
- The judgment calls from Step 4. Each one shows:
167
- - The source line with context
168
- - The link
169
- - What the target actually contains
170
- - Why it's a mismatch
171
- - Suggested fix or "needs human review"
172
-
173
- ## Generic link text
174
- Links whose text is too generic to verify contextually ("here", "this", "click here").
175
- Not a bug; a quality suggestion.
176
- ```
106
+ Use the fixed report structure (summary with ok/redirected/broken/anchor-missing/skipped counts, then Broken links, Missing anchors, Redirects worth updating, Contextual mismatches, Generic link text) so users can skim or drill in. The exact template: read `references/report-template.md`.
177
107
 
178
108
  Keep the report in a file (`link-audit.md` in the repo root, or wherever the user prefers) and **also** surface the top issues inline so the user sees them without opening the file.
179
-
180
109
  ### Step 6 — Fixes (opt-in, confirmation required)
181
110
 
182
111
  After presenting the report, offer to fix things. Never apply fixes without confirmation — users have strong opinions about their docs and some "broken" links are intentional (internal-only URLs, placeholder URLs in templates, etc.).
@@ -0,0 +1,41 @@
1
+ # Contextual correctness — full criteria
2
+
3
+ A link can pass Step 3 (it resolves, the anchor exists) and still be wrong — pointing at an outdated version of a page, at the wrong section, at a page whose title/subject no longer matches what the surrounding prose promises. This is what the user means by "correct in context."
4
+
5
+ **Shallow check (default).** For each `ok` link, compare the link text (and a sentence of surrounding context) to the target's identifying label:
6
+ - External link, deep mode was run: compare to `<title>` and H1.
7
+ - Relative link to another repo file: compare to the file's first H1, or to the heading just under the fragment if one is present. You can read the file directly — this is cheap.
8
+ - Anchor-only link: compare the link text to the heading itself.
9
+
10
+ Shallow check mismatches worth flagging:
11
+ - Link text says "the API reference" but the target's title is "Installation Guide."
12
+ - Link text says "see the v2 migration notes" but the target page is titled "v3 migration notes."
13
+ - Link text references a specific concept ("rate limiting") and the target page is about something unrelated ("authentication").
14
+
15
+ Shallow misses are usually false alarms when the link text is generic ("see here", "this page", "click here"). Don't flag those — instead, note in the report that generic link text makes contextual verification impossible and suggest more descriptive text if the user cares.
16
+
17
+ **Deep check (on request, or for suspicious cases).** Fetch the target page's content and read it. For external links, this means re-running `check_links.py` with `--deep` to pull titles/headings, and for the most suspicious cases, using `web_fetch` yourself to read the full page. For relative links, just read the target file.
18
+
19
+ Then ask: does the surrounding context's claim hold up when you look at what the target actually says?
20
+
21
+ **Example — shallow pass, deep fail:**
22
+
23
+ > "For rate limiting details, see the [API guide](https://example.com/api)."
24
+
25
+ Shallow: link text "API guide", target title "API Guide" → match, passes.
26
+ Deep: page is about endpoints and auth; there's no rate limiting section anywhere → contextual mismatch.
27
+
28
+ **Example — deep pass:**
29
+
30
+ > "See [issue #42](https://github.com/org/repo/issues/42) for the discussion of the memory leak."
31
+
32
+ Deep: fetch the issue, confirm the title/body talk about a memory leak → context is correct.
33
+
34
+ When to escalate from shallow to deep automatically:
35
+ - The shallow check flagged a mismatch, but the link text is specific enough that it's worth verifying before reporting.
36
+ - The surrounding context makes a specific technical claim ("as shown in X"), and the user has asked for a thorough audit.
37
+ - The user explicitly asked for a deep check.
38
+
39
+ When NOT to escalate:
40
+ - The link text is generic ("here", "this", "docs").
41
+ - The repo has thousands of external links (the network cost is too high; ask the user if they want to narrow the scope).
@@ -0,0 +1,39 @@
1
+ # Link audit report template
2
+
3
+ ```markdown
4
+ # Link audit: <repo>
5
+
6
+ ## Summary
7
+ - Scanned N files, found M links
8
+ - ✅ ok: X · ⚠️ redirected: Y · ❌ broken: Z · ❓ anchor-missing: W · ⏭ skipped: V
9
+ - Contextual mismatches flagged: K
10
+
11
+ ## Broken links (❌)
12
+ Grouped by source file. For each:
13
+ - File + line number
14
+ - Link text and URL
15
+ - What went wrong (HTTP status / "file not found" / etc.)
16
+ - Suggested fix if one is obvious
17
+
18
+ ## Missing anchors (❓)
19
+ For each:
20
+ - File + line, link text, URL
21
+ - Available headings in the target (from the check result)
22
+ - Best-guess replacement
23
+
24
+ ## Redirects worth updating (⚠️)
25
+ Only include notable ones — permanent URL changes, org renames, etc.
26
+ Don't flood the report with trivial http→https redirects unless the user asked.
27
+
28
+ ## Contextual mismatches
29
+ The judgment calls from Step 4. Each one shows:
30
+ - The source line with context
31
+ - The link
32
+ - What the target actually contains
33
+ - Why it's a mismatch
34
+ - Suggested fix or "needs human review"
35
+
36
+ ## Generic link text
37
+ Links whose text is too generic to verify contextually ("here", "this", "click here").
38
+ Not a bug; a quality suggestion.
39
+ ```
@@ -0,0 +1,22 @@
1
+ # Documentation Router
2
+
3
+ Route documentation work to the right mode, then read that mode's instructions before acting.
4
+
5
+ ## Modes
6
+
7
+ | Task signal | Mode | Read |
8
+ |---|---|---|
9
+ | audit existing docs or plan a new documentation suite | research-documentation | `references/research-documentation/SKILL.md` |
10
+ | write documentation using Diátaxis, Info Mapping, EPPO principles | implement-documentation | `references/implement-documentation/SKILL.md` |
11
+ | review docs for cognitive scannability and AI-readiness | review-documentation | `references/review-documentation/SKILL.md` |
12
+
13
+ ## Selection rules
14
+
15
+ - No docs or restructuring from scratch → **research-documentation** first; its report feeds implementation.
16
+ - Writing or rewriting content → **implement-documentation**. Judging existing content quality → **review-documentation**.
17
+ - Broken links or link-text/target mismatches are the complaint → use the `doc-link-verifier` skill instead; this router is about architecture and content quality.
18
+
19
+ ## Procedure
20
+
21
+ 1. Identify the mode from the table above.
22
+ 2. Read the referenced file (resolve paths against this skill's directory); follow its checklists, templates, and report formats.
@@ -0,0 +1,26 @@
1
+ <!-- Full version: content/prompt-system-file-headers.md -->
2
+ You enforce file-header documentation on source code. Every source file must be self-describing: an agent opening any file must learn what it does and why it exists without reading the implementation or hunting for context.
3
+
4
+ **HEADER FORMAT** (adapt the comment syntax to the language — `#`, `//`, `--`, `"""docstring"""`, or a top doc comment):
5
+
6
+ ```
7
+ # Purpose: <one sentence — what this file does and for whom>
8
+ # Responsibilities:
9
+ # - <bullet 1 — the cohesion contract; one concern per bullet>
10
+ # - <bullet N>
11
+ # Rationale: <latest design decision and why, with issue/PR link>
12
+ # <earlier rationale entries belong in the issue tracker / git history>
13
+ ```
14
+
15
+ **Rules:**
16
+ 1. Every NEW source file opens with a complete header before any logic.
17
+ 2. When a modification changes what a file does or why, update the header in the same change — a stale header is worse than none. Do not touch the header for behavior-preserving edits.
18
+ 3. Purpose is one sentence. If you cannot state it in one sentence, the file likely mixes concerns — flag it for splitting (see modularity-diagnostician) rather than writing a vague header.
19
+ 4. Rationale keeps only the latest entry. History lives in the issue tracker and git, not the file.
20
+ 5. Exclusions: generated files, vendored code, config, lockfiles, docs, and build artifacts get no header.
21
+
22
+ **Scope — "source file" means:** files containing logic or defining structure written by this project (modules, classes, scripts, routes, components, tests). Not applicable to READMEs, org notes, or one-liner re-exports.
23
+
24
+ **Audit:** to find missing headers: `grep -rLE "(Purpose:|@purpose)" --include=<source-extensions> .` excluding vendored/generated paths. Every hit is a gap.
25
+
26
+ **Output:** when adding or updating headers, show file → header block. When a file fails Rule 3 (undescribable), report it as a modularity finding with the offending concerns listed.
@@ -9,12 +9,12 @@ You are an exacting design interviewer. Interview the user relentlessly about a
9
9
  1. Walk each branch of the design tree.
10
10
  2. Resolve dependencies between decisions one by one.
11
11
  3. For every question, provide your recommended answer.
12
- 4. Ask questions one at a time.
13
- 5. If a question can be answered by exploring the codebase, inspect the codebase instead of asking.
12
+ 4. Ask questions **one at a time**. Exactly ONE question per turn — bundling several questions into a single turn violates this skill. If several decisions are queued, pick the highest-leverage one, answer the rest with your recommendation, and note they are queued for later turns.
13
+ 5. If a question can be answered by exploring the codebase, inspect the codebase instead of asking — in simulations, state which path you would inspect and what you would look for rather than asking the user.
14
14
  6. Continue until major branches are resolved or explicitly marked open.
15
15
 
16
16
  **OUTPUT PER TURN**
17
- - **Question:** one focused question
17
+ - **Question:** exactly one focused question (never a bundle)
18
18
  - **Recommended answer:** best current recommendation
19
19
  - **Why this matters:** brief rationale
20
20
 
@@ -0,0 +1,21 @@
1
+ # Issues Router
2
+
3
+ Route issue-tracking work to the right mode, then read that mode's instructions before acting. Both modes assume a tracker CLI (beads `bd` by default) — check the project's AGENTS.md for the tracker in use.
4
+
5
+ ## Modes
6
+
7
+ | Task signal | Mode | Read |
8
+ |---|---|---|
9
+ | turn an implementation plan into trackable issues | create-issues | `references/create-issues/SKILL.md` |
10
+ | review existing issues for completeness, dependencies, executability | issue-review | `references/issue-review/SKILL.md` |
11
+
12
+ ## Selection rules
13
+
14
+ - Plan approved and needs to become work items → **create-issues**.
15
+ - Issues exist and someone asks "are these ready/good/covered?" → **issue-review** (multi-pass: clarity, scope, dependencies, alignment, executability).
16
+ - Creating issues from a plan that has not been reviewed? Suggest a plan review first.
17
+
18
+ ## Procedure
19
+
20
+ 1. Identify the mode from the table above.
21
+ 2. Read the referenced file (resolve paths against this skill's directory); follow its templates, pass structure, and output format.
@@ -1,4 +1,4 @@
1
- <!-- skill: create-issues, version: 1.3.0, status: verified -->
1
+ <!-- skill: create-issues, version: 1.4.1, status: verified -->
2
2
  # Tracer-Bullet Issue Creation from Plan
3
3
 
4
4
  Break a reviewed plan into independently grabbable issues using tracer-bullet vertical slices.
@@ -26,8 +26,10 @@ You are a Technical Project Manager. Translate a plan, spec, or PRD into thin en
26
26
  - **AFK** — can be implemented and merged without human intervention.
27
27
  - **HITL** — requires a human decision, approval, design review, copy review, policy signoff, etc.
28
28
  - Avoid tickets like “build backend”, “add UI”, or “refactor models first” unless the work is genuinely standalone.
29
+ - **Title lint (hard rule — run on every drafted title before presenting):** a title must name a user-visible outcome (“CSV export works end-to-end”), not a layer. If a title names a layer or artifact — backend, frontend, API, route, button, serializer, schema, tests-only, docs-only, refactor-only — merge it into the outcome slice it serves. Layers differing is never sufficient reason to split: split by capability, never by layer.
29
30
 
30
31
  4. **Review the proposed breakdown with the user:**
32
+ - Re-run the title lint on every drafted title; merge any layer-named ticket into its outcome slice before presenting.
31
33
  - Present a numbered list before creating anything.
32
34
  - For each slice include:
33
35
  - **Title**
@@ -45,6 +47,7 @@ You are a Technical Project Manager. Translate a plan, spec, or PRD into thin en
45
47
  - end-to-end behavior description
46
48
  - concrete file paths or subsystems when knowable
47
49
  - binary acceptance criteria
50
+ - a **file-header criterion** when the slice creates source files or changes a file's contract: new files open with `Purpose / Responsibilities / Rationale`; contract-changing edits update Rationale (see `file-headers`)
48
51
  - a **Verifiable Value Claim** where measurable: quantified **Must** gate (unit + number, no adjectives), a runnable **Meter** command, the measured **Baseline**, and the **regression suite** that must keep passing
49
52
  - **anti-goals** whenever the ticket touches tests, lockfiles, or public interfaces (prohibit test-assertion edits, dependency additions, API breaks)
50
53
  - explicit blocked-by field
@@ -83,6 +86,7 @@ You are a Technical Project Manager. Translate a plan, spec, or PRD into thin en
83
86
  - **Workflow integrity:** TDD and Tidy First language is mandatory in every implementation issue.
84
87
  - **No guessed IDs:** capture identifiers from actual command output.
85
88
  - **Quantify the gate:** every measurable acceptance criterion is a number with a unit, backed by a runnable Meter command.
89
+ - **Self-describing files:** tickets that create source files or change a file's contract carry the file-header criterion (see `file-headers`).
86
90
  - **Name the cheats:** add anti-goals wherever the gate could be gamed (test edits, new deps, API breaks).
87
91
  - **Anchor staleness:** always record `base_commit` metadata at creation; never publish a ticket anchored to nothing.
88
92
  - **Stop and ask:** if the plan only supports horizontal decomposition, propose a vertical rewrite before publishing.
@@ -43,6 +43,7 @@ Ref: [Link to plan/spec file and section]
43
43
  - [ ] [Binary, observable criterion 1]
44
44
  - [ ] [Binary, observable criterion 2]
45
45
  - [ ] [Automated tests cover the slice end-to-end]
46
+ - [ ] [When the slice creates source files or changes a file's contract: file-header criterion — new files carry Purpose/Responsibilities/Rationale; changed files update Rationale (see `file-headers`)]
46
47
 
47
48
  ## Blocked by
48
49
 
@@ -28,6 +28,7 @@ Treat the best issue sets as:
28
28
  - minimal but sufficient dependency graphs
29
29
  - explicit about AFK vs HITL work
30
30
  - traceable back to stories, plans, or specs
31
+ - self-describing: tickets that create or reshape source files carry the file-header criterion (see `file-headers`) — undocumented files force agents to re-derive intent
31
32
  - machine-verifiable value claims: quantified Must gate, runnable Meter, explicit anti-goals, and a `base_commit` anchor that reveals staleness
32
33
 
33
34
  ## Rules
@@ -4,6 +4,7 @@ Focus on:
4
4
  - Can another developer or agent pick this up immediately?
5
5
  - Are verification steps concrete and end-to-end?
6
6
  - Is there a machine-checkable Must gate (quantified, unit + number) backed by a runnable Meter command?
7
+ - Are touched code files self-describing — Purpose/Responsibilities/Rationale header present and current (see `file-headers`)?
7
8
  - Are priorities and labels sensible?
8
9
  - Are HITL handoff points explicit?
9
10
  - Is it clear what demo, test, or observable behavior proves completion?
@@ -15,6 +16,7 @@ Watch for:
15
16
  - Qualitative acceptance criteria with no unit or threshold ("fast", "robust", "clean") — a Scale/Meter is missing
16
17
  - A Meter command that cannot run at the ticket's `base_commit` (stale claim) or that no fresh agent could execute verbatim
17
18
  - Missing anti-goals on tickets touching tests, lockfiles, or public interfaces (reward-hacking surface: nothing stops gaming the gate)
19
+ - Tickets that create or reshape source files with no file-header acceptance criterion — undocumented files force every implementing agent to re-derive intent
18
20
  - No regression suite named (pass-to-pass coverage unspecified)
19
21
  - HITL work masquerading as AFK
20
22
  - Tickets that cannot be closed without information from another issue not listed as a blocker
@@ -0,0 +1,23 @@
1
+ # Planning Router
2
+
3
+ Route planning work to the right mode, then read that mode's instructions before acting.
4
+
5
+ ## Modes
6
+
7
+ | Task signal | Mode | Read |
8
+ |---|---|---|
9
+ | design a phased implementation plan (TDD-oriented) from a goal | create-plan | `references/create-plan/SKILL.md` |
10
+ | execute an existing plan phase by phase | implement-plan | `references/implement-plan/SKILL.md` |
11
+ | review an implementation plan for gaps, risks, sequencing | plan-review | `references/plan-review/SKILL.md` |
12
+ | refine an existing plan from feedback or new constraints | iterate-plan | `references/iterate-plan/SKILL.md` |
13
+
14
+ ## Selection rules
15
+
16
+ - No plan exists yet → **create-plan**. Plan exists and work is approved → **implement-plan**.
17
+ - Plan exists but is under critique → **plan-review**; under revision → **iterate-plan**. Review first when feedback is vague, iterate when it is specific.
18
+ - These modes chain: create-plan → plan-review → iterate-plan → implement-plan.
19
+
20
+ ## Procedure
21
+
22
+ 1. Identify the mode from the table above.
23
+ 2. Read the referenced file (resolve paths against this skill's directory); follow its templates and verification steps.
@@ -1,9 +1,3 @@
1
- ---
2
- name: implement-plan
3
- description: "Execute implementation plans phase by phase"
4
- metadata:
5
- installed-from: "incitaciones"
6
- ---
7
1
  # Implement Plan
8
2
 
9
3
  Implement an approved plan using Red, Green, Refactor.
@@ -17,6 +11,7 @@ Implement an approved plan using Red, Green, Refactor.
17
11
  - Implement the minimum code to pass.
18
12
  - Refactor while keeping tests green.
19
13
  - Run the success criteria checks.
14
+ - Check file headers: new source files open with Purpose/Responsibilities/Rationale; files whose contract changed have a current Rationale (see `file-headers`).
20
15
  - Update the plan with progress.
21
16
  4. Use `references/verification-template.md` when reporting phase completion.
22
17
  5. Use `references/common-situations.md` when the plan and reality diverge.
@@ -25,5 +20,6 @@ Implement an approved plan using Red, Green, Refactor.
25
20
 
26
21
  - Never skip the red phase.
27
22
  - Complete one phase at a time.
23
+ - Review file headers before declaring a phase complete: new files must carry them, and contract-changing edits must leave the Rationale current (see `file-headers`).
28
24
  - Do not blindly follow an outdated plan if the codebase contradicts it.
29
25
  - Wait for user confirmation before proceeding to the next phase.
@@ -5,6 +5,7 @@ Automated verification:
5
5
  - [x] All tests pass
6
6
  - [x] Type checking passes
7
7
  - [x] Build succeeds
8
+ - [x] File headers current: new files carry Purpose/Responsibilities/Rationale; changed files updated Rationale (see `file-headers`)
8
9
 
9
10
  Manual verification needed:
10
11
  - [ ] [Manual step 1]
@@ -0,0 +1,7 @@
1
+ # Moved: close
2
+
3
+ This skill was consolidated into the **session** skill (router + references/ layout).
4
+
5
+ Use `/close` no more: invoke `/skill:session` and follow its mode table — this task is the **close** mode, which reads `references/close/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:session`.
@@ -0,0 +1,7 @@
1
+ # Moved: create-handoff
2
+
3
+ This skill was consolidated into the **session** skill (router + references/ layout).
4
+
5
+ Use `/create-handoff` no more: invoke `/skill:session` and follow its mode table — this task is the **create-handoff** mode, which reads `references/create-handoff/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:session`.
@@ -0,0 +1,7 @@
1
+ # Moved: create-issues
2
+
3
+ This skill was consolidated into the **issues** skill (router + references/ layout).
4
+
5
+ Use `/create-issues` no more: invoke `/skill:issues` and follow its mode table — this task is the **create-issues** mode, which reads `references/create-issues/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:issues`.
@@ -0,0 +1,7 @@
1
+ # Moved: issue-review
2
+
3
+ This skill was consolidated into the **issues** skill (router + references/ layout).
4
+
5
+ Use `/issue-review` no more: invoke `/skill:issues` and follow its mode table — this task is the **issue-review** mode, which reads `references/issue-review/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:issues`.
@@ -0,0 +1,7 @@
1
+ # Moved: next
2
+
3
+ This skill was consolidated into the **session** skill (router + references/ layout).
4
+
5
+ Use `/next` no more: invoke `/skill:session` and follow its mode table — this task is the **next** mode, which reads `references/next/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:session`.
@@ -0,0 +1,7 @@
1
+ # Moved: park
2
+
3
+ This skill was consolidated into the **session** skill (router + references/ layout).
4
+
5
+ Use `/park` no more: invoke `/skill:session` and follow its mode table — this task is the **park** mode, which reads `references/park/SKILL.md`.
6
+
7
+ This pointer exists so old invocations keep working; it will be removed in a future release. Update your notes and configs to `/skill:session`.