@litfamily/lithermes 1.0.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 (557) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +186 -0
  3. package/README_Ko-KR.md +188 -0
  4. package/assets/lithermes-plugin/NOTICE.md +46 -0
  5. package/assets/lithermes-plugin/README.md +390 -0
  6. package/assets/lithermes-plugin/__init__.py +589 -0
  7. package/assets/lithermes-plugin/auto_update.py +338 -0
  8. package/assets/lithermes-plugin/bounded_work.py +1120 -0
  9. package/assets/lithermes-plugin/bounded_work_tools.py +115 -0
  10. package/assets/lithermes-plugin/core.py +1813 -0
  11. package/assets/lithermes-plugin/core_commands.py +243 -0
  12. package/assets/lithermes-plugin/core_contexts.py +458 -0
  13. package/assets/lithermes-plugin/core_contract.py +456 -0
  14. package/assets/lithermes-plugin/core_plans.py +418 -0
  15. package/assets/lithermes-plugin/core_reader_args.py +34 -0
  16. package/assets/lithermes-plugin/core_recap_command.py +141 -0
  17. package/assets/lithermes-plugin/core_recap_state.py +175 -0
  18. package/assets/lithermes-plugin/core_review.py +198 -0
  19. package/assets/lithermes-plugin/core_routing.py +641 -0
  20. package/assets/lithermes-plugin/core_runs.py +283 -0
  21. package/assets/lithermes-plugin/core_runtime.py +251 -0
  22. package/assets/lithermes-plugin/core_workflow_commands.py +207 -0
  23. package/assets/lithermes-plugin/deliverable_hedge_guard.py +562 -0
  24. package/assets/lithermes-plugin/diagnostics.py +468 -0
  25. package/assets/lithermes-plugin/handoff.py +97 -0
  26. package/assets/lithermes-plugin/knowledge.py +920 -0
  27. package/assets/lithermes-plugin/knowledge_tools.py +130 -0
  28. package/assets/lithermes-plugin/lit_mark.py +140 -0
  29. package/assets/lithermes-plugin/lit_mark_rows.json +1363 -0
  30. package/assets/lithermes-plugin/litgoal/__init__.py +10 -0
  31. package/assets/lithermes-plugin/litgoal/cli.py +207 -0
  32. package/assets/lithermes-plugin/litgoal/hook.py +81 -0
  33. package/assets/lithermes-plugin/litgoal/model.py +203 -0
  34. package/assets/lithermes-plugin/litgoal/runtime.py +522 -0
  35. package/assets/lithermes-plugin/litgoal/store.py +367 -0
  36. package/assets/lithermes-plugin/litgoal/tools.py +300 -0
  37. package/assets/lithermes-plugin/output-styles/asd-ste100-ko.md +41 -0
  38. package/assets/lithermes-plugin/output-styles/asd-ste100.md +40 -0
  39. package/assets/lithermes-plugin/output-styles/eli5-ko.md +13 -0
  40. package/assets/lithermes-plugin/output-styles/eli5.md +11 -0
  41. package/assets/lithermes-plugin/output_styles.py +62 -0
  42. package/assets/lithermes-plugin/payload-version.json +2107 -0
  43. package/assets/lithermes-plugin/plugin.yaml +16 -0
  44. package/assets/lithermes-plugin/provider_metrics.py +161 -0
  45. package/assets/lithermes-plugin/redaction.py +148 -0
  46. package/assets/lithermes-plugin/rules/__init__.py +55 -0
  47. package/assets/lithermes-plugin/rules/bundled-rules/baseline-discipline.md +20 -0
  48. package/assets/lithermes-plugin/rules/bundled-rules/build-decision-gate.md +19 -0
  49. package/assets/lithermes-plugin/rules/bundled-rules/windows-git-bash.md +17 -0
  50. package/assets/lithermes-plugin/rules/constants.py +122 -0
  51. package/assets/lithermes-plugin/rules/discovery.py +276 -0
  52. package/assets/lithermes-plugin/rules/engine.py +447 -0
  53. package/assets/lithermes-plugin/rules/frontmatter.py +149 -0
  54. package/assets/lithermes-plugin/rules/globmatch.py +333 -0
  55. package/assets/lithermes-plugin/scientific_visualization.py +158 -0
  56. package/assets/lithermes-plugin/session_context.py +8 -0
  57. package/assets/lithermes-plugin/skill_loop.py +2044 -0
  58. package/assets/lithermes-plugin/skill_observer.py +1778 -0
  59. package/assets/lithermes-plugin/skills/autoconference/LICENSE +21 -0
  60. package/assets/lithermes-plugin/skills/autoconference/ORIGIN.json +11 -0
  61. package/assets/lithermes-plugin/skills/autoconference/SKILL.md +163 -0
  62. package/assets/lithermes-plugin/skills/autoconference/assets/conference_template.md +76 -0
  63. package/assets/lithermes-plugin/skills/autoconference/assets/report_template.md +53 -0
  64. package/assets/lithermes-plugin/skills/autoconference/assets/synthesis_template.md +39 -0
  65. package/assets/lithermes-plugin/skills/autoconference/dependencies/autoresearch.md +14 -0
  66. package/assets/lithermes-plugin/skills/autoconference/modes/analyze/SKILL.md +269 -0
  67. package/assets/lithermes-plugin/skills/autoconference/modes/core/SKILL.md +134 -0
  68. package/assets/lithermes-plugin/skills/autoconference/modes/core/convergence-guide.md +162 -0
  69. package/assets/lithermes-plugin/skills/autoconference/modes/core/crash-recovery.md +63 -0
  70. package/assets/lithermes-plugin/skills/autoconference/modes/debate/SKILL.md +383 -0
  71. package/assets/lithermes-plugin/skills/autoconference/modes/plan/SKILL.md +304 -0
  72. package/assets/lithermes-plugin/skills/autoconference/modes/resume/SKILL.md +82 -0
  73. package/assets/lithermes-plugin/skills/autoconference/modes/ship/SKILL.md +78 -0
  74. package/assets/lithermes-plugin/skills/autoconference/modes/survey/SKILL.md +376 -0
  75. package/assets/lithermes-plugin/skills/autoconference/references/agent-prompts.md +110 -0
  76. package/assets/lithermes-plugin/skills/autoconference/references/conference-protocol.md +90 -0
  77. package/assets/lithermes-plugin/skills/autoconference/references/core-principles.md +78 -0
  78. package/assets/lithermes-plugin/skills/autoconference/references/results-logging.md +165 -0
  79. package/assets/lithermes-plugin/skills/autoconference/references/visualization-guide.md +99 -0
  80. package/assets/lithermes-plugin/skills/autoconference/scripts/check_conference.sh +197 -0
  81. package/assets/lithermes-plugin/skills/autoconference/scripts/init_conference.py +489 -0
  82. package/assets/lithermes-plugin/skills/autoconference/scripts/style_presets.py +104 -0
  83. package/assets/lithermes-plugin/skills/autoconference/templates/code-performance.md +59 -0
  84. package/assets/lithermes-plugin/skills/autoconference/templates/debate-mode.md +50 -0
  85. package/assets/lithermes-plugin/skills/autoconference/templates/prompt-optimization.md +58 -0
  86. package/assets/lithermes-plugin/skills/autoconference/templates/quick-conference.md +48 -0
  87. package/assets/lithermes-plugin/skills/autoconference/templates/research-synthesis.md +56 -0
  88. package/assets/lithermes-plugin/skills/autoconference/templates/survey-mode.md +63 -0
  89. package/assets/lithermes-plugin/skills/autoresearch/LICENSE +21 -0
  90. package/assets/lithermes-plugin/skills/autoresearch/ORIGIN.json +11 -0
  91. package/assets/lithermes-plugin/skills/autoresearch/SKILL.md +175 -0
  92. package/assets/lithermes-plugin/skills/autoresearch/assets/report_template.md +50 -0
  93. package/assets/lithermes-plugin/skills/autoresearch/assets/research_template.md +38 -0
  94. package/assets/lithermes-plugin/skills/autoresearch/assets/results_template.tsv +2 -0
  95. package/assets/lithermes-plugin/skills/autoresearch/modes/core/SKILL.md +204 -0
  96. package/assets/lithermes-plugin/skills/autoresearch/modes/core/evaluator-contract.md +108 -0
  97. package/assets/lithermes-plugin/skills/autoresearch/modes/core/stuck-detection.md +102 -0
  98. package/assets/lithermes-plugin/skills/autoresearch/modes/debug/SKILL.md +240 -0
  99. package/assets/lithermes-plugin/skills/autoresearch/modes/debug/investigation-techniques.md +254 -0
  100. package/assets/lithermes-plugin/skills/autoresearch/modes/fix/SKILL.md +176 -0
  101. package/assets/lithermes-plugin/skills/autoresearch/modes/learn/SKILL.md +96 -0
  102. package/assets/lithermes-plugin/skills/autoresearch/modes/plan/SKILL.md +291 -0
  103. package/assets/lithermes-plugin/skills/autoresearch/modes/predict/SKILL.md +271 -0
  104. package/assets/lithermes-plugin/skills/autoresearch/modes/predict/persona-templates.md +227 -0
  105. package/assets/lithermes-plugin/skills/autoresearch/modes/reason/SKILL.md +174 -0
  106. package/assets/lithermes-plugin/skills/autoresearch/modes/scenario/SKILL.md +168 -0
  107. package/assets/lithermes-plugin/skills/autoresearch/modes/scenario/dimensions.md +173 -0
  108. package/assets/lithermes-plugin/skills/autoresearch/modes/security/SKILL.md +287 -0
  109. package/assets/lithermes-plugin/skills/autoresearch/modes/security/owasp-checklist.md +156 -0
  110. package/assets/lithermes-plugin/skills/autoresearch/modes/security/stride-model.md +191 -0
  111. package/assets/lithermes-plugin/skills/autoresearch/modes/ship/SKILL.md +99 -0
  112. package/assets/lithermes-plugin/skills/autoresearch/modes/ship/type-checklists.md +158 -0
  113. package/assets/lithermes-plugin/skills/autoresearch/references/core-principles.md +75 -0
  114. package/assets/lithermes-plugin/skills/autoresearch/references/results-logging.md +55 -0
  115. package/assets/lithermes-plugin/skills/autoresearch/references/visualization-guide.md +90 -0
  116. package/assets/lithermes-plugin/skills/autoresearch/scripts/check_progress.sh +139 -0
  117. package/assets/lithermes-plugin/skills/autoresearch/scripts/init_research.py +219 -0
  118. package/assets/lithermes-plugin/skills/autoresearch/scripts/style_presets.py +104 -0
  119. package/assets/lithermes-plugin/skills/browser-drive/SKILL.md +147 -0
  120. package/assets/lithermes-plugin/skills/browser-drive/scripts/capability_probe.py +528 -0
  121. package/assets/lithermes-plugin/skills/comment-checker/SKILL.md +162 -0
  122. package/assets/lithermes-plugin/skills/debugging/SKILL.md +271 -0
  123. package/assets/lithermes-plugin/skills/debugging/references/methodology/00-setup.md +108 -0
  124. package/assets/lithermes-plugin/skills/debugging/references/methodology/02-investigate.md +122 -0
  125. package/assets/lithermes-plugin/skills/debugging/references/methodology/04-oracle-triple.md +136 -0
  126. package/assets/lithermes-plugin/skills/debugging/references/methodology/05-escalate.md +69 -0
  127. package/assets/lithermes-plugin/skills/debugging/references/methodology/06-fix.md +116 -0
  128. package/assets/lithermes-plugin/skills/debugging/references/methodology/08-qa.md +94 -0
  129. package/assets/lithermes-plugin/skills/debugging/references/methodology/09-cleanup.md +164 -0
  130. package/assets/lithermes-plugin/skills/debugging/references/methodology/partial-runtime-evidence.md +229 -0
  131. package/assets/lithermes-plugin/skills/debugging/references/runtimes/bundled-js-binary.md +415 -0
  132. package/assets/lithermes-plugin/skills/debugging/references/runtimes/go.md +252 -0
  133. package/assets/lithermes-plugin/skills/debugging/references/runtimes/native-binary.md +484 -0
  134. package/assets/lithermes-plugin/skills/debugging/references/runtimes/node.md +260 -0
  135. package/assets/lithermes-plugin/skills/debugging/references/runtimes/python.md +248 -0
  136. package/assets/lithermes-plugin/skills/debugging/references/runtimes/rust.md +234 -0
  137. package/assets/lithermes-plugin/skills/debugging/references/tools/ghidra.md +212 -0
  138. package/assets/lithermes-plugin/skills/debugging/references/tools/playwright-cli.md +194 -0
  139. package/assets/lithermes-plugin/skills/debugging/references/tools/pwndbg.md +263 -0
  140. package/assets/lithermes-plugin/skills/debugging/references/tools/pwntools.md +265 -0
  141. package/assets/lithermes-plugin/skills/deep-interview/SKILL.md +419 -0
  142. package/assets/lithermes-plugin/skills/frontend-ui-ux/SKILL.md +49 -0
  143. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/.gitattributes +2 -0
  144. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/README.md +248 -0
  145. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/_INDEX.md +191 -0
  146. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/airbnb.md +393 -0
  147. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/airtable.md +92 -0
  148. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/apple.md +250 -0
  149. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/aside.md +209 -0
  150. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/binance.md +348 -0
  151. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/bmw.md +183 -0
  152. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/brutalist-skill.md +92 -0
  153. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/bugatti.md +271 -0
  154. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/cal.md +262 -0
  155. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/claude.md +315 -0
  156. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/clay.md +307 -0
  157. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/clickhouse.md +284 -0
  158. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/clone-from-url.md +65 -0
  159. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/cohere.md +269 -0
  160. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/coinbase.md +132 -0
  161. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/composio.md +310 -0
  162. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/cursor.md +312 -0
  163. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/design-system-architecture.md +244 -0
  164. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/elevenlabs.md +268 -0
  165. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/expo.md +284 -0
  166. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/ferrari.md +317 -0
  167. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/figma.md +223 -0
  168. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/framer.md +249 -0
  169. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/gpt-tasteskill.md +74 -0
  170. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/hashicorp.md +281 -0
  171. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/ibm.md +335 -0
  172. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/image-to-code-skill.md +1228 -0
  173. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/imagegen-brandkit.md +798 -0
  174. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/imagegen-frontend-mobile.md +1465 -0
  175. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/imagegen-frontend-web.md +987 -0
  176. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/intercom.md +149 -0
  177. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/kraken.md +128 -0
  178. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/lamborghini.md +291 -0
  179. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/layout-skill.md +107 -0
  180. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/lazyweb.md +77 -0
  181. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/linear.app.md +370 -0
  182. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/lovable.md +301 -0
  183. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/mastercard.md +368 -0
  184. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/meta.md +369 -0
  185. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/minimalist-skill.md +85 -0
  186. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/minimax.md +260 -0
  187. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/mintlify.md +329 -0
  188. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/miro.md +111 -0
  189. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/mistral.ai.md +264 -0
  190. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/mongodb.md +269 -0
  191. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/nike.md +366 -0
  192. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/notion.md +312 -0
  193. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/nvidia.md +296 -0
  194. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/ollama.md +270 -0
  195. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/opencode.ai.md +284 -0
  196. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/output-skill.md +49 -0
  197. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/pinterest.md +233 -0
  198. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/playstation.md +367 -0
  199. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/posthog.md +259 -0
  200. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/raycast.md +271 -0
  201. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/react-dev-tooling-skill.md +230 -0
  202. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/redesign-skill.md +178 -0
  203. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/renault.md +314 -0
  204. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/replicate.md +264 -0
  205. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/resend.md +306 -0
  206. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/revolut.md +188 -0
  207. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/runwayml.md +247 -0
  208. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/sanity.md +360 -0
  209. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/sentry.md +265 -0
  210. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/shopify.md +353 -0
  211. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/soft-skill.md +98 -0
  212. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/spacex.md +197 -0
  213. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/spotify.md +249 -0
  214. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/starbucks.md +583 -0
  215. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/stitch-design-example.md +121 -0
  216. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/stitch-skill.md +184 -0
  217. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/stripe.md +325 -0
  218. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/supabase.md +258 -0
  219. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/superhuman.md +255 -0
  220. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/taste-skill.md +1206 -0
  221. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/tesla.md +289 -0
  222. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/theverge.md +342 -0
  223. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/together.ai.md +266 -0
  224. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/uber.md +298 -0
  225. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/vercel.md +313 -0
  226. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/vodafone.md +426 -0
  227. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/voltagent.md +326 -0
  228. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/warp.md +256 -0
  229. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/webflow.md +95 -0
  230. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/wired.md +281 -0
  231. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/wise.md +176 -0
  232. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/x.ai.md +260 -0
  233. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/design/zapier.md +331 -0
  234. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/EVIDENCE.md +97 -0
  235. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/README.md +48 -0
  236. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/UPSTREAM.md +80 -0
  237. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/lane-a-direction.md +64 -0
  238. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/lane-b-execution.md +65 -0
  239. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/lane-c-review.md +65 -0
  240. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/lane-d-memory.md +83 -0
  241. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/orchestration.md +80 -0
  242. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/routing.md +79 -0
  243. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/LICENSE +21 -0
  244. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/accessibility-reviewer.md +83 -0
  245. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/content-writer.md +132 -0
  246. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/design-builder.md +109 -0
  247. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/design-critic.md +89 -0
  248. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/design-lead.md +113 -0
  249. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/design-scout.md +78 -0
  250. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/design-strategist.md +121 -0
  251. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/heuristic-evaluator.md +268 -0
  252. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/inspiration-scout.md +107 -0
  253. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/agents/motion-designer.md +120 -0
  254. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/accessible-content/reference.md +101 -0
  255. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/adaptive-interfaces/reference.md +109 -0
  256. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/cognitive-accessibility/reference.md +107 -0
  257. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-debate/reference.md +199 -0
  258. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-debt-tracker/reference.md +174 -0
  259. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-handoff/reference.md +125 -0
  260. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-md/reference.md +106 -0
  261. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-retrospective/reference.md +266 -0
  262. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-review/reference.md +123 -0
  263. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/design-system-alignment/reference.md +120 -0
  264. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/designpowers-critique/reference.md +164 -0
  265. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/heuristic-evaluation/reference.md +85 -0
  266. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/inclusive-personas/reference.md +98 -0
  267. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/inspiration-scouting/reference.md +165 -0
  268. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/interaction-design/reference.md +122 -0
  269. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/motion-choreography/reference.md +81 -0
  270. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/research-planning/reference.md +96 -0
  271. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/responsive-patterns/reference.md +77 -0
  272. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/synthetic-user-testing/reference.md +192 -0
  273. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/taste-feedback/reference.md +165 -0
  274. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/taste-report/reference.md +78 -0
  275. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/token-architecture/reference.md +75 -0
  276. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/ui-composition/reference.md +117 -0
  277. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/usability-testing/reference.md +78 -0
  278. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/verification-before-shipping/reference.md +125 -0
  279. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/voice-and-tone/reference.md +79 -0
  280. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/designpowers/vendor/skills/writing-design-plans/reference.md +119 -0
  281. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/perfection/README.md +160 -0
  282. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/perfection/react-perf-tooling.md +127 -0
  283. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/README.md +659 -0
  284. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/charts.csv +26 -0
  285. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/colors.csv +162 -0
  286. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/icons.csv +106 -0
  287. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/landing.csv +35 -0
  288. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/products.csv +162 -0
  289. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/react-performance.csv +45 -0
  290. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/astro.csv +54 -0
  291. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/flutter.csv +53 -0
  292. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
  293. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
  294. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/nextjs.csv +53 -0
  295. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
  296. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
  297. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/react-native.csv +52 -0
  298. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/react.csv +54 -0
  299. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/shadcn.csv +61 -0
  300. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/svelte.csv +54 -0
  301. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/swiftui.csv +51 -0
  302. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/stacks/vue.csv +50 -0
  303. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/styles.csv +85 -0
  304. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/typography.csv +74 -0
  305. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/ui-reasoning.csv +162 -0
  306. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/ux-guidelines.csv +100 -0
  307. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/data/web-interface.csv +31 -0
  308. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/scripts/core.py +262 -0
  309. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/scripts/design_system.py +1148 -0
  310. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/corpus/ui-ux-db/scripts/search.py +114 -0
  311. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/ATTRIBUTION.md +217 -0
  312. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/LICENSE +21 -0
  313. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/legal/LICENSE-Apache-2.0.txt +201 -0
  314. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/_canonical-corpus/manifest.json +876 -0
  315. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/adaptive-layout.md +81 -0
  316. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/brand-and-imagery.md +84 -0
  317. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/complete-contract.md +457 -0
  318. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/composition.md +89 -0
  319. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/creative-directions.md +81 -0
  320. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/evidence-review.md +113 -0
  321. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/implementation-platforms.md +92 -0
  322. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/inclusive-interface.md +85 -0
  323. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/interaction-motion.md +87 -0
  324. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/operating-lanes.md +85 -0
  325. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/performance-delivery.md +85 -0
  326. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/product-direction.md +86 -0
  327. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/redesign-playbook.md +91 -0
  328. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/system-foundations.md +82 -0
  329. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/taste-direction.md +86 -0
  330. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/visual-language.md +85 -0
  331. package/assets/lithermes-plugin/skills/frontend-ui-ux/references/visual-reconstruction.md +94 -0
  332. package/assets/lithermes-plugin/skills/frontend-ui-ux/resources/LICENSE +21 -0
  333. package/assets/lithermes-plugin/skills/frontend-ui-ux/resources/PROVENANCE.json +38 -0
  334. package/assets/lithermes-plugin/skills/frontend-ui-ux/resources/THIRD-PARTY-NOTICE.txt +14 -0
  335. package/assets/lithermes-plugin/skills/frontend-ui-ux/resources/design-intelligence.json +1 -0
  336. package/assets/lithermes-plugin/skills/frontend-ui-ux/resources/import-manifest.json +1060 -0
  337. package/assets/lithermes-plugin/skills/frontend-ui-ux/schemas/design-contract-v1alpha1.schema.json +264 -0
  338. package/assets/lithermes-plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta1.schema.json +268 -0
  339. package/assets/lithermes-plugin/skills/frontend-ui-ux/schemas/design-contract-v1beta2.schema.json +280 -0
  340. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/design_contract_validation.py +996 -0
  341. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/design_intelligence.py +128 -0
  342. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/design_runtime.py +98 -0
  343. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/import_design_intelligence.py +56 -0
  344. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/source_import.py +144 -0
  345. package/assets/lithermes-plugin/skills/frontend-ui-ux/scripts/source_manifest.py +65 -0
  346. package/assets/lithermes-plugin/skills/lit-burnoff/SKILL.md +448 -0
  347. package/assets/lithermes-plugin/skills/lit-burnoff-file/SKILL.md +254 -0
  348. package/assets/lithermes-plugin/skills/lit-code/SKILL.md +609 -0
  349. package/assets/lithermes-plugin/skills/lit-code/references/go/README.md +90 -0
  350. package/assets/lithermes-plugin/skills/lit-code/references/go/backend-stack.md +641 -0
  351. package/assets/lithermes-plugin/skills/lit-code/references/go/bootstrap.md +328 -0
  352. package/assets/lithermes-plugin/skills/lit-code/references/go/bubbletea-v2.md +359 -0
  353. package/assets/lithermes-plugin/skills/lit-code/references/go/cobra-stack.md +468 -0
  354. package/assets/lithermes-plugin/skills/lit-code/references/go/concurrency.md +362 -0
  355. package/assets/lithermes-plugin/skills/lit-code/references/go/data-modeling.md +329 -0
  356. package/assets/lithermes-plugin/skills/lit-code/references/go/error-handling.md +359 -0
  357. package/assets/lithermes-plugin/skills/lit-code/references/go/golangci-strict.md +236 -0
  358. package/assets/lithermes-plugin/skills/lit-code/references/go/grpc-connect.md +375 -0
  359. package/assets/lithermes-plugin/skills/lit-code/references/go/libraries.md +337 -0
  360. package/assets/lithermes-plugin/skills/lit-code/references/go/one-liners.md +202 -0
  361. package/assets/lithermes-plugin/skills/lit-code/references/go/sqlc-pgx.md +471 -0
  362. package/assets/lithermes-plugin/skills/lit-code/references/go/testing.md +467 -0
  363. package/assets/lithermes-plugin/skills/lit-code/references/go/type-patterns.md +298 -0
  364. package/assets/lithermes-plugin/skills/lit-code/references/python/README.md +314 -0
  365. package/assets/lithermes-plugin/skills/lit-code/references/python/async-anyio.md +442 -0
  366. package/assets/lithermes-plugin/skills/lit-code/references/python/data-modeling.md +233 -0
  367. package/assets/lithermes-plugin/skills/lit-code/references/python/data-processing.md +133 -0
  368. package/assets/lithermes-plugin/skills/lit-code/references/python/error-handling.md +218 -0
  369. package/assets/lithermes-plugin/skills/lit-code/references/python/fastapi-stack.md +316 -0
  370. package/assets/lithermes-plugin/skills/lit-code/references/python/httpx2-optimization.md +360 -0
  371. package/assets/lithermes-plugin/skills/lit-code/references/python/libraries.md +307 -0
  372. package/assets/lithermes-plugin/skills/lit-code/references/python/one-liners.md +268 -0
  373. package/assets/lithermes-plugin/skills/lit-code/references/python/orjson-stack.md +378 -0
  374. package/assets/lithermes-plugin/skills/lit-code/references/python/pydantic-ai.md +285 -0
  375. package/assets/lithermes-plugin/skills/lit-code/references/python/pyproject-strict.md +232 -0
  376. package/assets/lithermes-plugin/skills/lit-code/references/python/textual-tui.md +201 -0
  377. package/assets/lithermes-plugin/skills/lit-code/references/python/type-patterns.md +176 -0
  378. package/assets/lithermes-plugin/skills/lit-code/references/rust/README.md +317 -0
  379. package/assets/lithermes-plugin/skills/lit-code/references/rust/async-tokio.md +299 -0
  380. package/assets/lithermes-plugin/skills/lit-code/references/rust/axum-stack.md +467 -0
  381. package/assets/lithermes-plugin/skills/lit-code/references/rust/cargo-strict.md +317 -0
  382. package/assets/lithermes-plugin/skills/lit-code/references/rust/clap-stack.md +409 -0
  383. package/assets/lithermes-plugin/skills/lit-code/references/rust/concurrency.md +375 -0
  384. package/assets/lithermes-plugin/skills/lit-code/references/rust/libraries.md +439 -0
  385. package/assets/lithermes-plugin/skills/lit-code/references/rust/one-liners.md +291 -0
  386. package/assets/lithermes-plugin/skills/lit-code/references/rust/proptest-insta.md +429 -0
  387. package/assets/lithermes-plugin/skills/lit-code/references/rust/type-state.md +354 -0
  388. package/assets/lithermes-plugin/skills/lit-code/references/rust/unsafe-discipline.md +250 -0
  389. package/assets/lithermes-plugin/skills/lit-code/references/rust/zero-cost-safety.md +527 -0
  390. package/assets/lithermes-plugin/skills/lit-code/references/rust-ub/README.md +289 -0
  391. package/assets/lithermes-plugin/skills/lit-code/references/rust-ub/miri-sanitizers-loom.md +411 -0
  392. package/assets/lithermes-plugin/skills/lit-code/references/rust-ub/ub-taxonomy.md +269 -0
  393. package/assets/lithermes-plugin/skills/lit-code/references/typescript/README.md +195 -0
  394. package/assets/lithermes-plugin/skills/lit-code/references/typescript/backend-hono.md +672 -0
  395. package/assets/lithermes-plugin/skills/lit-code/references/typescript/bootstrap.md +199 -0
  396. package/assets/lithermes-plugin/skills/lit-code/references/typescript/data-modeling.md +202 -0
  397. package/assets/lithermes-plugin/skills/lit-code/references/typescript/error-handling.md +169 -0
  398. package/assets/lithermes-plugin/skills/lit-code/references/typescript/tsconfig-strict.md +152 -0
  399. package/assets/lithermes-plugin/skills/lit-code/references/typescript/type-patterns.md +196 -0
  400. package/assets/lithermes-plugin/skills/lit-code/scripts/go/check-no-excuse-rules.sh +173 -0
  401. package/assets/lithermes-plugin/skills/lit-code/scripts/go/new-project.py +138 -0
  402. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/.editorconfig +13 -0
  403. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/.golangci.yml +95 -0
  404. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/AGENTS.md.tmpl +24 -0
  405. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/README.md.tmpl +12 -0
  406. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/Taskfile.yml +40 -0
  407. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/ci.yml +37 -0
  408. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/config.go +24 -0
  409. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/gitignore +15 -0
  410. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/main.go.tmpl +22 -0
  411. package/assets/lithermes-plugin/skills/lit-code/scripts/go/templates/run.go +15 -0
  412. package/assets/lithermes-plugin/skills/lit-code/scripts/python/check-no-excuse-rules.py +687 -0
  413. package/assets/lithermes-plugin/skills/lit-code/scripts/python/new-project.py +172 -0
  414. package/assets/lithermes-plugin/skills/lit-code/scripts/python/new-script.py +116 -0
  415. package/assets/lithermes-plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.py +296 -0
  416. package/assets/lithermes-plugin/skills/lit-code/scripts/rust/check-no-excuse-rules.sh +158 -0
  417. package/assets/lithermes-plugin/skills/lit-code/scripts/rust/new-project.py +175 -0
  418. package/assets/lithermes-plugin/skills/lit-code/scripts/typescript/check-no-excuse-rules.ts +282 -0
  419. package/assets/lithermes-plugin/skills/lit-code/scripts/typescript/new-project.ts +177 -0
  420. package/assets/lithermes-plugin/skills/lit-commit/SKILL.md +242 -0
  421. package/assets/lithermes-plugin/skills/lit-comprehend/SKILL.md +259 -0
  422. package/assets/lithermes-plugin/skills/lit-comprehend/assets/explainer-scaffold.html +123 -0
  423. package/assets/lithermes-plugin/skills/lit-comprehend/references/artifact-template.md +205 -0
  424. package/assets/lithermes-plugin/skills/lit-comprehend/references/micro-worlds.md +139 -0
  425. package/assets/lithermes-plugin/skills/lit-comprehend/scripts/verify-explainer.py +324 -0
  426. package/assets/lithermes-plugin/skills/lit-crucible/SKILL.md +315 -0
  427. package/assets/lithermes-plugin/skills/lit-handoff/ORIGIN.json +23 -0
  428. package/assets/lithermes-plugin/skills/lit-handoff/SKILL.md +145 -0
  429. package/assets/lithermes-plugin/skills/lit-init/SKILL.md +329 -0
  430. package/assets/lithermes-plugin/skills/lit-korean/SKILL.md +237 -0
  431. package/assets/lithermes-plugin/skills/lit-korean/references/quick-rules.md +24 -0
  432. package/assets/lithermes-plugin/skills/lit-korean/references/safety-checklist.md +23 -0
  433. package/assets/lithermes-plugin/skills/lit-plan/SKILL.md +596 -0
  434. package/assets/lithermes-plugin/skills/lit-recap/SKILL.md +183 -0
  435. package/assets/lithermes-plugin/skills/lit-scientific-visualization/ORIGIN.json +32 -0
  436. package/assets/lithermes-plugin/skills/lit-scientific-visualization/SKILL.md +170 -0
  437. package/assets/lithermes-plugin/skills/litgoal/.gitkeep +0 -0
  438. package/assets/lithermes-plugin/skills/litgoal/SKILL.md +372 -0
  439. package/assets/lithermes-plugin/skills/litresearch/ATTRIBUTION.md +50 -0
  440. package/assets/lithermes-plugin/skills/litresearch/SKILL.md +593 -0
  441. package/assets/lithermes-plugin/skills/litwork/SKILL.md +419 -0
  442. package/assets/lithermes-plugin/skills/lsp/SKILL.md +165 -0
  443. package/assets/lithermes-plugin/skills/lsp-setup/SKILL.md +265 -0
  444. package/assets/lithermes-plugin/skills/lsp-setup/references/bash/README.md +68 -0
  445. package/assets/lithermes-plugin/skills/lsp-setup/references/c-cpp/README.md +78 -0
  446. package/assets/lithermes-plugin/skills/lsp-setup/references/csharp/README.md +90 -0
  447. package/assets/lithermes-plugin/skills/lsp-setup/references/dart/README.md +59 -0
  448. package/assets/lithermes-plugin/skills/lsp-setup/references/elixir/README.md +61 -0
  449. package/assets/lithermes-plugin/skills/lsp-setup/references/go/README.md +63 -0
  450. package/assets/lithermes-plugin/skills/lsp-setup/references/haskell/README.md +69 -0
  451. package/assets/lithermes-plugin/skills/lsp-setup/references/java/README.md +70 -0
  452. package/assets/lithermes-plugin/skills/lsp-setup/references/julia/README.md +70 -0
  453. package/assets/lithermes-plugin/skills/lsp-setup/references/kotlin/README.md +72 -0
  454. package/assets/lithermes-plugin/skills/lsp-setup/references/lua/README.md +68 -0
  455. package/assets/lithermes-plugin/skills/lsp-setup/references/php/README.md +61 -0
  456. package/assets/lithermes-plugin/skills/lsp-setup/references/python/README.md +73 -0
  457. package/assets/lithermes-plugin/skills/lsp-setup/references/ruby/README.md +67 -0
  458. package/assets/lithermes-plugin/skills/lsp-setup/references/rust/README.md +65 -0
  459. package/assets/lithermes-plugin/skills/lsp-setup/references/swift/README.md +64 -0
  460. package/assets/lithermes-plugin/skills/lsp-setup/references/terraform/README.md +66 -0
  461. package/assets/lithermes-plugin/skills/lsp-setup/references/typescript/README.md +82 -0
  462. package/assets/lithermes-plugin/skills/lsp-setup/references/yaml/README.md +65 -0
  463. package/assets/lithermes-plugin/skills/lsp-setup/references/zig/README.md +59 -0
  464. package/assets/lithermes-plugin/skills/lsp-setup/scripts/detect-lsp.ts +221 -0
  465. package/assets/lithermes-plugin/skills/lsp-setup/scripts/lsp-server-table.ts +146 -0
  466. package/assets/lithermes-plugin/skills/lsp-setup/scripts/tsconfig.json +18 -0
  467. package/assets/lithermes-plugin/skills/lsp-setup/scripts/verify-lsp.ts +252 -0
  468. package/assets/lithermes-plugin/skills/refactor/SKILL.md +896 -0
  469. package/assets/lithermes-plugin/skills/review-work/SKILL.md +450 -0
  470. package/assets/lithermes-plugin/skills/rules/SKILL.md +194 -0
  471. package/assets/lithermes-plugin/skills/skill-observer/SKILL.md +190 -0
  472. package/assets/lithermes-plugin/skills/skill-observer/references/review-contract.md +77 -0
  473. package/assets/lithermes-plugin/skills/start-work/SKILL.md +550 -0
  474. package/assets/lithermes-plugin/skills/structural-search/SKILL.md +274 -0
  475. package/assets/lithermes-plugin/skills/visual-qa/SKILL.md +48 -0
  476. package/assets/lithermes-plugin/skills/visual-qa/references/capture-playbook.md +133 -0
  477. package/assets/lithermes-plugin/skills/visual-qa/references/complete-contract.md +522 -0
  478. package/assets/lithermes-plugin/skills/visual-qa/schemas/evidence-manifest-v1alpha1.schema.json +135 -0
  479. package/assets/lithermes-plugin/skills/visual-qa/schemas/evidence-manifest-v1beta1.schema.json +110 -0
  480. package/assets/lithermes-plugin/skills/visual-qa/schemas/review-receipt-v1alpha1.schema.json +49 -0
  481. package/assets/lithermes-plugin/skills/visual-qa/scripts/contract_checks.py +71 -0
  482. package/assets/lithermes-plugin/skills/visual-qa/scripts/evidence_contract.py +288 -0
  483. package/assets/lithermes-plugin/skills/visual-qa/scripts/png_runtime.py +379 -0
  484. package/assets/lithermes-plugin/skills/visual-qa/scripts/review_contract.py +151 -0
  485. package/assets/lithermes-plugin/skills/visual-qa/scripts/tier_checks.py +190 -0
  486. package/assets/lithermes-plugin/skills/visual-qa/scripts/tier_contract.py +103 -0
  487. package/assets/lithermes-plugin/skills/visual-qa/scripts/tui_runtime.py +170 -0
  488. package/assets/lithermes-plugin/skills/visual-qa/scripts/visual_contracts.py +31 -0
  489. package/assets/lithermes-plugin/skills/visual-qa/scripts/visual_qa.py +79 -0
  490. package/assets/lithermes-plugin/skills/wikify/LICENSE +21 -0
  491. package/assets/lithermes-plugin/skills/wikify/ORIGIN.json +12 -0
  492. package/assets/lithermes-plugin/skills/wikify/SKILL.md +192 -0
  493. package/assets/lithermes-plugin/skills/wikify/assets/home-template.md +44 -0
  494. package/assets/lithermes-plugin/skills/wikify/assets/maintenance-report-template.md +46 -0
  495. package/assets/lithermes-plugin/skills/wikify/assets/paper-source-note-template.md +138 -0
  496. package/assets/lithermes-plugin/skills/wikify/assets/source-note-template.md +45 -0
  497. package/assets/lithermes-plugin/skills/wikify/assets/wiki-rules-template.md +117 -0
  498. package/assets/lithermes-plugin/skills/wikify/modes/ingest/SKILL.md +24 -0
  499. package/assets/lithermes-plugin/skills/wikify/modes/init/SKILL.md +26 -0
  500. package/assets/lithermes-plugin/skills/wikify/modes/lint/SKILL.md +30 -0
  501. package/assets/lithermes-plugin/skills/wikify/modes/query/SKILL.md +22 -0
  502. package/assets/lithermes-plugin/skills/wikify/modes/save/SKILL.md +32 -0
  503. package/assets/lithermes-plugin/skills/wikify/references/full-contract.md +761 -0
  504. package/assets/lithermes-plugin/uiux_runtime_common.py +117 -0
  505. package/assets/lithermes-plugin/vendor/NOTICE.md +21 -0
  506. package/assets/lithermes-plugin/vendor/handoff/SKILL.md +199 -0
  507. package/assets/lithermes-plugin/vendor/handoff/evals/evals.json +154 -0
  508. package/assets/lithermes-plugin/vendor/handoff/examples/HANDOFF-example-generic-auth-refactor.md +97 -0
  509. package/assets/lithermes-plugin/vendor/handoff/templates/HANDOFF.md +121 -0
  510. package/assets/lithermes-plugin/vendor/licenses/022_handoff-MIT.txt +21 -0
  511. package/assets/lithermes-plugin/vendor/licenses/045_scientific-visualization-MIT.txt +21 -0
  512. package/assets/lithermes-plugin/vendor/provenance/022_handoff.md +16 -0
  513. package/assets/lithermes-plugin/vendor/provenance/045_scientific-visualization.md +18 -0
  514. package/assets/lithermes-plugin/vendor/scientific-visualization/SKILL.md +283 -0
  515. package/assets/lithermes-plugin/vendor/scientific-visualization/assets/color_palettes.py +197 -0
  516. package/assets/lithermes-plugin/vendor/scientific-visualization/assets/nature.mplstyle +75 -0
  517. package/assets/lithermes-plugin/vendor/scientific-visualization/assets/presentation.mplstyle +74 -0
  518. package/assets/lithermes-plugin/vendor/scientific-visualization/assets/publication.mplstyle +78 -0
  519. package/assets/lithermes-plugin/vendor/scientific-visualization/evals/evals.json +158 -0
  520. package/assets/lithermes-plugin/vendor/scientific-visualization/references/color_palettes.md +380 -0
  521. package/assets/lithermes-plugin/vendor/scientific-visualization/references/journal_requirements.md +359 -0
  522. package/assets/lithermes-plugin/vendor/scientific-visualization/references/matplotlib_examples.md +608 -0
  523. package/assets/lithermes-plugin/vendor/scientific-visualization/references/mdanalysis_martini_visualization.md +85 -0
  524. package/assets/lithermes-plugin/vendor/scientific-visualization/references/publication_guidelines.md +217 -0
  525. package/assets/lithermes-plugin/vendor/scientific-visualization/references/seaborn_for_publications.md +293 -0
  526. package/assets/lithermes-plugin/vendor/scientific-visualization/scripts/figure_export.py +238 -0
  527. package/assets/lithermes-plugin/vendor/scientific-visualization/scripts/style_presets.py +467 -0
  528. package/assets/lithermes-plugin/vendor/scientific-visualization/tests/test_figure_export.py +51 -0
  529. package/assets/lithermes-plugin/vendor/scientific-visualization/tests/test_style_presets.py +114 -0
  530. package/bin/lithermes.js +8 -0
  531. package/package.json +58 -0
  532. package/readme-assets/badge-license.svg +1 -0
  533. package/readme-assets/badge-version.svg +1 -0
  534. package/readme-assets/cover.webp +0 -0
  535. package/readme-assets/lithermes-clay-icon.png +0 -0
  536. package/readme-assets/lithermes-wordmark.svg +5 -0
  537. package/src/cli.js +396 -0
  538. package/src/lib/autoUpdate.js +4 -0
  539. package/src/lib/canonicalCorpus.js +436 -0
  540. package/src/lib/check.js +200 -0
  541. package/src/lib/config.js +229 -0
  542. package/src/lib/files.js +126 -0
  543. package/src/lib/hermesDiscovery.js +122 -0
  544. package/src/lib/hud.js +135 -0
  545. package/src/lib/install.js +559 -0
  546. package/src/lib/litMark.js +68 -0
  547. package/src/lib/modelConfig.js +431 -0
  548. package/src/lib/modelConfigBoundary.js +206 -0
  549. package/src/lib/modelPrompt.js +201 -0
  550. package/src/lib/modelRoutePolicy.js +379 -0
  551. package/src/lib/patch.js +153 -0
  552. package/src/lib/skillLoop.js +62 -0
  553. package/src/lib/skillPayload.js +306 -0
  554. package/src/lib/skins.js +274 -0
  555. package/src/lib/spinner.js +193 -0
  556. package/src/lib/updateNotifier.js +1133 -0
  557. package/src/lib/updateNotifierWorker.js +9 -0
@@ -0,0 +1,761 @@
1
+ ---
2
+ name: llm-wikify
3
+ description: |
4
+ Convert the current working directory into a task-local LLM-maintained wiki.
5
+ Use when the user wants to organize project knowledge, ingest files or URLs into
6
+ a local markdown wiki, bootstrap a wiki structure in-place, maintain an existing
7
+ mini wiki, or build a repo-scoped knowledge base instead of a giant global vault.
8
+ Also use when scientific papers, PDFs, TeX bundles, bibliographies, or research
9
+ corpora should be ingested into a maintained local wiki with provenance and
10
+ citations, subject to extraction quality and available metadata.
11
+ Trigger on phrases like "wiki this repo", "ingest raw/", "build a local wiki",
12
+ "maintain this knowledge base", "turn this directory into an LLM wiki", or when
13
+ repeated project knowledge needs to compound across sessions. DO NOT TRIGGER when:
14
+ the user only wants a one-shot summary, a global PKM redesign, or generic markdown
15
+ cleanup with no persistent wiki intent.
16
+ allowed-tools:
17
+ - Read
18
+ - Write
19
+ - Edit
20
+ - Bash
21
+ - WebFetch
22
+ - WebSearch
23
+ ---
24
+
25
+ # llm-wikify
26
+
27
+ > **LitHermes child boundary:** This is inert Hermes reference data. A delegated child returns a bounded packet only and never writes shared or project state; only the root may apply approved task-local wiki writes through bounded authority.
28
+
29
+ Turn the **current working directory** into a mini LLM wiki that compounds project knowledge over time.
30
+
31
+ The key difference from a giant second-brain vault is scope discipline: this skill treats the active task directory as the wiki boundary unless the user explicitly asks for something broader.
32
+
33
+ ---
34
+
35
+ ## Core Rule
36
+
37
+ **The working directory is the wiki.**
38
+
39
+ - Do **not** assume one universal knowledge base.
40
+ - Do **not** create a sprawling personal-vault taxonomy unless the user asks.
41
+ - Do **not** flatten the wiki into one giant markdown file.
42
+ - Do build a small, legible, repo-local structure that helps future agents and humans navigate the task.
43
+
44
+ If the user gives you one project, one working directory, or one repo, then default to a **task-local wiki**.
45
+
46
+ ### Locality boundary rules
47
+
48
+ - Never create or reorganize wiki content outside the current working directory unless the user explicitly expands scope.
49
+ - In a monorepo, default to the subproject or folder the user is actively working in, not the whole monorepo, unless they clearly ask for repo-wide coverage.
50
+ - Do not silently pull in parent-directory PKM structure, sibling projects, or a pre-existing personal vault.
51
+ - If the boundary is ambiguous, prefer the narrowest valid scope and state that assumption in the created `schema/wiki-rules.md`.
52
+
53
+ ---
54
+
55
+ ## When to Use
56
+
57
+ Use this skill when the user wants any of the following:
58
+
59
+ - bootstrap a wiki in the current repo or task folder
60
+ - ingest new sources dropped into `raw/`
61
+ - ingest scientific papers, PDFs, TeX bundles, bibliographies, or already-converted paper Markdown into a local research wiki
62
+ - keep summaries, concepts, decisions, entities, and references synchronized over time
63
+ - answer project questions against a persistent local markdown knowledge base
64
+ - lint or maintain an existing local wiki
65
+ - organize research, due diligence, product notes, technical docs, meeting notes, or mixed-source project knowledge without building a global PKM system
66
+
67
+ Do **not** use this skill when:
68
+
69
+ - the user only wants a one-shot summary or memo
70
+ - the task is ordinary docs cleanup with no persistent knowledge workflow
71
+ - the user explicitly wants a cross-project or personal-vault redesign
72
+ - there is no desire to maintain a persistent markdown artifact
73
+
74
+ ---
75
+
76
+ ## Operating Modes
77
+
78
+ ### 0. Novice Socratic onboarding mode
79
+ Use when the user wants a local wiki but sounds uncertain, starts from an empty folder, asks "how do I use this?", or would be overwhelmed by implementation details. This is the default first-run experience for new users.
80
+
81
+ Your job:
82
+ - hide internal mechanics at first; do not open with folder taxonomy, schema rules, bridge packets, Graphify, graph databases, or vault concepts
83
+ - ask only the minimum useful questions, then act
84
+ - default to this exact three-question onboarding script:
85
+
86
+ ```text
87
+ I can organize this folder into a maintained local wiki. I will keep the internal structure out of your way first.
88
+
89
+ 1. What should this wiki remember over time?
90
+ 2. What source material exists now, and what kind of sources will keep arriving?
91
+ 3. How autonomous should I be while organizing it?
92
+ A) Do it and show results
93
+ B) Show key takeaways before shaping
94
+ C) Process one source at a time with review
95
+ ```
96
+ - use adaptive questioning: stop after those three if there is enough signal; ask follow-ups only when execution would otherwise be fake-grounded
97
+ - if the folder is empty or has almost no sources, offer a starter pack first, then ask for seed content:
98
+ - personal knowledge
99
+ - research/deep dive
100
+ - project handoff
101
+ - book/course notes
102
+ - business/team wiki
103
+ - then: "Give me three things this wiki should remember first."
104
+ - after bootstrapping, point the user to the single start page (`wiki/home.md`)
105
+ - mention bridge/promotion, graph lenses, global export, or external tools only after the first useful wiki exists or when the user explicitly asks about cross-project reuse or relationship maps
106
+
107
+ Non-goals for novice mode:
108
+ - do not make the user learn `raw/wiki/schema/bridge` vocabulary before the first useful result
109
+ - do not force more than three questions unless ambiguity blocks execution
110
+ - do not silently write into a global wiki, graph database, external vault, sibling repo, or external store
111
+ - do not modify raw source files
112
+
113
+ ### Agent decision boundaries
114
+
115
+ The agent may decide these without asking once the user has answered the novice onboarding questions or provided enough source context:
116
+
117
+ - local folder/page naming inside the current working directory
118
+ - whether to create or update topic, entity, source, index, home, schema, or log pages
119
+ - how to summarize, link, and route source material into the local wiki
120
+ - when to mark uncertainty, contradictions, weak provenance, or review-needed items
121
+ - whether to draft a local bridge packet as a candidate artifact
122
+
123
+ The agent must ask for explicit approval before:
124
+
125
+ - writing outside the current working directory
126
+ - exporting to a global wiki, another repository, an external vault, a graph database, or any external system
127
+ - modifying raw source files
128
+ - doing destructive or large-scale reorganization
129
+ - turning an optional graph/relationship lens into a dependency
130
+
131
+ ### Public-repo portability and privacy rules
132
+
133
+ This skill is meant to be cloned or forked by many users. Keep docs, examples, templates, and evals universal:
134
+
135
+ - use neutral placeholders such as `<repo-url>`, `<project-name>`, `<source-file>`, and `<destination-wiki>`
136
+ - do not include personal names, private paths, private chat exports, credentials, tokens, API keys, machine-specific paths, or organization-internal examples
137
+ - examples should work for an arbitrary project directory, not one user’s local setup
138
+ - when discussing sensitive inputs, say how to preserve provenance and boundaries without copying private raw content into reusable templates
139
+
140
+ ### Optional graph / relationship lens
141
+
142
+ Graph-style analysis can be useful after a wiki has enough pages to analyze relationships. Treat it as an optional advanced lens, not a first-run requirement. A graph-compatible workflow may read the maintained local wiki, produce relationship maps or reports inside the current working directory, and feed useful findings back into local topic pages or bridge candidates. It must not require a graph backend and must not write to external stores without explicit approval.
143
+
144
+ ### 1. Bootstrap mode
145
+ Use when the working directory has **no clear wiki structure yet**.
146
+
147
+ Your job:
148
+ - inspect what already exists
149
+ - create the smallest useful wiki structure
150
+ - preserve existing docs and point to them instead of duplicating them
151
+ - seed a home page, index, and only the minimum grounded pages needed
152
+ - write down the chosen locality boundary in `schema/wiki-rules.md`
153
+
154
+ ### 2. Ingest mode
155
+ Use when the user adds new files, notes, exports, or URLs into `raw/`.
156
+
157
+ Your job:
158
+ - treat `raw/` as immutable source material
159
+ - extract useful knowledge into the wiki
160
+ - preserve provenance for claims and summaries
161
+ - update related pages incrementally rather than rewriting everything
162
+
163
+ ### 2a. Scientific paper ingest mode
164
+ Use this advanced ingest sub-mode when `raw/` contains scientific papers or research corpora: PDFs, TeX/LaTeX bundles, arXiv source exports, already-converted paper Markdown, `.bib` files, supplements, figures, tables, or curated bibliography exports.
165
+
166
+ This mode borrows structured research-wiki patterns without turning the local wiki into a fixed global research platform.
167
+
168
+ Your job:
169
+ - keep original paper files and TeX bundles immutable under `raw/`
170
+ - convert or linearize sources only into derived working files or wiki notes, never by rewriting raw inputs
171
+ - create or update one stable paper source note per paper or source bundle, preferably using `assets/paper-source-note-template.md` when available
172
+ - extract bibliographic metadata when available: title, authors, venue, year, DOI, arXiv ID, source files, bibliography file, and citation-source confidence
173
+ - preserve paper structure where extraction quality allows: abstract, problem, method, assumptions, datasets, experiments, results, limitations, open questions, figures/tables, equations, and references
174
+ - route durable concepts, methods, datasets, claims, limitations, and open questions into existing topic/shared pages instead of creating a page for every section
175
+ - run a deduplication pass before creating new topic/entity pages: compare intended page titles and claims against existing index/topic/source pages; merge when overlap is likely
176
+ - use paper importance to limit wiki growth: low-importance papers should usually create at most one new topic and one new claim/concept; high-importance papers may justify more, but only when navigation improves
177
+ - record uncertainty for missing metadata, unresolved TeX macros, broken includes, incomplete bibliography, OCR/conversion artifacts, inaccessible figures, weak claims, or contradicted results
178
+ - update `wiki/index.md`, `wiki/home.md`, and `log/log.md` only for real persistent additions or changes
179
+
180
+ Optional local research artifacts, created only when useful and inside the current working directory:
181
+ - `.ingest-manifest.json` for resumable batch paper ingestion
182
+ - `wiki/graph/edges.jsonl` for semantic relationships such as `builds_on`, `uses_method`, `supports`, `contradicts`, `extends`, or `replicates`
183
+ - `wiki/graph/citations.jsonl` for bibliographic citation edges from parsed `.bib`, paper references, Semantic Scholar, or manual review
184
+ - `wiki/gaps.md` for open questions, limitations, weakly supported claims, and future-work leads aggregated from paper/source/topic pages
185
+ - `wiki/context.md` for a compact reading brief summarizing paper count, key concepts, active gaps, and recent changes
186
+
187
+ Do not make these optional artifacts first-run requirements. They are scale tools for research wikis that have enough papers to benefit from them.
188
+
189
+ ### 3. Query mode
190
+ Use when the user asks questions against the local wiki.
191
+
192
+ Your job:
193
+ - read the index first
194
+ - follow the most relevant local pages
195
+ - answer with citations to wiki pages and raw sources where appropriate
196
+ - file high-value analyses back into the wiki when they would be useful later
197
+
198
+ ### 4. Lint / maintain mode
199
+ Use when the wiki already exists and needs health checks.
200
+
201
+ Your job:
202
+ - detect stale pages, orphan pages, broken links, duplicate topics, inconsistent naming, weak summaries, and unresolved ingestion leftovers
203
+ - make targeted fixes
204
+ - leave a short maintenance report with what changed and what still needs human review
205
+
206
+ ### 5. Bridge / promote mode
207
+ Use when local knowledge has become useful beyond this project, or when the user asks how this project relates to another wiki, repo, domain, or global knowledge base.
208
+
209
+ Your job:
210
+ - keep the local wiki authoritative for project-specific facts
211
+ - identify only the durable concepts, patterns, decisions, comparisons, or entities worth promoting
212
+ - create a local export packet under `wiki/bridges/` rather than silently writing into an external/global vault
213
+ - preserve provenance back to local pages and raw/source notes
214
+ - recommend the destination and merge shape for a global wiki, but do not cross the locality boundary unless the user explicitly authorizes it
215
+
216
+ ---
217
+
218
+ ## Default Folder Contract
219
+
220
+ If no wiki exists, bootstrap this minimal structure inside the current working directory:
221
+
222
+ ```text
223
+ raw/ # immutable source material dropped in by the user
224
+ wiki/
225
+ index.md # content-oriented catalog of the wiki
226
+ home.md # start-here overview for humans and agents
227
+ topics/ # concept/topic pages
228
+ entities/ # companies, tools, people, systems, components when relevant
229
+ sources/ # per-source summaries or source notes
230
+ bridges/ # optional export/promote packets for cross-project/global synthesis
231
+ schema/
232
+ wiki-rules.md # local conventions for this wiki
233
+ log/
234
+ log.md # append-only ingest/query/lint history
235
+ ```
236
+
237
+ This is the **default**, not a law. If the repo already has a better local structure, adapt to it instead of forcing this exact layout.
238
+
239
+ If the domain is simpler, reduce it. For small tasks, `wiki/index.md`, `wiki/home.md`, `wiki/topics/`, and `raw/` may be enough.
240
+
241
+ Do not create every folder just because it appears in this example. Create `entities/`, `sources/`, `bridges/`, or `log/` only when they serve the actual project.
242
+
243
+ ### Optional category palette (evidence-gated)
244
+
245
+ Beyond `topics/` and `entities/`, a richer business-/team-oriented palette is available when real material justifies it. Treat these as an **opt-in palette, not auto-created scaffolding**. `init` / bootstrap must **not** create them up front; add a folder only when sources, decisions, or repeated queries prove it earns its place, and record the choice in `schema/wiki-rules.md`.
246
+
247
+ ```text
248
+ wiki/
249
+ decisions/ # decisions + rationale + decision-maker (owner) + date
250
+ errors/ # failed approaches and risks that must not be retried
251
+ projects/ # per-project working context and deliverables
252
+ design/ # design principles, IA, screen/design guides
253
+ dev-tasks/ # development task units, dependencies, implementation notes
254
+ conversations/ # session handoff notes so a fresh agent can resume (see `save`)
255
+ ```
256
+
257
+ These categories are an evidence-gated extension only when justified; the minimal-first default still governs first-run bootstrap.
258
+
259
+ ### Optional umbrella-domain / clustered wiki pattern
260
+
261
+ For one large but coherent domain inside the current working directory, a flat `wiki/topics/` layer may eventually become hard to navigate. In that case, you may add an umbrella-domain structure with cluster mini-wikis, but only when source material, existing pages, or repeated user queries prove that stable sub-domains exist.
262
+
263
+ This is an **advanced optional pattern**, not the default. Keep novice onboarding simple and start flat unless the user explicitly asks for a large-domain structure or the inspected material clearly justifies clusters.
264
+
265
+ Stay with the flat default when:
266
+ - the wiki has one main audience and one maintenance cadence
267
+ - `wiki/home.md`, `wiki/index.md`, and `wiki/topics/` are still easy to navigate
268
+ - sources do not repeatedly belong to stable sub-domains
269
+ - shared glossary or comparison pages are enough
270
+ - cluster folders would mostly mirror speculative categories
271
+
272
+ Use umbrella clusters when:
273
+ - the working directory intentionally covers one large coherent domain, such as Gas Hydrates, LLM Agents, or Process Simulation
274
+ - at least two stable sub-domains recur across sources, topics, or queries
275
+ - each sub-domain has enough material to justify a cluster home page or repeated local pages
276
+ - readers need both an umbrella map and cluster-specific reading paths
277
+ - cross-cluster concepts can stay local in `wiki/shared/` without becoming a global vault
278
+ - the clusters share the same local boundary, ownership, audience, and maintenance loop
279
+
280
+ Split into a separate project wiki or ask before reorganizing when:
281
+ - a cluster has independent ownership, lifecycle, audience, confidentiality boundary, source stream, or maintenance cadence
282
+ - keeping it inside the umbrella wiki would create noise, privacy risk, or misleading provenance
283
+ - the cluster needs its own raw inputs, schema rules, log, bridge policy, or working-directory boundary
284
+ - the user explicitly asks for a separate wiki
285
+
286
+ Optional clustered shape:
287
+
288
+ ```text
289
+ raw/
290
+ wiki/
291
+ home.md # umbrella start page
292
+ index.md # umbrella catalog and cluster map
293
+ topics/ # umbrella-level topics only when cross-cluster or domain-wide
294
+ entities/ # optional umbrella-level entities/systems/tools
295
+ sources/ # optional source notes that are domain-wide or not cluster-specific
296
+ shared/ # glossary, canonical concepts, shared comparisons, shared decisions
297
+ clusters/
298
+ <cluster>/
299
+ home.md # cluster start page and reading path
300
+ topics/ # cluster-local topic pages, only if justified
301
+ sources/ # cluster-local source notes, only if provenance benefits
302
+ comparisons/ # cluster-local comparisons, only if repeatedly useful
303
+ bridges/ # local promotion/export packets; external writes still require approval
304
+ schema/
305
+ wiki-rules.md
306
+ log/
307
+ log.md
308
+ ```
309
+
310
+ `wiki/shared/` is not a `misc/` folder. Use it only for concepts that genuinely cross clusters: glossary terms, canonical definitions, shared decision records, reusable comparisons, or domain-wide relationship notes.
311
+
312
+ Graph or relationship maps may analyze umbrella and cluster links after the wiki has enough maintained pages, but graph tooling remains optional. Keep graph outputs inside the current working directory unless the user explicitly approves an external destination.
313
+
314
+ ### Optional research graph / citation layer
315
+
316
+ For scientific-paper wikis, a lightweight local graph can be useful once multiple papers and topics exist. Keep it file-based and optional:
317
+
318
+ ```text
319
+ wiki/
320
+ graph/
321
+ edges.jsonl # semantic relationships between local pages
322
+ citations.jsonl # bibliographic citation edges and metadata provenance
323
+ gaps.md # optional aggregated open questions / research gaps
324
+ context.md # optional compact query brief
325
+ .ingest-manifest.json # optional resumable batch ingest manifest
326
+ ```
327
+
328
+ Rules:
329
+ - Semantic edges and citation edges are different. A paper may cite another paper without supporting it, and a paper may semantically contradict another even if it does not cite it.
330
+ - Each graph JSON line should include enough provenance to audit it: `from`, `to`, `type`, `evidence`, `confidence`, and `source` when known.
331
+ - Relationship files are local wiki artifacts, not an external graph database. External graph export requires explicit approval.
332
+ - If graph files become stale, maintenance should either rebuild them from wiki pages or mark them stale; do not silently trust old relationship data.
333
+
334
+ ---
335
+
336
+ ## MECE Structuring Heuristic
337
+
338
+ When bootstrapping or reorganizing, aim for **mutually exclusive, collectively exhaustive enough** categories — but only to the scale justified by the project.
339
+
340
+ Good:
341
+ - `topics/` for ideas, mechanisms, workflows
342
+ - `entities/` for named actors or systems
343
+ - `sources/` for source-level summaries and provenance
344
+
345
+ Bad:
346
+ - `misc/`
347
+ - `random-notes/`
348
+ - `things/`
349
+ - 20 top-level folders created before the directory is understood
350
+
351
+ If two folders are hard to distinguish, merge them.
352
+
353
+ ---
354
+
355
+ ## Schema, Metadata, and Taxonomy Discipline
356
+
357
+ Keep metadata lightweight, but make long-lived pages inspectable. For any durable topic/entity/source/bridge page, include a small grounding block near the top when useful:
358
+ These status examples describe wiki page/source-note metadata, not product-local claim review states.
359
+
360
+ ```markdown
361
+ Type: topic | entity | source | decision | comparison | bridge
362
+ Status: draft | active | stale | candidate | exported | rejected
363
+ Built from: README.md, raw/source.md, [[sources/source-note]]
364
+ Last reviewed: YYYY-MM-DD
365
+ Confidence: high | medium | low
366
+ ```
367
+
368
+ For pages that benefit from machine-readable headers (and for parity with portable wiki templates), the same grounding may instead be written as **YAML frontmatter** at the very top of the page:
369
+
370
+ ```markdown
371
+ ---
372
+ type: decision | source | concept | error | project | design | dev-task | handoff
373
+ date: YYYY-MM-DD
374
+ status: draft | active | stale | superseded
375
+ source: optional raw/ path or [[sources/source-note]]
376
+ ---
377
+ ```
378
+
379
+ Use either the grounding block or the YAML frontmatter consistently within a wiki; record which one in `schema/wiki-rules.md`.
380
+
381
+ Rules:
382
+ - Do not force metadata onto tiny scratch pages, but add it to pages expected to survive across sessions.
383
+ - If the local wiki uses tags, define the allowed vocabulary in `schema/wiki-rules.md` before spreading it across pages.
384
+ - New page types or status labels must be recorded in `schema/wiki-rules.md`; do not let each page invent its own taxonomy.
385
+ - Contradictions should be surfaced where a reader will see them: source note caveats are not enough if a topic page repeats the contested claim.
386
+ - If source hashes, timestamps, or file mtimes are available, record enough drift signal to notice later changes. Do not silently normalize changed sources.
387
+ - Global taxonomy can inspire the local schema, but must not distort the project-local structure. If global alignment is desired, use a bridge packet.
388
+
389
+ ---
390
+
391
+ ## Non-Negotiable Conventions
392
+
393
+ ### 1. Raw is immutable
394
+ `raw/` is source material. Read from it. Do not rewrite it unless the user explicitly asks.
395
+
396
+ ### 2. Wiki is generated and maintained
397
+ `wiki/` is the maintained knowledge artifact. This is where synthesized understanding lives.
398
+
399
+ ### 3. Provenance is preserved
400
+ Every important claim, summary, or extracted insight should point back to a raw source note, source file, or URL when practical.
401
+
402
+ Each created topic/entity page should also declare its **grounding inputs** near the top, for example:
403
+
404
+ ```markdown
405
+ Built from: README.md, raw/interview-2026-04-06.md, src/api/
406
+ ```
407
+
408
+ ### 4. Incremental updates beat rewrites
409
+ When a new source arrives, update the relevant pages and log the change. Do not regenerate the entire wiki unless the structure is badly broken.
410
+
411
+ Repeated ingestion should be idempotent:
412
+
413
+ - one stable source note per source or source bundle
414
+ - update existing pages when the same source is re-processed
415
+ - do not create duplicate topic pages just because wording changed slightly
416
+
417
+ ### 5. The wiki stays local
418
+ Do not silently widen scope from the current project to a personal knowledge base.
419
+
420
+ ### 6. Navigation must stay legible
421
+ Every page should have an obvious path in and out: from `home.md`, `index.md`, a topic page, or a source note.
422
+
423
+ ### 7. Local-to-global promotion is explicit
424
+ Project-local pages may mention global relevance, but they must not silently reorganize or write into a personal/global wiki. When knowledge should travel, create a bridge packet that summarizes the promotion candidate, evidence, target destination, and merge risks. The user decides whether to apply it outside the current directory.
425
+
426
+ ---
427
+
428
+ ## Save Filters
429
+
430
+ Indiscriminate saving pollutes the wiki. Before persisting anything durable (the `save` action, or filing a query result back into `wiki/`), require that **at least one** of these five filters is true:
431
+
432
+ 1. **Reusable** — will this information be reused in future work?
433
+ 2. **Handoff** — must another agent or teammate read it to continue the project (continuity)?
434
+ 3. **Decision** — is there a decision whose rationale and decision-maker (owner) need to be traceable later?
435
+ 4. **Failure-risk** — is this a failed approach or risk that must not be retried?
436
+ 5. **Shared rule** — is this a team-wide rule, convention, or design guide everyone must align on?
437
+
438
+ If none of the five hold, it is a **one-off** answer, impression, or trivial rewording — do **not** save it. When you decline to save, briefly state why.
439
+
440
+ This filter is what keeps a compounding wiki from degrading into a noisy dump.
441
+
442
+ ## Session Handoff (`save`)
443
+
444
+ The `save` action persists durable working context so a fresh agent or a teammate can resume cleanly. When something passes the save-filters:
445
+
446
+ - route the durable knowledge to the right page (topic / decision / error / etc.) with provenance and standard frontmatter
447
+ - write or update a **session handoff note** under `wiki/conversations/` capturing: what was done, the key decisions, what is still unresolved, and which pages the next agent should read first
448
+ - update `wiki/index.md` for any new persistent page and append a record to `log/log.md`
449
+
450
+ `save` is realistic, not magic: it persists what is judged durable under the filters, not a verbatim dump of the whole session.
451
+
452
+ ## Page Types
453
+
454
+ ### `wiki/home.md`
455
+ The start page for a human or agent entering the wiki cold.
456
+
457
+ Should include:
458
+ - what this wiki is about
459
+ - what the current focus is
460
+ - where to start reading
461
+ - the most important linked pages
462
+
463
+ ### `wiki/index.md`
464
+ The catalog. Organize pages by section with one-line descriptions.
465
+
466
+ ### `wiki/sources/*.md`
467
+ One page per important source or source bundle.
468
+
469
+ Should capture:
470
+ - source identity
471
+ - short summary
472
+ - what changed in the wiki because of it
473
+ - open questions or contradictions
474
+
475
+ For scientific papers, source notes should also capture paper metadata, key claims, methods, evidence anchors, citation context, limitations, and re-ingest drift. Use a dedicated paper source-note template when available.
476
+
477
+ ### `wiki/topics/*.md`
478
+ Persistent concepts, workflows, comparisons, decisions, or thematic summaries.
479
+
480
+ Create a new topic page only if at least one of these is true:
481
+
482
+ - the concept appears across multiple sources or repo landmarks
483
+ - the concept is important enough to be linked from more than one page
484
+ - the material would make an existing page overloaded or incoherent
485
+
486
+ Otherwise, extend an existing page instead of creating a new one.
487
+
488
+ ### `wiki/entities/*.md`
489
+ Named systems, tools, people, teams, products, services, code components, or organizations when entity pages are actually useful.
490
+
491
+ Do **not** create entity pages just because the folder exists.
492
+
493
+ Entity pages should be rare in small repos. If the entity is mentioned only once or adds no navigation value, keep it inside a topic or source page.
494
+
495
+ ### `wiki/bridges/*.md`
496
+ Promotion or export packets for knowledge that may belong in another project wiki, a global `llm-wiki`, or a higher-level concept map.
497
+
498
+ Bridge pages are not a second wiki. They are handoff artifacts. Include:
499
+ - local source pages and topic pages that justify the export
500
+ - the distilled claim, pattern, decision, or comparison worth promoting
501
+ - proposed destination page(s) or target domain
502
+ - conflicts, confidence level, and merge risks
503
+ - clear status: `candidate`, `approved-to-export`, `exported`, or `rejected`
504
+
505
+ ---
506
+
507
+ ## Bootstrap Workflow
508
+
509
+ When no wiki exists:
510
+
511
+ 1. Inspect the working directory first.
512
+ 2. Identify existing docs, configs, code structure, notes, exports, and obvious landmarks.
513
+ 3. Create the smallest useful folder structure.
514
+ 4. Create `schema/wiki-rules.md` describing the local contract.
515
+ 5. Create `wiki/home.md` and `wiki/index.md`.
516
+ 6. Create only a few grounded pages tied to the actual directory contents.
517
+ 7. Log the bootstrap in `log/log.md`.
518
+
519
+ Before creating any page, ask:
520
+
521
+ - What exact files, folders, notes, or sources justify this page?
522
+ - Would updating an existing page be better than creating a new one?
523
+ - Will this page improve navigation, or is it just tidy-looking scaffolding?
524
+
525
+ Bootstrap should feel like laying down navigational rails, not building a cathedral.
526
+
527
+ ---
528
+
529
+ ## Ingest Workflow
530
+
531
+ When new material appears in `raw/`:
532
+
533
+ 1. Read the new source.
534
+ 2. Decide what kind of source it is: article, paper, transcript, meeting notes, product doc, export, mixed scratch notes, etc.
535
+ 3. Create or update a source page in `wiki/sources/`.
536
+ 4. Update related topic/entity pages with the durable knowledge from that source.
537
+ 5. Mark uncertainty where the source is ambiguous, partial, or contradictory.
538
+ 6. Update `wiki/index.md` if a new persistent page was added.
539
+ 7. Append an ingest record to `log/log.md`.
540
+
541
+ If one source touches many pages, that is normal.
542
+
543
+ Do not treat provenance as a decorative backlink. Major sections should make it clear which source note or raw input they came from.
544
+
545
+ ### Scientific paper ingest workflow
546
+
547
+ When the new source is a paper PDF, TeX bundle, paper Markdown, bibliography, or supplement:
548
+
549
+ 1. **Classify the source bundle**: PDF, TeX entry file, included TeX sections, figures, tables, bibliography, supplements, converted Markdown, or metadata-only citation export.
550
+ 2. **Extract safely**:
551
+ - For PDFs, prefer a clean Markdown conversion path such as MarkItDown or a paper-conversion skill/tool when available.
552
+ - For TeX, read the entry file and included section files directly when possible; preserve equations, labels, captions, and bibliography keys as evidence anchors.
553
+ - If extraction is incomplete, continue with visible uncertainty instead of fabricating missing content.
554
+ 3. **Create or update one stable paper source note** in `wiki/sources/` for the paper or source bundle. Do not create duplicate notes for corrected PDFs, revised TeX exports, or updated `.bib` files.
555
+ 4. **Capture paper metadata**: title, authors, venue/year, DOI/arXiv ID, source path(s), conversion path, bibliography path, date ingested, confidence, and source drift signal when available.
556
+ 5. **Extract the research map where accessible**: problem, key idea, method, assumptions, datasets, experiments, results, limitations, open questions, important equations, figures/tables, and references. Mark items that could not be extracted as uncertain or missing.
557
+ 6. **Deduplicate before page creation**: search existing wiki index/source/topic pages for similar concepts, methods, claims, datasets, and acronyms. Merge into existing pages unless a new page clearly improves navigation.
558
+ 7. **Apply an importance budget**: record paper importance or relevance. Low-importance papers should mostly update the source note and existing topics; high-importance papers may create a small number of new topic/shared pages.
559
+ 8. **Update durable pages**: add only reusable concepts, methods, claims, datasets, limitations, comparisons, and open questions to topic/shared pages with backlinks to the paper source note.
560
+ 9. **Optionally update local relationship artifacts**: append semantic edges, citation edges, a gap-map entry, context brief notes, or an ingest manifest entry if the local wiki already uses those artifacts.
561
+ 10. **Log the ingest** in `log/log.md` with source identity, pages created/updated, conversion caveats, and review-needed items.
562
+
563
+ ---
564
+
565
+ ## Query Workflow
566
+
567
+ When the user asks a question that should compound into the wiki:
568
+
569
+ 1. Read `wiki/index.md` first.
570
+ 2. Follow the relevant topic/entity/source pages.
571
+ 3. Check whether the maintained wiki is actually sufficient for the question.
572
+ 4. If it is not sufficient, read the missing raw/source material, update the wiki first, then answer.
573
+ 4. If the answer creates a valuable new artifact — comparison, synthesis, decision memo, glossary, taxonomy, timeline — file it back into `wiki/`.
574
+ 5. Log the query if it materially changed the wiki.
575
+
576
+ High-value answers should not disappear into chat history if they would clearly help later.
577
+
578
+ ---
579
+
580
+ ## Bridge / Promotion Workflow
581
+
582
+ Use this when the project-local wiki has knowledge that should inform another repo, a global `llm-wiki`, an external vault, or a cross-project synthesis.
583
+
584
+ 1. **Prove local grounding first**: read `wiki/index.md`, relevant topic/entity/source pages, and raw evidence anchors if needed.
585
+ 2. **Classify the candidate**:
586
+ - `concept`: reusable idea, pattern, method, or failure mode
587
+ - `decision`: architecture or process choice that may guide other projects
588
+ - `comparison`: reusable side-by-side evaluation
589
+ - `entity`: named tool/system/org/person worth tracking globally
590
+ - `anti-pattern`: failure mode that should become a future warning
591
+ 3. **Create a bridge packet** in `wiki/bridges/<slug>.md` only when at least one is true:
592
+ - the idea appears in multiple local pages or sources
593
+ - the user explicitly asks for cross-project/global synthesis
594
+ - the knowledge would prevent future rework in another project
595
+ - the pattern is portable beyond this repo's file structure
596
+ 4. **Do not write outside the current directory by default.** The bridge packet is the safe artifact. External/global updates require explicit user approval and a destination path.
597
+ 5. **Record merge instructions**: proposed global page title, tags/taxonomy suggestions, outbound links, and what must remain local-only.
598
+ 6. **Log the bridge action** in `log/log.md`.
599
+
600
+ ### Bridge packet template
601
+
602
+ ```markdown
603
+ # Bridge: <candidate title>
604
+
605
+ Status: candidate
606
+ Type: concept | decision | comparison | entity | anti-pattern
607
+ Proposed destination: <destination-wiki>/<page-or-slug>.md or <unknown>
608
+ Confidence: high | medium | low
609
+
610
+ ## Local grounding
611
+ - Built from: [[topics/...]], [[sources/...]], raw/...
612
+
613
+ ## Portable knowledge
614
+ - What should travel beyond this local wiki?
615
+
616
+ ## What must stay local
617
+ - Repo-specific paths, transient implementation notes, or context that should not pollute the global wiki.
618
+
619
+ ## Merge risks / contradictions
620
+ - Existing global pages that may conflict
621
+ - Claims needing human review
622
+
623
+ ## Suggested global links/tags
624
+ - Related global pages or likely tags
625
+ ```
626
+
627
+ ---
628
+
629
+ ## Maintenance Workflow
630
+
631
+ Periodically check for:
632
+
633
+ - broken or stale links
634
+ - orphan pages with no inbound path
635
+ - duplicate or near-duplicate topics
636
+ - weak openings that do not tell the reader what the page is for
637
+ - source notes that were never integrated into topic pages
638
+ - pages that became obsolete after newer sources arrived
639
+ - index drift, where `index.md` no longer reflects reality
640
+ - bridge drift, where `wiki/bridges/` candidates were exported or rejected but not marked
641
+ - tag/schema drift, where pages invent incompatible labels or page types
642
+ - contradiction drift, where conflicting claims are noted in source pages but not surfaced in topic pages
643
+ - source drift, where raw/source files changed since the source note was created when hashes or timestamps are available
644
+
645
+ Fix what is clearly safe. Flag what needs human judgment.
646
+
647
+ Always leave a concise maintenance report.
648
+
649
+ ### Lightweight health gates
650
+
651
+ When maintaining a wiki, check these before claiming success:
652
+
653
+ | Gate | Pass condition |
654
+ |---|---|
655
+ | Boundary | No page silently widens scope beyond the current directory |
656
+ | Navigation | Important pages are reachable from `wiki/home.md` or `wiki/index.md` |
657
+ | Provenance | Durable claims point to source notes, raw files, or repo landmarks |
658
+ | Paper ingest | Paper metadata, claims, methods, citations, figures/tables, limitations, and open questions are traceable to source notes or raw files |
659
+ | Promotion | Cross-project claims are represented as bridge packets, not hidden external edits |
660
+ | Cluster boundaries | Clustered wiki sections, if present, are evidence-driven and still inside the current working directory |
661
+ | Shared pages | `wiki/shared/` contains cross-cluster concepts, not a catch-all `misc` dump |
662
+ | Contradictions | Conflicting claims are explicitly marked and routed to human review when unsafe |
663
+ | Drift | Source/hash/timestamp changes are flagged instead of silently normalized |
664
+
665
+ ---
666
+
667
+ ## Provenance Pattern
668
+
669
+ Use lightweight provenance. Do not turn every sentence into citation soup.
670
+
671
+ Good enough patterns include:
672
+
673
+ - `Source: [[sources/article-name]]`
674
+ - `Derived from: raw/interview-2026-04-06.md`
675
+ - `Evidence: [[sources/vendor-api-notes]]`
676
+ - `Uncertain: this claim appears in one partial transcript only`
677
+
678
+ When sources conflict, say so explicitly.
679
+
680
+ At minimum, each durable page should let a future reader answer:
681
+
682
+ - which sources or repo landmarks shaped this page?
683
+ - where should I go to verify the main claims?
684
+
685
+ ---
686
+
687
+ ## Minimal `log/log.md` Format
688
+
689
+ Use parseable headings so recent activity is easy to scan.
690
+
691
+ ```markdown
692
+ ## [2026-04-06] bootstrap | initialized local wiki
693
+ - Created wiki/home.md, wiki/index.md, schema/wiki-rules.md
694
+ - Seeded topic pages for project structure and workflow
695
+
696
+ ## [2026-04-06] ingest | vendor-api-export
697
+ - Added source page: wiki/sources/vendor-api-export.md
698
+ - Updated topics/integration-pitfalls.md
699
+ ```
700
+
701
+ Keep it append-only.
702
+
703
+ ---
704
+
705
+ ## `schema/wiki-rules.md` Must Capture
706
+
707
+ When bootstrapping, document the local rules for future sessions:
708
+
709
+ - the scope boundary of the wiki
710
+ - the exact locality boundary (current folder, subproject, or full repo)
711
+ - what belongs in `raw/` vs `wiki/`
712
+ - page naming conventions
713
+ - whether wiki links or normal markdown links are preferred
714
+ - provenance style
715
+ - when a new page is allowed versus when an existing page must be updated
716
+ - how repeated ingest updates existing pages without duplication
717
+ - how maintenance reports should be recorded
718
+ - whether bridge packets are allowed, where they live, and what approval is required before external export
719
+ - whether umbrella-domain clusters are allowed, what justifies a cluster, and when a cluster should split into a separate wiki
720
+ - what may live in `wiki/shared/`, if that folder exists
721
+ - whether scientific-paper mode is used, which paper metadata fields are required, and whether local graph/citation/gap/context artifacts are enabled
722
+ - the local tag/type vocabulary if the wiki needs one; keep it small and document new labels before using them widely
723
+ - how contradictions, confidence, and source drift should be represented
724
+
725
+ This is what turns a generic markdown pile into a disciplined maintained wiki.
726
+
727
+ ---
728
+
729
+ ## Anti-Patterns
730
+
731
+ Do **not** do these:
732
+
733
+ - create a giant universal vault when the user asked about one project
734
+ - dump all ingested knowledge into one long summary page
735
+ - duplicate existing README content without adding navigation value
736
+ - invent folders and pages with no grounding in the actual directory
737
+ - create scaffolding that mirrors folder names or README headings without adding synthesis
738
+ - rewrite `raw/` as if it were polished wiki content
739
+ - treat a scientific paper as a giant standalone summary with no metadata, methods, evidence anchors, citation context, or topic integration
740
+ - create a new topic page for every paper section, figure, acronym, or citation without deduplication and navigation value
741
+ - erase uncertainty from partial or conflicting sources
742
+ - merge pages aggressively when overlap might reflect different purposes
743
+ - add indexes everywhere; add them only where navigation actually benefits
744
+ - silently write into a global wiki because a local pattern seems broadly useful
745
+ - refuse all cross-project synthesis because the wiki is local; create a bridge packet instead
746
+ - let every project invent incompatible bridge/status/confidence labels without recording the local convention
747
+
748
+ ---
749
+
750
+ ## Good Output Standard
751
+
752
+ After using this skill, the working directory should feel like this:
753
+
754
+ - a future agent can open `wiki/home.md` and orient quickly
755
+ - the wiki structure is small, local, and legible
756
+ - new sources can be added without redesigning everything
757
+ - important claims can be traced back to source notes or raw material
758
+ - the wiki gets richer over time instead of noisier
759
+ - cross-project/global relevance is captured as explicit bridge packets rather than leaking across boundaries
760
+
761
+ That is the point of llm-wikify: **persistent, compounding project knowledge without the cost of maintaining a giant all-purpose knowledge base.**