@codyswann/lisa 2.121.1 → 2.122.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 (846) hide show
  1. package/.claude-plugin/marketplace.json +144 -0
  2. package/dist/agy/agents-md-installer.d.ts +6 -3
  3. package/dist/agy/agents-md-installer.d.ts.map +1 -1
  4. package/dist/agy/agents-md-installer.js +9 -4
  5. package/dist/agy/agents-md-installer.js.map +1 -1
  6. package/dist/agy/plugin-installer.d.ts +6 -4
  7. package/dist/agy/plugin-installer.d.ts.map +1 -1
  8. package/dist/agy/plugin-installer.js +7 -5
  9. package/dist/agy/plugin-installer.js.map +1 -1
  10. package/dist/copilot/plugin-installer.d.ts +6 -3
  11. package/dist/copilot/plugin-installer.d.ts.map +1 -1
  12. package/dist/copilot/plugin-installer.js +7 -4
  13. package/dist/copilot/plugin-installer.js.map +1 -1
  14. package/dist/core/lisa.d.ts +16 -0
  15. package/dist/core/lisa.d.ts.map +1 -1
  16. package/dist/core/lisa.js +61 -18
  17. package/dist/core/lisa.js.map +1 -1
  18. package/package.json +1 -1
  19. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  20. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  21. package/plugins/lisa-agy/plugin.json +1 -1
  22. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  23. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk-agy/plugin.json +11 -0
  25. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +11 -0
  26. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +11 -0
  27. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  31. package/plugins/lisa-expo-agy/.mcp.json +8 -0
  32. package/plugins/lisa-expo-agy/THIRD-PARTY-NOTICES.md +57 -0
  33. package/plugins/lisa-expo-agy/agents/ops-specialist.md +124 -0
  34. package/plugins/lisa-expo-agy/commands/e2e-coverage-gaps.md +7 -0
  35. package/plugins/lisa-expo-agy/commands/exploratory-qa.md +7 -0
  36. package/plugins/lisa-expo-agy/plugin.json +11 -0
  37. package/plugins/lisa-expo-agy/skills/add-app-clip/SKILL.md +280 -0
  38. package/plugins/lisa-expo-agy/skills/add-app-clip/references/native-module.md +96 -0
  39. package/plugins/lisa-expo-agy/skills/apollo-client/SKILL.md +238 -0
  40. package/plugins/lisa-expo-agy/skills/apollo-client/references/mutation-patterns.md +360 -0
  41. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/SKILL.md +360 -0
  42. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  43. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  44. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  45. package/plugins/lisa-expo-agy/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  46. package/plugins/lisa-expo-agy/skills/building-native-ui/SKILL.md +321 -0
  47. package/plugins/lisa-expo-agy/skills/building-native-ui/references/animations.md +220 -0
  48. package/plugins/lisa-expo-agy/skills/building-native-ui/references/controls.md +272 -0
  49. package/plugins/lisa-expo-agy/skills/building-native-ui/references/form-sheet.md +253 -0
  50. package/plugins/lisa-expo-agy/skills/building-native-ui/references/gradients.md +106 -0
  51. package/plugins/lisa-expo-agy/skills/building-native-ui/references/icons.md +213 -0
  52. package/plugins/lisa-expo-agy/skills/building-native-ui/references/media.md +198 -0
  53. package/plugins/lisa-expo-agy/skills/building-native-ui/references/route-structure.md +229 -0
  54. package/plugins/lisa-expo-agy/skills/building-native-ui/references/search.md +248 -0
  55. package/plugins/lisa-expo-agy/skills/building-native-ui/references/storage.md +121 -0
  56. package/plugins/lisa-expo-agy/skills/building-native-ui/references/tabs.md +433 -0
  57. package/plugins/lisa-expo-agy/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  58. package/plugins/lisa-expo-agy/skills/building-native-ui/references/visual-effects.md +197 -0
  59. package/plugins/lisa-expo-agy/skills/building-native-ui/references/webgpu-three.md +605 -0
  60. package/plugins/lisa-expo-agy/skills/building-native-ui/references/zoom-transitions.md +158 -0
  61. package/plugins/lisa-expo-agy/skills/container-view-pattern/SKILL.md +299 -0
  62. package/plugins/lisa-expo-agy/skills/container-view-pattern/references/examples.md +749 -0
  63. package/plugins/lisa-expo-agy/skills/container-view-pattern/references/patterns.md +318 -0
  64. package/plugins/lisa-expo-agy/skills/container-view-pattern/scripts/create_component.py +200 -0
  65. package/plugins/lisa-expo-agy/skills/container-view-pattern/scripts/validate_component.py +209 -0
  66. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/SKILL.md +268 -0
  67. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  68. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  69. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  70. package/plugins/lisa-expo-agy/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  71. package/plugins/lisa-expo-agy/skills/directory-structure/SKILL.md +202 -0
  72. package/plugins/lisa-expo-agy/skills/directory-structure/scripts/validate_structure.py +445 -0
  73. package/plugins/lisa-expo-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  74. package/plugins/lisa-expo-agy/skills/eas-update-insights/SKILL.md +228 -0
  75. package/plugins/lisa-expo-agy/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  76. package/plugins/lisa-expo-agy/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  77. package/plugins/lisa-expo-agy/skills/exploratory-qa/SKILL.md +145 -0
  78. package/plugins/lisa-expo-agy/skills/expo-api-routes/SKILL.md +369 -0
  79. package/plugins/lisa-expo-agy/skills/expo-brownfield/SKILL.md +54 -0
  80. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  81. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  82. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/comparison.md +63 -0
  83. package/plugins/lisa-expo-agy/skills/expo-brownfield/references/troubleshooting.md +88 -0
  84. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/SKILL.md +92 -0
  85. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  86. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/package.json +11 -0
  87. package/plugins/lisa-expo-agy/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  88. package/plugins/lisa-expo-agy/skills/expo-deployment/SKILL.md +190 -0
  89. package/plugins/lisa-expo-agy/skills/expo-deployment/references/app-store-metadata.md +479 -0
  90. package/plugins/lisa-expo-agy/skills/expo-deployment/references/ios-app-store.md +355 -0
  91. package/plugins/lisa-expo-agy/skills/expo-deployment/references/play-store.md +246 -0
  92. package/plugins/lisa-expo-agy/skills/expo-deployment/references/testflight.md +58 -0
  93. package/plugins/lisa-expo-agy/skills/expo-deployment/references/workflows.md +200 -0
  94. package/plugins/lisa-expo-agy/skills/expo-dev-client/SKILL.md +164 -0
  95. package/plugins/lisa-expo-agy/skills/expo-env-config/SKILL.md +309 -0
  96. package/plugins/lisa-expo-agy/skills/expo-env-config/references/validation-patterns.md +417 -0
  97. package/plugins/lisa-expo-agy/skills/expo-module/SKILL.md +141 -0
  98. package/plugins/lisa-expo-agy/skills/expo-module/references/config-plugin.md +90 -0
  99. package/plugins/lisa-expo-agy/skills/expo-module/references/create-expo-module.md +206 -0
  100. package/plugins/lisa-expo-agy/skills/expo-module/references/lifecycle.md +127 -0
  101. package/plugins/lisa-expo-agy/skills/expo-module/references/module-config.md +48 -0
  102. package/plugins/lisa-expo-agy/skills/expo-module/references/native-module.md +286 -0
  103. package/plugins/lisa-expo-agy/skills/expo-module/references/native-view.md +171 -0
  104. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/SKILL.md +431 -0
  105. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/references/official-docs.md +290 -0
  106. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  107. package/plugins/lisa-expo-agy/skills/expo-tailwind-setup/SKILL.md +480 -0
  108. package/plugins/lisa-expo-agy/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  109. package/plugins/lisa-expo-agy/skills/expo-ui-swift-ui/SKILL.md +39 -0
  110. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/SKILL.md +411 -0
  111. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  112. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  113. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  114. package/plugins/lisa-expo-agy/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  115. package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +126 -0
  116. package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +161 -0
  117. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +78 -0
  118. package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  119. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +190 -0
  120. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +281 -0
  121. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +368 -0
  122. package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +27 -0
  123. package/plugins/lisa-expo-agy/skills/local-state/SKILL.md +362 -0
  124. package/plugins/lisa-expo-agy/skills/local-state/references/async-storage.md +505 -0
  125. package/plugins/lisa-expo-agy/skills/local-state/references/persistence-patterns.md +711 -0
  126. package/plugins/lisa-expo-agy/skills/local-state/references/reactive-variables.md +446 -0
  127. package/plugins/lisa-expo-agy/skills/native-data-fetching/SKILL.md +507 -0
  128. package/plugins/lisa-expo-agy/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  129. package/plugins/lisa-expo-agy/skills/ops-browser-uat/SKILL.md +124 -0
  130. package/plugins/lisa-expo-agy/skills/ops-check-logs/SKILL.md +211 -0
  131. package/plugins/lisa-expo-agy/skills/ops-db-ops/SKILL.md +119 -0
  132. package/plugins/lisa-expo-agy/skills/ops-deploy/SKILL.md +119 -0
  133. package/plugins/lisa-expo-agy/skills/ops-monitor-errors/SKILL.md +99 -0
  134. package/plugins/lisa-expo-agy/skills/ops-performance/SKILL.md +165 -0
  135. package/plugins/lisa-expo-agy/skills/ops-run-local/SKILL.md +166 -0
  136. package/plugins/lisa-expo-agy/skills/ops-verify-health/SKILL.md +101 -0
  137. package/plugins/lisa-expo-agy/skills/owasp-zap/SKILL.md +56 -0
  138. package/plugins/lisa-expo-agy/skills/playwright-ci-debugging/SKILL.md +140 -0
  139. package/plugins/lisa-expo-agy/skills/playwright-selectors/SKILL.md +455 -0
  140. package/plugins/lisa-expo-agy/skills/reduce-complexity/SKILL.md +251 -0
  141. package/plugins/lisa-expo-agy/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  142. package/plugins/lisa-expo-agy/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  143. package/plugins/lisa-expo-agy/skills/testing-library/SKILL.md +314 -0
  144. package/plugins/lisa-expo-agy/skills/testing-library/references/async-patterns.md +420 -0
  145. package/plugins/lisa-expo-agy/skills/testing-library/references/expo-router-testing.md +556 -0
  146. package/plugins/lisa-expo-agy/skills/testing-library/references/mocking-patterns.md +590 -0
  147. package/plugins/lisa-expo-agy/skills/testing-library/references/query-priority.md +291 -0
  148. package/plugins/lisa-expo-agy/skills/upgrading-expo/SKILL.md +134 -0
  149. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  150. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  151. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/native-tabs.md +124 -0
  152. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/new-architecture.md +79 -0
  153. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-19.md +79 -0
  154. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-compiler.md +59 -0
  155. package/plugins/lisa-expo-agy/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  156. package/plugins/lisa-expo-agy/skills/use-dom/SKILL.md +417 -0
  157. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +11 -0
  158. package/plugins/lisa-expo-copilot/.mcp.json +8 -0
  159. package/plugins/lisa-expo-copilot/THIRD-PARTY-NOTICES.md +57 -0
  160. package/plugins/lisa-expo-copilot/agents/ops-specialist.agent.md +124 -0
  161. package/plugins/lisa-expo-copilot/commands/e2e-coverage-gaps.md +7 -0
  162. package/plugins/lisa-expo-copilot/commands/exploratory-qa.md +7 -0
  163. package/plugins/lisa-expo-copilot/skills/add-app-clip/SKILL.md +280 -0
  164. package/plugins/lisa-expo-copilot/skills/add-app-clip/references/native-module.md +96 -0
  165. package/plugins/lisa-expo-copilot/skills/apollo-client/SKILL.md +238 -0
  166. package/plugins/lisa-expo-copilot/skills/apollo-client/references/mutation-patterns.md +360 -0
  167. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/SKILL.md +360 -0
  168. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  169. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  170. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  171. package/plugins/lisa-expo-copilot/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  172. package/plugins/lisa-expo-copilot/skills/building-native-ui/SKILL.md +321 -0
  173. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/animations.md +220 -0
  174. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/controls.md +272 -0
  175. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/form-sheet.md +253 -0
  176. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/gradients.md +106 -0
  177. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/icons.md +213 -0
  178. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/media.md +198 -0
  179. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/route-structure.md +229 -0
  180. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/search.md +248 -0
  181. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/storage.md +121 -0
  182. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/tabs.md +433 -0
  183. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  184. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/visual-effects.md +197 -0
  185. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/webgpu-three.md +605 -0
  186. package/plugins/lisa-expo-copilot/skills/building-native-ui/references/zoom-transitions.md +158 -0
  187. package/plugins/lisa-expo-copilot/skills/container-view-pattern/SKILL.md +299 -0
  188. package/plugins/lisa-expo-copilot/skills/container-view-pattern/references/examples.md +749 -0
  189. package/plugins/lisa-expo-copilot/skills/container-view-pattern/references/patterns.md +318 -0
  190. package/plugins/lisa-expo-copilot/skills/container-view-pattern/scripts/create_component.py +200 -0
  191. package/plugins/lisa-expo-copilot/skills/container-view-pattern/scripts/validate_component.py +209 -0
  192. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/SKILL.md +268 -0
  193. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  194. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  195. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  196. package/plugins/lisa-expo-copilot/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  197. package/plugins/lisa-expo-copilot/skills/directory-structure/SKILL.md +202 -0
  198. package/plugins/lisa-expo-copilot/skills/directory-structure/scripts/validate_structure.py +445 -0
  199. package/plugins/lisa-expo-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  200. package/plugins/lisa-expo-copilot/skills/eas-update-insights/SKILL.md +228 -0
  201. package/plugins/lisa-expo-copilot/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  202. package/plugins/lisa-expo-copilot/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  203. package/plugins/lisa-expo-copilot/skills/exploratory-qa/SKILL.md +145 -0
  204. package/plugins/lisa-expo-copilot/skills/expo-api-routes/SKILL.md +369 -0
  205. package/plugins/lisa-expo-copilot/skills/expo-brownfield/SKILL.md +54 -0
  206. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  207. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  208. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/comparison.md +63 -0
  209. package/plugins/lisa-expo-copilot/skills/expo-brownfield/references/troubleshooting.md +88 -0
  210. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/SKILL.md +92 -0
  211. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  212. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/package.json +11 -0
  213. package/plugins/lisa-expo-copilot/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  214. package/plugins/lisa-expo-copilot/skills/expo-deployment/SKILL.md +190 -0
  215. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/app-store-metadata.md +479 -0
  216. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/ios-app-store.md +355 -0
  217. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/play-store.md +246 -0
  218. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/testflight.md +58 -0
  219. package/plugins/lisa-expo-copilot/skills/expo-deployment/references/workflows.md +200 -0
  220. package/plugins/lisa-expo-copilot/skills/expo-dev-client/SKILL.md +164 -0
  221. package/plugins/lisa-expo-copilot/skills/expo-env-config/SKILL.md +309 -0
  222. package/plugins/lisa-expo-copilot/skills/expo-env-config/references/validation-patterns.md +417 -0
  223. package/plugins/lisa-expo-copilot/skills/expo-module/SKILL.md +141 -0
  224. package/plugins/lisa-expo-copilot/skills/expo-module/references/config-plugin.md +90 -0
  225. package/plugins/lisa-expo-copilot/skills/expo-module/references/create-expo-module.md +206 -0
  226. package/plugins/lisa-expo-copilot/skills/expo-module/references/lifecycle.md +127 -0
  227. package/plugins/lisa-expo-copilot/skills/expo-module/references/module-config.md +48 -0
  228. package/plugins/lisa-expo-copilot/skills/expo-module/references/native-module.md +286 -0
  229. package/plugins/lisa-expo-copilot/skills/expo-module/references/native-view.md +171 -0
  230. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/SKILL.md +431 -0
  231. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/references/official-docs.md +290 -0
  232. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  233. package/plugins/lisa-expo-copilot/skills/expo-tailwind-setup/SKILL.md +480 -0
  234. package/plugins/lisa-expo-copilot/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  235. package/plugins/lisa-expo-copilot/skills/expo-ui-swift-ui/SKILL.md +39 -0
  236. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/SKILL.md +411 -0
  237. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  238. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  239. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  240. package/plugins/lisa-expo-copilot/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  241. package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +126 -0
  242. package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +161 -0
  243. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +78 -0
  244. package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  245. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +190 -0
  246. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +281 -0
  247. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +368 -0
  248. package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +27 -0
  249. package/plugins/lisa-expo-copilot/skills/local-state/SKILL.md +362 -0
  250. package/plugins/lisa-expo-copilot/skills/local-state/references/async-storage.md +505 -0
  251. package/plugins/lisa-expo-copilot/skills/local-state/references/persistence-patterns.md +711 -0
  252. package/plugins/lisa-expo-copilot/skills/local-state/references/reactive-variables.md +446 -0
  253. package/plugins/lisa-expo-copilot/skills/native-data-fetching/SKILL.md +507 -0
  254. package/plugins/lisa-expo-copilot/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  255. package/plugins/lisa-expo-copilot/skills/ops-browser-uat/SKILL.md +124 -0
  256. package/plugins/lisa-expo-copilot/skills/ops-check-logs/SKILL.md +211 -0
  257. package/plugins/lisa-expo-copilot/skills/ops-db-ops/SKILL.md +119 -0
  258. package/plugins/lisa-expo-copilot/skills/ops-deploy/SKILL.md +119 -0
  259. package/plugins/lisa-expo-copilot/skills/ops-monitor-errors/SKILL.md +99 -0
  260. package/plugins/lisa-expo-copilot/skills/ops-performance/SKILL.md +165 -0
  261. package/plugins/lisa-expo-copilot/skills/ops-run-local/SKILL.md +166 -0
  262. package/plugins/lisa-expo-copilot/skills/ops-verify-health/SKILL.md +101 -0
  263. package/plugins/lisa-expo-copilot/skills/owasp-zap/SKILL.md +56 -0
  264. package/plugins/lisa-expo-copilot/skills/playwright-ci-debugging/SKILL.md +140 -0
  265. package/plugins/lisa-expo-copilot/skills/playwright-selectors/SKILL.md +455 -0
  266. package/plugins/lisa-expo-copilot/skills/reduce-complexity/SKILL.md +251 -0
  267. package/plugins/lisa-expo-copilot/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  268. package/plugins/lisa-expo-copilot/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  269. package/plugins/lisa-expo-copilot/skills/testing-library/SKILL.md +314 -0
  270. package/plugins/lisa-expo-copilot/skills/testing-library/references/async-patterns.md +420 -0
  271. package/plugins/lisa-expo-copilot/skills/testing-library/references/expo-router-testing.md +556 -0
  272. package/plugins/lisa-expo-copilot/skills/testing-library/references/mocking-patterns.md +590 -0
  273. package/plugins/lisa-expo-copilot/skills/testing-library/references/query-priority.md +291 -0
  274. package/plugins/lisa-expo-copilot/skills/upgrading-expo/SKILL.md +134 -0
  275. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  276. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  277. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/native-tabs.md +124 -0
  278. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/new-architecture.md +79 -0
  279. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-19.md +79 -0
  280. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-compiler.md +59 -0
  281. package/plugins/lisa-expo-copilot/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  282. package/plugins/lisa-expo-copilot/skills/use-dom/SKILL.md +417 -0
  283. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +11 -0
  284. package/plugins/lisa-expo-cursor/.mcp.json +8 -0
  285. package/plugins/lisa-expo-cursor/THIRD-PARTY-NOTICES.md +57 -0
  286. package/plugins/lisa-expo-cursor/agents/ops-specialist.md +124 -0
  287. package/plugins/lisa-expo-cursor/commands/e2e-coverage-gaps.md +7 -0
  288. package/plugins/lisa-expo-cursor/commands/exploratory-qa.md +7 -0
  289. package/plugins/lisa-expo-cursor/skills/add-app-clip/SKILL.md +280 -0
  290. package/plugins/lisa-expo-cursor/skills/add-app-clip/references/native-module.md +96 -0
  291. package/plugins/lisa-expo-cursor/skills/apollo-client/SKILL.md +238 -0
  292. package/plugins/lisa-expo-cursor/skills/apollo-client/references/mutation-patterns.md +360 -0
  293. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/SKILL.md +360 -0
  294. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/atomic-levels.md +417 -0
  295. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/folder-structure.md +257 -0
  296. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/references/gluestack-mapping.md +233 -0
  297. package/plugins/lisa-expo-cursor/skills/atomic-design-gluestack/scripts/validate_atomic_structure.py +329 -0
  298. package/plugins/lisa-expo-cursor/skills/building-native-ui/SKILL.md +321 -0
  299. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/animations.md +220 -0
  300. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/controls.md +272 -0
  301. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/form-sheet.md +253 -0
  302. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/gradients.md +106 -0
  303. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/icons.md +213 -0
  304. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/media.md +198 -0
  305. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/route-structure.md +229 -0
  306. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/search.md +248 -0
  307. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/storage.md +121 -0
  308. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/tabs.md +433 -0
  309. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  310. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/visual-effects.md +197 -0
  311. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/webgpu-three.md +605 -0
  312. package/plugins/lisa-expo-cursor/skills/building-native-ui/references/zoom-transitions.md +158 -0
  313. package/plugins/lisa-expo-cursor/skills/container-view-pattern/SKILL.md +299 -0
  314. package/plugins/lisa-expo-cursor/skills/container-view-pattern/references/examples.md +749 -0
  315. package/plugins/lisa-expo-cursor/skills/container-view-pattern/references/patterns.md +318 -0
  316. package/plugins/lisa-expo-cursor/skills/container-view-pattern/scripts/create_component.py +200 -0
  317. package/plugins/lisa-expo-cursor/skills/container-view-pattern/scripts/validate_component.py +209 -0
  318. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/SKILL.md +268 -0
  319. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/common-issues.md +619 -0
  320. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/file-extensions.md +340 -0
  321. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/references/platform-api.md +276 -0
  322. package/plugins/lisa-expo-cursor/skills/cross-platform-compatibility/scripts/validate_cross_platform.py +416 -0
  323. package/plugins/lisa-expo-cursor/skills/directory-structure/SKILL.md +202 -0
  324. package/plugins/lisa-expo-cursor/skills/directory-structure/scripts/validate_structure.py +445 -0
  325. package/plugins/lisa-expo-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  326. package/plugins/lisa-expo-cursor/skills/eas-update-insights/SKILL.md +228 -0
  327. package/plugins/lisa-expo-cursor/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  328. package/plugins/lisa-expo-cursor/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  329. package/plugins/lisa-expo-cursor/skills/exploratory-qa/SKILL.md +145 -0
  330. package/plugins/lisa-expo-cursor/skills/expo-api-routes/SKILL.md +369 -0
  331. package/plugins/lisa-expo-cursor/skills/expo-brownfield/SKILL.md +54 -0
  332. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  333. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  334. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/comparison.md +63 -0
  335. package/plugins/lisa-expo-cursor/skills/expo-brownfield/references/troubleshooting.md +88 -0
  336. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/SKILL.md +92 -0
  337. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  338. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/package.json +11 -0
  339. package/plugins/lisa-expo-cursor/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  340. package/plugins/lisa-expo-cursor/skills/expo-deployment/SKILL.md +190 -0
  341. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
  342. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
  343. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/play-store.md +246 -0
  344. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/testflight.md +58 -0
  345. package/plugins/lisa-expo-cursor/skills/expo-deployment/references/workflows.md +200 -0
  346. package/plugins/lisa-expo-cursor/skills/expo-dev-client/SKILL.md +164 -0
  347. package/plugins/lisa-expo-cursor/skills/expo-env-config/SKILL.md +309 -0
  348. package/plugins/lisa-expo-cursor/skills/expo-env-config/references/validation-patterns.md +417 -0
  349. package/plugins/lisa-expo-cursor/skills/expo-module/SKILL.md +141 -0
  350. package/plugins/lisa-expo-cursor/skills/expo-module/references/config-plugin.md +90 -0
  351. package/plugins/lisa-expo-cursor/skills/expo-module/references/create-expo-module.md +206 -0
  352. package/plugins/lisa-expo-cursor/skills/expo-module/references/lifecycle.md +127 -0
  353. package/plugins/lisa-expo-cursor/skills/expo-module/references/module-config.md +48 -0
  354. package/plugins/lisa-expo-cursor/skills/expo-module/references/native-module.md +286 -0
  355. package/plugins/lisa-expo-cursor/skills/expo-module/references/native-view.md +171 -0
  356. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/SKILL.md +431 -0
  357. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/references/official-docs.md +290 -0
  358. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/scripts/generate-route.py +171 -0
  359. package/plugins/lisa-expo-cursor/skills/expo-tailwind-setup/SKILL.md +480 -0
  360. package/plugins/lisa-expo-cursor/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  361. package/plugins/lisa-expo-cursor/skills/expo-ui-swift-ui/SKILL.md +39 -0
  362. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/SKILL.md +411 -0
  363. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/color-tokens.md +343 -0
  364. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/component-mapping.md +307 -0
  365. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/references/spacing-scale.md +300 -0
  366. package/plugins/lisa-expo-cursor/skills/gluestack-nativewind/scripts/validate_styling.py +315 -0
  367. package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +126 -0
  368. package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +161 -0
  369. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +78 -0
  370. package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  371. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +190 -0
  372. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +281 -0
  373. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +368 -0
  374. package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +27 -0
  375. package/plugins/lisa-expo-cursor/skills/local-state/SKILL.md +362 -0
  376. package/plugins/lisa-expo-cursor/skills/local-state/references/async-storage.md +505 -0
  377. package/plugins/lisa-expo-cursor/skills/local-state/references/persistence-patterns.md +711 -0
  378. package/plugins/lisa-expo-cursor/skills/local-state/references/reactive-variables.md +446 -0
  379. package/plugins/lisa-expo-cursor/skills/native-data-fetching/SKILL.md +507 -0
  380. package/plugins/lisa-expo-cursor/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  381. package/plugins/lisa-expo-cursor/skills/ops-browser-uat/SKILL.md +124 -0
  382. package/plugins/lisa-expo-cursor/skills/ops-check-logs/SKILL.md +211 -0
  383. package/plugins/lisa-expo-cursor/skills/ops-db-ops/SKILL.md +119 -0
  384. package/plugins/lisa-expo-cursor/skills/ops-deploy/SKILL.md +119 -0
  385. package/plugins/lisa-expo-cursor/skills/ops-monitor-errors/SKILL.md +99 -0
  386. package/plugins/lisa-expo-cursor/skills/ops-performance/SKILL.md +165 -0
  387. package/plugins/lisa-expo-cursor/skills/ops-run-local/SKILL.md +166 -0
  388. package/plugins/lisa-expo-cursor/skills/ops-verify-health/SKILL.md +101 -0
  389. package/plugins/lisa-expo-cursor/skills/owasp-zap/SKILL.md +56 -0
  390. package/plugins/lisa-expo-cursor/skills/playwright-ci-debugging/SKILL.md +140 -0
  391. package/plugins/lisa-expo-cursor/skills/playwright-selectors/SKILL.md +455 -0
  392. package/plugins/lisa-expo-cursor/skills/reduce-complexity/SKILL.md +251 -0
  393. package/plugins/lisa-expo-cursor/skills/reduce-complexity/references/extraction-strategies.md +456 -0
  394. package/plugins/lisa-expo-cursor/skills/reduce-complexity/references/refactoring-patterns.md +557 -0
  395. package/plugins/lisa-expo-cursor/skills/testing-library/SKILL.md +314 -0
  396. package/plugins/lisa-expo-cursor/skills/testing-library/references/async-patterns.md +420 -0
  397. package/plugins/lisa-expo-cursor/skills/testing-library/references/expo-router-testing.md +556 -0
  398. package/plugins/lisa-expo-cursor/skills/testing-library/references/mocking-patterns.md +590 -0
  399. package/plugins/lisa-expo-cursor/skills/testing-library/references/query-priority.md +291 -0
  400. package/plugins/lisa-expo-cursor/skills/upgrading-expo/SKILL.md +134 -0
  401. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  402. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  403. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/native-tabs.md +124 -0
  404. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/new-architecture.md +79 -0
  405. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-19.md +79 -0
  406. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-compiler.md +59 -0
  407. package/plugins/lisa-expo-cursor/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  408. package/plugins/lisa-expo-cursor/skills/use-dom/SKILL.md +417 -0
  409. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  410. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  411. package/plugins/lisa-harper-fabric-agy/commands/e2e-coverage-gaps.md +7 -0
  412. package/plugins/lisa-harper-fabric-agy/commands/exploratory-qa.md +7 -0
  413. package/plugins/lisa-harper-fabric-agy/plugin.json +11 -0
  414. package/plugins/lisa-harper-fabric-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  415. package/plugins/lisa-harper-fabric-agy/skills/exploratory-qa/SKILL.md +145 -0
  416. package/plugins/lisa-harper-fabric-agy/skills/harper-build-and-deploy/SKILL.md +101 -0
  417. package/plugins/lisa-harper-fabric-agy/skills/harper-component-model/SKILL.md +87 -0
  418. package/plugins/lisa-harper-fabric-agy/skills/harper-config-yaml/SKILL.md +107 -0
  419. package/plugins/lisa-harper-fabric-agy/skills/harper-resources/SKILL.md +106 -0
  420. package/plugins/lisa-harper-fabric-agy/skills/harper-schema-graphql/SKILL.md +72 -0
  421. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +35 -0
  422. package/plugins/lisa-harper-fabric-copilot/commands/e2e-coverage-gaps.md +7 -0
  423. package/plugins/lisa-harper-fabric-copilot/commands/exploratory-qa.md +7 -0
  424. package/plugins/lisa-harper-fabric-copilot/hooks/inject-rules.sh +16 -0
  425. package/plugins/lisa-harper-fabric-copilot/rules/harper-fabric.md +51 -0
  426. package/plugins/lisa-harper-fabric-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  427. package/plugins/lisa-harper-fabric-copilot/skills/exploratory-qa/SKILL.md +145 -0
  428. package/plugins/lisa-harper-fabric-copilot/skills/harper-build-and-deploy/SKILL.md +101 -0
  429. package/plugins/lisa-harper-fabric-copilot/skills/harper-component-model/SKILL.md +87 -0
  430. package/plugins/lisa-harper-fabric-copilot/skills/harper-config-yaml/SKILL.md +107 -0
  431. package/plugins/lisa-harper-fabric-copilot/skills/harper-resources/SKILL.md +106 -0
  432. package/plugins/lisa-harper-fabric-copilot/skills/harper-schema-graphql/SKILL.md +72 -0
  433. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +11 -0
  434. package/plugins/lisa-harper-fabric-cursor/commands/e2e-coverage-gaps.md +7 -0
  435. package/plugins/lisa-harper-fabric-cursor/commands/exploratory-qa.md +7 -0
  436. package/plugins/lisa-harper-fabric-cursor/rules/harper-fabric.md +51 -0
  437. package/plugins/lisa-harper-fabric-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  438. package/plugins/lisa-harper-fabric-cursor/skills/exploratory-qa/SKILL.md +145 -0
  439. package/plugins/lisa-harper-fabric-cursor/skills/harper-build-and-deploy/SKILL.md +101 -0
  440. package/plugins/lisa-harper-fabric-cursor/skills/harper-component-model/SKILL.md +87 -0
  441. package/plugins/lisa-harper-fabric-cursor/skills/harper-config-yaml/SKILL.md +107 -0
  442. package/plugins/lisa-harper-fabric-cursor/skills/harper-resources/SKILL.md +106 -0
  443. package/plugins/lisa-harper-fabric-cursor/skills/harper-schema-graphql/SKILL.md +72 -0
  444. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  445. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  446. package/plugins/lisa-nestjs-agy/plugin.json +11 -0
  447. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/SKILL.md +176 -0
  448. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/advanced-features.md +527 -0
  449. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/project-patterns.md +531 -0
  450. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/quick-start.md +257 -0
  451. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  452. package/plugins/lisa-nestjs-agy/skills/nestjs-graphql/references/types-scalars.md +513 -0
  453. package/plugins/lisa-nestjs-agy/skills/nestjs-rules/SKILL.md +565 -0
  454. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/SKILL.md +275 -0
  455. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  456. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  457. package/plugins/lisa-nestjs-agy/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  458. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +24 -0
  459. package/plugins/lisa-nestjs-copilot/hooks/block-migration-edits.sh +60 -0
  460. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/SKILL.md +176 -0
  461. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/advanced-features.md +527 -0
  462. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/project-patterns.md +531 -0
  463. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/quick-start.md +257 -0
  464. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  465. package/plugins/lisa-nestjs-copilot/skills/nestjs-graphql/references/types-scalars.md +513 -0
  466. package/plugins/lisa-nestjs-copilot/skills/nestjs-rules/SKILL.md +565 -0
  467. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/SKILL.md +275 -0
  468. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  469. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  470. package/plugins/lisa-nestjs-copilot/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  471. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +24 -0
  472. package/plugins/lisa-nestjs-cursor/hooks/block-migration-edits.sh +60 -0
  473. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/SKILL.md +176 -0
  474. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/advanced-features.md +527 -0
  475. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/project-patterns.md +531 -0
  476. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/quick-start.md +257 -0
  477. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/resolvers-mutations.md +413 -0
  478. package/plugins/lisa-nestjs-cursor/skills/nestjs-graphql/references/types-scalars.md +513 -0
  479. package/plugins/lisa-nestjs-cursor/skills/nestjs-rules/SKILL.md +565 -0
  480. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/SKILL.md +275 -0
  481. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/configuration-patterns.md +487 -0
  482. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/entity-patterns.md +450 -0
  483. package/plugins/lisa-nestjs-cursor/skills/typeorm-patterns/references/observability-patterns.md +536 -0
  484. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  485. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  486. package/plugins/lisa-openclaw-agy/commands/connect-repo-topic.md +7 -0
  487. package/plugins/lisa-openclaw-agy/commands/connect-staff-slack.md +7 -0
  488. package/plugins/lisa-openclaw-agy/commands/connect-staff-telegram.md +7 -0
  489. package/plugins/lisa-openclaw-agy/commands/setup-openclaw.md +7 -0
  490. package/plugins/lisa-openclaw-agy/plugin.json +8 -0
  491. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  492. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  493. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  494. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  495. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  496. package/plugins/lisa-openclaw-agy/skills/lisa-openclaw-setup/SKILL.md +138 -0
  497. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +8 -0
  498. package/plugins/lisa-openclaw-copilot/commands/connect-repo-topic.md +7 -0
  499. package/plugins/lisa-openclaw-copilot/commands/connect-staff-slack.md +7 -0
  500. package/plugins/lisa-openclaw-copilot/commands/connect-staff-telegram.md +7 -0
  501. package/plugins/lisa-openclaw-copilot/commands/setup-openclaw.md +7 -0
  502. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  503. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  504. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  505. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  506. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  507. package/plugins/lisa-openclaw-copilot/skills/lisa-openclaw-setup/SKILL.md +138 -0
  508. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +8 -0
  509. package/plugins/lisa-openclaw-cursor/commands/connect-repo-topic.md +7 -0
  510. package/plugins/lisa-openclaw-cursor/commands/connect-staff-slack.md +7 -0
  511. package/plugins/lisa-openclaw-cursor/commands/connect-staff-telegram.md +7 -0
  512. package/plugins/lisa-openclaw-cursor/commands/setup-openclaw.md +7 -0
  513. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/SKILL.md +137 -0
  514. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-repo-topic/references/repo-topic-config.md +109 -0
  515. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/SKILL.md +175 -0
  516. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/platform-routing.md +83 -0
  517. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-connect-staff/references/prompts.md +78 -0
  518. package/plugins/lisa-openclaw-cursor/skills/lisa-openclaw-setup/SKILL.md +138 -0
  519. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  520. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  521. package/plugins/lisa-rails-agy/agents/ops-specialist.md +226 -0
  522. package/plugins/lisa-rails-agy/commands/e2e-coverage-gaps.md +7 -0
  523. package/plugins/lisa-rails-agy/commands/exploratory-qa.md +7 -0
  524. package/plugins/lisa-rails-agy/commands/fix/linter-error.md +7 -0
  525. package/plugins/lisa-rails-agy/commands/improve/code-complexity.md +6 -0
  526. package/plugins/lisa-rails-agy/commands/improve/max-lines-per-function.md +7 -0
  527. package/plugins/lisa-rails-agy/commands/improve/max-lines.md +7 -0
  528. package/plugins/lisa-rails-agy/commands/improve/test-coverage.md +7 -0
  529. package/plugins/lisa-rails-agy/plugin.json +11 -0
  530. package/plugins/lisa-rails-agy/skills/action-controller-best-practices/SKILL.md +374 -0
  531. package/plugins/lisa-rails-agy/skills/action-view-best-practices/SKILL.md +335 -0
  532. package/plugins/lisa-rails-agy/skills/active-record-model-best-practices/SKILL.md +166 -0
  533. package/plugins/lisa-rails-agy/skills/e2e-coverage-gaps/SKILL.md +105 -0
  534. package/plugins/lisa-rails-agy/skills/exploratory-qa/SKILL.md +145 -0
  535. package/plugins/lisa-rails-agy/skills/fix-linter-error/SKILL.md +45 -0
  536. package/plugins/lisa-rails-agy/skills/improve-code-complexity/SKILL.md +48 -0
  537. package/plugins/lisa-rails-agy/skills/improve-max-lines/SKILL.md +46 -0
  538. package/plugins/lisa-rails-agy/skills/improve-max-lines-per-function/SKILL.md +46 -0
  539. package/plugins/lisa-rails-agy/skills/improve-test-coverage/SKILL.md +45 -0
  540. package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +65 -0
  541. package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +100 -0
  542. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +70 -0
  543. package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  544. package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +64 -0
  545. package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +26 -0
  546. package/plugins/lisa-rails-agy/skills/ops-check-logs/SKILL.md +191 -0
  547. package/plugins/lisa-rails-agy/skills/ops-deploy/SKILL.md +153 -0
  548. package/plugins/lisa-rails-agy/skills/ops-run-local/SKILL.md +169 -0
  549. package/plugins/lisa-rails-agy/skills/ops-verify-jobs/SKILL.md +157 -0
  550. package/plugins/lisa-rails-agy/skills/ops-verify-telemetry/SKILL.md +197 -0
  551. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +50 -0
  552. package/plugins/lisa-rails-copilot/agents/ops-specialist.agent.md +226 -0
  553. package/plugins/lisa-rails-copilot/commands/e2e-coverage-gaps.md +7 -0
  554. package/plugins/lisa-rails-copilot/commands/exploratory-qa.md +7 -0
  555. package/plugins/lisa-rails-copilot/commands/fix/linter-error.md +7 -0
  556. package/plugins/lisa-rails-copilot/commands/improve/code-complexity.md +6 -0
  557. package/plugins/lisa-rails-copilot/commands/improve/max-lines-per-function.md +7 -0
  558. package/plugins/lisa-rails-copilot/commands/improve/max-lines.md +7 -0
  559. package/plugins/lisa-rails-copilot/commands/improve/test-coverage.md +7 -0
  560. package/plugins/lisa-rails-copilot/hooks/inject-rules.sh +22 -0
  561. package/plugins/lisa-rails-copilot/hooks/rubocop-on-edit.sh +78 -0
  562. package/plugins/lisa-rails-copilot/hooks/sg-scan-on-edit.sh +74 -0
  563. package/plugins/lisa-rails-copilot/rules/rails-conventions.md +176 -0
  564. package/plugins/lisa-rails-copilot/skills/action-controller-best-practices/SKILL.md +374 -0
  565. package/plugins/lisa-rails-copilot/skills/action-view-best-practices/SKILL.md +335 -0
  566. package/plugins/lisa-rails-copilot/skills/active-record-model-best-practices/SKILL.md +166 -0
  567. package/plugins/lisa-rails-copilot/skills/e2e-coverage-gaps/SKILL.md +105 -0
  568. package/plugins/lisa-rails-copilot/skills/exploratory-qa/SKILL.md +145 -0
  569. package/plugins/lisa-rails-copilot/skills/fix-linter-error/SKILL.md +45 -0
  570. package/plugins/lisa-rails-copilot/skills/improve-code-complexity/SKILL.md +48 -0
  571. package/plugins/lisa-rails-copilot/skills/improve-max-lines/SKILL.md +46 -0
  572. package/plugins/lisa-rails-copilot/skills/improve-max-lines-per-function/SKILL.md +46 -0
  573. package/plugins/lisa-rails-copilot/skills/improve-test-coverage/SKILL.md +45 -0
  574. package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +65 -0
  575. package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +100 -0
  576. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +70 -0
  577. package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  578. package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +64 -0
  579. package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +26 -0
  580. package/plugins/lisa-rails-copilot/skills/ops-check-logs/SKILL.md +191 -0
  581. package/plugins/lisa-rails-copilot/skills/ops-deploy/SKILL.md +153 -0
  582. package/plugins/lisa-rails-copilot/skills/ops-run-local/SKILL.md +169 -0
  583. package/plugins/lisa-rails-copilot/skills/ops-verify-jobs/SKILL.md +157 -0
  584. package/plugins/lisa-rails-copilot/skills/ops-verify-telemetry/SKILL.md +197 -0
  585. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +28 -0
  586. package/plugins/lisa-rails-cursor/agents/ops-specialist.md +226 -0
  587. package/plugins/lisa-rails-cursor/commands/e2e-coverage-gaps.md +7 -0
  588. package/plugins/lisa-rails-cursor/commands/exploratory-qa.md +7 -0
  589. package/plugins/lisa-rails-cursor/commands/fix/linter-error.md +7 -0
  590. package/plugins/lisa-rails-cursor/commands/improve/code-complexity.md +6 -0
  591. package/plugins/lisa-rails-cursor/commands/improve/max-lines-per-function.md +7 -0
  592. package/plugins/lisa-rails-cursor/commands/improve/max-lines.md +7 -0
  593. package/plugins/lisa-rails-cursor/commands/improve/test-coverage.md +7 -0
  594. package/plugins/lisa-rails-cursor/hooks/rubocop-on-edit.sh +78 -0
  595. package/plugins/lisa-rails-cursor/hooks/sg-scan-on-edit.sh +74 -0
  596. package/plugins/lisa-rails-cursor/rules/rails-conventions.md +176 -0
  597. package/plugins/lisa-rails-cursor/skills/action-controller-best-practices/SKILL.md +374 -0
  598. package/plugins/lisa-rails-cursor/skills/action-view-best-practices/SKILL.md +335 -0
  599. package/plugins/lisa-rails-cursor/skills/active-record-model-best-practices/SKILL.md +166 -0
  600. package/plugins/lisa-rails-cursor/skills/e2e-coverage-gaps/SKILL.md +105 -0
  601. package/plugins/lisa-rails-cursor/skills/exploratory-qa/SKILL.md +145 -0
  602. package/plugins/lisa-rails-cursor/skills/fix-linter-error/SKILL.md +45 -0
  603. package/plugins/lisa-rails-cursor/skills/improve-code-complexity/SKILL.md +48 -0
  604. package/plugins/lisa-rails-cursor/skills/improve-max-lines/SKILL.md +46 -0
  605. package/plugins/lisa-rails-cursor/skills/improve-max-lines-per-function/SKILL.md +46 -0
  606. package/plugins/lisa-rails-cursor/skills/improve-test-coverage/SKILL.md +45 -0
  607. package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +65 -0
  608. package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +100 -0
  609. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +70 -0
  610. package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +163 -0
  611. package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +64 -0
  612. package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +26 -0
  613. package/plugins/lisa-rails-cursor/skills/ops-check-logs/SKILL.md +191 -0
  614. package/plugins/lisa-rails-cursor/skills/ops-deploy/SKILL.md +153 -0
  615. package/plugins/lisa-rails-cursor/skills/ops-run-local/SKILL.md +169 -0
  616. package/plugins/lisa-rails-cursor/skills/ops-verify-jobs/SKILL.md +157 -0
  617. package/plugins/lisa-rails-cursor/skills/ops-verify-telemetry/SKILL.md +197 -0
  618. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  619. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  620. package/plugins/lisa-typescript-agy/plugin.json +11 -0
  621. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +43 -0
  622. package/plugins/lisa-typescript-copilot/hooks/block-suppress-directives.sh +73 -0
  623. package/plugins/lisa-typescript-copilot/hooks/format-on-edit.sh +79 -0
  624. package/plugins/lisa-typescript-copilot/hooks/lint-on-edit.sh +134 -0
  625. package/plugins/lisa-typescript-copilot/hooks/sg-scan-on-edit.sh +71 -0
  626. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +43 -0
  627. package/plugins/lisa-typescript-cursor/hooks/block-suppress-directives.sh +73 -0
  628. package/plugins/lisa-typescript-cursor/hooks/format-on-edit.sh +79 -0
  629. package/plugins/lisa-typescript-cursor/hooks/lint-on-edit.sh +134 -0
  630. package/plugins/lisa-typescript-cursor/hooks/sg-scan-on-edit.sh +71 -0
  631. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  632. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  633. package/plugins/lisa-wiki-agy/ci/lisa-wiki-validate.yml +33 -0
  634. package/plugins/lisa-wiki-agy/commands/add-ingest.md +6 -0
  635. package/plugins/lisa-wiki-agy/commands/add-role.md +6 -0
  636. package/plugins/lisa-wiki-agy/commands/doctor.md +6 -0
  637. package/plugins/lisa-wiki-agy/commands/ingest.md +6 -0
  638. package/plugins/lisa-wiki-agy/commands/lint.md +6 -0
  639. package/plugins/lisa-wiki-agy/commands/migrate.md +6 -0
  640. package/plugins/lisa-wiki-agy/commands/onboard-me.md +6 -0
  641. package/plugins/lisa-wiki-agy/commands/query.md +6 -0
  642. package/plugins/lisa-wiki-agy/commands/setup/wiki.md +6 -0
  643. package/plugins/lisa-wiki-agy/commands/setup-automations.md +6 -0
  644. package/plugins/lisa-wiki-agy/commands/setup.md +6 -0
  645. package/plugins/lisa-wiki-agy/commands/status.md +6 -0
  646. package/plugins/lisa-wiki-agy/commands/tear-down-automations.md +6 -0
  647. package/plugins/lisa-wiki-agy/plugin.json +8 -0
  648. package/plugins/lisa-wiki-agy/schema/lisa-wiki-config.schema.json +118 -0
  649. package/plugins/lisa-wiki-agy/schema/wiki-structure.schema.json +51 -0
  650. package/plugins/lisa-wiki-agy/scripts/_wiki-lib.mjs +185 -0
  651. package/plugins/lisa-wiki-agy/scripts/diff-guard.mjs +116 -0
  652. package/plugins/lisa-wiki-agy/scripts/ensure-gitignore.mjs +131 -0
  653. package/plugins/lisa-wiki-agy/scripts/ingest-git.mjs +189 -0
  654. package/plugins/lisa-wiki-agy/scripts/ingest-memory.mjs +130 -0
  655. package/plugins/lisa-wiki-agy/scripts/ingest-roles.mjs +85 -0
  656. package/plugins/lisa-wiki-agy/scripts/ingest_slack_channel.py +329 -0
  657. package/plugins/lisa-wiki-agy/scripts/lint-wiki.mjs +324 -0
  658. package/plugins/lisa-wiki-agy/scripts/mcp-doctor.mjs +72 -0
  659. package/plugins/lisa-wiki-agy/scripts/render-contract.mjs +107 -0
  660. package/plugins/lisa-wiki-agy/scripts/rewrite-refs.mjs +144 -0
  661. package/plugins/lisa-wiki-agy/scripts/slack_oauth_user.py +179 -0
  662. package/plugins/lisa-wiki-agy/scripts/validate-config.mjs +232 -0
  663. package/plugins/lisa-wiki-agy/scripts/verify-migration.mjs +199 -0
  664. package/plugins/lisa-wiki-agy/scripts/wiki-status.mjs +345 -0
  665. package/plugins/lisa-wiki-agy/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  666. package/plugins/lisa-wiki-agy/skills/lisa-wiki-add-role/SKILL.md +30 -0
  667. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  668. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  669. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  670. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  671. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  672. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  673. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  674. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  675. package/plugins/lisa-wiki-agy/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  676. package/plugins/lisa-wiki-agy/skills/lisa-wiki-doctor/SKILL.md +47 -0
  677. package/plugins/lisa-wiki-agy/skills/lisa-wiki-ingest/SKILL.md +72 -0
  678. package/plugins/lisa-wiki-agy/skills/lisa-wiki-lint/SKILL.md +32 -0
  679. package/plugins/lisa-wiki-agy/skills/lisa-wiki-migrate/SKILL.md +43 -0
  680. package/plugins/lisa-wiki-agy/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  681. package/plugins/lisa-wiki-agy/skills/lisa-wiki-query/SKILL.md +30 -0
  682. package/plugins/lisa-wiki-agy/skills/lisa-wiki-setup/SKILL.md +75 -0
  683. package/plugins/lisa-wiki-agy/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  684. package/plugins/lisa-wiki-agy/skills/lisa-wiki-status/SKILL.md +47 -0
  685. package/plugins/lisa-wiki-agy/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  686. package/plugins/lisa-wiki-agy/skills/lisa-wiki-usage/SKILL.md +50 -0
  687. package/plugins/lisa-wiki-agy/templates/agents/role-agent.claude.md +16 -0
  688. package/plugins/lisa-wiki-agy/templates/agents/role-agent.codex.toml +15 -0
  689. package/plugins/lisa-wiki-agy/templates/index.md +17 -0
  690. package/plugins/lisa-wiki-agy/templates/llm-wiki-contract.md +72 -0
  691. package/plugins/lisa-wiki-agy/templates/log.md +8 -0
  692. package/plugins/lisa-wiki-agy/templates/page-types/architecture.md +18 -0
  693. package/plugins/lisa-wiki-agy/templates/page-types/concept.md +18 -0
  694. package/plugins/lisa-wiki-agy/templates/page-types/decision.md +18 -0
  695. package/plugins/lisa-wiki-agy/templates/page-types/entity.md +19 -0
  696. package/plugins/lisa-wiki-agy/templates/page-types/open-question.md +18 -0
  697. package/plugins/lisa-wiki-agy/templates/page-types/playbook.md +18 -0
  698. package/plugins/lisa-wiki-agy/templates/page-types/project.md +19 -0
  699. package/plugins/lisa-wiki-agy/templates/page-types/requirement.md +19 -0
  700. package/plugins/lisa-wiki-agy/templates/page-types/staff.md +26 -0
  701. package/plugins/lisa-wiki-agy/templates/start-here.md +24 -0
  702. package/plugins/lisa-wiki-agy/templates/state-readme.md +20 -0
  703. package/plugins/lisa-wiki-agy/templates/wrapper-gitignore.txt +19 -0
  704. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +8 -0
  705. package/plugins/lisa-wiki-copilot/ci/lisa-wiki-validate.yml +33 -0
  706. package/plugins/lisa-wiki-copilot/commands/add-ingest.md +6 -0
  707. package/plugins/lisa-wiki-copilot/commands/add-role.md +6 -0
  708. package/plugins/lisa-wiki-copilot/commands/doctor.md +6 -0
  709. package/plugins/lisa-wiki-copilot/commands/ingest.md +6 -0
  710. package/plugins/lisa-wiki-copilot/commands/lint.md +6 -0
  711. package/plugins/lisa-wiki-copilot/commands/migrate.md +6 -0
  712. package/plugins/lisa-wiki-copilot/commands/onboard-me.md +6 -0
  713. package/plugins/lisa-wiki-copilot/commands/query.md +6 -0
  714. package/plugins/lisa-wiki-copilot/commands/setup/wiki.md +6 -0
  715. package/plugins/lisa-wiki-copilot/commands/setup-automations.md +6 -0
  716. package/plugins/lisa-wiki-copilot/commands/setup.md +6 -0
  717. package/plugins/lisa-wiki-copilot/commands/status.md +6 -0
  718. package/plugins/lisa-wiki-copilot/commands/tear-down-automations.md +6 -0
  719. package/plugins/lisa-wiki-copilot/schema/lisa-wiki-config.schema.json +118 -0
  720. package/plugins/lisa-wiki-copilot/schema/wiki-structure.schema.json +51 -0
  721. package/plugins/lisa-wiki-copilot/scripts/_wiki-lib.mjs +185 -0
  722. package/plugins/lisa-wiki-copilot/scripts/diff-guard.mjs +116 -0
  723. package/plugins/lisa-wiki-copilot/scripts/ensure-gitignore.mjs +131 -0
  724. package/plugins/lisa-wiki-copilot/scripts/ingest-git.mjs +189 -0
  725. package/plugins/lisa-wiki-copilot/scripts/ingest-memory.mjs +130 -0
  726. package/plugins/lisa-wiki-copilot/scripts/ingest-roles.mjs +85 -0
  727. package/plugins/lisa-wiki-copilot/scripts/ingest_slack_channel.py +329 -0
  728. package/plugins/lisa-wiki-copilot/scripts/lint-wiki.mjs +324 -0
  729. package/plugins/lisa-wiki-copilot/scripts/mcp-doctor.mjs +72 -0
  730. package/plugins/lisa-wiki-copilot/scripts/render-contract.mjs +107 -0
  731. package/plugins/lisa-wiki-copilot/scripts/rewrite-refs.mjs +144 -0
  732. package/plugins/lisa-wiki-copilot/scripts/slack_oauth_user.py +179 -0
  733. package/plugins/lisa-wiki-copilot/scripts/validate-config.mjs +232 -0
  734. package/plugins/lisa-wiki-copilot/scripts/verify-migration.mjs +199 -0
  735. package/plugins/lisa-wiki-copilot/scripts/wiki-status.mjs +345 -0
  736. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  737. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-add-role/SKILL.md +30 -0
  738. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  739. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  740. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  741. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  742. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  743. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  744. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  745. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  746. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  747. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-doctor/SKILL.md +47 -0
  748. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-ingest/SKILL.md +72 -0
  749. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-lint/SKILL.md +32 -0
  750. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-migrate/SKILL.md +43 -0
  751. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  752. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-query/SKILL.md +30 -0
  753. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-setup/SKILL.md +75 -0
  754. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  755. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-status/SKILL.md +47 -0
  756. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  757. package/plugins/lisa-wiki-copilot/skills/lisa-wiki-usage/SKILL.md +50 -0
  758. package/plugins/lisa-wiki-copilot/templates/agents/role-agent.claude.md +16 -0
  759. package/plugins/lisa-wiki-copilot/templates/agents/role-agent.codex.toml +15 -0
  760. package/plugins/lisa-wiki-copilot/templates/index.md +17 -0
  761. package/plugins/lisa-wiki-copilot/templates/llm-wiki-contract.md +72 -0
  762. package/plugins/lisa-wiki-copilot/templates/log.md +8 -0
  763. package/plugins/lisa-wiki-copilot/templates/page-types/architecture.md +18 -0
  764. package/plugins/lisa-wiki-copilot/templates/page-types/concept.md +18 -0
  765. package/plugins/lisa-wiki-copilot/templates/page-types/decision.md +18 -0
  766. package/plugins/lisa-wiki-copilot/templates/page-types/entity.md +19 -0
  767. package/plugins/lisa-wiki-copilot/templates/page-types/open-question.md +18 -0
  768. package/plugins/lisa-wiki-copilot/templates/page-types/playbook.md +18 -0
  769. package/plugins/lisa-wiki-copilot/templates/page-types/project.md +19 -0
  770. package/plugins/lisa-wiki-copilot/templates/page-types/requirement.md +19 -0
  771. package/plugins/lisa-wiki-copilot/templates/page-types/staff.md +26 -0
  772. package/plugins/lisa-wiki-copilot/templates/start-here.md +24 -0
  773. package/plugins/lisa-wiki-copilot/templates/state-readme.md +20 -0
  774. package/plugins/lisa-wiki-copilot/templates/wrapper-gitignore.txt +19 -0
  775. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +8 -0
  776. package/plugins/lisa-wiki-cursor/ci/lisa-wiki-validate.yml +33 -0
  777. package/plugins/lisa-wiki-cursor/commands/add-ingest.md +6 -0
  778. package/plugins/lisa-wiki-cursor/commands/add-role.md +6 -0
  779. package/plugins/lisa-wiki-cursor/commands/doctor.md +6 -0
  780. package/plugins/lisa-wiki-cursor/commands/ingest.md +6 -0
  781. package/plugins/lisa-wiki-cursor/commands/lint.md +6 -0
  782. package/plugins/lisa-wiki-cursor/commands/migrate.md +6 -0
  783. package/plugins/lisa-wiki-cursor/commands/onboard-me.md +6 -0
  784. package/plugins/lisa-wiki-cursor/commands/query.md +6 -0
  785. package/plugins/lisa-wiki-cursor/commands/setup/wiki.md +6 -0
  786. package/plugins/lisa-wiki-cursor/commands/setup-automations.md +6 -0
  787. package/plugins/lisa-wiki-cursor/commands/setup.md +6 -0
  788. package/plugins/lisa-wiki-cursor/commands/status.md +6 -0
  789. package/plugins/lisa-wiki-cursor/commands/tear-down-automations.md +6 -0
  790. package/plugins/lisa-wiki-cursor/schema/lisa-wiki-config.schema.json +118 -0
  791. package/plugins/lisa-wiki-cursor/schema/wiki-structure.schema.json +51 -0
  792. package/plugins/lisa-wiki-cursor/scripts/_wiki-lib.mjs +185 -0
  793. package/plugins/lisa-wiki-cursor/scripts/diff-guard.mjs +116 -0
  794. package/plugins/lisa-wiki-cursor/scripts/ensure-gitignore.mjs +131 -0
  795. package/plugins/lisa-wiki-cursor/scripts/ingest-git.mjs +189 -0
  796. package/plugins/lisa-wiki-cursor/scripts/ingest-memory.mjs +130 -0
  797. package/plugins/lisa-wiki-cursor/scripts/ingest-roles.mjs +85 -0
  798. package/plugins/lisa-wiki-cursor/scripts/ingest_slack_channel.py +329 -0
  799. package/plugins/lisa-wiki-cursor/scripts/lint-wiki.mjs +324 -0
  800. package/plugins/lisa-wiki-cursor/scripts/mcp-doctor.mjs +72 -0
  801. package/plugins/lisa-wiki-cursor/scripts/render-contract.mjs +107 -0
  802. package/plugins/lisa-wiki-cursor/scripts/rewrite-refs.mjs +144 -0
  803. package/plugins/lisa-wiki-cursor/scripts/slack_oauth_user.py +179 -0
  804. package/plugins/lisa-wiki-cursor/scripts/validate-config.mjs +232 -0
  805. package/plugins/lisa-wiki-cursor/scripts/verify-migration.mjs +199 -0
  806. package/plugins/lisa-wiki-cursor/scripts/wiki-status.mjs +345 -0
  807. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-add-ingest/SKILL.md +34 -0
  808. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-add-role/SKILL.md +30 -0
  809. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-confluence/SKILL.md +25 -0
  810. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-docs/SKILL.md +30 -0
  811. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-git/SKILL.md +25 -0
  812. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-jira/SKILL.md +28 -0
  813. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-memory/SKILL.md +28 -0
  814. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-notion/SKILL.md +25 -0
  815. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-roles/SKILL.md +22 -0
  816. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-slack/SKILL.md +30 -0
  817. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-connector-web/SKILL.md +23 -0
  818. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-doctor/SKILL.md +47 -0
  819. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-ingest/SKILL.md +72 -0
  820. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-lint/SKILL.md +32 -0
  821. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-migrate/SKILL.md +43 -0
  822. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-onboard-me/SKILL.md +33 -0
  823. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-query/SKILL.md +30 -0
  824. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-setup/SKILL.md +75 -0
  825. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-setup-automations/SKILL.md +80 -0
  826. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-status/SKILL.md +47 -0
  827. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-tear-down-automations/SKILL.md +34 -0
  828. package/plugins/lisa-wiki-cursor/skills/lisa-wiki-usage/SKILL.md +50 -0
  829. package/plugins/lisa-wiki-cursor/templates/agents/role-agent.claude.md +16 -0
  830. package/plugins/lisa-wiki-cursor/templates/agents/role-agent.codex.toml +15 -0
  831. package/plugins/lisa-wiki-cursor/templates/index.md +17 -0
  832. package/plugins/lisa-wiki-cursor/templates/llm-wiki-contract.md +72 -0
  833. package/plugins/lisa-wiki-cursor/templates/log.md +8 -0
  834. package/plugins/lisa-wiki-cursor/templates/page-types/architecture.md +18 -0
  835. package/plugins/lisa-wiki-cursor/templates/page-types/concept.md +18 -0
  836. package/plugins/lisa-wiki-cursor/templates/page-types/decision.md +18 -0
  837. package/plugins/lisa-wiki-cursor/templates/page-types/entity.md +19 -0
  838. package/plugins/lisa-wiki-cursor/templates/page-types/open-question.md +18 -0
  839. package/plugins/lisa-wiki-cursor/templates/page-types/playbook.md +18 -0
  840. package/plugins/lisa-wiki-cursor/templates/page-types/project.md +19 -0
  841. package/plugins/lisa-wiki-cursor/templates/page-types/requirement.md +19 -0
  842. package/plugins/lisa-wiki-cursor/templates/page-types/staff.md +26 -0
  843. package/plugins/lisa-wiki-cursor/templates/start-here.md +24 -0
  844. package/plugins/lisa-wiki-cursor/templates/state-readme.md +20 -0
  845. package/plugins/lisa-wiki-cursor/templates/wrapper-gitignore.txt +19 -0
  846. package/scripts/build-plugins.sh +28 -11
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://codyswann.github.io/lisa/schema/wiki-structure.schema.json",
4
+ "title": "lisa-wiki canonical structure manifest",
5
+ "description": "The canonical folder structure of a lisa-wiki. This manifest is the intended single source of truth for structure conformance, consumed by lint-wiki and validate-config as of M1 (structure enforcement) and by render-contract; in M0 it is the published spec. All paths are relative to config.wikiRoot unless noted. It is a descriptive manifest (not a JSON-Schema validation of a document); validators interpret these fields.",
6
+ "manifestVersion": "1.0.0",
7
+ "requiredFiles": [
8
+ "lisa-wiki.config.json",
9
+ "index.md",
10
+ "log.md",
11
+ "start-here.md",
12
+ "schema/llm-wiki-contract.md"
13
+ ],
14
+ "requiredDirs": ["schema", "sources", "state"],
15
+ "optionalDirs": ["staff", "documentation"],
16
+ "categoryDirs": {
17
+ "default": [
18
+ "concepts",
19
+ "entities",
20
+ "decisions",
21
+ "architecture",
22
+ "requirements",
23
+ "playbooks",
24
+ "open-questions",
25
+ "projects"
26
+ ],
27
+ "note": "A project may declare additional categories in config.categories (e.g. claims, comparisons, finance, sales)."
28
+ },
29
+ "sourcesLayout": {
30
+ "by-system": "sources/<system>/ (e.g. sources/jira/, sources/git/, sources/slack/)",
31
+ "by-category": "sources/<bucket>/ (e.g. sources/primary/, sources/secondary/)"
32
+ },
33
+ "stateLayout": "state/<system>/*.json",
34
+ "reportPath": "state/migration/doctor-report.json",
35
+ "generatedArtifacts": {
36
+ "claudeRoleAgents": ".claude/agents/<id>.md (repo root, not under wikiRoot)",
37
+ "codexRoleAgents": ".codex/agents/<id>.toml (repo root, not under wikiRoot)",
38
+ "frontDoorSkills": ".claude|.agents/skills/lisa-wiki-local-*"
39
+ },
40
+ "keepInPlaceDefault": [
41
+ "LICENSE*",
42
+ "SECURITY.md",
43
+ "CODE_OF_CONDUCT.md",
44
+ "CONTRIBUTING.md",
45
+ "CHANGELOG.md",
46
+ "NOTICE*",
47
+ "SUPPORT.md",
48
+ "GOVERNANCE.md",
49
+ ".github/**"
50
+ ]
51
+ }
@@ -0,0 +1,185 @@
1
+ /**
2
+ * _wiki-lib.mjs — shared, dependency-free helpers for the lisa-wiki validators
3
+ * (lint-wiki, diff-guard, rewrite-refs, verify-migration). Node built-ins only,
4
+ * so the scripts stay portable to any downstream repo that installs the plugin.
5
+ */
6
+ import fs from "node:fs";
7
+ import path from "node:path";
8
+
9
+ /** Read and parse a JSON file, or return undefined if missing/invalid. */
10
+ export function readJsonSafe(file) {
11
+ try {
12
+ return JSON.parse(fs.readFileSync(file, "utf8"));
13
+ } catch {
14
+ return undefined;
15
+ }
16
+ }
17
+
18
+ /** Resolve the plugin root from a script in scripts/ (parent of scripts/). */
19
+ export function pluginRootFrom(scriptDir) {
20
+ return path.dirname(scriptDir);
21
+ }
22
+
23
+ /** Load the project config (wiki/lisa-wiki.config.json by default). */
24
+ export function loadConfig(configPath) {
25
+ const resolved = path.resolve(configPath ?? "wiki/lisa-wiki.config.json");
26
+ const config = readJsonSafe(resolved);
27
+ return { config, configPath: resolved };
28
+ }
29
+
30
+ /** Load the canonical structure manifest shipped with the plugin. */
31
+ export function loadStructure(pluginRoot) {
32
+ return readJsonSafe(
33
+ path.join(pluginRoot, "schema", "wiki-structure.schema.json")
34
+ );
35
+ }
36
+
37
+ /** Recursively list files under dir matching an optional extension filter. */
38
+ export function walkFiles(dir, { ext } = {}) {
39
+ const out = [];
40
+ const stack = [dir];
41
+ while (stack.length > 0) {
42
+ const current = stack.pop();
43
+ let entries = [];
44
+ try {
45
+ entries = fs.readdirSync(current, { withFileTypes: true });
46
+ } catch {
47
+ continue;
48
+ }
49
+ for (const entry of entries) {
50
+ const full = path.join(current, entry.name);
51
+ if (entry.isDirectory()) {
52
+ if (entry.name === ".git" || entry.name === "node_modules") continue;
53
+ stack.push(full);
54
+ } else if (entry.isFile()) {
55
+ if (!ext || full.endsWith(ext)) out.push(full);
56
+ }
57
+ }
58
+ }
59
+ return out.sort();
60
+ }
61
+
62
+ /**
63
+ * Minimal frontmatter detector. Returns whether a leading `--- ... ---` block
64
+ * exists and the top-level keys it declares (enough to check required fields;
65
+ * NOT a full YAML parser).
66
+ */
67
+ export function parseFrontmatter(text) {
68
+ const lines = text.split("\n");
69
+ if (lines[0].trim() !== "---") return { has: false, keys: [], body: text };
70
+ let closeIdx = -1;
71
+ for (let i = 1; i < lines.length; i += 1) {
72
+ if (lines[i].trim() === "---") {
73
+ closeIdx = i;
74
+ break;
75
+ }
76
+ }
77
+ if (closeIdx === -1) return { has: false, keys: [], body: text };
78
+ const keys = [];
79
+ for (let i = 1; i < closeIdx; i += 1) {
80
+ const m = lines[i].match(/^([A-Za-z][\w-]*):/);
81
+ if (m) keys.push(m[1]);
82
+ }
83
+ const body = lines.slice(closeIdx + 1).join("\n");
84
+ return { has: true, keys, body };
85
+ }
86
+
87
+ /**
88
+ * Extract internal markdown link targets ([txt](target)) — excludes external
89
+ * (http/https/mailto), anchors, and template tokens. Anchors are stripped.
90
+ */
91
+ export function extractMarkdownLinks(text) {
92
+ const targets = [];
93
+ const re = /\[[^\]]*\]\(([^)]+)\)/g;
94
+ let m;
95
+ while ((m = re.exec(text)) !== null) {
96
+ let target = m[1].trim();
97
+ if (!target || target.startsWith("#")) continue;
98
+ if (target.includes("{{") || target.includes("<") || target.includes(">"))
99
+ continue; // template token / placeholder / angle-bracket autolink
100
+ target = target.split(/\s+/)[0]; // drop optional link title: (url "title")
101
+ if (/^[a-z][a-z0-9+.-]*:\/\//i.test(target) || target.startsWith("mailto:"))
102
+ continue;
103
+ target = target.split("#")[0].trim();
104
+ if (target) targets.push(target);
105
+ }
106
+ return targets;
107
+ }
108
+
109
+ /** Extract plain-text `Source: <path>.md` citations that look like wiki paths. */
110
+ export function extractCitations(text) {
111
+ const cites = [];
112
+ const re = /Source:\s*([^\s)]+\.md)/g;
113
+ let m;
114
+ while ((m = re.exec(text)) !== null) {
115
+ const c = m[1];
116
+ if (c.includes("{{") || c.includes("<") || c.includes(">")) continue; // template token / placeholder example
117
+ cites.push(c);
118
+ }
119
+ return cites;
120
+ }
121
+
122
+ /** Convert a tiny glob (supporting ** and *) to a RegExp anchored full-match. */
123
+ export function globToRegExp(glob) {
124
+ let re = "^";
125
+ for (let i = 0; i < glob.length; i += 1) {
126
+ const c = glob[i];
127
+ if (c === "*") {
128
+ if (glob[i + 1] === "*") {
129
+ re += ".*";
130
+ i += 1;
131
+ if (glob[i + 1] === "/") i += 1; // consume trailing slash of **/
132
+ } else {
133
+ re += "[^/]*";
134
+ }
135
+ } else if ("\\^$+?.()|[]{}".includes(c)) {
136
+ re += `\\${c}`;
137
+ } else {
138
+ re += c;
139
+ }
140
+ }
141
+ re += "$";
142
+ return new RegExp(re);
143
+ }
144
+
145
+ /** Secret-detection patterns (kept minimal + high-signal). */
146
+ export const SECRET_PATTERNS = [
147
+ { name: "Slack token", re: /xox[pbar]-[A-Za-z0-9-]{10,}/ },
148
+ { name: "AWS access key", re: /AKIA[0-9A-Z]{16}/ },
149
+ {
150
+ name: "private key header",
151
+ re: /-----BEGIN (?:RSA |EC |OPENSSH |DSA |PGP )?PRIVATE KEY-----/,
152
+ },
153
+ { name: "bearer token", re: /bearer\s+[A-Za-z0-9._-]{20,}/i },
154
+ {
155
+ name: "client secret assignment",
156
+ re: /client_secret["'\s:=]+[A-Za-z0-9._-]{16,}/i,
157
+ },
158
+ ];
159
+
160
+ /** Text-ish file extensions allowed inside a wiki (others flagged as binaries). */
161
+ export const TEXT_EXTS = new Set([
162
+ ".md",
163
+ ".mdx",
164
+ ".json",
165
+ ".jsonl",
166
+ ".txt",
167
+ ".yml",
168
+ ".yaml",
169
+ ".toml",
170
+ ".csv",
171
+ ".tsv",
172
+ ".svg",
173
+ ".gitkeep",
174
+ ]);
175
+
176
+ /** Severity-tagged result accumulator. */
177
+ export function makeReport() {
178
+ const items = [];
179
+ return {
180
+ add(group, id, status, message, file) {
181
+ items.push({ group, id, status, message, ...(file ? { file } : {}) });
182
+ },
183
+ items,
184
+ };
185
+ }
@@ -0,0 +1,116 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * diff-guard.mjs — enforce a connector's touched-file boundary. Dependency-free
4
+ * (git + Node built-ins).
5
+ *
6
+ * Run AFTER a connector returns and BEFORE the kernel synthesizes: a connector may
7
+ * write ONLY its declared source-note path(s) and run-metadata. Any repo change
8
+ * outside the allowed globs is a hard failure (this is what makes "source-note only"
9
+ * enforceable, not aspirational). Writes outside the repo (e.g. external-write to a
10
+ * remote system) are not git-visible and so are not policed here.
11
+ *
12
+ * The change set ALWAYS includes untracked files (connectors create new files), so a
13
+ * stray new file can never bypass the guard. `--base <ref>` additionally unions a
14
+ * committed range. Paths are read NUL-safe to handle renames/quoting.
15
+ *
16
+ * Usage: node diff-guard.mjs --allow <glob> [--allow <glob>...] [--base <ref>]
17
+ * Exit 0 = all changes within allowed globs, 1 = out-of-bounds change (or git error).
18
+ */
19
+ import { execFileSync } from "node:child_process";
20
+ import { globToRegExp } from "./_wiki-lib.mjs";
21
+
22
+ function fail(msg) {
23
+ console.error(`✗ ${msg}`);
24
+ process.exit(1);
25
+ }
26
+
27
+ const argv = process.argv.slice(2);
28
+ const allows = [];
29
+ let base;
30
+ for (let i = 0; i < argv.length; i += 1) {
31
+ const a = argv[i];
32
+ if (a === "--allow") {
33
+ const v = argv[i + 1];
34
+ if (!v || v.startsWith("--")) fail("--allow requires a glob argument");
35
+ allows.push(v);
36
+ i += 1;
37
+ } else if (a === "--base") {
38
+ const v = argv[i + 1];
39
+ if (!v || v.startsWith("--")) fail("--base requires a ref argument");
40
+ base = v;
41
+ i += 1;
42
+ } else {
43
+ fail(`unknown argument: ${a}`);
44
+ }
45
+ }
46
+
47
+ if (allows.length === 0) {
48
+ fail(
49
+ "diff-guard requires at least one --allow <glob> (the connector's permitted paths)"
50
+ );
51
+ }
52
+
53
+ function git(args) {
54
+ return execFileSync("git", args, { encoding: "utf8" });
55
+ }
56
+
57
+ let repoRoot;
58
+ try {
59
+ repoRoot = git(["rev-parse", "--show-toplevel"]).trim();
60
+ } catch {
61
+ fail("not inside a git repository");
62
+ }
63
+ const inRepo = args => ["-C", repoRoot, ...args];
64
+
65
+ // Working-tree change set, NUL-safe, including untracked files. Renames/copies
66
+ // (status starts with R/C) emit the destination then the source as separate NUL
67
+ // records — include both so neither side can slip outside the allow-list.
68
+ function workingTreePaths() {
69
+ const out = git(
70
+ inRepo(["status", "--porcelain=v1", "-z", "--untracked-files=all"])
71
+ );
72
+ const records = out.split("\0");
73
+ const paths = [];
74
+ for (let i = 0; i < records.length; i += 1) {
75
+ const rec = records[i];
76
+ if (!rec) continue;
77
+ const status = rec.slice(0, 2);
78
+ const p = rec.slice(3);
79
+ if (p) paths.push(p);
80
+ if (status[0] === "R" || status[0] === "C") {
81
+ i += 1;
82
+ if (records[i]) paths.push(records[i]);
83
+ }
84
+ }
85
+ return paths;
86
+ }
87
+
88
+ let changed = [];
89
+ try {
90
+ changed = workingTreePaths();
91
+ if (base) {
92
+ changed = changed.concat(
93
+ git(inRepo(["diff", "--name-only", "-z", base])).split("\0")
94
+ );
95
+ }
96
+ } catch (e) {
97
+ fail(`git failed: ${e.message}`);
98
+ }
99
+
100
+ changed = [...new Set(changed.map(s => s.trim()).filter(Boolean))];
101
+ const matchers = allows.map(globToRegExp);
102
+ const isAllowed = p => matchers.some(re => re.test(p));
103
+ const violations = changed.filter(p => !isAllowed(p));
104
+
105
+ if (violations.length > 0) {
106
+ console.error(
107
+ `✗ diff-guard: ${violations.length} change(s) outside the allowed connector paths:`
108
+ );
109
+ for (const v of violations) console.error(` - ${v}`);
110
+ console.error(` allowed: ${allows.join(", ")}`);
111
+ process.exit(1);
112
+ }
113
+
114
+ console.log(
115
+ `✓ diff-guard: ${changed.length} change(s) all within allowed paths (${allows.join(", ")}).`
116
+ );
@@ -0,0 +1,131 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * ensure-gitignore.mjs — merge the lisa-wiki gitignore block into the project's
4
+ * `.gitignore`, idempotently. Dependency-free.
5
+ *
6
+ * The block is delimited by `# BEGIN: AI GUARDRAILS WIKI` and
7
+ * `# END: AI GUARDRAILS WIKI` markers (see templates/wrapper-gitignore.txt).
8
+ * Behavior matches the base lisa plugin's copy-contents strategy
9
+ * (src/strategies/copy-contents.ts):
10
+ *
11
+ * - If the file is missing, create it with just the block.
12
+ * - If the block markers exist, replace the block in place.
13
+ * - If the markers don't exist, append the block to the end (preserving a
14
+ * trailing newline).
15
+ *
16
+ * Patterns outside the marker block are NEVER touched. Re-running produces no
17
+ * spurious diff once the file is in sync.
18
+ *
19
+ * Usage: node ensure-gitignore.mjs [--cwd <project-dir>] [--dry-run]
20
+ * default cwd: process.cwd()
21
+ * --dry-run prints the proposed merge result to stdout instead of writing
22
+ *
23
+ * Exit code 0 = ok (file was created, updated, or already in sync).
24
+ * Exit code 1 = error (e.g. template missing).
25
+ */
26
+ import fs from "node:fs";
27
+ import path from "node:path";
28
+ import { fileURLToPath } from "node:url";
29
+
30
+ const BEGIN_MARKER = "# BEGIN: AI GUARDRAILS WIKI";
31
+ const END_MARKER = "# END: AI GUARDRAILS WIKI";
32
+
33
+ function fail(msg) {
34
+ console.error(`✗ ${msg}`);
35
+ process.exit(1);
36
+ }
37
+
38
+ const scriptDir = path.dirname(fileURLToPath(import.meta.url));
39
+ const pluginRoot = path.dirname(scriptDir);
40
+ const templatePath = path.join(
41
+ pluginRoot,
42
+ "templates",
43
+ "wrapper-gitignore.txt"
44
+ );
45
+
46
+ const argv = process.argv.slice(2);
47
+ const cwdIndex = argv.indexOf("--cwd");
48
+ const projectDir =
49
+ cwdIndex !== -1 && argv[cwdIndex + 1]
50
+ ? path.resolve(argv[cwdIndex + 1])
51
+ : process.cwd();
52
+ const dryRun = argv.includes("--dry-run");
53
+
54
+ if (!fs.existsSync(templatePath)) {
55
+ fail(`template not found: ${templatePath}`);
56
+ }
57
+
58
+ const templateRaw = fs.readFileSync(templatePath, "utf8");
59
+ const block = extractBlock(templateRaw);
60
+ if (!block) {
61
+ fail(
62
+ `template at ${templatePath} does not contain the expected marker pair (${BEGIN_MARKER} / ${END_MARKER})`
63
+ );
64
+ }
65
+
66
+ const gitignorePath = path.join(projectDir, ".gitignore");
67
+ const existing = fs.existsSync(gitignorePath)
68
+ ? fs.readFileSync(gitignorePath, "utf8")
69
+ : null;
70
+
71
+ const merged = mergeBlock(existing, block);
72
+
73
+ if (existing !== null && merged === existing) {
74
+ console.log(`✓ .gitignore already in sync (${gitignorePath})`);
75
+ process.exit(0);
76
+ }
77
+
78
+ if (dryRun) {
79
+ process.stdout.write(merged);
80
+ process.exit(0);
81
+ }
82
+
83
+ fs.writeFileSync(gitignorePath, merged);
84
+ const verb = existing === null ? "created" : "updated";
85
+ console.log(`✓ ${verb} ${gitignorePath}`);
86
+ process.exit(0);
87
+
88
+ /**
89
+ * Pull the block (markers included) out of arbitrary text. Returns null when
90
+ * the marker pair is missing or out of order.
91
+ */
92
+ function extractBlock(text) {
93
+ const startIdx = text.indexOf(BEGIN_MARKER);
94
+ if (startIdx === -1) return null;
95
+ const endStart = text.indexOf(END_MARKER, startIdx + BEGIN_MARKER.length);
96
+ if (endStart === -1) return null;
97
+ const endIdx = endStart + END_MARKER.length;
98
+ return text.slice(startIdx, endIdx);
99
+ }
100
+
101
+ /**
102
+ * Merge a freshly-rendered block into the destination file content.
103
+ * - existing === null → return the block alone (file will be created)
104
+ * - existing has the markers → replace the block in place
105
+ * - existing lacks the markers → append the block at the end
106
+ * Always normalizes to exactly one trailing newline.
107
+ */
108
+ function mergeBlock(existing, freshBlock) {
109
+ if (existing === null) {
110
+ return `${freshBlock.trimEnd()}\n`;
111
+ }
112
+
113
+ const startIdx = existing.indexOf(BEGIN_MARKER);
114
+ if (startIdx !== -1) {
115
+ const endStart = existing.indexOf(
116
+ END_MARKER,
117
+ startIdx + BEGIN_MARKER.length
118
+ );
119
+ if (endStart !== -1) {
120
+ const endIdx = endStart + END_MARKER.length;
121
+ const before = existing.slice(0, startIdx);
122
+ const after = existing.slice(endIdx);
123
+ const trimmedAfter = after.startsWith("\n") ? after : `\n${after}`;
124
+ return `${before}${freshBlock.trimEnd()}${trimmedAfter}`;
125
+ }
126
+ }
127
+
128
+ // No marker pair in the destination — append.
129
+ const base = existing.endsWith("\n") ? existing : `${existing}\n`;
130
+ return `${base}\n${freshBlock.trimEnd()}\n`;
131
+ }
@@ -0,0 +1,189 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * ingest-git.mjs — git/PR-history connector. Dependency-free (git + optional gh).
4
+ * Read-only: it never checks out, fetches, or mutates the target repo.
5
+ *
6
+ * Writes a sanitized, dated source note under <source-dir> summarizing commits (and
7
+ * merged PRs, if `gh` is available) since the cursor, and emits a PROPOSED next cursor
8
+ * to --emit-meta. It does NOT advance final state — the kernel does that after
9
+ * verification (per the §7 connector contract).
10
+ *
11
+ * Usage:
12
+ * node ingest-git.mjs --repo <path> [--slug <name>] [--config <p>]
13
+ * [--source-dir <dir>] [--state <file>] [--emit-meta <file>]
14
+ */
15
+ import fs from "node:fs";
16
+ import path from "node:path";
17
+ import { execFileSync } from "node:child_process";
18
+ import { readJsonSafe, SECRET_PATTERNS } from "./_wiki-lib.mjs";
19
+
20
+ const argv = process.argv.slice(2);
21
+ const opt = (n, d) => {
22
+ const i = argv.indexOf(n);
23
+ return i !== -1 ? argv[i + 1] : d;
24
+ };
25
+ const repo = path.resolve(opt("--repo", "."));
26
+ const slug = opt("--slug", path.basename(repo));
27
+ const githubRepo = opt("--github-repo"); // owner/repo for PR history (else inferred via gh)
28
+ const fileSlug = slug.replace(/[^A-Za-z0-9_.-]+/g, "-"); // safe for filenames
29
+ const sourceDir = path.resolve(opt("--source-dir", "wiki/sources/git"));
30
+ const statePath = opt("--state");
31
+ const emitMeta = opt("--emit-meta");
32
+
33
+ const fail = m => {
34
+ console.error(`✗ ${m}`);
35
+ process.exit(1);
36
+ };
37
+ const git = args =>
38
+ execFileSync("git", ["-C", repo, ...args], { encoding: "utf8" }).trim();
39
+ const tryGit = args => {
40
+ try {
41
+ return git(args);
42
+ } catch {
43
+ return "";
44
+ }
45
+ };
46
+ const commitExists = c => {
47
+ try {
48
+ execFileSync("git", ["-C", repo, "cat-file", "-e", `${c}^{commit}`], {
49
+ stdio: "ignore",
50
+ });
51
+ return true;
52
+ } catch {
53
+ return false;
54
+ }
55
+ };
56
+ const redact = t =>
57
+ SECRET_PATTERNS.reduce(
58
+ (acc, { re }) => acc.replace(new RegExp(re, "g"), "[REDACTED]"),
59
+ t
60
+ );
61
+
62
+ if (
63
+ !fs.existsSync(path.join(repo, ".git")) &&
64
+ !tryGit(["rev-parse", "--is-inside-work-tree"])
65
+ ) {
66
+ fail(`not a git repository: ${repo}`);
67
+ }
68
+
69
+ const cursor = statePath ? (readJsonSafe(statePath)?.cursor ?? {}) : {};
70
+ const lastCommit = cursor.lastCommit;
71
+ const head = tryGit(["rev-parse", "HEAD"]);
72
+ if (!head) fail("could not resolve HEAD (empty repo?)");
73
+ if (lastCommit && !commitExists(lastCommit)) {
74
+ fail(
75
+ `cursor commit ${lastCommit} not found in ${repo}; refusing to silently re-window from HEAD`
76
+ );
77
+ }
78
+
79
+ const range = lastCommit ? `${lastCommit}..HEAD` : "HEAD";
80
+ const logLines = tryGit([
81
+ "log",
82
+ range,
83
+ "--pretty=format:%h\t%ad\t%s",
84
+ "--date=short",
85
+ ])
86
+ .split("\n")
87
+ .filter(Boolean);
88
+ const totalCommits = Number(tryGit(["rev-list", "--count", "HEAD"]) || "0");
89
+
90
+ // merged PRs via gh (optional, read-only); resolve the GitHub repo explicitly
91
+ let lastPr = cursor.lastPr ?? null;
92
+ let prSummary = "(no GitHub repo resolved — PR history skipped)";
93
+ let ghRepo = githubRepo;
94
+ if (!ghRepo) {
95
+ try {
96
+ ghRepo = execFileSync(
97
+ "gh",
98
+ ["repo", "view", "--json", "nameWithOwner", "-q", ".nameWithOwner"],
99
+ { cwd: repo, encoding: "utf8" }
100
+ ).trim();
101
+ } catch {
102
+ ghRepo = "";
103
+ }
104
+ }
105
+ if (ghRepo) {
106
+ try {
107
+ const prs = JSON.parse(
108
+ execFileSync(
109
+ "gh",
110
+ [
111
+ "pr",
112
+ "list",
113
+ "--repo",
114
+ ghRepo,
115
+ "--state",
116
+ "merged",
117
+ "--limit",
118
+ "20",
119
+ "--json",
120
+ "number,title,mergedAt",
121
+ ],
122
+ { cwd: repo, encoding: "utf8" }
123
+ )
124
+ );
125
+ if (prs.length) {
126
+ lastPr = prs[0].number;
127
+ prSummary = `${prs.length} recent merged PR(s) in ${ghRepo}; latest #${prs[0].number} "${prs[0].title}"`;
128
+ } else {
129
+ prSummary = `no merged PRs found in ${ghRepo}`;
130
+ }
131
+ } catch {
132
+ prSummary = `(gh pr list failed for ${ghRepo} — PR history skipped)`;
133
+ }
134
+ }
135
+
136
+ const date = new Date().toISOString().slice(0, 10);
137
+ const newCommits = logLines.length;
138
+ const notePath = path.join(sourceDir, `${date}-${fileSlug}-git.md`);
139
+ const note = `---
140
+ type: source
141
+ created: ${date}
142
+ updated: ${date}
143
+ related: []
144
+ sources: []
145
+ source_system: git
146
+ project: ${slug}
147
+ ---
148
+
149
+ # git history — ${slug} (${date})
150
+
151
+ - Repo: \`${repo}\`
152
+ - HEAD: \`${head}\`
153
+ - Total commits on HEAD: ${totalCommits}
154
+ - New commits since last ingest${lastCommit ? ` (\`${lastCommit}\`)` : " (first run)"}: ${newCommits}
155
+ - Merged PRs: ${prSummary}
156
+
157
+ ## New commits
158
+ ${
159
+ newCommits
160
+ ? logLines
161
+ .slice(0, 200)
162
+ .map(l => `- ${l.replace(/\t/g, " · ")}`)
163
+ .join("\n")
164
+ : "_(none)_"
165
+ }
166
+ `;
167
+
168
+ fs.mkdirSync(sourceDir, { recursive: true });
169
+ fs.writeFileSync(notePath, redact(note));
170
+
171
+ const meta = {
172
+ connector: "git",
173
+ profile: slug,
174
+ ranAt: new Date().toISOString(),
175
+ proposedCursor: { lastCommit: head, lastPr },
176
+ sourceNotes: [path.relative(process.cwd(), notePath)],
177
+ };
178
+ if (emitMeta) {
179
+ fs.mkdirSync(path.dirname(emitMeta), { recursive: true });
180
+ fs.writeFileSync(emitMeta, `${JSON.stringify(meta, null, 2)}\n`);
181
+ }
182
+
183
+ console.log(
184
+ `✓ git connector: ${newCommits} new commit(s) → ${path.relative(process.cwd(), notePath)}`
185
+ );
186
+ if (emitMeta)
187
+ console.log(
188
+ ` proposed cursor → ${path.relative(process.cwd(), emitMeta)} (kernel advances final state after verification)`
189
+ );