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,36 @@
1
+ ```text
2
+ ## Design Artifact Review Report
3
+
4
+ Artifacts Reviewed: [List]
5
+ Date: [YYYY-MM-DD]
6
+
7
+ ### Summary
8
+
9
+ - Artifact types: [Problem Statement / Decision Matrix / Scope / Full Package]
10
+ - Overall readiness: [READY | NEEDS_REVISION | BLOCKED]
11
+ - Main concern: [Highest-value issue]
12
+
13
+ ### Critical Findings
14
+
15
+ 1. [Finding 1]
16
+ - Evidence: [Quote, section, or file reference]
17
+ - Impact: [Why it matters]
18
+ - Fix: [Concrete action]
19
+
20
+ 2. [Finding 2]
21
+ - Evidence: [Quote, section, or file reference]
22
+ - Impact: [Why it matters]
23
+ - Fix: [Concrete action]
24
+
25
+ ### Recommended Actions
26
+
27
+ 1. [Most important next step]
28
+ 2. [Next action after that]
29
+ 3. [Optional follow-up]
30
+
31
+ ### Overall Verdict
32
+
33
+ [READY_FOR_DIRECTION | READY_FOR_DECISION | READY_FOR_PLANNING | NEEDS_REVISION | NEEDS_MORE_OPTIONS | BACK_TO_DESCRIBE]
34
+
35
+ Rationale: [1-2 sentences]
36
+ ```
@@ -0,0 +1,51 @@
1
+ ## Scope Document Review
2
+
3
+ ### Check 1: Explicit Non-Goals
4
+
5
+ Question: Are out-of-scope items explicitly listed?
6
+
7
+ Output:
8
+
9
+ ```text
10
+ Explicit Non-Goals: [CLEAR | PARTIAL | MISSING]
11
+
12
+ Missing non-goals:
13
+ - [Related item that might get added]
14
+ - [Adjacent problem that might expand scope]
15
+ ```
16
+
17
+ ### Check 2: Constraint Realism
18
+
19
+ Question: Are the constraints achievable and honest?
20
+
21
+ Look for:
22
+ - Conflicting constraints
23
+ - Unstated constraints
24
+ - Over-optimistic assumptions
25
+
26
+ Output:
27
+
28
+ ```text
29
+ Constraint Realism: [REALISTIC | CONFLICTED | INCOMPLETE]
30
+
31
+ Conflicts:
32
+ - [Constraint A] vs [Constraint B]: [Why they conflict]
33
+
34
+ Unstated constraints:
35
+ - [What is missing but materially affects the work]
36
+ ```
37
+
38
+ ### Verdict Template
39
+
40
+ ```text
41
+ ## Scope Document Review Summary
42
+
43
+ | Check | Result | Action Needed |
44
+ |-------|--------|---------------|
45
+ | Non-Goals | [CLEAR/PARTIAL/MISSING] | [Action or "None"] |
46
+ | Constraints | [REALISTIC/CONFLICTED/INCOMPLETE] | [Action or "None"] |
47
+
48
+ Verdict: [READY_FOR_PLANNING | NEEDS_REVISION]
49
+ Top Issue: [Most critical thing to fix]
50
+ Recommended Action: [Specific next step]
51
+ ```
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: distill-prompt
3
+ description: "Create lean, token-efficient versions of prompts"
4
+ metadata:
5
+ installed-from: "incitaciones"
6
+ ---
7
+ <!-- skill: distill-prompt, version: 1.1.0, status: verified -->
8
+ # Distill Prompt
9
+
10
+ Distill verbose, developer-facing prompts into concise, token-efficient, LLM-facing instructions that retain all essential rules and constraints.
11
+
12
+ ## Role
13
+ You are a Prompt Optimization Specialist. Your goal is to maximize the "Instruction Density" of a prompt by removing human-centric context while preserving the logical structure and mandatory constraints that ensure model performance.
14
+
15
+ ## Procedure
16
+
17
+ 1. **Input Identification:**
18
+ * Identify the verbose prompt to be distilled.
19
+
20
+ 2. **Amnesia Filter (Removal Phase):**
21
+ * **Remove Metadata:** Front-matter, titles, tags, versioning, and status.
22
+ * **Remove Human Context:** "When to Use," "Notes," "Philosophy," "References," and "Example" sections (unless the example is the *only* way to define the output format).
23
+ * **Remove Fluff:** Conversational intros, justifications, and polite filler.
24
+
25
+ 3. **Instruction Compression (Distillation Phase):**
26
+ * Convert descriptive paragraphs into imperative commands.
27
+ * Consolidate redundant rules into single, strong constraints.
28
+ * Preserve all **CRITICAL** or **MANDATORY** rules exactly.
29
+ * Retain structured formatting (Markdown headers, lists) to maintain logical hierarchy.
30
+
31
+ 4. **Verification (CRITICAL):**
32
+ * **DO NOT** lose "negative constraints" (e.g., "NEVER use X").
33
+ * **DO NOT** discard output format definitions (e.g., JSON schemas or Markdown templates).
34
+ * **Manual Check:** Compare the distilled version against the original's "Rules" section to ensure 100% rule retention.
35
+
36
+ 5. **Final Output:**
37
+ * Provide the distilled prompt within a code block.
38
+ * Provide a brief "Token Compression Ratio" estimate (e.g., "Reduced by 60%").
39
+
40
+ ## Rules
41
+ - **No Loss of Logic:** If a rule is in the original, it must be in the distilled version, even if rephrased.
42
+ - **Purely LLM-Facing:** The final output must be ready to be pasted directly as a system prompt or instruction.
43
+ - **Minimal Commentary:** Do not provide "Here is your distilled prompt..." intros. Output the result directly.
44
+
45
+ ## References
46
+ - **Templates:** Use `references/templates.md` for the distillation structure.
47
+ - **Criteria:** See `references/criteria.md` for "Safe" vs. "Unsafe" distillation patterns.
@@ -0,0 +1,26 @@
1
+ # Distill Prompt Criteria
2
+
3
+ Use these criteria to evaluate the quality of a distilled prompt.
4
+
5
+ ## Safe vs. Unsafe Distillation Patterns
6
+
7
+ | Feature | ✅ Safe (Preserved) | ❌ Unsafe (Removed) |
8
+ | :--- | :--- | :--- |
9
+ | **Negative Constraints** | "NEVER use X", "DO NOT Y" | "Prefer X over Y" (Weak) |
10
+ | **Templates / Formats** | JSON schemas, Markdown templates, specific output structure. | "Write a brief summary of X" (Vague) |
11
+ | **Role-Based Behavior** | "You are an expert X", "Adopt a tone of Y" | "This prompt helps the user with X" (Description) |
12
+ | **Essential Procedure** | "Step 1: X, Step 2: Y" | "You should generally try to do X" (Suggestion) |
13
+
14
+ ## Instruction Density Checklist
15
+
16
+ - [ ] All 1-based procedural steps are preserved.
17
+ - [ ] No conversational filler ("Please", "I will now", "Thank you").
18
+ - [ ] No front-matter/metadata.
19
+ - [ ] Logic density is maximized (stronger verbs, shorter sentences).
20
+ - [ ] Final result is 100% LLM-consumable (no human commentary).
21
+
22
+ ## When to Stop & Ask
23
+
24
+ - [ ] The original prompt's "Rules" are contradictory or ambiguous.
25
+ - [ ] The "Example" is the ONLY way to understand the output format, but is too long to include.
26
+ - [ ] You are unsure if a section is "Human Context" or an "Essential Rule."
@@ -0,0 +1,30 @@
1
+ # Distill Prompt Templates
2
+
3
+ Use these templates to structure the distillation process.
4
+
5
+ ## User Analysis Template
6
+
7
+ (Optional summary for the human user before showing the distillation)
8
+
9
+ ```markdown
10
+ ### Distillation Summary
11
+
12
+ - **Original Section Coverage:** [All essential rules identified]
13
+ - **Removed Content:** [Metadata, examples, human-facing justifications]
14
+ - **Preserved Structure:** [Role, Procedure, Rules, Templates]
15
+ - **Estimated Compression:** [percentage]%
16
+ ```
17
+
18
+ ## Distilled Output Template
19
+
20
+ The final output should contain ONLY the following:
21
+
22
+ ```markdown
23
+ [ROLE DESCRIPTION]
24
+
25
+ [PROCEDURE / WORKFLOW]
26
+
27
+ [RULES & CONSTRAINTS]
28
+
29
+ [FORMATS / SCHEMAS]
30
+ ```
@@ -0,0 +1,218 @@
1
+ ---
2
+ name: doc-link-verifier
3
+ description: "Audit repository documentation for broken links and contextual correctness — covers HTTP status, relative paths, anchors, and semantic mismatches between link text and target content"
4
+ metadata:
5
+ installed-from: "incitaciones"
6
+ ---
7
+ ---
8
+ name: doc-link-verifier
9
+ description: Audit repository documentation for broken links and contextual correctness — HTTP status, relative paths, anchors, and semantic mismatches between link text and target content.
10
+ ---
11
+
12
+ # doc-link-verifier
13
+
14
+ Audit a repository's documentation for link problems. Two problems, actually:
15
+
16
+ 1. **Broken** — the link doesn't resolve (404, wrong file path, dead anchor).
17
+ 2. **Wrong in context** — the link resolves fine but points to something that doesn't match what the surrounding text claims it points to. This is the subtler, more damaging kind, because it survives every "dead link checker" on the market.
18
+
19
+ This skill bundles scripts for the first problem (deterministic — either the page exists or it doesn't) and guides your judgment for the second (not deterministic — someone has to actually read the target and compare it to the context).
20
+
21
+ ## When to use this skill
22
+
23
+ Trigger any time the user wants to check/audit/verify/validate links in documentation. They might not use any of those exact words — "are the links still good?", "find broken links", "the docs are old, can you make sure they still work", "do a link check on the repo" all qualify. If a repo + links is involved, reach for this.
24
+
25
+ ## Inputs you need
26
+
27
+ Ask for these only if they aren't already obvious from context:
28
+
29
+ 1. **Repo path** — the root of the repository to scan.
30
+ 2. **Scope** — whole repo, just `/docs`, just the README, etc. Default: whole repo.
31
+ 3. **Include code comments?** — URLs inside `//`, `#`, `/* */`, docstrings, JSDoc. Default: include them, since users who say "all documentation" usually mean prose docs AND the doc comments that end up in generated API references.
32
+ 4. **Depth of context check** — shallow (title/heading match) or deep (read target content and semantically compare). Default: shallow, escalate to deep if shallow turns up anything suspicious or the user asks.
33
+
34
+ If the user just says "check my repo's links" and points at a directory, assume whole repo + include code comments + shallow. Don't pepper them with questions before starting.
35
+
36
+ ## Script location
37
+
38
+ The helper scripts live in the `scripts/` directory next to this file. Resolve the absolute path from this skill file's location. For example, if you read this file from `~/.claude/skills/doc-link-verifier/SKILL.md`, substitute `~/.claude/skills/doc-link-verifier` for `<this-skill-dir>` in the commands below.
39
+
40
+ Run scripts with `uv run` — each script embeds its own dependency metadata (PEP 723), so `uv` automatically installs what's needed (e.g. `aiohttp` for the checker) in an ephemeral environment. No manual `pip install` required.
41
+
42
+ ## Workflow
43
+
44
+ ### Step 1 — Extract every link
45
+
46
+ Run the extractor. It walks the tree, pulls out links with surrounding context, and writes a JSON file.
47
+
48
+ ```bash
49
+ uv run <this-skill-dir>/scripts/extract_links.py <repo> \
50
+ --include-code \
51
+ --out /tmp/links.json
52
+ ```
53
+
54
+ Useful flags:
55
+ - `--include-code` — scan URLs in code comments (usually you want this)
56
+ - `--extensions .md,.mdx,.rst,.txt` — restrict to specific doc types
57
+ - `--exclude dist,examples/legacy` — skip specific directories (on top of the sensible defaults it already skips: `node_modules`, `.git`, `dist`, `build`, `target`, `vendor`, `.venv`, etc.)
58
+
59
+ The output is a JSON document with one entry per link occurrence. Each entry has `url`, `text` (the anchor text, when present), `file`, `line`, `col`, `context` (the surrounding lines), `kind` (which syntax produced it: `md-inline`, `md-ref`, `md-autolink`, `md-image`, `rst-link`, `bare`, `comment-url`, etc.), and `link_type` (`external`, `relative`, `anchor`, `mailto`, `other`).
60
+
61
+ Peek at the link count and the breakdown before moving on. If it's under a few hundred links, you're fine; if it's thousands, flag to the user that external checking will take a few minutes.
62
+
63
+ ### Step 2 — Check each link
64
+
65
+ ```bash
66
+ uv run <this-skill-dir>/scripts/check_links.py /tmp/links.json \
67
+ --out /tmp/report.json \
68
+ --cache /tmp/.link_cache.json
69
+ ```
70
+
71
+ What it does:
72
+ - **External** (`http://`, `https://`) — HEAD request first, falls back to GET if the server returns 403/405/501. Follows redirects and records the chain. Results are cached (pass `--cache` to control location) so re-runs don't re-hit the network.
73
+ - **Relative** — resolves the path against the source file's directory (or repo root if it starts with `/`) and verifies the target exists. If the link has a `#fragment`, also verifies a matching heading exists in the target.
74
+ - **Anchor-only** (`#section`) — verifies the fragment matches a heading in the same file.
75
+ - **mailto:** — skipped (noted in the report).
76
+
77
+ Headings are matched using GitHub's slug algorithm: lowercase, strip punctuation, spaces → hyphens. This is what GitHub, GitLab, and most markdown renderers use. Note: **Sphinx and some RST-based generators use different anchor rules** — if the repo is obviously Sphinx-based (has `conf.py`, `.rst` everywhere), mention this caveat in the final report.
78
+
79
+ Useful flags:
80
+ - `--deep` — for external links, fetch the full body (capped at 200KB) and extract `<title>` + H1–H3 headings. This takes longer but enables real contextual checking. **Don't enable deep by default** — it multiplies network load. Turn it on only for the second pass (see Step 4) or when the user explicitly asks.
81
+ - `--concurrency 8` — how many external requests in flight at once. Bump it up for big repos on fast networks; drop it for sites that rate-limit.
82
+ - `--timeout 15` — per-request timeout.
83
+ - `--no-cache` — skip the cache (for forced re-checks).
84
+ - `--user-agent "..."` — override the UA string if a site blocks the default.
85
+
86
+ The summary at the top of the report groups links by status: `ok`, `broken`, `redirected`, `anchor-missing`, `skipped`, `unknown`.
87
+
88
+ ### Step 3 — Triage the structural results
89
+
90
+ Before reading target pages for context, walk through what the checker found. Sort by severity:
91
+
92
+ 1. **`broken` (external)** — genuinely dead. Record the HTTP status and the error.
93
+ 2. **`broken` (relative)** — file doesn't exist. Usually a moved/renamed/deleted file. Sometimes a typo.
94
+ 3. **`anchor-missing`** — the file exists but the heading doesn't. The `headings` field in the check result lists what DOES exist, which is often enough to suggest a fix (e.g. the heading was renamed from "Setup" to "Installation").
95
+ 4. **`redirected`** — not necessarily wrong, but often worth updating. A redirect from HTTP to HTTPS is fine; a redirect from `/old-docs/x` to `/docs/x` means the link should be updated. Note the pattern and flag notable ones.
96
+ 5. **`unknown`** — transient failures (DNS, timeout). Consider re-running the checker for these with a longer timeout before treating them as broken.
97
+
98
+ Group results by source file so the user can see which docs are worst-hit.
99
+
100
+ ### Step 4 — Contextual correctness (the hard part)
101
+
102
+ 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."
103
+
104
+ **Shallow check (default).** For each `ok` link, compare the link text (and a sentence of surrounding context) to the target's identifying label:
105
+ - External link, deep mode was run: compare to `<title>` and H1.
106
+ - 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.
107
+ - Anchor-only link: compare the link text to the heading itself.
108
+
109
+ Shallow check mismatches worth flagging:
110
+ - Link text says "the API reference" but the target's title is "Installation Guide."
111
+ - Link text says "see the v2 migration notes" but the target page is titled "v3 migration notes."
112
+ - Link text references a specific concept ("rate limiting") and the target page is about something unrelated ("authentication").
113
+
114
+ 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.
115
+
116
+ **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.
117
+
118
+ Then ask: does the surrounding context's claim hold up when you look at what the target actually says?
119
+
120
+ **Example — shallow pass, deep fail:**
121
+
122
+ > "For rate limiting details, see the [API guide](https://example.com/api)."
123
+
124
+ Shallow: link text "API guide", target title "API Guide" → match, passes.
125
+ Deep: page is about endpoints and auth; there's no rate limiting section anywhere → contextual mismatch.
126
+
127
+ **Example — deep pass:**
128
+
129
+ > "See [issue #42](https://github.com/org/repo/issues/42) for the discussion of the memory leak."
130
+
131
+ Deep: fetch the issue, confirm the title/body talk about a memory leak → context is correct.
132
+
133
+ When to escalate from shallow to deep automatically:
134
+ - The shallow check flagged a mismatch, but the link text is specific enough that it's worth verifying before reporting.
135
+ - The surrounding context makes a specific technical claim ("as shown in X"), and the user has asked for a thorough audit.
136
+ - The user explicitly asked for a deep check.
137
+
138
+ When NOT to escalate:
139
+ - The link text is generic ("here", "this", "docs").
140
+ - The repo has thousands of external links (the network cost is too high; ask the user if they want to narrow the scope).
141
+
142
+ ### Step 5 — Produce the report
143
+
144
+ The report has a consistent structure so users can skim or drill in:
145
+
146
+ ```markdown
147
+ # Link audit: <repo>
148
+
149
+ ## Summary
150
+ - Scanned N files, found M links
151
+ - ✅ ok: X · ⚠️ redirected: Y · ❌ broken: Z · ❓ anchor-missing: W · ⏭ skipped: V
152
+ - Contextual mismatches flagged: K
153
+
154
+ ## Broken links (❌)
155
+ Grouped by source file. For each:
156
+ - File + line number
157
+ - Link text and URL
158
+ - What went wrong (HTTP status / "file not found" / etc.)
159
+ - Suggested fix if one is obvious
160
+
161
+ ## Missing anchors (❓)
162
+ For each:
163
+ - File + line, link text, URL
164
+ - Available headings in the target (from the check result)
165
+ - Best-guess replacement
166
+
167
+ ## Redirects worth updating (⚠️)
168
+ Only include notable ones — permanent URL changes, org renames, etc.
169
+ Don't flood the report with trivial http→https redirects unless the user asked.
170
+
171
+ ## Contextual mismatches
172
+ The judgment calls from Step 4. Each one shows:
173
+ - The source line with context
174
+ - The link
175
+ - What the target actually contains
176
+ - Why it's a mismatch
177
+ - Suggested fix or "needs human review"
178
+
179
+ ## Generic link text
180
+ Links whose text is too generic to verify contextually ("here", "this", "click here").
181
+ Not a bug; a quality suggestion.
182
+ ```
183
+
184
+ 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.
185
+
186
+ ### Step 6 — Fixes (opt-in, confirmation required)
187
+
188
+ 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.).
189
+
190
+ Offer fixes in tiers so the user can pick what they trust:
191
+
192
+ 1. **Safe fixes** — renamed anchors where the new heading is an unambiguous match (e.g. `#installation` → `#install` and only one heading is close). These are near-certain to be right.
193
+ 2. **Likely fixes** — permanent redirects where the server tells us the canonical URL. The new URL is what the server itself is pointing at, but the content might've changed, so ask first.
194
+ 3. **Needs review** — broken external links, contextual mismatches, file not found errors where the user probably moved or renamed something. Don't guess — ask.
195
+
196
+ When applying fixes:
197
+ - Edit the exact file + line using the available edit tool. Don't rewrite whole files.
198
+ - Preserve the link's surrounding syntax (reference-style vs. inline, angle brackets, etc.) by matching what's already there.
199
+ - Show a diff before writing, and confirm.
200
+ - After applying, re-run the checker on just the edited files to confirm the fixes stuck.
201
+
202
+ ## Edge cases and gotchas
203
+
204
+ - **Sphinx anchors**: Sphinx uses `:ref:` and generates its own anchor IDs based on section labels, not heading text. If the repo uses Sphinx, GitHub-style slug matching will false-positive as broken. Note this in the report and offer to skip `.rst` anchor checking, or point the user at a Sphinx-specific tool like `sphinx-lint`.
205
+ - **Versioned URLs**: Links like `/v2.3/foo` may be intentional pins. Don't auto-update these to the latest version without asking.
206
+ - **Placeholder URLs**: Templates often have `https://example.com` or `https://your-org.com/docs`. These will 404 but are intentional. If you see many links to the same example-looking domain, ask the user before marking them broken.
207
+ - **Private/internal URLs**: Intranet links, staging servers, localhost. Will look broken from outside the user's network. Ask about this if the repo has many failing links to the same private-looking host.
208
+ - **Rate limiting**: If external checks start returning 429 or timing out, drop `--concurrency` and/or increase `--timeout`, then re-run on just the failures. The cache means you won't re-check the ones that already succeeded.
209
+ - **Huge repos**: For repos with thousands of links, warn the user up front, default to shallow, skip code comments unless asked, and offer to scope down to `docs/` or the most-read files.
210
+ - **Badge/nested links**: Nested markdown links like `[![alt](img)](url)` (common in README badges) may not be fully extracted by the regex-based parser. If the report seems to miss badge links, check them manually.
211
+ - **Images**: `![alt](path)` is treated like a relative link and checked for existence. We don't verify the image content is what the alt text says — that's outside scope.
212
+
213
+ ## Reminders
214
+
215
+ - Cache is your friend — use `--cache /tmp/.link_cache.json` to keep the cache out of the repo working tree. Don't pass `--no-cache` unless you actually want to re-hit the network.
216
+ - Be polite to external servers — the script already rate-limits per host, but if you're checking a lot of links to one place (say, internal GitHub wiki pages), think about whether you could fetch them through a different mechanism.
217
+ - The contextual check is judgment-heavy. When in doubt, flag it as "needs human review" rather than asserting a mismatch. False positives erode trust in the report faster than false negatives.
218
+ - Report writing matters as much as the check itself. A 300-entry JSON dump isn't useful; a 20-line summary with the 5 worst problems and suggested fixes is.