agentsys 5.0.3 → 5.2.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 (1248) hide show
  1. package/.claude-plugin/marketplace.json +109 -39
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/AGENTS.md +2 -14
  4. package/CHANGELOG.md +65 -5
  5. package/README.md +143 -44
  6. package/SECURITY.md +1 -1
  7. package/adapters/README.md +6 -6
  8. package/adapters/codex/README.md +3 -3
  9. package/adapters/codex/install.sh +2 -2
  10. package/adapters/opencode/README.md +3 -3
  11. package/adapters/opencode/install.sh +2 -2
  12. package/agent-knowledge/AGENTS.md +144 -5
  13. package/agent-knowledge/all-in-one-plus-modular-packages.md +576 -0
  14. package/agent-knowledge/cli-browser-automation-agents.md +936 -0
  15. package/agent-knowledge/github-org-project-management.md +319 -0
  16. package/agent-knowledge/github-org-structure-patterns.md +268 -0
  17. package/agent-knowledge/multi-product-org-docs.md +622 -0
  18. package/agent-knowledge/oss-org-naming-patterns.md +368 -0
  19. package/agent-knowledge/resources/all-in-one-plus-modular-packages-sources.json +310 -0
  20. package/agent-knowledge/resources/cli-browser-automation-agents-sources.json +428 -0
  21. package/agent-knowledge/resources/github-org-project-management-sources.json +239 -0
  22. package/agent-knowledge/resources/github-org-structure-patterns-sources.json +293 -0
  23. package/agent-knowledge/resources/multi-product-org-docs-sources.json +514 -0
  24. package/agent-knowledge/resources/oss-org-naming-patterns-sources.json +458 -0
  25. package/agent-knowledge/resources/skill-plugin-distribution-patterns-sources.json +290 -0
  26. package/agent-knowledge/resources/terminal-browsers-agent-automation-sources.json +758 -0
  27. package/agent-knowledge/resources/web-session-persistence-cli-agents-sources.json +528 -0
  28. package/agent-knowledge/skill-plugin-distribution-patterns.md +661 -0
  29. package/agent-knowledge/terminal-browsers-agent-automation.md +776 -0
  30. package/agent-knowledge/web-session-persistence-cli-agents.md +1352 -0
  31. package/bin/cli.js +1289 -18
  32. package/bin/dev-cli.js +15 -24
  33. package/lib/adapter-transforms.js +171 -7
  34. package/lib/cross-platform/index.js +7 -3
  35. package/lib/discovery/index.js +26 -1
  36. package/lib/index.js +2 -0
  37. package/lib/package.json +1 -1
  38. package/lib/patterns/cli-enhancers.js +11 -2
  39. package/lib/sources/policy-questions.js +76 -2
  40. package/lib/state/workflow-state.js +18 -7
  41. package/meta/skills/maintain-cross-platform/SKILL.md +1 -1
  42. package/package.json +4 -4
  43. package/scripts/bump-version.js +1 -6
  44. package/scripts/dev-install.js +1 -1
  45. package/scripts/fix-graduated-repos.js +288 -0
  46. package/scripts/gen-adapters.js +6 -7
  47. package/scripts/generate-docs.js +4 -2
  48. package/scripts/graduate-plugin.js +433 -0
  49. package/scripts/plugins.txt +1 -0
  50. package/scripts/preflight.js +19 -48
  51. package/scripts/scaffold.js +2 -2
  52. package/scripts/setup-hooks.js +2 -9
  53. package/scripts/stamp-version.js +3 -34
  54. package/scripts/validate-agent-skill-compliance.js +2 -0
  55. package/scripts/validate-counts.js +27 -0
  56. package/site/assets/css/design-system/base.css +151 -0
  57. package/site/assets/css/design-system/tokens.css +354 -0
  58. package/site/assets/css/tokens.css +5 -469
  59. package/site/content.json +13 -13
  60. package/site/index.html +14 -13
  61. package/site/ux-spec.md +7 -7
  62. package/adapters/codex/skills/agnix/SKILL.md +0 -138
  63. package/adapters/codex/skills/audit-project/SKILL.md +0 -334
  64. package/adapters/codex/skills/audit-project-agents/SKILL.md +0 -459
  65. package/adapters/codex/skills/audit-project-github/SKILL.md +0 -146
  66. package/adapters/codex/skills/consult/SKILL.md +0 -245
  67. package/adapters/codex/skills/delivery-approval/SKILL.md +0 -339
  68. package/adapters/codex/skills/deslop/SKILL.md +0 -167
  69. package/adapters/codex/skills/drift-detect/SKILL.md +0 -268
  70. package/adapters/codex/skills/enhance/SKILL.md +0 -177
  71. package/adapters/codex/skills/learn/SKILL.md +0 -188
  72. package/adapters/codex/skills/next-task/SKILL.md +0 -546
  73. package/adapters/codex/skills/perf/SKILL.md +0 -469
  74. package/adapters/codex/skills/repo-map/SKILL.md +0 -132
  75. package/adapters/codex/skills/ship/SKILL.md +0 -491
  76. package/adapters/codex/skills/ship-ci-review-loop/SKILL.md +0 -473
  77. package/adapters/codex/skills/ship-deployment/SKILL.md +0 -336
  78. package/adapters/codex/skills/ship-error-handling/SKILL.md +0 -260
  79. package/adapters/codex/skills/sync-docs/SKILL.md +0 -186
  80. package/adapters/opencode/agents/agent-enhancer.md +0 -65
  81. package/adapters/opencode/agents/agnix-agent.md +0 -56
  82. package/adapters/opencode/agents/ci-fixer.md +0 -104
  83. package/adapters/opencode/agents/ci-monitor.md +0 -127
  84. package/adapters/opencode/agents/claudemd-enhancer.md +0 -66
  85. package/adapters/opencode/agents/consult-agent.md +0 -124
  86. package/adapters/opencode/agents/cross-file-enhancer.md +0 -54
  87. package/adapters/opencode/agents/delivery-validator.md +0 -115
  88. package/adapters/opencode/agents/deslop-agent.md +0 -88
  89. package/adapters/opencode/agents/docs-enhancer.md +0 -65
  90. package/adapters/opencode/agents/exploration-agent.md +0 -143
  91. package/adapters/opencode/agents/hooks-enhancer.md +0 -66
  92. package/adapters/opencode/agents/implementation-agent.md +0 -206
  93. package/adapters/opencode/agents/learn-agent.md +0 -279
  94. package/adapters/opencode/agents/map-validator.md +0 -65
  95. package/adapters/opencode/agents/perf-analyzer.md +0 -40
  96. package/adapters/opencode/agents/perf-code-paths.md +0 -12
  97. package/adapters/opencode/agents/perf-investigation-logger.md +0 -44
  98. package/adapters/opencode/agents/perf-orchestrator.md +0 -147
  99. package/adapters/opencode/agents/perf-theory-gatherer.md +0 -18
  100. package/adapters/opencode/agents/perf-theory-tester.md +0 -43
  101. package/adapters/opencode/agents/plan-synthesizer.md +0 -229
  102. package/adapters/opencode/agents/planning-agent.md +0 -235
  103. package/adapters/opencode/agents/plugin-enhancer.md +0 -64
  104. package/adapters/opencode/agents/prompt-enhancer.md +0 -58
  105. package/adapters/opencode/agents/simple-fixer.md +0 -107
  106. package/adapters/opencode/agents/skills-enhancer.md +0 -66
  107. package/adapters/opencode/agents/sync-docs-agent.md +0 -153
  108. package/adapters/opencode/agents/task-discoverer.md +0 -80
  109. package/adapters/opencode/agents/test-coverage-checker.md +0 -144
  110. package/adapters/opencode/agents/worktree-manager.md +0 -209
  111. package/adapters/opencode/commands/agnix.md +0 -106
  112. package/adapters/opencode/commands/audit-project-agents.md +0 -125
  113. package/adapters/opencode/commands/audit-project-github.md +0 -145
  114. package/adapters/opencode/commands/audit-project.md +0 -268
  115. package/adapters/opencode/commands/consult.md +0 -252
  116. package/adapters/opencode/commands/delivery-approval.md +0 -212
  117. package/adapters/opencode/commands/deslop.md +0 -132
  118. package/adapters/opencode/commands/drift-detect.md +0 -173
  119. package/adapters/opencode/commands/enhance.md +0 -183
  120. package/adapters/opencode/commands/learn.md +0 -116
  121. package/adapters/opencode/commands/next-task.md +0 -393
  122. package/adapters/opencode/commands/perf.md +0 -49
  123. package/adapters/opencode/commands/repo-map.md +0 -69
  124. package/adapters/opencode/commands/ship-ci-review-loop.md +0 -334
  125. package/adapters/opencode/commands/ship-deployment.md +0 -336
  126. package/adapters/opencode/commands/ship-error-handling.md +0 -248
  127. package/adapters/opencode/commands/ship.md +0 -371
  128. package/adapters/opencode/commands/sync-docs.md +0 -108
  129. package/adapters/opencode/skills/agnix/SKILL.md +0 -139
  130. package/adapters/opencode/skills/consult/SKILL.md +0 -308
  131. package/adapters/opencode/skills/deslop/SKILL.md +0 -169
  132. package/adapters/opencode/skills/discover-tasks/SKILL.md +0 -102
  133. package/adapters/opencode/skills/drift-analysis/SKILL.md +0 -279
  134. package/adapters/opencode/skills/enhance-agent-prompts/SKILL.md +0 -279
  135. package/adapters/opencode/skills/enhance-claude-memory/SKILL.md +0 -390
  136. package/adapters/opencode/skills/enhance-cross-file/SKILL.md +0 -112
  137. package/adapters/opencode/skills/enhance-docs/SKILL.md +0 -288
  138. package/adapters/opencode/skills/enhance-hooks/SKILL.md +0 -557
  139. package/adapters/opencode/skills/enhance-orchestrator/SKILL.md +0 -114
  140. package/adapters/opencode/skills/enhance-plugins/SKILL.md +0 -314
  141. package/adapters/opencode/skills/enhance-prompts/SKILL.md +0 -341
  142. package/adapters/opencode/skills/enhance-skills/SKILL.md +0 -443
  143. package/adapters/opencode/skills/learn/SKILL.md +0 -352
  144. package/adapters/opencode/skills/orchestrate-review/SKILL.md +0 -95
  145. package/adapters/opencode/skills/perf-analyzer/SKILL.md +0 -38
  146. package/adapters/opencode/skills/perf-baseline-manager/SKILL.md +0 -31
  147. package/adapters/opencode/skills/perf-benchmarker/SKILL.md +0 -49
  148. package/adapters/opencode/skills/perf-code-paths/SKILL.md +0 -33
  149. package/adapters/opencode/skills/perf-investigation-logger/SKILL.md +0 -42
  150. package/adapters/opencode/skills/perf-profiler/SKILL.md +0 -39
  151. package/adapters/opencode/skills/perf-theory-gatherer/SKILL.md +0 -36
  152. package/adapters/opencode/skills/perf-theory-tester/SKILL.md +0 -37
  153. package/adapters/opencode/skills/repo-mapping/SKILL.md +0 -86
  154. package/adapters/opencode/skills/sync-docs/SKILL.md +0 -246
  155. package/adapters/opencode/skills/validate-delivery/SKILL.md +0 -112
  156. package/plugins/agnix/.claude-plugin/plugin.json +0 -22
  157. package/plugins/agnix/agents/agnix-agent.md +0 -56
  158. package/plugins/agnix/commands/agnix.md +0 -139
  159. package/plugins/agnix/skills/agnix/SKILL.md +0 -138
  160. package/plugins/audit-project/.claude-plugin/plugin.json +0 -20
  161. package/plugins/audit-project/commands/audit-project-agents.md +0 -458
  162. package/plugins/audit-project/commands/audit-project-github.md +0 -144
  163. package/plugins/audit-project/commands/audit-project.md +0 -336
  164. package/plugins/audit-project/lib/adapter-transforms.js +0 -278
  165. package/plugins/audit-project/lib/collectors/codebase.js +0 -392
  166. package/plugins/audit-project/lib/collectors/docs-patterns.js +0 -713
  167. package/plugins/audit-project/lib/collectors/documentation.js +0 -219
  168. package/plugins/audit-project/lib/collectors/github.js +0 -330
  169. package/plugins/audit-project/lib/collectors/index.js +0 -126
  170. package/plugins/audit-project/lib/config/index.js +0 -14
  171. package/plugins/audit-project/lib/cross-platform/index.js +0 -539
  172. package/plugins/audit-project/lib/discovery/index.js +0 -352
  173. package/plugins/audit-project/lib/drift-detect/collectors.js +0 -37
  174. package/plugins/audit-project/lib/enhance/agent-analyzer.js +0 -421
  175. package/plugins/audit-project/lib/enhance/agent-patterns.js +0 -571
  176. package/plugins/audit-project/lib/enhance/auto-suppression.js +0 -622
  177. package/plugins/audit-project/lib/enhance/benchmark.js +0 -417
  178. package/plugins/audit-project/lib/enhance/cross-file-analyzer.js +0 -930
  179. package/plugins/audit-project/lib/enhance/cross-file-patterns.js +0 -370
  180. package/plugins/audit-project/lib/enhance/docs-analyzer.js +0 -325
  181. package/plugins/audit-project/lib/enhance/docs-patterns.js +0 -671
  182. package/plugins/audit-project/lib/enhance/fixer.js +0 -721
  183. package/plugins/audit-project/lib/enhance/hook-analyzer.js +0 -135
  184. package/plugins/audit-project/lib/enhance/hook-patterns.js +0 -40
  185. package/plugins/audit-project/lib/enhance/index.js +0 -127
  186. package/plugins/audit-project/lib/enhance/plugin-analyzer.js +0 -402
  187. package/plugins/audit-project/lib/enhance/plugin-patterns.js +0 -326
  188. package/plugins/audit-project/lib/enhance/projectmemory-analyzer.js +0 -551
  189. package/plugins/audit-project/lib/enhance/projectmemory-patterns.js +0 -617
  190. package/plugins/audit-project/lib/enhance/prompt-analyzer.js +0 -457
  191. package/plugins/audit-project/lib/enhance/prompt-patterns.js +0 -1484
  192. package/plugins/audit-project/lib/enhance/reporter.js +0 -1348
  193. package/plugins/audit-project/lib/enhance/security-patterns.js +0 -284
  194. package/plugins/audit-project/lib/enhance/skill-analyzer.js +0 -182
  195. package/plugins/audit-project/lib/enhance/skill-patterns.js +0 -147
  196. package/plugins/audit-project/lib/enhance/suppression.js +0 -352
  197. package/plugins/audit-project/lib/enhance/tool-patterns.js +0 -373
  198. package/plugins/audit-project/lib/index.js +0 -270
  199. package/plugins/audit-project/lib/patterns/cli-enhancers.js +0 -611
  200. package/plugins/audit-project/lib/patterns/pipeline.js +0 -948
  201. package/plugins/audit-project/lib/patterns/review-patterns.js +0 -558
  202. package/plugins/audit-project/lib/patterns/slop-analyzers.js +0 -2305
  203. package/plugins/audit-project/lib/patterns/slop-patterns.js +0 -1187
  204. package/plugins/audit-project/lib/perf/analyzer/index.js +0 -22
  205. package/plugins/audit-project/lib/perf/argument-parser.js +0 -105
  206. package/plugins/audit-project/lib/perf/baseline-comparator.js +0 -50
  207. package/plugins/audit-project/lib/perf/baseline-store.js +0 -127
  208. package/plugins/audit-project/lib/perf/benchmark-runner.js +0 -404
  209. package/plugins/audit-project/lib/perf/breaking-point-finder.js +0 -52
  210. package/plugins/audit-project/lib/perf/breaking-point-runner.js +0 -60
  211. package/plugins/audit-project/lib/perf/checkpoint.js +0 -123
  212. package/plugins/audit-project/lib/perf/code-paths.js +0 -86
  213. package/plugins/audit-project/lib/perf/consolidation.js +0 -37
  214. package/plugins/audit-project/lib/perf/constraint-runner.js +0 -71
  215. package/plugins/audit-project/lib/perf/experiment-runner.js +0 -32
  216. package/plugins/audit-project/lib/perf/index.js +0 -41
  217. package/plugins/audit-project/lib/perf/investigation-state.js +0 -874
  218. package/plugins/audit-project/lib/perf/optimization-runner.js +0 -79
  219. package/plugins/audit-project/lib/perf/profilers/go.js +0 -22
  220. package/plugins/audit-project/lib/perf/profilers/index.js +0 -46
  221. package/plugins/audit-project/lib/perf/profilers/java.js +0 -23
  222. package/plugins/audit-project/lib/perf/profilers/node.js +0 -27
  223. package/plugins/audit-project/lib/perf/profilers/python.js +0 -23
  224. package/plugins/audit-project/lib/perf/profilers/rust.js +0 -23
  225. package/plugins/audit-project/lib/perf/profiling-runner.js +0 -75
  226. package/plugins/audit-project/lib/perf/schemas.js +0 -140
  227. package/plugins/audit-project/lib/platform/detect-platform.js +0 -413
  228. package/plugins/audit-project/lib/platform/detection-configs.js +0 -93
  229. package/plugins/audit-project/lib/platform/state-dir.js +0 -132
  230. package/plugins/audit-project/lib/platform/verify-tools.js +0 -182
  231. package/plugins/audit-project/lib/repo-map/cache.js +0 -152
  232. package/plugins/audit-project/lib/repo-map/concurrency.js +0 -29
  233. package/plugins/audit-project/lib/repo-map/index.js +0 -222
  234. package/plugins/audit-project/lib/repo-map/installer.js +0 -212
  235. package/plugins/audit-project/lib/repo-map/queries/go.js +0 -27
  236. package/plugins/audit-project/lib/repo-map/queries/index.js +0 -100
  237. package/plugins/audit-project/lib/repo-map/queries/java.js +0 -38
  238. package/plugins/audit-project/lib/repo-map/queries/javascript.js +0 -55
  239. package/plugins/audit-project/lib/repo-map/queries/python.js +0 -24
  240. package/plugins/audit-project/lib/repo-map/queries/rust.js +0 -73
  241. package/plugins/audit-project/lib/repo-map/queries/typescript.js +0 -38
  242. package/plugins/audit-project/lib/repo-map/runner.js +0 -1364
  243. package/plugins/audit-project/lib/repo-map/updater.js +0 -562
  244. package/plugins/audit-project/lib/repo-map/usage-analyzer.js +0 -407
  245. package/plugins/audit-project/lib/schemas/plugin-manifest.schema.json +0 -57
  246. package/plugins/audit-project/lib/schemas/validator.js +0 -247
  247. package/plugins/audit-project/lib/sources/custom-handler.js +0 -199
  248. package/plugins/audit-project/lib/sources/policy-questions.js +0 -246
  249. package/plugins/audit-project/lib/sources/source-cache.js +0 -165
  250. package/plugins/audit-project/lib/state/workflow-state.js +0 -576
  251. package/plugins/audit-project/lib/types/agent-frontmatter.d.ts +0 -134
  252. package/plugins/audit-project/lib/types/command-frontmatter.d.ts +0 -107
  253. package/plugins/audit-project/lib/types/hook-frontmatter.d.ts +0 -115
  254. package/plugins/audit-project/lib/types/index.d.ts +0 -84
  255. package/plugins/audit-project/lib/types/plugin-manifest.d.ts +0 -102
  256. package/plugins/audit-project/lib/types/skill-frontmatter.d.ts +0 -89
  257. package/plugins/audit-project/lib/utils/atomic-write.js +0 -94
  258. package/plugins/audit-project/lib/utils/cache-manager.js +0 -159
  259. package/plugins/audit-project/lib/utils/command-parser.js +0 -0
  260. package/plugins/audit-project/lib/utils/context-optimizer.js +0 -300
  261. package/plugins/audit-project/lib/utils/deprecation.js +0 -37
  262. package/plugins/audit-project/lib/utils/shell-escape.js +0 -88
  263. package/plugins/audit-project/lib/utils/state-helpers.js +0 -61
  264. package/plugins/consult/.claude-plugin/plugin.json +0 -24
  265. package/plugins/consult/agents/consult-agent.md +0 -129
  266. package/plugins/consult/commands/consult.md +0 -248
  267. package/plugins/consult/skills/consult/SKILL.md +0 -301
  268. package/plugins/deslop/.claude-plugin/plugin.json +0 -20
  269. package/plugins/deslop/agents/deslop-agent.md +0 -88
  270. package/plugins/deslop/commands/deslop.md +0 -168
  271. package/plugins/deslop/lib/adapter-transforms.js +0 -278
  272. package/plugins/deslop/lib/collectors/codebase.js +0 -392
  273. package/plugins/deslop/lib/collectors/docs-patterns.js +0 -713
  274. package/plugins/deslop/lib/collectors/documentation.js +0 -219
  275. package/plugins/deslop/lib/collectors/github.js +0 -330
  276. package/plugins/deslop/lib/collectors/index.js +0 -126
  277. package/plugins/deslop/lib/config/index.js +0 -14
  278. package/plugins/deslop/lib/cross-platform/index.js +0 -539
  279. package/plugins/deslop/lib/discovery/index.js +0 -352
  280. package/plugins/deslop/lib/drift-detect/collectors.js +0 -37
  281. package/plugins/deslop/lib/enhance/agent-analyzer.js +0 -421
  282. package/plugins/deslop/lib/enhance/agent-patterns.js +0 -571
  283. package/plugins/deslop/lib/enhance/auto-suppression.js +0 -622
  284. package/plugins/deslop/lib/enhance/benchmark.js +0 -417
  285. package/plugins/deslop/lib/enhance/cross-file-analyzer.js +0 -930
  286. package/plugins/deslop/lib/enhance/cross-file-patterns.js +0 -370
  287. package/plugins/deslop/lib/enhance/docs-analyzer.js +0 -325
  288. package/plugins/deslop/lib/enhance/docs-patterns.js +0 -671
  289. package/plugins/deslop/lib/enhance/fixer.js +0 -721
  290. package/plugins/deslop/lib/enhance/hook-analyzer.js +0 -135
  291. package/plugins/deslop/lib/enhance/hook-patterns.js +0 -40
  292. package/plugins/deslop/lib/enhance/index.js +0 -127
  293. package/plugins/deslop/lib/enhance/plugin-analyzer.js +0 -402
  294. package/plugins/deslop/lib/enhance/plugin-patterns.js +0 -326
  295. package/plugins/deslop/lib/enhance/projectmemory-analyzer.js +0 -551
  296. package/plugins/deslop/lib/enhance/projectmemory-patterns.js +0 -617
  297. package/plugins/deslop/lib/enhance/prompt-analyzer.js +0 -457
  298. package/plugins/deslop/lib/enhance/prompt-patterns.js +0 -1484
  299. package/plugins/deslop/lib/enhance/reporter.js +0 -1348
  300. package/plugins/deslop/lib/enhance/security-patterns.js +0 -284
  301. package/plugins/deslop/lib/enhance/skill-analyzer.js +0 -182
  302. package/plugins/deslop/lib/enhance/skill-patterns.js +0 -147
  303. package/plugins/deslop/lib/enhance/suppression.js +0 -352
  304. package/plugins/deslop/lib/enhance/tool-patterns.js +0 -373
  305. package/plugins/deslop/lib/index.js +0 -270
  306. package/plugins/deslop/lib/patterns/cli-enhancers.js +0 -611
  307. package/plugins/deslop/lib/patterns/pipeline.js +0 -948
  308. package/plugins/deslop/lib/patterns/review-patterns.js +0 -558
  309. package/plugins/deslop/lib/patterns/slop-analyzers.js +0 -2305
  310. package/plugins/deslop/lib/patterns/slop-patterns.js +0 -1187
  311. package/plugins/deslop/lib/perf/analyzer/index.js +0 -22
  312. package/plugins/deslop/lib/perf/argument-parser.js +0 -105
  313. package/plugins/deslop/lib/perf/baseline-comparator.js +0 -50
  314. package/plugins/deslop/lib/perf/baseline-store.js +0 -127
  315. package/plugins/deslop/lib/perf/benchmark-runner.js +0 -404
  316. package/plugins/deslop/lib/perf/breaking-point-finder.js +0 -52
  317. package/plugins/deslop/lib/perf/breaking-point-runner.js +0 -60
  318. package/plugins/deslop/lib/perf/checkpoint.js +0 -123
  319. package/plugins/deslop/lib/perf/code-paths.js +0 -86
  320. package/plugins/deslop/lib/perf/consolidation.js +0 -37
  321. package/plugins/deslop/lib/perf/constraint-runner.js +0 -71
  322. package/plugins/deslop/lib/perf/experiment-runner.js +0 -32
  323. package/plugins/deslop/lib/perf/index.js +0 -41
  324. package/plugins/deslop/lib/perf/investigation-state.js +0 -874
  325. package/plugins/deslop/lib/perf/optimization-runner.js +0 -79
  326. package/plugins/deslop/lib/perf/profilers/go.js +0 -22
  327. package/plugins/deslop/lib/perf/profilers/index.js +0 -46
  328. package/plugins/deslop/lib/perf/profilers/java.js +0 -23
  329. package/plugins/deslop/lib/perf/profilers/node.js +0 -27
  330. package/plugins/deslop/lib/perf/profilers/python.js +0 -23
  331. package/plugins/deslop/lib/perf/profilers/rust.js +0 -23
  332. package/plugins/deslop/lib/perf/profiling-runner.js +0 -75
  333. package/plugins/deslop/lib/perf/schemas.js +0 -140
  334. package/plugins/deslop/lib/platform/detect-platform.js +0 -413
  335. package/plugins/deslop/lib/platform/detection-configs.js +0 -93
  336. package/plugins/deslop/lib/platform/state-dir.js +0 -132
  337. package/plugins/deslop/lib/platform/verify-tools.js +0 -182
  338. package/plugins/deslop/lib/repo-map/cache.js +0 -152
  339. package/plugins/deslop/lib/repo-map/concurrency.js +0 -29
  340. package/plugins/deslop/lib/repo-map/index.js +0 -222
  341. package/plugins/deslop/lib/repo-map/installer.js +0 -212
  342. package/plugins/deslop/lib/repo-map/queries/go.js +0 -27
  343. package/plugins/deslop/lib/repo-map/queries/index.js +0 -100
  344. package/plugins/deslop/lib/repo-map/queries/java.js +0 -38
  345. package/plugins/deslop/lib/repo-map/queries/javascript.js +0 -55
  346. package/plugins/deslop/lib/repo-map/queries/python.js +0 -24
  347. package/plugins/deslop/lib/repo-map/queries/rust.js +0 -73
  348. package/plugins/deslop/lib/repo-map/queries/typescript.js +0 -38
  349. package/plugins/deslop/lib/repo-map/runner.js +0 -1364
  350. package/plugins/deslop/lib/repo-map/updater.js +0 -562
  351. package/plugins/deslop/lib/repo-map/usage-analyzer.js +0 -407
  352. package/plugins/deslop/lib/schemas/plugin-manifest.schema.json +0 -57
  353. package/plugins/deslop/lib/schemas/validator.js +0 -247
  354. package/plugins/deslop/lib/sources/custom-handler.js +0 -199
  355. package/plugins/deslop/lib/sources/policy-questions.js +0 -246
  356. package/plugins/deslop/lib/sources/source-cache.js +0 -165
  357. package/plugins/deslop/lib/state/workflow-state.js +0 -576
  358. package/plugins/deslop/lib/types/agent-frontmatter.d.ts +0 -134
  359. package/plugins/deslop/lib/types/command-frontmatter.d.ts +0 -107
  360. package/plugins/deslop/lib/types/hook-frontmatter.d.ts +0 -115
  361. package/plugins/deslop/lib/types/index.d.ts +0 -84
  362. package/plugins/deslop/lib/types/plugin-manifest.d.ts +0 -102
  363. package/plugins/deslop/lib/types/skill-frontmatter.d.ts +0 -89
  364. package/plugins/deslop/lib/utils/atomic-write.js +0 -94
  365. package/plugins/deslop/lib/utils/cache-manager.js +0 -159
  366. package/plugins/deslop/lib/utils/command-parser.js +0 -0
  367. package/plugins/deslop/lib/utils/context-optimizer.js +0 -300
  368. package/plugins/deslop/lib/utils/deprecation.js +0 -37
  369. package/plugins/deslop/lib/utils/shell-escape.js +0 -88
  370. package/plugins/deslop/lib/utils/state-helpers.js +0 -61
  371. package/plugins/deslop/references/slop-categories.md +0 -122
  372. package/plugins/deslop/scripts/detect.js +0 -134
  373. package/plugins/deslop/skills/deslop/SKILL.md +0 -204
  374. package/plugins/drift-detect/.claude-plugin/plugin.json +0 -23
  375. package/plugins/drift-detect/agents/plan-synthesizer.md +0 -225
  376. package/plugins/drift-detect/commands/drift-detect.md +0 -269
  377. package/plugins/drift-detect/lib/adapter-transforms.js +0 -278
  378. package/plugins/drift-detect/lib/collectors/codebase.js +0 -392
  379. package/plugins/drift-detect/lib/collectors/docs-patterns.js +0 -713
  380. package/plugins/drift-detect/lib/collectors/documentation.js +0 -219
  381. package/plugins/drift-detect/lib/collectors/github.js +0 -330
  382. package/plugins/drift-detect/lib/collectors/index.js +0 -126
  383. package/plugins/drift-detect/lib/config/index.js +0 -14
  384. package/plugins/drift-detect/lib/cross-platform/index.js +0 -539
  385. package/plugins/drift-detect/lib/discovery/index.js +0 -352
  386. package/plugins/drift-detect/lib/drift-detect/collectors.js +0 -37
  387. package/plugins/drift-detect/lib/enhance/agent-analyzer.js +0 -421
  388. package/plugins/drift-detect/lib/enhance/agent-patterns.js +0 -571
  389. package/plugins/drift-detect/lib/enhance/auto-suppression.js +0 -622
  390. package/plugins/drift-detect/lib/enhance/benchmark.js +0 -417
  391. package/plugins/drift-detect/lib/enhance/cross-file-analyzer.js +0 -930
  392. package/plugins/drift-detect/lib/enhance/cross-file-patterns.js +0 -370
  393. package/plugins/drift-detect/lib/enhance/docs-analyzer.js +0 -325
  394. package/plugins/drift-detect/lib/enhance/docs-patterns.js +0 -671
  395. package/plugins/drift-detect/lib/enhance/fixer.js +0 -721
  396. package/plugins/drift-detect/lib/enhance/hook-analyzer.js +0 -135
  397. package/plugins/drift-detect/lib/enhance/hook-patterns.js +0 -40
  398. package/plugins/drift-detect/lib/enhance/index.js +0 -127
  399. package/plugins/drift-detect/lib/enhance/plugin-analyzer.js +0 -402
  400. package/plugins/drift-detect/lib/enhance/plugin-patterns.js +0 -326
  401. package/plugins/drift-detect/lib/enhance/projectmemory-analyzer.js +0 -551
  402. package/plugins/drift-detect/lib/enhance/projectmemory-patterns.js +0 -617
  403. package/plugins/drift-detect/lib/enhance/prompt-analyzer.js +0 -457
  404. package/plugins/drift-detect/lib/enhance/prompt-patterns.js +0 -1484
  405. package/plugins/drift-detect/lib/enhance/reporter.js +0 -1348
  406. package/plugins/drift-detect/lib/enhance/security-patterns.js +0 -284
  407. package/plugins/drift-detect/lib/enhance/skill-analyzer.js +0 -182
  408. package/plugins/drift-detect/lib/enhance/skill-patterns.js +0 -147
  409. package/plugins/drift-detect/lib/enhance/suppression.js +0 -352
  410. package/plugins/drift-detect/lib/enhance/tool-patterns.js +0 -373
  411. package/plugins/drift-detect/lib/index.js +0 -270
  412. package/plugins/drift-detect/lib/patterns/cli-enhancers.js +0 -611
  413. package/plugins/drift-detect/lib/patterns/pipeline.js +0 -948
  414. package/plugins/drift-detect/lib/patterns/review-patterns.js +0 -558
  415. package/plugins/drift-detect/lib/patterns/slop-analyzers.js +0 -2305
  416. package/plugins/drift-detect/lib/patterns/slop-patterns.js +0 -1187
  417. package/plugins/drift-detect/lib/perf/analyzer/index.js +0 -22
  418. package/plugins/drift-detect/lib/perf/argument-parser.js +0 -105
  419. package/plugins/drift-detect/lib/perf/baseline-comparator.js +0 -50
  420. package/plugins/drift-detect/lib/perf/baseline-store.js +0 -127
  421. package/plugins/drift-detect/lib/perf/benchmark-runner.js +0 -404
  422. package/plugins/drift-detect/lib/perf/breaking-point-finder.js +0 -52
  423. package/plugins/drift-detect/lib/perf/breaking-point-runner.js +0 -60
  424. package/plugins/drift-detect/lib/perf/checkpoint.js +0 -123
  425. package/plugins/drift-detect/lib/perf/code-paths.js +0 -86
  426. package/plugins/drift-detect/lib/perf/consolidation.js +0 -37
  427. package/plugins/drift-detect/lib/perf/constraint-runner.js +0 -71
  428. package/plugins/drift-detect/lib/perf/experiment-runner.js +0 -32
  429. package/plugins/drift-detect/lib/perf/index.js +0 -41
  430. package/plugins/drift-detect/lib/perf/investigation-state.js +0 -874
  431. package/plugins/drift-detect/lib/perf/optimization-runner.js +0 -79
  432. package/plugins/drift-detect/lib/perf/profilers/go.js +0 -22
  433. package/plugins/drift-detect/lib/perf/profilers/index.js +0 -46
  434. package/plugins/drift-detect/lib/perf/profilers/java.js +0 -23
  435. package/plugins/drift-detect/lib/perf/profilers/node.js +0 -27
  436. package/plugins/drift-detect/lib/perf/profilers/python.js +0 -23
  437. package/plugins/drift-detect/lib/perf/profilers/rust.js +0 -23
  438. package/plugins/drift-detect/lib/perf/profiling-runner.js +0 -75
  439. package/plugins/drift-detect/lib/perf/schemas.js +0 -140
  440. package/plugins/drift-detect/lib/platform/detect-platform.js +0 -413
  441. package/plugins/drift-detect/lib/platform/detection-configs.js +0 -93
  442. package/plugins/drift-detect/lib/platform/state-dir.js +0 -132
  443. package/plugins/drift-detect/lib/platform/verify-tools.js +0 -182
  444. package/plugins/drift-detect/lib/repo-map/cache.js +0 -152
  445. package/plugins/drift-detect/lib/repo-map/concurrency.js +0 -29
  446. package/plugins/drift-detect/lib/repo-map/index.js +0 -222
  447. package/plugins/drift-detect/lib/repo-map/installer.js +0 -212
  448. package/plugins/drift-detect/lib/repo-map/queries/go.js +0 -27
  449. package/plugins/drift-detect/lib/repo-map/queries/index.js +0 -100
  450. package/plugins/drift-detect/lib/repo-map/queries/java.js +0 -38
  451. package/plugins/drift-detect/lib/repo-map/queries/javascript.js +0 -55
  452. package/plugins/drift-detect/lib/repo-map/queries/python.js +0 -24
  453. package/plugins/drift-detect/lib/repo-map/queries/rust.js +0 -73
  454. package/plugins/drift-detect/lib/repo-map/queries/typescript.js +0 -38
  455. package/plugins/drift-detect/lib/repo-map/runner.js +0 -1364
  456. package/plugins/drift-detect/lib/repo-map/updater.js +0 -562
  457. package/plugins/drift-detect/lib/repo-map/usage-analyzer.js +0 -407
  458. package/plugins/drift-detect/lib/schemas/plugin-manifest.schema.json +0 -57
  459. package/plugins/drift-detect/lib/schemas/validator.js +0 -247
  460. package/plugins/drift-detect/lib/sources/custom-handler.js +0 -199
  461. package/plugins/drift-detect/lib/sources/policy-questions.js +0 -246
  462. package/plugins/drift-detect/lib/sources/source-cache.js +0 -165
  463. package/plugins/drift-detect/lib/state/workflow-state.js +0 -576
  464. package/plugins/drift-detect/lib/types/agent-frontmatter.d.ts +0 -134
  465. package/plugins/drift-detect/lib/types/command-frontmatter.d.ts +0 -107
  466. package/plugins/drift-detect/lib/types/hook-frontmatter.d.ts +0 -115
  467. package/plugins/drift-detect/lib/types/index.d.ts +0 -84
  468. package/plugins/drift-detect/lib/types/plugin-manifest.d.ts +0 -102
  469. package/plugins/drift-detect/lib/types/skill-frontmatter.d.ts +0 -89
  470. package/plugins/drift-detect/lib/utils/atomic-write.js +0 -94
  471. package/plugins/drift-detect/lib/utils/cache-manager.js +0 -159
  472. package/plugins/drift-detect/lib/utils/command-parser.js +0 -0
  473. package/plugins/drift-detect/lib/utils/context-optimizer.js +0 -300
  474. package/plugins/drift-detect/lib/utils/deprecation.js +0 -37
  475. package/plugins/drift-detect/lib/utils/shell-escape.js +0 -88
  476. package/plugins/drift-detect/lib/utils/state-helpers.js +0 -61
  477. package/plugins/drift-detect/skills/drift-analysis/SKILL.md +0 -324
  478. package/plugins/enhance/.claude-plugin/plugin.json +0 -20
  479. package/plugins/enhance/agents/agent-enhancer.md +0 -64
  480. package/plugins/enhance/agents/claudemd-enhancer.md +0 -65
  481. package/plugins/enhance/agents/cross-file-enhancer.md +0 -54
  482. package/plugins/enhance/agents/docs-enhancer.md +0 -64
  483. package/plugins/enhance/agents/hooks-enhancer.md +0 -64
  484. package/plugins/enhance/agents/plugin-enhancer.md +0 -63
  485. package/plugins/enhance/agents/prompt-enhancer.md +0 -58
  486. package/plugins/enhance/agents/skills-enhancer.md +0 -64
  487. package/plugins/enhance/commands/enhance.md +0 -178
  488. package/plugins/enhance/lib/adapter-transforms.js +0 -278
  489. package/plugins/enhance/lib/collectors/codebase.js +0 -392
  490. package/plugins/enhance/lib/collectors/docs-patterns.js +0 -713
  491. package/plugins/enhance/lib/collectors/documentation.js +0 -219
  492. package/plugins/enhance/lib/collectors/github.js +0 -330
  493. package/plugins/enhance/lib/collectors/index.js +0 -126
  494. package/plugins/enhance/lib/config/index.js +0 -14
  495. package/plugins/enhance/lib/cross-platform/index.js +0 -539
  496. package/plugins/enhance/lib/discovery/index.js +0 -352
  497. package/plugins/enhance/lib/drift-detect/collectors.js +0 -37
  498. package/plugins/enhance/lib/enhance/agent-analyzer.js +0 -421
  499. package/plugins/enhance/lib/enhance/agent-patterns.js +0 -571
  500. package/plugins/enhance/lib/enhance/auto-suppression.js +0 -622
  501. package/plugins/enhance/lib/enhance/benchmark.js +0 -417
  502. package/plugins/enhance/lib/enhance/cross-file-analyzer.js +0 -930
  503. package/plugins/enhance/lib/enhance/cross-file-patterns.js +0 -370
  504. package/plugins/enhance/lib/enhance/docs-analyzer.js +0 -325
  505. package/plugins/enhance/lib/enhance/docs-patterns.js +0 -671
  506. package/plugins/enhance/lib/enhance/fixer.js +0 -721
  507. package/plugins/enhance/lib/enhance/hook-analyzer.js +0 -135
  508. package/plugins/enhance/lib/enhance/hook-patterns.js +0 -40
  509. package/plugins/enhance/lib/enhance/index.js +0 -127
  510. package/plugins/enhance/lib/enhance/plugin-analyzer.js +0 -402
  511. package/plugins/enhance/lib/enhance/plugin-patterns.js +0 -326
  512. package/plugins/enhance/lib/enhance/projectmemory-analyzer.js +0 -551
  513. package/plugins/enhance/lib/enhance/projectmemory-patterns.js +0 -617
  514. package/plugins/enhance/lib/enhance/prompt-analyzer.js +0 -457
  515. package/plugins/enhance/lib/enhance/prompt-patterns.js +0 -1484
  516. package/plugins/enhance/lib/enhance/reporter.js +0 -1348
  517. package/plugins/enhance/lib/enhance/security-patterns.js +0 -284
  518. package/plugins/enhance/lib/enhance/skill-analyzer.js +0 -182
  519. package/plugins/enhance/lib/enhance/skill-patterns.js +0 -147
  520. package/plugins/enhance/lib/enhance/suppression.js +0 -352
  521. package/plugins/enhance/lib/enhance/tool-patterns.js +0 -373
  522. package/plugins/enhance/lib/index.js +0 -270
  523. package/plugins/enhance/lib/patterns/cli-enhancers.js +0 -611
  524. package/plugins/enhance/lib/patterns/pipeline.js +0 -948
  525. package/plugins/enhance/lib/patterns/review-patterns.js +0 -558
  526. package/plugins/enhance/lib/patterns/slop-analyzers.js +0 -2305
  527. package/plugins/enhance/lib/patterns/slop-patterns.js +0 -1187
  528. package/plugins/enhance/lib/perf/analyzer/index.js +0 -22
  529. package/plugins/enhance/lib/perf/argument-parser.js +0 -105
  530. package/plugins/enhance/lib/perf/baseline-comparator.js +0 -50
  531. package/plugins/enhance/lib/perf/baseline-store.js +0 -127
  532. package/plugins/enhance/lib/perf/benchmark-runner.js +0 -404
  533. package/plugins/enhance/lib/perf/breaking-point-finder.js +0 -52
  534. package/plugins/enhance/lib/perf/breaking-point-runner.js +0 -60
  535. package/plugins/enhance/lib/perf/checkpoint.js +0 -123
  536. package/plugins/enhance/lib/perf/code-paths.js +0 -86
  537. package/plugins/enhance/lib/perf/consolidation.js +0 -37
  538. package/plugins/enhance/lib/perf/constraint-runner.js +0 -71
  539. package/plugins/enhance/lib/perf/experiment-runner.js +0 -32
  540. package/plugins/enhance/lib/perf/index.js +0 -41
  541. package/plugins/enhance/lib/perf/investigation-state.js +0 -874
  542. package/plugins/enhance/lib/perf/optimization-runner.js +0 -79
  543. package/plugins/enhance/lib/perf/profilers/go.js +0 -22
  544. package/plugins/enhance/lib/perf/profilers/index.js +0 -46
  545. package/plugins/enhance/lib/perf/profilers/java.js +0 -23
  546. package/plugins/enhance/lib/perf/profilers/node.js +0 -27
  547. package/plugins/enhance/lib/perf/profilers/python.js +0 -23
  548. package/plugins/enhance/lib/perf/profilers/rust.js +0 -23
  549. package/plugins/enhance/lib/perf/profiling-runner.js +0 -75
  550. package/plugins/enhance/lib/perf/schemas.js +0 -140
  551. package/plugins/enhance/lib/platform/detect-platform.js +0 -413
  552. package/plugins/enhance/lib/platform/detection-configs.js +0 -93
  553. package/plugins/enhance/lib/platform/state-dir.js +0 -132
  554. package/plugins/enhance/lib/platform/verify-tools.js +0 -182
  555. package/plugins/enhance/lib/repo-map/cache.js +0 -152
  556. package/plugins/enhance/lib/repo-map/concurrency.js +0 -29
  557. package/plugins/enhance/lib/repo-map/index.js +0 -222
  558. package/plugins/enhance/lib/repo-map/installer.js +0 -212
  559. package/plugins/enhance/lib/repo-map/queries/go.js +0 -27
  560. package/plugins/enhance/lib/repo-map/queries/index.js +0 -100
  561. package/plugins/enhance/lib/repo-map/queries/java.js +0 -38
  562. package/plugins/enhance/lib/repo-map/queries/javascript.js +0 -55
  563. package/plugins/enhance/lib/repo-map/queries/python.js +0 -24
  564. package/plugins/enhance/lib/repo-map/queries/rust.js +0 -73
  565. package/plugins/enhance/lib/repo-map/queries/typescript.js +0 -38
  566. package/plugins/enhance/lib/repo-map/runner.js +0 -1364
  567. package/plugins/enhance/lib/repo-map/updater.js +0 -562
  568. package/plugins/enhance/lib/repo-map/usage-analyzer.js +0 -407
  569. package/plugins/enhance/lib/schemas/plugin-manifest.schema.json +0 -57
  570. package/plugins/enhance/lib/schemas/validator.js +0 -247
  571. package/plugins/enhance/lib/sources/custom-handler.js +0 -199
  572. package/plugins/enhance/lib/sources/policy-questions.js +0 -246
  573. package/plugins/enhance/lib/sources/source-cache.js +0 -165
  574. package/plugins/enhance/lib/state/workflow-state.js +0 -576
  575. package/plugins/enhance/lib/types/agent-frontmatter.d.ts +0 -134
  576. package/plugins/enhance/lib/types/command-frontmatter.d.ts +0 -107
  577. package/plugins/enhance/lib/types/hook-frontmatter.d.ts +0 -115
  578. package/plugins/enhance/lib/types/index.d.ts +0 -84
  579. package/plugins/enhance/lib/types/plugin-manifest.d.ts +0 -102
  580. package/plugins/enhance/lib/types/skill-frontmatter.d.ts +0 -89
  581. package/plugins/enhance/lib/utils/atomic-write.js +0 -94
  582. package/plugins/enhance/lib/utils/cache-manager.js +0 -159
  583. package/plugins/enhance/lib/utils/command-parser.js +0 -0
  584. package/plugins/enhance/lib/utils/context-optimizer.js +0 -300
  585. package/plugins/enhance/lib/utils/deprecation.js +0 -37
  586. package/plugins/enhance/lib/utils/shell-escape.js +0 -88
  587. package/plugins/enhance/lib/utils/state-helpers.js +0 -61
  588. package/plugins/enhance/skills/enhance-agent-prompts/SKILL.md +0 -277
  589. package/plugins/enhance/skills/enhance-claude-memory/SKILL.md +0 -387
  590. package/plugins/enhance/skills/enhance-cross-file/SKILL.md +0 -110
  591. package/plugins/enhance/skills/enhance-docs/SKILL.md +0 -298
  592. package/plugins/enhance/skills/enhance-hooks/SKILL.md +0 -554
  593. package/plugins/enhance/skills/enhance-orchestrator/SKILL.md +0 -255
  594. package/plugins/enhance/skills/enhance-plugins/SKILL.md +0 -319
  595. package/plugins/enhance/skills/enhance-prompts/SKILL.md +0 -340
  596. package/plugins/enhance/skills/enhance-skills/SKILL.md +0 -436
  597. package/plugins/learn/.claude-plugin/plugin.json +0 -21
  598. package/plugins/learn/agents/learn-agent.md +0 -331
  599. package/plugins/learn/commands/learn.md +0 -190
  600. package/plugins/learn/lib/adapter-transforms.js +0 -278
  601. package/plugins/learn/lib/collectors/codebase.js +0 -392
  602. package/plugins/learn/lib/collectors/docs-patterns.js +0 -713
  603. package/plugins/learn/lib/collectors/documentation.js +0 -219
  604. package/plugins/learn/lib/collectors/github.js +0 -330
  605. package/plugins/learn/lib/collectors/index.js +0 -126
  606. package/plugins/learn/lib/config/index.js +0 -14
  607. package/plugins/learn/lib/cross-platform/index.js +0 -539
  608. package/plugins/learn/lib/discovery/index.js +0 -352
  609. package/plugins/learn/lib/drift-detect/collectors.js +0 -37
  610. package/plugins/learn/lib/enhance/agent-analyzer.js +0 -421
  611. package/plugins/learn/lib/enhance/agent-patterns.js +0 -571
  612. package/plugins/learn/lib/enhance/auto-suppression.js +0 -622
  613. package/plugins/learn/lib/enhance/benchmark.js +0 -417
  614. package/plugins/learn/lib/enhance/cross-file-analyzer.js +0 -930
  615. package/plugins/learn/lib/enhance/cross-file-patterns.js +0 -370
  616. package/plugins/learn/lib/enhance/docs-analyzer.js +0 -325
  617. package/plugins/learn/lib/enhance/docs-patterns.js +0 -671
  618. package/plugins/learn/lib/enhance/fixer.js +0 -721
  619. package/plugins/learn/lib/enhance/hook-analyzer.js +0 -135
  620. package/plugins/learn/lib/enhance/hook-patterns.js +0 -40
  621. package/plugins/learn/lib/enhance/index.js +0 -127
  622. package/plugins/learn/lib/enhance/plugin-analyzer.js +0 -402
  623. package/plugins/learn/lib/enhance/plugin-patterns.js +0 -326
  624. package/plugins/learn/lib/enhance/projectmemory-analyzer.js +0 -551
  625. package/plugins/learn/lib/enhance/projectmemory-patterns.js +0 -617
  626. package/plugins/learn/lib/enhance/prompt-analyzer.js +0 -457
  627. package/plugins/learn/lib/enhance/prompt-patterns.js +0 -1484
  628. package/plugins/learn/lib/enhance/reporter.js +0 -1348
  629. package/plugins/learn/lib/enhance/security-patterns.js +0 -284
  630. package/plugins/learn/lib/enhance/skill-analyzer.js +0 -182
  631. package/plugins/learn/lib/enhance/skill-patterns.js +0 -147
  632. package/plugins/learn/lib/enhance/suppression.js +0 -352
  633. package/plugins/learn/lib/enhance/tool-patterns.js +0 -373
  634. package/plugins/learn/lib/index.js +0 -270
  635. package/plugins/learn/lib/patterns/cli-enhancers.js +0 -611
  636. package/plugins/learn/lib/patterns/pipeline.js +0 -948
  637. package/plugins/learn/lib/patterns/review-patterns.js +0 -558
  638. package/plugins/learn/lib/patterns/slop-analyzers.js +0 -2305
  639. package/plugins/learn/lib/patterns/slop-patterns.js +0 -1187
  640. package/plugins/learn/lib/perf/analyzer/index.js +0 -22
  641. package/plugins/learn/lib/perf/argument-parser.js +0 -105
  642. package/plugins/learn/lib/perf/baseline-comparator.js +0 -50
  643. package/plugins/learn/lib/perf/baseline-store.js +0 -127
  644. package/plugins/learn/lib/perf/benchmark-runner.js +0 -404
  645. package/plugins/learn/lib/perf/breaking-point-finder.js +0 -52
  646. package/plugins/learn/lib/perf/breaking-point-runner.js +0 -60
  647. package/plugins/learn/lib/perf/checkpoint.js +0 -123
  648. package/plugins/learn/lib/perf/code-paths.js +0 -86
  649. package/plugins/learn/lib/perf/consolidation.js +0 -37
  650. package/plugins/learn/lib/perf/constraint-runner.js +0 -71
  651. package/plugins/learn/lib/perf/experiment-runner.js +0 -32
  652. package/plugins/learn/lib/perf/index.js +0 -41
  653. package/plugins/learn/lib/perf/investigation-state.js +0 -874
  654. package/plugins/learn/lib/perf/optimization-runner.js +0 -79
  655. package/plugins/learn/lib/perf/profilers/go.js +0 -22
  656. package/plugins/learn/lib/perf/profilers/index.js +0 -46
  657. package/plugins/learn/lib/perf/profilers/java.js +0 -23
  658. package/plugins/learn/lib/perf/profilers/node.js +0 -27
  659. package/plugins/learn/lib/perf/profilers/python.js +0 -23
  660. package/plugins/learn/lib/perf/profilers/rust.js +0 -23
  661. package/plugins/learn/lib/perf/profiling-runner.js +0 -75
  662. package/plugins/learn/lib/perf/schemas.js +0 -140
  663. package/plugins/learn/lib/platform/detect-platform.js +0 -413
  664. package/plugins/learn/lib/platform/detection-configs.js +0 -93
  665. package/plugins/learn/lib/platform/state-dir.js +0 -132
  666. package/plugins/learn/lib/platform/verify-tools.js +0 -182
  667. package/plugins/learn/lib/repo-map/cache.js +0 -152
  668. package/plugins/learn/lib/repo-map/concurrency.js +0 -29
  669. package/plugins/learn/lib/repo-map/index.js +0 -222
  670. package/plugins/learn/lib/repo-map/installer.js +0 -212
  671. package/plugins/learn/lib/repo-map/queries/go.js +0 -27
  672. package/plugins/learn/lib/repo-map/queries/index.js +0 -100
  673. package/plugins/learn/lib/repo-map/queries/java.js +0 -38
  674. package/plugins/learn/lib/repo-map/queries/javascript.js +0 -55
  675. package/plugins/learn/lib/repo-map/queries/python.js +0 -24
  676. package/plugins/learn/lib/repo-map/queries/rust.js +0 -73
  677. package/plugins/learn/lib/repo-map/queries/typescript.js +0 -38
  678. package/plugins/learn/lib/repo-map/runner.js +0 -1364
  679. package/plugins/learn/lib/repo-map/updater.js +0 -562
  680. package/plugins/learn/lib/repo-map/usage-analyzer.js +0 -407
  681. package/plugins/learn/lib/schemas/plugin-manifest.schema.json +0 -57
  682. package/plugins/learn/lib/schemas/validator.js +0 -247
  683. package/plugins/learn/lib/sources/custom-handler.js +0 -199
  684. package/plugins/learn/lib/sources/policy-questions.js +0 -246
  685. package/plugins/learn/lib/sources/source-cache.js +0 -165
  686. package/plugins/learn/lib/state/workflow-state.js +0 -576
  687. package/plugins/learn/lib/types/agent-frontmatter.d.ts +0 -134
  688. package/plugins/learn/lib/types/command-frontmatter.d.ts +0 -107
  689. package/plugins/learn/lib/types/hook-frontmatter.d.ts +0 -115
  690. package/plugins/learn/lib/types/index.d.ts +0 -84
  691. package/plugins/learn/lib/types/plugin-manifest.d.ts +0 -102
  692. package/plugins/learn/lib/types/skill-frontmatter.d.ts +0 -89
  693. package/plugins/learn/lib/utils/atomic-write.js +0 -94
  694. package/plugins/learn/lib/utils/cache-manager.js +0 -159
  695. package/plugins/learn/lib/utils/command-parser.js +0 -0
  696. package/plugins/learn/lib/utils/context-optimizer.js +0 -300
  697. package/plugins/learn/lib/utils/deprecation.js +0 -37
  698. package/plugins/learn/lib/utils/shell-escape.js +0 -88
  699. package/plugins/learn/lib/utils/state-helpers.js +0 -61
  700. package/plugins/learn/skills/learn/SKILL.md +0 -349
  701. package/plugins/next-task/.claude-plugin/plugin.json +0 -24
  702. package/plugins/next-task/agents/ci-fixer.md +0 -259
  703. package/plugins/next-task/agents/ci-monitor.md +0 -342
  704. package/plugins/next-task/agents/delivery-validator.md +0 -115
  705. package/plugins/next-task/agents/exploration-agent.md +0 -316
  706. package/plugins/next-task/agents/implementation-agent.md +0 -465
  707. package/plugins/next-task/agents/planning-agent.md +0 -377
  708. package/plugins/next-task/agents/simple-fixer.md +0 -139
  709. package/plugins/next-task/agents/task-discoverer.md +0 -89
  710. package/plugins/next-task/agents/test-coverage-checker.md +0 -451
  711. package/plugins/next-task/agents/worktree-manager.md +0 -257
  712. package/plugins/next-task/commands/delivery-approval.md +0 -341
  713. package/plugins/next-task/commands/next-task.md +0 -547
  714. package/plugins/next-task/hooks/hooks.json +0 -14
  715. package/plugins/next-task/lib/adapter-transforms.js +0 -278
  716. package/plugins/next-task/lib/collectors/codebase.js +0 -392
  717. package/plugins/next-task/lib/collectors/docs-patterns.js +0 -713
  718. package/plugins/next-task/lib/collectors/documentation.js +0 -219
  719. package/plugins/next-task/lib/collectors/github.js +0 -330
  720. package/plugins/next-task/lib/collectors/index.js +0 -126
  721. package/plugins/next-task/lib/config/index.js +0 -14
  722. package/plugins/next-task/lib/cross-platform/index.js +0 -539
  723. package/plugins/next-task/lib/discovery/index.js +0 -352
  724. package/plugins/next-task/lib/drift-detect/collectors.js +0 -37
  725. package/plugins/next-task/lib/enhance/agent-analyzer.js +0 -421
  726. package/plugins/next-task/lib/enhance/agent-patterns.js +0 -571
  727. package/plugins/next-task/lib/enhance/auto-suppression.js +0 -622
  728. package/plugins/next-task/lib/enhance/benchmark.js +0 -417
  729. package/plugins/next-task/lib/enhance/cross-file-analyzer.js +0 -930
  730. package/plugins/next-task/lib/enhance/cross-file-patterns.js +0 -370
  731. package/plugins/next-task/lib/enhance/docs-analyzer.js +0 -325
  732. package/plugins/next-task/lib/enhance/docs-patterns.js +0 -671
  733. package/plugins/next-task/lib/enhance/fixer.js +0 -721
  734. package/plugins/next-task/lib/enhance/hook-analyzer.js +0 -135
  735. package/plugins/next-task/lib/enhance/hook-patterns.js +0 -40
  736. package/plugins/next-task/lib/enhance/index.js +0 -127
  737. package/plugins/next-task/lib/enhance/plugin-analyzer.js +0 -402
  738. package/plugins/next-task/lib/enhance/plugin-patterns.js +0 -326
  739. package/plugins/next-task/lib/enhance/projectmemory-analyzer.js +0 -551
  740. package/plugins/next-task/lib/enhance/projectmemory-patterns.js +0 -617
  741. package/plugins/next-task/lib/enhance/prompt-analyzer.js +0 -457
  742. package/plugins/next-task/lib/enhance/prompt-patterns.js +0 -1484
  743. package/plugins/next-task/lib/enhance/reporter.js +0 -1348
  744. package/plugins/next-task/lib/enhance/security-patterns.js +0 -284
  745. package/plugins/next-task/lib/enhance/skill-analyzer.js +0 -182
  746. package/plugins/next-task/lib/enhance/skill-patterns.js +0 -147
  747. package/plugins/next-task/lib/enhance/suppression.js +0 -352
  748. package/plugins/next-task/lib/enhance/tool-patterns.js +0 -373
  749. package/plugins/next-task/lib/index.js +0 -270
  750. package/plugins/next-task/lib/patterns/cli-enhancers.js +0 -611
  751. package/plugins/next-task/lib/patterns/pipeline.js +0 -948
  752. package/plugins/next-task/lib/patterns/review-patterns.js +0 -558
  753. package/plugins/next-task/lib/patterns/slop-analyzers.js +0 -2305
  754. package/plugins/next-task/lib/patterns/slop-patterns.js +0 -1187
  755. package/plugins/next-task/lib/perf/analyzer/index.js +0 -22
  756. package/plugins/next-task/lib/perf/argument-parser.js +0 -105
  757. package/plugins/next-task/lib/perf/baseline-comparator.js +0 -50
  758. package/plugins/next-task/lib/perf/baseline-store.js +0 -127
  759. package/plugins/next-task/lib/perf/benchmark-runner.js +0 -404
  760. package/plugins/next-task/lib/perf/breaking-point-finder.js +0 -52
  761. package/plugins/next-task/lib/perf/breaking-point-runner.js +0 -60
  762. package/plugins/next-task/lib/perf/checkpoint.js +0 -123
  763. package/plugins/next-task/lib/perf/code-paths.js +0 -86
  764. package/plugins/next-task/lib/perf/consolidation.js +0 -37
  765. package/plugins/next-task/lib/perf/constraint-runner.js +0 -71
  766. package/plugins/next-task/lib/perf/experiment-runner.js +0 -32
  767. package/plugins/next-task/lib/perf/index.js +0 -41
  768. package/plugins/next-task/lib/perf/investigation-state.js +0 -874
  769. package/plugins/next-task/lib/perf/optimization-runner.js +0 -79
  770. package/plugins/next-task/lib/perf/profilers/go.js +0 -22
  771. package/plugins/next-task/lib/perf/profilers/index.js +0 -46
  772. package/plugins/next-task/lib/perf/profilers/java.js +0 -23
  773. package/plugins/next-task/lib/perf/profilers/node.js +0 -27
  774. package/plugins/next-task/lib/perf/profilers/python.js +0 -23
  775. package/plugins/next-task/lib/perf/profilers/rust.js +0 -23
  776. package/plugins/next-task/lib/perf/profiling-runner.js +0 -75
  777. package/plugins/next-task/lib/perf/schemas.js +0 -140
  778. package/plugins/next-task/lib/platform/detect-platform.js +0 -413
  779. package/plugins/next-task/lib/platform/detection-configs.js +0 -93
  780. package/plugins/next-task/lib/platform/state-dir.js +0 -132
  781. package/plugins/next-task/lib/platform/verify-tools.js +0 -182
  782. package/plugins/next-task/lib/repo-map/cache.js +0 -152
  783. package/plugins/next-task/lib/repo-map/concurrency.js +0 -29
  784. package/plugins/next-task/lib/repo-map/index.js +0 -222
  785. package/plugins/next-task/lib/repo-map/installer.js +0 -212
  786. package/plugins/next-task/lib/repo-map/queries/go.js +0 -27
  787. package/plugins/next-task/lib/repo-map/queries/index.js +0 -100
  788. package/plugins/next-task/lib/repo-map/queries/java.js +0 -38
  789. package/plugins/next-task/lib/repo-map/queries/javascript.js +0 -55
  790. package/plugins/next-task/lib/repo-map/queries/python.js +0 -24
  791. package/plugins/next-task/lib/repo-map/queries/rust.js +0 -73
  792. package/plugins/next-task/lib/repo-map/queries/typescript.js +0 -38
  793. package/plugins/next-task/lib/repo-map/runner.js +0 -1364
  794. package/plugins/next-task/lib/repo-map/updater.js +0 -562
  795. package/plugins/next-task/lib/repo-map/usage-analyzer.js +0 -407
  796. package/plugins/next-task/lib/schemas/plugin-manifest.schema.json +0 -57
  797. package/plugins/next-task/lib/schemas/validator.js +0 -247
  798. package/plugins/next-task/lib/sources/custom-handler.js +0 -199
  799. package/plugins/next-task/lib/sources/policy-questions.js +0 -246
  800. package/plugins/next-task/lib/sources/source-cache.js +0 -165
  801. package/plugins/next-task/lib/state/workflow-state.js +0 -576
  802. package/plugins/next-task/lib/types/agent-frontmatter.d.ts +0 -134
  803. package/plugins/next-task/lib/types/command-frontmatter.d.ts +0 -107
  804. package/plugins/next-task/lib/types/hook-frontmatter.d.ts +0 -115
  805. package/plugins/next-task/lib/types/index.d.ts +0 -84
  806. package/plugins/next-task/lib/types/plugin-manifest.d.ts +0 -102
  807. package/plugins/next-task/lib/types/skill-frontmatter.d.ts +0 -89
  808. package/plugins/next-task/lib/utils/atomic-write.js +0 -94
  809. package/plugins/next-task/lib/utils/cache-manager.js +0 -159
  810. package/plugins/next-task/lib/utils/command-parser.js +0 -0
  811. package/plugins/next-task/lib/utils/context-optimizer.js +0 -300
  812. package/plugins/next-task/lib/utils/deprecation.js +0 -37
  813. package/plugins/next-task/lib/utils/shell-escape.js +0 -88
  814. package/plugins/next-task/lib/utils/state-helpers.js +0 -61
  815. package/plugins/next-task/skills/discover-tasks/SKILL.md +0 -191
  816. package/plugins/next-task/skills/orchestrate-review/SKILL.md +0 -239
  817. package/plugins/next-task/skills/validate-delivery/SKILL.md +0 -186
  818. package/plugins/perf/.claude-plugin/plugin.json +0 -20
  819. package/plugins/perf/agents/perf-analyzer.md +0 -43
  820. package/plugins/perf/agents/perf-code-paths.md +0 -16
  821. package/plugins/perf/agents/perf-investigation-logger.md +0 -47
  822. package/plugins/perf/agents/perf-orchestrator.md +0 -344
  823. package/plugins/perf/agents/perf-theory-gatherer.md +0 -25
  824. package/plugins/perf/agents/perf-theory-tester.md +0 -58
  825. package/plugins/perf/commands/perf.md +0 -470
  826. package/plugins/perf/hooks/checkpoint.md +0 -35
  827. package/plugins/perf/hooks/constraint-tester.md +0 -40
  828. package/plugins/perf/lib/adapter-transforms.js +0 -278
  829. package/plugins/perf/lib/collectors/codebase.js +0 -392
  830. package/plugins/perf/lib/collectors/docs-patterns.js +0 -713
  831. package/plugins/perf/lib/collectors/documentation.js +0 -219
  832. package/plugins/perf/lib/collectors/github.js +0 -330
  833. package/plugins/perf/lib/collectors/index.js +0 -126
  834. package/plugins/perf/lib/config/index.js +0 -14
  835. package/plugins/perf/lib/cross-platform/index.js +0 -539
  836. package/plugins/perf/lib/discovery/index.js +0 -352
  837. package/plugins/perf/lib/drift-detect/collectors.js +0 -37
  838. package/plugins/perf/lib/enhance/agent-analyzer.js +0 -421
  839. package/plugins/perf/lib/enhance/agent-patterns.js +0 -571
  840. package/plugins/perf/lib/enhance/auto-suppression.js +0 -622
  841. package/plugins/perf/lib/enhance/benchmark.js +0 -417
  842. package/plugins/perf/lib/enhance/cross-file-analyzer.js +0 -930
  843. package/plugins/perf/lib/enhance/cross-file-patterns.js +0 -370
  844. package/plugins/perf/lib/enhance/docs-analyzer.js +0 -325
  845. package/plugins/perf/lib/enhance/docs-patterns.js +0 -671
  846. package/plugins/perf/lib/enhance/fixer.js +0 -721
  847. package/plugins/perf/lib/enhance/hook-analyzer.js +0 -135
  848. package/plugins/perf/lib/enhance/hook-patterns.js +0 -40
  849. package/plugins/perf/lib/enhance/index.js +0 -127
  850. package/plugins/perf/lib/enhance/plugin-analyzer.js +0 -402
  851. package/plugins/perf/lib/enhance/plugin-patterns.js +0 -326
  852. package/plugins/perf/lib/enhance/projectmemory-analyzer.js +0 -551
  853. package/plugins/perf/lib/enhance/projectmemory-patterns.js +0 -617
  854. package/plugins/perf/lib/enhance/prompt-analyzer.js +0 -457
  855. package/plugins/perf/lib/enhance/prompt-patterns.js +0 -1484
  856. package/plugins/perf/lib/enhance/reporter.js +0 -1348
  857. package/plugins/perf/lib/enhance/security-patterns.js +0 -284
  858. package/plugins/perf/lib/enhance/skill-analyzer.js +0 -182
  859. package/plugins/perf/lib/enhance/skill-patterns.js +0 -147
  860. package/plugins/perf/lib/enhance/suppression.js +0 -352
  861. package/plugins/perf/lib/enhance/tool-patterns.js +0 -373
  862. package/plugins/perf/lib/index.js +0 -270
  863. package/plugins/perf/lib/patterns/cli-enhancers.js +0 -611
  864. package/plugins/perf/lib/patterns/pipeline.js +0 -948
  865. package/plugins/perf/lib/patterns/review-patterns.js +0 -558
  866. package/plugins/perf/lib/patterns/slop-analyzers.js +0 -2305
  867. package/plugins/perf/lib/patterns/slop-patterns.js +0 -1187
  868. package/plugins/perf/lib/perf/analyzer/index.js +0 -22
  869. package/plugins/perf/lib/perf/argument-parser.js +0 -105
  870. package/plugins/perf/lib/perf/baseline-comparator.js +0 -50
  871. package/plugins/perf/lib/perf/baseline-store.js +0 -127
  872. package/plugins/perf/lib/perf/benchmark-runner.js +0 -404
  873. package/plugins/perf/lib/perf/breaking-point-finder.js +0 -52
  874. package/plugins/perf/lib/perf/breaking-point-runner.js +0 -60
  875. package/plugins/perf/lib/perf/checkpoint.js +0 -123
  876. package/plugins/perf/lib/perf/code-paths.js +0 -86
  877. package/plugins/perf/lib/perf/consolidation.js +0 -37
  878. package/plugins/perf/lib/perf/constraint-runner.js +0 -71
  879. package/plugins/perf/lib/perf/experiment-runner.js +0 -32
  880. package/plugins/perf/lib/perf/index.js +0 -41
  881. package/plugins/perf/lib/perf/investigation-state.js +0 -874
  882. package/plugins/perf/lib/perf/optimization-runner.js +0 -79
  883. package/plugins/perf/lib/perf/profilers/go.js +0 -22
  884. package/plugins/perf/lib/perf/profilers/index.js +0 -46
  885. package/plugins/perf/lib/perf/profilers/java.js +0 -23
  886. package/plugins/perf/lib/perf/profilers/node.js +0 -27
  887. package/plugins/perf/lib/perf/profilers/python.js +0 -23
  888. package/plugins/perf/lib/perf/profilers/rust.js +0 -23
  889. package/plugins/perf/lib/perf/profiling-runner.js +0 -75
  890. package/plugins/perf/lib/perf/schemas.js +0 -140
  891. package/plugins/perf/lib/platform/detect-platform.js +0 -413
  892. package/plugins/perf/lib/platform/detection-configs.js +0 -93
  893. package/plugins/perf/lib/platform/state-dir.js +0 -132
  894. package/plugins/perf/lib/platform/verify-tools.js +0 -182
  895. package/plugins/perf/lib/repo-map/cache.js +0 -152
  896. package/plugins/perf/lib/repo-map/concurrency.js +0 -29
  897. package/plugins/perf/lib/repo-map/index.js +0 -222
  898. package/plugins/perf/lib/repo-map/installer.js +0 -212
  899. package/plugins/perf/lib/repo-map/queries/go.js +0 -27
  900. package/plugins/perf/lib/repo-map/queries/index.js +0 -100
  901. package/plugins/perf/lib/repo-map/queries/java.js +0 -38
  902. package/plugins/perf/lib/repo-map/queries/javascript.js +0 -55
  903. package/plugins/perf/lib/repo-map/queries/python.js +0 -24
  904. package/plugins/perf/lib/repo-map/queries/rust.js +0 -73
  905. package/plugins/perf/lib/repo-map/queries/typescript.js +0 -38
  906. package/plugins/perf/lib/repo-map/runner.js +0 -1364
  907. package/plugins/perf/lib/repo-map/updater.js +0 -562
  908. package/plugins/perf/lib/repo-map/usage-analyzer.js +0 -407
  909. package/plugins/perf/lib/schemas/plugin-manifest.schema.json +0 -57
  910. package/plugins/perf/lib/schemas/validator.js +0 -247
  911. package/plugins/perf/lib/sources/custom-handler.js +0 -199
  912. package/plugins/perf/lib/sources/policy-questions.js +0 -246
  913. package/plugins/perf/lib/sources/source-cache.js +0 -165
  914. package/plugins/perf/lib/state/workflow-state.js +0 -576
  915. package/plugins/perf/lib/types/agent-frontmatter.d.ts +0 -134
  916. package/plugins/perf/lib/types/command-frontmatter.d.ts +0 -107
  917. package/plugins/perf/lib/types/hook-frontmatter.d.ts +0 -115
  918. package/plugins/perf/lib/types/index.d.ts +0 -84
  919. package/plugins/perf/lib/types/plugin-manifest.d.ts +0 -102
  920. package/plugins/perf/lib/types/skill-frontmatter.d.ts +0 -89
  921. package/plugins/perf/lib/utils/atomic-write.js +0 -94
  922. package/plugins/perf/lib/utils/cache-manager.js +0 -159
  923. package/plugins/perf/lib/utils/command-parser.js +0 -0
  924. package/plugins/perf/lib/utils/context-optimizer.js +0 -300
  925. package/plugins/perf/lib/utils/deprecation.js +0 -37
  926. package/plugins/perf/lib/utils/shell-escape.js +0 -88
  927. package/plugins/perf/lib/utils/state-helpers.js +0 -61
  928. package/plugins/perf/skills/perf-analyzer/SKILL.md +0 -37
  929. package/plugins/perf/skills/perf-baseline-manager/SKILL.md +0 -30
  930. package/plugins/perf/skills/perf-benchmarker/SKILL.md +0 -52
  931. package/plugins/perf/skills/perf-code-paths/SKILL.md +0 -32
  932. package/plugins/perf/skills/perf-investigation-logger/SKILL.md +0 -41
  933. package/plugins/perf/skills/perf-profiler/SKILL.md +0 -42
  934. package/plugins/perf/skills/perf-theory-gatherer/SKILL.md +0 -35
  935. package/plugins/perf/skills/perf-theory-tester/SKILL.md +0 -36
  936. package/plugins/repo-map/.claude-plugin/plugin.json +0 -22
  937. package/plugins/repo-map/agents/map-validator.md +0 -60
  938. package/plugins/repo-map/commands/repo-map.md +0 -133
  939. package/plugins/repo-map/lib/adapter-transforms.js +0 -278
  940. package/plugins/repo-map/lib/collectors/codebase.js +0 -392
  941. package/plugins/repo-map/lib/collectors/docs-patterns.js +0 -713
  942. package/plugins/repo-map/lib/collectors/documentation.js +0 -219
  943. package/plugins/repo-map/lib/collectors/github.js +0 -330
  944. package/plugins/repo-map/lib/collectors/index.js +0 -126
  945. package/plugins/repo-map/lib/config/index.js +0 -14
  946. package/plugins/repo-map/lib/cross-platform/index.js +0 -539
  947. package/plugins/repo-map/lib/discovery/index.js +0 -352
  948. package/plugins/repo-map/lib/drift-detect/collectors.js +0 -37
  949. package/plugins/repo-map/lib/enhance/agent-analyzer.js +0 -421
  950. package/plugins/repo-map/lib/enhance/agent-patterns.js +0 -571
  951. package/plugins/repo-map/lib/enhance/auto-suppression.js +0 -622
  952. package/plugins/repo-map/lib/enhance/benchmark.js +0 -417
  953. package/plugins/repo-map/lib/enhance/cross-file-analyzer.js +0 -930
  954. package/plugins/repo-map/lib/enhance/cross-file-patterns.js +0 -370
  955. package/plugins/repo-map/lib/enhance/docs-analyzer.js +0 -325
  956. package/plugins/repo-map/lib/enhance/docs-patterns.js +0 -671
  957. package/plugins/repo-map/lib/enhance/fixer.js +0 -721
  958. package/plugins/repo-map/lib/enhance/hook-analyzer.js +0 -135
  959. package/plugins/repo-map/lib/enhance/hook-patterns.js +0 -40
  960. package/plugins/repo-map/lib/enhance/index.js +0 -127
  961. package/plugins/repo-map/lib/enhance/plugin-analyzer.js +0 -402
  962. package/plugins/repo-map/lib/enhance/plugin-patterns.js +0 -326
  963. package/plugins/repo-map/lib/enhance/projectmemory-analyzer.js +0 -551
  964. package/plugins/repo-map/lib/enhance/projectmemory-patterns.js +0 -617
  965. package/plugins/repo-map/lib/enhance/prompt-analyzer.js +0 -457
  966. package/plugins/repo-map/lib/enhance/prompt-patterns.js +0 -1484
  967. package/plugins/repo-map/lib/enhance/reporter.js +0 -1348
  968. package/plugins/repo-map/lib/enhance/security-patterns.js +0 -284
  969. package/plugins/repo-map/lib/enhance/skill-analyzer.js +0 -182
  970. package/plugins/repo-map/lib/enhance/skill-patterns.js +0 -147
  971. package/plugins/repo-map/lib/enhance/suppression.js +0 -352
  972. package/plugins/repo-map/lib/enhance/tool-patterns.js +0 -373
  973. package/plugins/repo-map/lib/index.js +0 -270
  974. package/plugins/repo-map/lib/patterns/cli-enhancers.js +0 -611
  975. package/plugins/repo-map/lib/patterns/pipeline.js +0 -948
  976. package/plugins/repo-map/lib/patterns/review-patterns.js +0 -558
  977. package/plugins/repo-map/lib/patterns/slop-analyzers.js +0 -2305
  978. package/plugins/repo-map/lib/patterns/slop-patterns.js +0 -1187
  979. package/plugins/repo-map/lib/perf/analyzer/index.js +0 -22
  980. package/plugins/repo-map/lib/perf/argument-parser.js +0 -105
  981. package/plugins/repo-map/lib/perf/baseline-comparator.js +0 -50
  982. package/plugins/repo-map/lib/perf/baseline-store.js +0 -127
  983. package/plugins/repo-map/lib/perf/benchmark-runner.js +0 -404
  984. package/plugins/repo-map/lib/perf/breaking-point-finder.js +0 -52
  985. package/plugins/repo-map/lib/perf/breaking-point-runner.js +0 -60
  986. package/plugins/repo-map/lib/perf/checkpoint.js +0 -123
  987. package/plugins/repo-map/lib/perf/code-paths.js +0 -86
  988. package/plugins/repo-map/lib/perf/consolidation.js +0 -37
  989. package/plugins/repo-map/lib/perf/constraint-runner.js +0 -71
  990. package/plugins/repo-map/lib/perf/experiment-runner.js +0 -32
  991. package/plugins/repo-map/lib/perf/index.js +0 -41
  992. package/plugins/repo-map/lib/perf/investigation-state.js +0 -874
  993. package/plugins/repo-map/lib/perf/optimization-runner.js +0 -79
  994. package/plugins/repo-map/lib/perf/profilers/go.js +0 -22
  995. package/plugins/repo-map/lib/perf/profilers/index.js +0 -46
  996. package/plugins/repo-map/lib/perf/profilers/java.js +0 -23
  997. package/plugins/repo-map/lib/perf/profilers/node.js +0 -27
  998. package/plugins/repo-map/lib/perf/profilers/python.js +0 -23
  999. package/plugins/repo-map/lib/perf/profilers/rust.js +0 -23
  1000. package/plugins/repo-map/lib/perf/profiling-runner.js +0 -75
  1001. package/plugins/repo-map/lib/perf/schemas.js +0 -140
  1002. package/plugins/repo-map/lib/platform/detect-platform.js +0 -413
  1003. package/plugins/repo-map/lib/platform/detection-configs.js +0 -93
  1004. package/plugins/repo-map/lib/platform/state-dir.js +0 -132
  1005. package/plugins/repo-map/lib/platform/verify-tools.js +0 -182
  1006. package/plugins/repo-map/lib/repo-map/cache.js +0 -152
  1007. package/plugins/repo-map/lib/repo-map/concurrency.js +0 -29
  1008. package/plugins/repo-map/lib/repo-map/index.js +0 -222
  1009. package/plugins/repo-map/lib/repo-map/installer.js +0 -212
  1010. package/plugins/repo-map/lib/repo-map/queries/go.js +0 -27
  1011. package/plugins/repo-map/lib/repo-map/queries/index.js +0 -100
  1012. package/plugins/repo-map/lib/repo-map/queries/java.js +0 -38
  1013. package/plugins/repo-map/lib/repo-map/queries/javascript.js +0 -55
  1014. package/plugins/repo-map/lib/repo-map/queries/python.js +0 -24
  1015. package/plugins/repo-map/lib/repo-map/queries/rust.js +0 -73
  1016. package/plugins/repo-map/lib/repo-map/queries/typescript.js +0 -38
  1017. package/plugins/repo-map/lib/repo-map/runner.js +0 -1364
  1018. package/plugins/repo-map/lib/repo-map/updater.js +0 -562
  1019. package/plugins/repo-map/lib/repo-map/usage-analyzer.js +0 -407
  1020. package/plugins/repo-map/lib/schemas/plugin-manifest.schema.json +0 -57
  1021. package/plugins/repo-map/lib/schemas/validator.js +0 -247
  1022. package/plugins/repo-map/lib/sources/custom-handler.js +0 -199
  1023. package/plugins/repo-map/lib/sources/policy-questions.js +0 -246
  1024. package/plugins/repo-map/lib/sources/source-cache.js +0 -165
  1025. package/plugins/repo-map/lib/state/workflow-state.js +0 -576
  1026. package/plugins/repo-map/lib/types/agent-frontmatter.d.ts +0 -134
  1027. package/plugins/repo-map/lib/types/command-frontmatter.d.ts +0 -107
  1028. package/plugins/repo-map/lib/types/hook-frontmatter.d.ts +0 -115
  1029. package/plugins/repo-map/lib/types/index.d.ts +0 -84
  1030. package/plugins/repo-map/lib/types/plugin-manifest.d.ts +0 -102
  1031. package/plugins/repo-map/lib/types/skill-frontmatter.d.ts +0 -89
  1032. package/plugins/repo-map/lib/utils/atomic-write.js +0 -94
  1033. package/plugins/repo-map/lib/utils/cache-manager.js +0 -159
  1034. package/plugins/repo-map/lib/utils/command-parser.js +0 -0
  1035. package/plugins/repo-map/lib/utils/context-optimizer.js +0 -300
  1036. package/plugins/repo-map/lib/utils/deprecation.js +0 -37
  1037. package/plugins/repo-map/lib/utils/shell-escape.js +0 -88
  1038. package/plugins/repo-map/lib/utils/state-helpers.js +0 -61
  1039. package/plugins/repo-map/skills/repo-mapping/SKILL.md +0 -83
  1040. package/plugins/ship/.claude-plugin/plugin.json +0 -21
  1041. package/plugins/ship/commands/ship-ci-review-loop.md +0 -472
  1042. package/plugins/ship/commands/ship-deployment.md +0 -335
  1043. package/plugins/ship/commands/ship-error-handling.md +0 -258
  1044. package/plugins/ship/commands/ship.md +0 -492
  1045. package/plugins/ship/lib/adapter-transforms.js +0 -278
  1046. package/plugins/ship/lib/collectors/codebase.js +0 -392
  1047. package/plugins/ship/lib/collectors/docs-patterns.js +0 -713
  1048. package/plugins/ship/lib/collectors/documentation.js +0 -219
  1049. package/plugins/ship/lib/collectors/github.js +0 -330
  1050. package/plugins/ship/lib/collectors/index.js +0 -126
  1051. package/plugins/ship/lib/config/index.js +0 -14
  1052. package/plugins/ship/lib/cross-platform/index.js +0 -539
  1053. package/plugins/ship/lib/discovery/index.js +0 -352
  1054. package/plugins/ship/lib/drift-detect/collectors.js +0 -37
  1055. package/plugins/ship/lib/enhance/agent-analyzer.js +0 -421
  1056. package/plugins/ship/lib/enhance/agent-patterns.js +0 -571
  1057. package/plugins/ship/lib/enhance/auto-suppression.js +0 -622
  1058. package/plugins/ship/lib/enhance/benchmark.js +0 -417
  1059. package/plugins/ship/lib/enhance/cross-file-analyzer.js +0 -930
  1060. package/plugins/ship/lib/enhance/cross-file-patterns.js +0 -370
  1061. package/plugins/ship/lib/enhance/docs-analyzer.js +0 -325
  1062. package/plugins/ship/lib/enhance/docs-patterns.js +0 -671
  1063. package/plugins/ship/lib/enhance/fixer.js +0 -721
  1064. package/plugins/ship/lib/enhance/hook-analyzer.js +0 -135
  1065. package/plugins/ship/lib/enhance/hook-patterns.js +0 -40
  1066. package/plugins/ship/lib/enhance/index.js +0 -127
  1067. package/plugins/ship/lib/enhance/plugin-analyzer.js +0 -402
  1068. package/plugins/ship/lib/enhance/plugin-patterns.js +0 -326
  1069. package/plugins/ship/lib/enhance/projectmemory-analyzer.js +0 -551
  1070. package/plugins/ship/lib/enhance/projectmemory-patterns.js +0 -617
  1071. package/plugins/ship/lib/enhance/prompt-analyzer.js +0 -457
  1072. package/plugins/ship/lib/enhance/prompt-patterns.js +0 -1484
  1073. package/plugins/ship/lib/enhance/reporter.js +0 -1348
  1074. package/plugins/ship/lib/enhance/security-patterns.js +0 -284
  1075. package/plugins/ship/lib/enhance/skill-analyzer.js +0 -182
  1076. package/plugins/ship/lib/enhance/skill-patterns.js +0 -147
  1077. package/plugins/ship/lib/enhance/suppression.js +0 -352
  1078. package/plugins/ship/lib/enhance/tool-patterns.js +0 -373
  1079. package/plugins/ship/lib/index.js +0 -270
  1080. package/plugins/ship/lib/patterns/cli-enhancers.js +0 -611
  1081. package/plugins/ship/lib/patterns/pipeline.js +0 -948
  1082. package/plugins/ship/lib/patterns/review-patterns.js +0 -558
  1083. package/plugins/ship/lib/patterns/slop-analyzers.js +0 -2305
  1084. package/plugins/ship/lib/patterns/slop-patterns.js +0 -1187
  1085. package/plugins/ship/lib/perf/analyzer/index.js +0 -22
  1086. package/plugins/ship/lib/perf/argument-parser.js +0 -105
  1087. package/plugins/ship/lib/perf/baseline-comparator.js +0 -50
  1088. package/plugins/ship/lib/perf/baseline-store.js +0 -127
  1089. package/plugins/ship/lib/perf/benchmark-runner.js +0 -404
  1090. package/plugins/ship/lib/perf/breaking-point-finder.js +0 -52
  1091. package/plugins/ship/lib/perf/breaking-point-runner.js +0 -60
  1092. package/plugins/ship/lib/perf/checkpoint.js +0 -123
  1093. package/plugins/ship/lib/perf/code-paths.js +0 -86
  1094. package/plugins/ship/lib/perf/consolidation.js +0 -37
  1095. package/plugins/ship/lib/perf/constraint-runner.js +0 -71
  1096. package/plugins/ship/lib/perf/experiment-runner.js +0 -32
  1097. package/plugins/ship/lib/perf/index.js +0 -41
  1098. package/plugins/ship/lib/perf/investigation-state.js +0 -874
  1099. package/plugins/ship/lib/perf/optimization-runner.js +0 -79
  1100. package/plugins/ship/lib/perf/profilers/go.js +0 -22
  1101. package/plugins/ship/lib/perf/profilers/index.js +0 -46
  1102. package/plugins/ship/lib/perf/profilers/java.js +0 -23
  1103. package/plugins/ship/lib/perf/profilers/node.js +0 -27
  1104. package/plugins/ship/lib/perf/profilers/python.js +0 -23
  1105. package/plugins/ship/lib/perf/profilers/rust.js +0 -23
  1106. package/plugins/ship/lib/perf/profiling-runner.js +0 -75
  1107. package/plugins/ship/lib/perf/schemas.js +0 -140
  1108. package/plugins/ship/lib/platform/detect-platform.js +0 -413
  1109. package/plugins/ship/lib/platform/detection-configs.js +0 -93
  1110. package/plugins/ship/lib/platform/state-dir.js +0 -132
  1111. package/plugins/ship/lib/platform/verify-tools.js +0 -182
  1112. package/plugins/ship/lib/repo-map/cache.js +0 -152
  1113. package/plugins/ship/lib/repo-map/concurrency.js +0 -29
  1114. package/plugins/ship/lib/repo-map/index.js +0 -222
  1115. package/plugins/ship/lib/repo-map/installer.js +0 -212
  1116. package/plugins/ship/lib/repo-map/queries/go.js +0 -27
  1117. package/plugins/ship/lib/repo-map/queries/index.js +0 -100
  1118. package/plugins/ship/lib/repo-map/queries/java.js +0 -38
  1119. package/plugins/ship/lib/repo-map/queries/javascript.js +0 -55
  1120. package/plugins/ship/lib/repo-map/queries/python.js +0 -24
  1121. package/plugins/ship/lib/repo-map/queries/rust.js +0 -73
  1122. package/plugins/ship/lib/repo-map/queries/typescript.js +0 -38
  1123. package/plugins/ship/lib/repo-map/runner.js +0 -1364
  1124. package/plugins/ship/lib/repo-map/updater.js +0 -562
  1125. package/plugins/ship/lib/repo-map/usage-analyzer.js +0 -407
  1126. package/plugins/ship/lib/schemas/plugin-manifest.schema.json +0 -57
  1127. package/plugins/ship/lib/schemas/validator.js +0 -247
  1128. package/plugins/ship/lib/sources/custom-handler.js +0 -199
  1129. package/plugins/ship/lib/sources/policy-questions.js +0 -246
  1130. package/plugins/ship/lib/sources/source-cache.js +0 -165
  1131. package/plugins/ship/lib/state/workflow-state.js +0 -576
  1132. package/plugins/ship/lib/types/agent-frontmatter.d.ts +0 -134
  1133. package/plugins/ship/lib/types/command-frontmatter.d.ts +0 -107
  1134. package/plugins/ship/lib/types/hook-frontmatter.d.ts +0 -115
  1135. package/plugins/ship/lib/types/index.d.ts +0 -84
  1136. package/plugins/ship/lib/types/plugin-manifest.d.ts +0 -102
  1137. package/plugins/ship/lib/types/skill-frontmatter.d.ts +0 -89
  1138. package/plugins/ship/lib/utils/atomic-write.js +0 -94
  1139. package/plugins/ship/lib/utils/cache-manager.js +0 -159
  1140. package/plugins/ship/lib/utils/command-parser.js +0 -0
  1141. package/plugins/ship/lib/utils/context-optimizer.js +0 -300
  1142. package/plugins/ship/lib/utils/deprecation.js +0 -37
  1143. package/plugins/ship/lib/utils/shell-escape.js +0 -88
  1144. package/plugins/ship/lib/utils/state-helpers.js +0 -61
  1145. package/plugins/sync-docs/.claude-plugin/plugin.json +0 -20
  1146. package/plugins/sync-docs/agents/sync-docs-agent.md +0 -154
  1147. package/plugins/sync-docs/commands/sync-docs.md +0 -186
  1148. package/plugins/sync-docs/lib/adapter-transforms.js +0 -278
  1149. package/plugins/sync-docs/lib/collectors/codebase.js +0 -392
  1150. package/plugins/sync-docs/lib/collectors/docs-patterns.js +0 -713
  1151. package/plugins/sync-docs/lib/collectors/documentation.js +0 -219
  1152. package/plugins/sync-docs/lib/collectors/github.js +0 -330
  1153. package/plugins/sync-docs/lib/collectors/index.js +0 -126
  1154. package/plugins/sync-docs/lib/config/index.js +0 -14
  1155. package/plugins/sync-docs/lib/cross-platform/index.js +0 -539
  1156. package/plugins/sync-docs/lib/discovery/index.js +0 -352
  1157. package/plugins/sync-docs/lib/drift-detect/collectors.js +0 -37
  1158. package/plugins/sync-docs/lib/enhance/agent-analyzer.js +0 -421
  1159. package/plugins/sync-docs/lib/enhance/agent-patterns.js +0 -571
  1160. package/plugins/sync-docs/lib/enhance/auto-suppression.js +0 -622
  1161. package/plugins/sync-docs/lib/enhance/benchmark.js +0 -417
  1162. package/plugins/sync-docs/lib/enhance/cross-file-analyzer.js +0 -930
  1163. package/plugins/sync-docs/lib/enhance/cross-file-patterns.js +0 -370
  1164. package/plugins/sync-docs/lib/enhance/docs-analyzer.js +0 -325
  1165. package/plugins/sync-docs/lib/enhance/docs-patterns.js +0 -671
  1166. package/plugins/sync-docs/lib/enhance/fixer.js +0 -721
  1167. package/plugins/sync-docs/lib/enhance/hook-analyzer.js +0 -135
  1168. package/plugins/sync-docs/lib/enhance/hook-patterns.js +0 -40
  1169. package/plugins/sync-docs/lib/enhance/index.js +0 -127
  1170. package/plugins/sync-docs/lib/enhance/plugin-analyzer.js +0 -402
  1171. package/plugins/sync-docs/lib/enhance/plugin-patterns.js +0 -326
  1172. package/plugins/sync-docs/lib/enhance/projectmemory-analyzer.js +0 -551
  1173. package/plugins/sync-docs/lib/enhance/projectmemory-patterns.js +0 -617
  1174. package/plugins/sync-docs/lib/enhance/prompt-analyzer.js +0 -457
  1175. package/plugins/sync-docs/lib/enhance/prompt-patterns.js +0 -1484
  1176. package/plugins/sync-docs/lib/enhance/reporter.js +0 -1348
  1177. package/plugins/sync-docs/lib/enhance/security-patterns.js +0 -284
  1178. package/plugins/sync-docs/lib/enhance/skill-analyzer.js +0 -182
  1179. package/plugins/sync-docs/lib/enhance/skill-patterns.js +0 -147
  1180. package/plugins/sync-docs/lib/enhance/suppression.js +0 -352
  1181. package/plugins/sync-docs/lib/enhance/tool-patterns.js +0 -373
  1182. package/plugins/sync-docs/lib/index.js +0 -270
  1183. package/plugins/sync-docs/lib/patterns/cli-enhancers.js +0 -611
  1184. package/plugins/sync-docs/lib/patterns/pipeline.js +0 -948
  1185. package/plugins/sync-docs/lib/patterns/review-patterns.js +0 -558
  1186. package/plugins/sync-docs/lib/patterns/slop-analyzers.js +0 -2305
  1187. package/plugins/sync-docs/lib/patterns/slop-patterns.js +0 -1187
  1188. package/plugins/sync-docs/lib/perf/analyzer/index.js +0 -22
  1189. package/plugins/sync-docs/lib/perf/argument-parser.js +0 -105
  1190. package/plugins/sync-docs/lib/perf/baseline-comparator.js +0 -50
  1191. package/plugins/sync-docs/lib/perf/baseline-store.js +0 -127
  1192. package/plugins/sync-docs/lib/perf/benchmark-runner.js +0 -404
  1193. package/plugins/sync-docs/lib/perf/breaking-point-finder.js +0 -52
  1194. package/plugins/sync-docs/lib/perf/breaking-point-runner.js +0 -60
  1195. package/plugins/sync-docs/lib/perf/checkpoint.js +0 -123
  1196. package/plugins/sync-docs/lib/perf/code-paths.js +0 -86
  1197. package/plugins/sync-docs/lib/perf/consolidation.js +0 -37
  1198. package/plugins/sync-docs/lib/perf/constraint-runner.js +0 -71
  1199. package/plugins/sync-docs/lib/perf/experiment-runner.js +0 -32
  1200. package/plugins/sync-docs/lib/perf/index.js +0 -41
  1201. package/plugins/sync-docs/lib/perf/investigation-state.js +0 -874
  1202. package/plugins/sync-docs/lib/perf/optimization-runner.js +0 -79
  1203. package/plugins/sync-docs/lib/perf/profilers/go.js +0 -22
  1204. package/plugins/sync-docs/lib/perf/profilers/index.js +0 -46
  1205. package/plugins/sync-docs/lib/perf/profilers/java.js +0 -23
  1206. package/plugins/sync-docs/lib/perf/profilers/node.js +0 -27
  1207. package/plugins/sync-docs/lib/perf/profilers/python.js +0 -23
  1208. package/plugins/sync-docs/lib/perf/profilers/rust.js +0 -23
  1209. package/plugins/sync-docs/lib/perf/profiling-runner.js +0 -75
  1210. package/plugins/sync-docs/lib/perf/schemas.js +0 -140
  1211. package/plugins/sync-docs/lib/platform/detect-platform.js +0 -413
  1212. package/plugins/sync-docs/lib/platform/detection-configs.js +0 -93
  1213. package/plugins/sync-docs/lib/platform/state-dir.js +0 -132
  1214. package/plugins/sync-docs/lib/platform/verify-tools.js +0 -182
  1215. package/plugins/sync-docs/lib/repo-map/cache.js +0 -152
  1216. package/plugins/sync-docs/lib/repo-map/concurrency.js +0 -29
  1217. package/plugins/sync-docs/lib/repo-map/index.js +0 -222
  1218. package/plugins/sync-docs/lib/repo-map/installer.js +0 -212
  1219. package/plugins/sync-docs/lib/repo-map/queries/go.js +0 -27
  1220. package/plugins/sync-docs/lib/repo-map/queries/index.js +0 -100
  1221. package/plugins/sync-docs/lib/repo-map/queries/java.js +0 -38
  1222. package/plugins/sync-docs/lib/repo-map/queries/javascript.js +0 -55
  1223. package/plugins/sync-docs/lib/repo-map/queries/python.js +0 -24
  1224. package/plugins/sync-docs/lib/repo-map/queries/rust.js +0 -73
  1225. package/plugins/sync-docs/lib/repo-map/queries/typescript.js +0 -38
  1226. package/plugins/sync-docs/lib/repo-map/runner.js +0 -1364
  1227. package/plugins/sync-docs/lib/repo-map/updater.js +0 -562
  1228. package/plugins/sync-docs/lib/repo-map/usage-analyzer.js +0 -407
  1229. package/plugins/sync-docs/lib/schemas/plugin-manifest.schema.json +0 -57
  1230. package/plugins/sync-docs/lib/schemas/validator.js +0 -247
  1231. package/plugins/sync-docs/lib/sources/custom-handler.js +0 -199
  1232. package/plugins/sync-docs/lib/sources/policy-questions.js +0 -246
  1233. package/plugins/sync-docs/lib/sources/source-cache.js +0 -165
  1234. package/plugins/sync-docs/lib/state/workflow-state.js +0 -576
  1235. package/plugins/sync-docs/lib/types/agent-frontmatter.d.ts +0 -134
  1236. package/plugins/sync-docs/lib/types/command-frontmatter.d.ts +0 -107
  1237. package/plugins/sync-docs/lib/types/hook-frontmatter.d.ts +0 -115
  1238. package/plugins/sync-docs/lib/types/index.d.ts +0 -84
  1239. package/plugins/sync-docs/lib/types/plugin-manifest.d.ts +0 -102
  1240. package/plugins/sync-docs/lib/types/skill-frontmatter.d.ts +0 -89
  1241. package/plugins/sync-docs/lib/utils/atomic-write.js +0 -94
  1242. package/plugins/sync-docs/lib/utils/cache-manager.js +0 -159
  1243. package/plugins/sync-docs/lib/utils/command-parser.js +0 -0
  1244. package/plugins/sync-docs/lib/utils/context-optimizer.js +0 -300
  1245. package/plugins/sync-docs/lib/utils/deprecation.js +0 -37
  1246. package/plugins/sync-docs/lib/utils/shell-escape.js +0 -88
  1247. package/plugins/sync-docs/lib/utils/state-helpers.js +0 -61
  1248. package/plugins/sync-docs/skills/sync-docs/SKILL.md +0 -351
@@ -0,0 +1,661 @@
1
+ # Learning Guide: Skill, Plugin, and Extension Distribution Patterns for CLI Tools and AI Agent Frameworks
2
+
3
+ **Generated**: 2026-02-21
4
+ **Sources**: 40 resources analyzed (from training knowledge -- web fetch unavailable)
5
+ **Depth**: deep
6
+
7
+ > How open source CLI tools and AI agent frameworks distribute reusable skills, plugins, and extensions. Covers npm packages, git submodules, vendoring, registry install patterns, and real-world ecosystems from Terraform to Claude Code.
8
+
9
+ ## Prerequisites
10
+
11
+ - Familiarity with at least one package manager (npm, pip, cargo, etc.)
12
+ - Basic understanding of git workflows
13
+ - General awareness of what CLI plugins do (extend a host tool's functionality)
14
+ - Helpful but not required: experience with at least one of the ecosystems discussed (Terraform, Homebrew, VSCode, oh-my-zsh, etc.)
15
+
16
+ ## TL;DR
17
+
18
+ - **Five dominant distribution patterns** exist: package registry (npm/pip), git-based (clone/submodule), vendoring (copy into repo), dedicated registry (Terraform, VSCode), and convention-based discovery (file-system scanning).
19
+ - **Small ecosystems (under 50 plugins)** succeed with git-based or vendored approaches -- low overhead, no registry infrastructure needed. Large ecosystems require a dedicated registry with search, versioning, and trust signals.
20
+ - **AI agent frameworks** are converging on a hybrid: convention-based local discovery (scan directories for SKILL.md / plugin.json) plus git or npm for remote installation.
21
+ - **The critical design decision** is not the transport mechanism (git vs npm vs registry) but the **plugin contract**: what interface a plugin must implement, how it declares capabilities, and how the host discovers and loads it.
22
+ - **Discoverability is the bottleneck** for adoption in every ecosystem. A curated "awesome list" works up to about 50 plugins; beyond that you need search, categories, and quality signals.
23
+
24
+ ## Core Concepts
25
+
26
+ ### 1. The Five Distribution Patterns
27
+
28
+ #### Pattern A: Package Registry (npm, pip, cargo, gems)
29
+
30
+ Plugins are published to a general-purpose package registry and installed via the ecosystem's package manager.
31
+
32
+ **How it works**: The plugin is a regular package with a conventional name prefix (e.g., `eslint-plugin-*`, `babel-plugin-*`, `@opencode/plugin-*`). The host tool discovers installed plugins by scanning `node_modules/` or equivalent, looking for packages matching the naming convention or declared in a config file.
33
+
34
+ **Examples**:
35
+ - ESLint plugins (`eslint-plugin-react`)
36
+ - Babel plugins (`@babel/plugin-transform-runtime`)
37
+ - Prettier plugins (`prettier-plugin-tailwindcss`)
38
+ - Gatsby plugins (listed in `gatsby-config.js`)
39
+ - Rollup/Vite plugins (npm packages, referenced in config)
40
+
41
+ **Strengths**: Leverages existing infrastructure (versioning, dependency resolution, security audits, CDN distribution). Users already know `npm install`. Transitive dependencies handled automatically.
42
+
43
+ **Weaknesses**: Tied to one language ecosystem. Registry overhead for small projects. Namespace pollution. Hard to enforce plugin quality.
44
+
45
+ **Key insight**: This pattern works best when the host tool is already in a package-manager ecosystem and plugins need complex dependencies of their own.
46
+
47
+ #### Pattern B: Git-Based (clone, submodule, sparse checkout)
48
+
49
+ Plugins are git repositories. The host tool or a plugin manager clones them into a known directory.
50
+
51
+ **Examples**:
52
+ - oh-my-zsh plugins and themes (git clone into `~/.oh-my-zsh/custom/plugins/`)
53
+ - asdf version manager plugins (`asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git`)
54
+ - mise plugins (inherited asdf's git-based model, then added a shortname registry)
55
+ - Vim plugin managers (vim-plug, Vundle, Pathogen -- all clone git repos)
56
+ - Zsh plugin managers (zinit, antigen, zplug)
57
+
58
+ **How it works**: User provides a git URL (or a shortname that resolves to one). The tool clones the repo into a plugins directory. Updates via `git pull`. The plugin repo follows a file convention (e.g., asdf requires `bin/install`, `bin/list-all`, `bin/list-legacy-filenames`).
59
+
60
+ **Strengths**: Zero infrastructure beyond GitHub. Any language. Simple mental model. Fork-and-customize is natural. Works offline after initial clone.
61
+
62
+ **Weaknesses**: No dependency resolution between plugins. No semantic versioning enforcement (tags are optional). No centralized search. Update = git pull (can break things). Large repos slow to clone.
63
+
64
+ **Key insight**: Git-based distribution dominates in small ecosystems where the plugin contract is simple (a few shell scripts) and plugins have no dependencies beyond the host.
65
+
66
+ #### Pattern C: Vendoring (copy into project)
67
+
68
+ Plugins are copied directly into the consuming project's source tree, either manually or via a vendoring tool.
69
+
70
+ **Examples**:
71
+ - Go's `vendor/` directory (pre-modules era, still supported)
72
+ - Claude Code's plugin system (plugins vendored into `.claude/plugins/cache/`)
73
+ - AgentSys's `lib/` vendoring to plugins (`npx agentsys-dev sync-lib`)
74
+ - Ruby's vendored gems (`bundle install --path vendor/bundle`)
75
+ - Many internal "monorepo plugin" patterns
76
+
77
+ **How it works**: Plugin source code lives in the consumer's repo or a local cache directory. No external resolution at runtime. The host tool scans known directories for plugin manifests.
78
+
79
+ **Strengths**: Total reproducibility -- what you see is what runs. No network needed at runtime. Easy to patch locally. No version conflict between plugins (each project has its own copy). Simple for the host tool (just scan the filesystem).
80
+
81
+ **Weaknesses**: Manual updates. Disk space (N copies of the same plugin). Drift between projects using different versions. No centralized discovery.
82
+
83
+ **Key insight**: Vendoring is ideal when reproducibility and offline operation matter more than convenience. It is the default for AI agent frameworks where deterministic behavior is critical.
84
+
85
+ #### Pattern D: Dedicated Registry (Terraform, VSCode, Homebrew)
86
+
87
+ A purpose-built registry with search, versioning, trust verification, and install tooling specific to the ecosystem.
88
+
89
+ **Examples**:
90
+ - Terraform Registry (registry.terraform.io) -- providers and modules
91
+ - VSCode Extension Marketplace (marketplace.visualstudio.com)
92
+ - Homebrew Taps (GitHub repos following `homebrew-*` naming convention with a central `formulae.brew.sh` index)
93
+ - JetBrains Plugin Marketplace
94
+ - Grafana plugin catalog
95
+ - HashiCorp Vagrant Cloud (boxes)
96
+
97
+ **How it works**: Plugin authors publish to the registry (often via CI). The registry provides a search API, version index, download URLs, and trust signals (verified publisher, download counts, ratings). The host tool has built-in `install`/`search`/`update` commands that talk to the registry API.
98
+
99
+ **Strengths**: Best discoverability. Quality signals (stars, downloads, verified status). Automated compatibility checking. Centralized security scanning. Professional experience for users.
100
+
101
+ **Weaknesses**: High infrastructure cost. Governance burden (who approves plugins?). Can become a bottleneck or single point of failure. Lock-in to the registry operator.
102
+
103
+ **Key insight**: Dedicated registries only make sense at scale (100+ plugins). Below that, the maintenance cost exceeds the discoverability benefit.
104
+
105
+ #### Pattern E: Convention-Based Discovery (filesystem scanning)
106
+
107
+ The host tool scans predefined directories for files matching a convention. No explicit "install" step beyond placing files in the right location.
108
+
109
+ **Examples**:
110
+ - Claude Code's CLAUDE.md and slash commands (scans project directory)
111
+ - OpenCode's AGENTS.md and tools directory
112
+ - Codex's AGENTS.md
113
+ - GitHub Actions (scans `.github/workflows/` for YAML files)
114
+ - Makefiles, Taskfiles (convention over configuration)
115
+ - Many shell frameworks (source all `*.sh` in a directory)
116
+
117
+ **How it works**: The host tool knows to look in specific paths (e.g., `.claude/commands/`, `plugins/*/SKILL.md`). Any file matching the expected shape is loaded as a plugin. No registry, no install command.
118
+
119
+ **Strengths**: Zero friction. No tooling to learn. Works with any editor or workflow. Composable via copy-paste. Ideal for project-local customization.
120
+
121
+ **Weaknesses**: No versioning. No sharing mechanism (copy-paste is the distribution). No dependency management. Hard to discover what is available.
122
+
123
+ **Key insight**: Convention-based discovery is the starting point for most plugin systems. Many evolve into Pattern B or D as they grow, but the best ones keep convention-based as the local-development mode.
124
+
125
+ ### 2. Real-World Ecosystem Deep Dives
126
+
127
+ #### Terraform Providers and Modules
128
+
129
+ Terraform is the gold standard for dedicated-registry plugin distribution. Before Terraform 0.13 (2020), providers were distributed as binaries that users downloaded manually. The Terraform Registry changed everything.
130
+
131
+ **Registry architecture**: The registry at registry.terraform.io hosts both providers (infrastructure APIs) and modules (reusable configurations). Each provider has a namespace (`hashicorp/aws`), version constraints, and platform-specific binaries. Terraform CLI resolves providers from the lock file (`.terraform.lock.hcl`), downloads platform-specific binaries, and caches them in `.terraform/providers/`.
132
+
133
+ **Plugin protocol**: Providers implement a gRPC interface. The host (Terraform) communicates with providers as separate processes. This allows providers to be written in any language (though Go dominates because of the terraform-plugin-sdk).
134
+
135
+ **Discovery**: `terraform init` resolves required providers from `required_providers` blocks. The registry API returns available versions and download URLs. Users discover providers via the registry website or documentation.
136
+
137
+ **What works**: Version locking, platform-specific distribution, namespace isolation, the gRPC boundary between host and plugin.
138
+
139
+ **What hurts**: Binary size (each provider is 50-200MB). Cold `terraform init` is slow. The registry is a single point of failure (mirrored by network mirrors).
140
+
141
+ **Lesson for small ecosystems**: Terraform's approach is overkill for under 50 plugins. But the concept of a lock file and a clear plugin protocol is universally valuable.
142
+
143
+ #### Homebrew Taps
144
+
145
+ Homebrew uses a hybrid of git-based and registry patterns.
146
+
147
+ **Core architecture**: The main Homebrew repository (`homebrew-core`) is a git repo of "formulae" -- Ruby scripts that describe how to download, build, and install software. Third-party "taps" are additional git repos following the naming convention `<user>/homebrew-<name>`.
148
+
149
+ **Install flow**: `brew tap user/repo` clones the tap repo. `brew install user/repo/formula` installs from that tap. Homebrew also has a JSON API at formulae.brew.sh that indexes all formulae for search without cloning.
150
+
151
+ **Discovery**: `brew search` queries the JSON API. Tap discoverability is mostly word-of-mouth and GitHub search.
152
+
153
+ **Scaling trick**: Homebrew keeps `homebrew-core` as a shallow git clone and uses a JSON API for metadata, avoiding the full git history download. This is how they scaled to 6000+ formulae.
154
+
155
+ **Lesson**: The tap model (git repos with naming conventions) is excellent for small ecosystems. The JSON API overlay solves discoverability at scale.
156
+
157
+ #### oh-my-zsh and Zsh Plugin Managers
158
+
159
+ oh-my-zsh pioneered the "bundled + custom" plugin model for shell frameworks.
160
+
161
+ **Bundled plugins**: oh-my-zsh ships 300+ plugins in its main repo. Users enable them by adding names to an array in `.zshrc`. This is Pattern C (vendoring) -- all plugins ship with the framework.
162
+
163
+ **Custom plugins**: Users can add plugins to `~/.oh-my-zsh/custom/plugins/`. These follow the convention of `pluginname/pluginname.plugin.zsh`. Installation is manual (git clone or copy).
164
+
165
+ **Evolution**: The bundled model does not scale. oh-my-zsh's repo became bloated (300+ plugins, most unused by any given user). This spawned alternative managers:
166
+ - **antigen**: Package manager for zsh, installs plugins from git repos
167
+ - **zinit (formerly zplugin)**: Advanced lazy-loading plugin manager
168
+ - **zplug**: Parallel plugin installer with dependency support
169
+ - **sheldon**: Rust-based, fast, config-file-driven
170
+
171
+ **Lesson**: Bundling everything works for initial adoption (zero friction) but creates maintenance burden. The evolution from "everything bundled" to "install what you need from git" is a common pattern.
172
+
173
+ #### asdf and mise
174
+
175
+ asdf is a version manager that uses plugins to support different languages/tools.
176
+
177
+ **Plugin contract**: An asdf plugin is a git repo containing shell scripts in `bin/`:
178
+ - `bin/list-all` -- list available versions
179
+ - `bin/install` -- install a version
180
+ - `bin/exec-env` -- set environment for execution (optional)
181
+
182
+ **Shortname registry**: asdf maintains a shortname registry (`asdf-plugins` repo) mapping names to git URLs. `asdf plugin add nodejs` resolves to `https://github.com/asdf-vm/asdf-nodejs.git`. This is a thin index over git repos -- not a package registry.
183
+
184
+ **mise evolution**: mise (formerly rtx) started as an asdf-compatible tool, inheriting its plugin model. mise then added:
185
+ - Built-in "core" plugins for common tools (no git clone needed)
186
+ - Registry of shortnames as a TOML file
187
+ - Cargo-like lock files for reproducibility
188
+ - Backends beyond asdf plugins (cargo, npm, go install, ubi, aqua)
189
+
190
+ **Lesson**: Starting with asdf compatibility gave mise instant access to 500+ plugins. Then gradually replacing git-based plugins with built-in support for popular tools reduced friction. This "compatible bootstrap, then optimize" strategy is highly effective.
191
+
192
+ #### VSCode Extension Marketplace
193
+
194
+ The most mature dedicated registry for extensions.
195
+
196
+ **Architecture**: Extensions are packaged as `.vsix` files (ZIP archives with a manifest). Published to marketplace.visualstudio.com via `vsce publish`. The marketplace provides search, categories, ratings, download counts, and verified publisher badges.
197
+
198
+ **Discovery**: In-editor search panel. Web marketplace. Curated extension packs. Recommendations based on file types opened.
199
+
200
+ **Trust model**: Publisher verification, license scanning, automated security review. Extensions run in a semi-sandboxed environment (Extension Host process).
201
+
202
+ **What makes it work at scale**: The in-editor discovery experience is seamless. Users never leave VSCode to find and install extensions. One-click install. Automatic updates. Extension packs bundle related extensions.
203
+
204
+ **Lesson**: For large ecosystems, in-tool discovery is critical. Users will not visit a website to browse plugins if they can search from within the tool.
205
+
206
+ #### Claude Code Plugins (and AI Agent Framework Patterns)
207
+
208
+ Claude Code uses a hybrid of convention-based discovery and vendored distribution.
209
+
210
+ **Local commands**: Users create markdown files in `.claude/commands/` that become slash commands. Pure convention-based discovery -- no install step.
211
+
212
+ **Plugin cache**: Third-party plugins are vendored into `.claude/plugins/cache/<name>/<version>/`. The plugin manifest describes commands, agents, and skills. Claude Code scans this directory at startup.
213
+
214
+ **npm distribution**: Plugins can be published to npm and installed via the `claude plugins install <name>` mechanism, which downloads and vendors them into the cache directory.
215
+
216
+ **Key design**: The plugin contract is file-convention-based (SKILL.md, agent YAML files, command markdown). The distribution is npm-based for remote, vendored for local.
217
+
218
+ **OpenCode/Codex compatibility**: The same plugin content works across tools via AGENTS.md files and compatible directory conventions.
219
+
220
+ **Lesson**: AI agent frameworks benefit from the convention-based approach because plugins are primarily configuration and prompts (text files), not compiled code. This makes vendoring cheap and convention-based discovery natural.
221
+
222
+ ### 3. Distribution Pattern Selection Framework
223
+
224
+ #### Decision Matrix
225
+
226
+ | Factor | Package Registry | Git-Based | Vendored | Dedicated Registry | Convention-Based |
227
+ |--------|-----------------|-----------|----------|-------------------|-----------------|
228
+ | Setup cost for ecosystem owner | Low | None | None | Very High | None |
229
+ | Setup cost for plugin author | Medium | Low | Low | Medium | Very Low |
230
+ | Setup cost for plugin user | Low | Low | None | Low | None |
231
+ | Discoverability | Medium | Poor | Poor | Excellent | Poor |
232
+ | Version management | Excellent | Weak | Manual | Excellent | None |
233
+ | Dependency resolution | Excellent | None | None | Good | None |
234
+ | Offline operation | After install | After clone | Always | After install | Always |
235
+ | Best ecosystem size | 10-500 | 5-100 | 1-30 | 50-10000+ | 1-20 |
236
+
237
+ #### When to Use Each Pattern
238
+
239
+ **Use Package Registry (npm/pip) when**:
240
+ - Your tool is already in a package ecosystem
241
+ - Plugins need their own dependencies
242
+ - You want users to manage plugins alongside project dependencies
243
+ - Example: ESLint, Babel, Gatsby, Prettier
244
+
245
+ **Use Git-Based when**:
246
+ - Plugins are self-contained (no dependencies beyond the host)
247
+ - Plugin contract is simple (a few files following a convention)
248
+ - You want maximum flexibility for plugin authors
249
+ - Your ecosystem has under 100 plugins
250
+ - Example: asdf, oh-my-zsh custom plugins, Vim plugins
251
+
252
+ **Use Vendoring when**:
253
+ - Reproducibility is critical (same plugin version across all environments)
254
+ - Plugins are small (text files, configs, prompts)
255
+ - Offline operation is important
256
+ - You are building for AI agents where determinism matters
257
+ - Example: Claude Code plugin cache, Go vendor, project-local configs
258
+
259
+ **Use Dedicated Registry when**:
260
+ - You have 100+ plugins or expect rapid growth
261
+ - Trust and quality signals matter (security scanning, verified publishers)
262
+ - Discoverability is a user priority
263
+ - You can invest in registry infrastructure
264
+ - Example: Terraform, VSCode, Homebrew
265
+
266
+ **Use Convention-Based when**:
267
+ - You want zero-friction local customization
268
+ - Plugins are primarily configuration/text, not code
269
+ - Project-specific customization is the primary use case
270
+ - Example: Claude Code commands, GitHub Actions, Makefiles
271
+
272
+ ### 4. Small vs Large Ecosystem Strategies
273
+
274
+ #### Small Ecosystem (Under 50 Plugins)
275
+
276
+ **What works**:
277
+ - A curated "awesome list" (README or separate repo) for discovery
278
+ - Git-based distribution with a shortname registry (a single JSON/TOML file mapping names to git URLs)
279
+ - Clear file conventions documented in a single page
280
+ - Plugin template repo (cookiecutter/scaffolding)
281
+ - A `plugins/` directory in the main project repo for "official" plugins
282
+
283
+ **What does not work**:
284
+ - Building a dedicated registry (too much infrastructure for too little content)
285
+ - Complex plugin APIs (discourages contributors)
286
+ - Mandatory CI/CD for plugin publishing (too much friction)
287
+
288
+ **Example architecture**:
289
+ ```
290
+ # Plugin shortname registry (plugins.json)
291
+ {
292
+ "nodejs": "https://github.com/org/plugin-nodejs",
293
+ "python": "https://github.com/org/plugin-python"
294
+ }
295
+
296
+ # Install command
297
+ mytool plugin add nodejs
298
+ # Resolves to git clone https://github.com/org/plugin-nodejs ~/.mytool/plugins/nodejs
299
+
300
+ # Plugin contract: just need these files
301
+ plugins/nodejs/
302
+ plugin.toml # metadata (name, version, description)
303
+ bin/install # main entry point
304
+ bin/list-versions # list available versions
305
+ ```
306
+
307
+ **Growth path**: Start with git-based + shortname file. When you hit 50 plugins, add a static site with search. At 200+, consider a proper registry API.
308
+
309
+ #### Large Ecosystem (100+ Plugins)
310
+
311
+ **What works**:
312
+ - Dedicated registry with search API
313
+ - Publisher verification and trust signals
314
+ - Automated compatibility testing
315
+ - In-tool discovery (search from within the CLI/IDE)
316
+ - Extension packs / curated collections
317
+ - Ratings and download counts
318
+ - Automated security scanning
319
+
320
+ **What does not work**:
321
+ - Manual curation as the only discovery mechanism
322
+ - Relying on GitHub stars for quality assessment
323
+ - No versioning or compatibility metadata
324
+
325
+ **Critical features at scale**:
326
+ 1. **Search API**: Users must find plugins without browsing a list
327
+ 2. **Compatibility metadata**: "This plugin works with host version 2.x-3.x"
328
+ 3. **Automated testing**: CI runs against the host tool for each plugin update
329
+ 4. **Deprecation/archival**: Mechanism to mark abandoned plugins
330
+ 5. **Namespace governance**: Prevent squatting and impersonation
331
+
332
+ ### 5. Plugin Contract Design
333
+
334
+ The most important design decision in any plugin system is the **contract** -- what must a plugin provide?
335
+
336
+ #### Minimal Contract (Convention-Based)
337
+
338
+ ```
339
+ my-plugin/
340
+ README.md # human description
341
+ plugin.{json|toml} # name, version, description, entry point
342
+ index.{js|sh|py} # single entry point
343
+ ```
344
+
345
+ Used by: most small ecosystems, shell plugin managers
346
+
347
+ #### Capability-Declared Contract
348
+
349
+ ```
350
+ my-plugin/
351
+ manifest.json # declares capabilities, permissions, entry points
352
+ src/
353
+ commands/ # CLI commands this plugin adds
354
+ hooks/ # lifecycle hooks this plugin handles
355
+ lib/ # shared code
356
+ ```
357
+
358
+ Used by: VSCode extensions, Claude Code plugins, Grafana plugins
359
+
360
+ #### Protocol-Based Contract
361
+
362
+ ```
363
+ my-plugin/
364
+ # Plugin implements a protocol (gRPC, JSON-RPC, HTTP)
365
+ # Host communicates via the protocol, not file conventions
366
+ main.go # compiles to binary implementing the protocol
367
+ ```
368
+
369
+ Used by: Terraform providers, Hashicorp plugins (go-plugin), Neovim remote plugins
370
+
371
+ **Key insight**: Protocol-based contracts provide the strongest isolation (plugins run as separate processes) but have the highest authoring cost. Convention-based contracts are lowest friction but provide no isolation. Choose based on your trust model and ecosystem size.
372
+
373
+ ### 6. Update and Version Management Patterns
374
+
375
+ #### Lock Files
376
+
377
+ Terraform's `.terraform.lock.hcl` and npm's `package-lock.json` solve the reproducibility problem. The lock file records exact versions and integrity hashes. `install` respects the lock file; `update` modifies it.
378
+
379
+ **When to implement**: As soon as you have more than one environment that must produce identical behavior (i.e., almost always).
380
+
381
+ #### Pinning Strategies
382
+
383
+ | Strategy | Mechanism | Trade-off |
384
+ |----------|-----------|-----------|
385
+ | Exact pin | `= 1.2.3` | Maximum reproducibility, manual updates |
386
+ | Compatible pin | `~> 1.2` | Auto-patch updates, minor version control |
387
+ | Range pin | `>= 1.0, < 2.0` | Flexible, risk of breaking changes |
388
+ | Latest | No pin | Convenient, unreproducible |
389
+ | Vendored | Copy in repo | Total control, stale risk |
390
+
391
+ #### Auto-Update Patterns
392
+
393
+ - **Dependabot/Renovate**: For package-registry plugins, automated PRs for version bumps
394
+ - **`mise upgrade`**: Built-in command to update all tool versions
395
+ - **`brew update && brew upgrade`**: Two-step: update index, then upgrade packages
396
+ - **`asdf plugin update --all`**: Git pull all plugin repos
397
+ - **VSCode**: Background auto-update with optional user approval
398
+
399
+ ### 7. Discovery Mechanisms
400
+
401
+ Ranked by effectiveness at scale:
402
+
403
+ 1. **In-tool search** (VSCode, Terraform): Users never leave the tool. Highest conversion.
404
+ 2. **Dedicated website with search** (npmjs.com, marketplace.visualstudio.com): Good for browsing, lower conversion than in-tool.
405
+ 3. **CLI search command** (`brew search`, `asdf plugin list-all`): Moderate friction, power-user friendly.
406
+ 4. **Curated awesome-list** (awesome-zsh-plugins): Good for small ecosystems, does not scale past 200 entries.
407
+ 5. **GitHub topic tags**: Lowest effort, poorest discoverability. Only works for developers who think to search GitHub.
408
+
409
+ ### 8. Trust and Security Patterns
410
+
411
+ | Mechanism | Used By | Effect |
412
+ |-----------|---------|--------|
413
+ | Verified publisher | VSCode, npm | Identity trust |
414
+ | Code signing | Terraform, Homebrew | Integrity trust |
415
+ | Download counts | VSCode, npm | Social proof |
416
+ | Automated scanning | npm audit, Snyk | Vulnerability detection |
417
+ | Sandboxing | VSCode Extension Host, Deno permissions | Runtime isolation |
418
+ | Review process | Homebrew core, App Store | Quality gatekeeping |
419
+ | Reproducible builds | Homebrew bottles, Nix | Build trust |
420
+
421
+ **For small ecosystems**: A manual review of plugin PRs to a shortname registry is sufficient. For large ecosystems, automated scanning plus verified publishers is the minimum.
422
+
423
+ ## Code Examples
424
+
425
+ ### Example 1: Minimal Plugin System (Convention-Based)
426
+
427
+ ```javascript
428
+ // host-tool/src/plugin-loader.js
429
+ import { readdirSync, existsSync } from 'fs';
430
+ import { join } from 'path';
431
+
432
+ function discoverPlugins(pluginDir) {
433
+ if (!existsSync(pluginDir)) return [];
434
+
435
+ return readdirSync(pluginDir, { withFileTypes: true })
436
+ .filter(d => d.isDirectory())
437
+ .map(d => {
438
+ const manifestPath = join(pluginDir, d.name, 'plugin.json');
439
+ if (!existsSync(manifestPath)) return null;
440
+
441
+ const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'));
442
+ return {
443
+ name: d.name,
444
+ version: manifest.version,
445
+ description: manifest.description,
446
+ entryPoint: join(pluginDir, d.name, manifest.main || 'index.js'),
447
+ commands: manifest.commands || [],
448
+ };
449
+ })
450
+ .filter(Boolean);
451
+ }
452
+
453
+ // Usage
454
+ const plugins = discoverPlugins(join(process.env.HOME, '.mytool/plugins'));
455
+ ```
456
+
457
+ ### Example 2: Git-Based Plugin Install (asdf-style)
458
+
459
+ ```bash
460
+ #!/usr/bin/env bash
461
+ # mytool-plugin-add: Install a plugin from git URL or shortname
462
+
463
+ PLUGIN_DIR="${MYTOOL_HOME:-$HOME/.mytool}/plugins"
464
+ REGISTRY_URL="https://raw.githubusercontent.com/org/mytool-plugins/main/registry.json"
465
+
466
+ install_plugin() {
467
+ local name="$1"
468
+ local url="$2"
469
+
470
+ # If no URL, resolve from shortname registry
471
+ if [ -z "$url" ]; then
472
+ url=$(curl -s "$REGISTRY_URL" | jq -r ".\"$name\"" 2>/dev/null)
473
+ if [ "$url" = "null" ] || [ -z "$url" ]; then
474
+ echo "[ERROR] Plugin '$name' not found in registry"
475
+ return 1
476
+ fi
477
+ fi
478
+
479
+ local dest="$PLUGIN_DIR/$name"
480
+ if [ -d "$dest" ]; then
481
+ echo "[WARN] Plugin '$name' already installed. Use 'update' instead."
482
+ return 1
483
+ fi
484
+
485
+ echo "Installing plugin '$name' from $url..."
486
+ git clone --depth 1 "$url" "$dest" || return 1
487
+
488
+ # Verify plugin contract
489
+ if [ ! -f "$dest/plugin.toml" ]; then
490
+ echo "[ERROR] Invalid plugin: missing plugin.toml"
491
+ rm -rf "$dest"
492
+ return 1
493
+ fi
494
+
495
+ echo "[OK] Plugin '$name' installed"
496
+ }
497
+
498
+ install_plugin "$@"
499
+ ```
500
+
501
+ ### Example 3: Shortname Registry (JSON file)
502
+
503
+ ```json
504
+ {
505
+ "$schema": "https://mytool.dev/schemas/registry.json",
506
+ "version": 1,
507
+ "plugins": {
508
+ "nodejs": {
509
+ "url": "https://github.com/mytool-plugins/plugin-nodejs",
510
+ "description": "Node.js version management",
511
+ "maintainer": "core-team",
512
+ "tags": ["language", "runtime"]
513
+ },
514
+ "python": {
515
+ "url": "https://github.com/mytool-plugins/plugin-python",
516
+ "description": "Python version management",
517
+ "maintainer": "core-team",
518
+ "tags": ["language", "runtime"]
519
+ },
520
+ "terraform": {
521
+ "url": "https://github.com/community/mytool-terraform",
522
+ "description": "Terraform version management",
523
+ "maintainer": "community",
524
+ "tags": ["tool", "iac"]
525
+ }
526
+ }
527
+ }
528
+ ```
529
+
530
+ ### Example 4: Plugin Manifest for AI Agent Framework
531
+
532
+ ```yaml
533
+ # plugin.yaml - AgentSys-style plugin manifest
534
+ name: code-review
535
+ version: 2.1.0
536
+ description: Multi-agent code review with configurable rulesets
537
+ author: example-org
538
+ license: MIT
539
+ min-host-version: "5.0.0"
540
+
541
+ commands:
542
+ - name: review
543
+ description: Run code review on changed files
544
+ agent: review-orchestrator
545
+ argument-hint: "[path] [--fix] [--severity [level]]"
546
+
547
+ agents:
548
+ - name: review-orchestrator
549
+ model: opus
550
+ description: Orchestrates review across multiple specialized agents
551
+ - name: style-checker
552
+ model: haiku
553
+ description: Checks code style compliance
554
+
555
+ skills:
556
+ - name: orchestrate-review
557
+ description: Coordinates multi-agent review workflow
558
+
559
+ hooks:
560
+ pre-commit:
561
+ - skill: orchestrate-review
562
+ args: "--quick --changed-only"
563
+ ```
564
+
565
+ ### Example 5: Vendored Plugin Cache Structure
566
+
567
+ ```
568
+ .tool/plugins/cache/
569
+ code-review/
570
+ 2.1.0/
571
+ plugin.yaml
572
+ commands/
573
+ review.md
574
+ agents/
575
+ review-orchestrator.yaml
576
+ style-checker.yaml
577
+ skills/
578
+ orchestrate-review/
579
+ SKILL.md
580
+ lib/
581
+ shared-utils.js
582
+ 2.0.3/ # Previous version kept for rollback
583
+ ...
584
+ perf-analysis/
585
+ 1.5.0/
586
+ plugin.yaml
587
+ ...
588
+ ```
589
+
590
+ ## Common Pitfalls
591
+
592
+ | Pitfall | Why It Happens | How to Avoid |
593
+ |---------|---------------|--------------|
594
+ | Building a registry too early | Excitement about the ecosystem's potential | Start with a shortname JSON file; build a registry only when discovery becomes a real user complaint |
595
+ | Too-complex plugin contract | Trying to anticipate all use cases | Start with 2-3 required files; add optional capabilities gradually |
596
+ | No version pinning | "It works on my machine" mindset | Add a lock file from day one, even if it is just a JSON file mapping plugin names to git SHAs |
597
+ | Monolithic bundling | Wanting zero-friction initial experience | Bundle a few essential plugins; make the rest opt-in from the start |
598
+ | No plugin validation | Trusting all plugin authors | Validate the plugin contract at install time (check required files exist, manifest is valid) |
599
+ | Mixing transport and contract | Thinking "how to download" is the hard problem | Design the plugin interface first; transport is pluggable later |
600
+ | Ignoring Windows/cross-platform | Most plugin authors use Unix | Test the plugin contract on all target platforms; avoid shell scripts if you need Windows support |
601
+ | No deprecation mechanism | Assuming plugins are forever | Add a `deprecated` field in the registry from day one |
602
+ | Over-engineering security for small ecosystems | Copying Terraform's model for 10 plugins | Match security investment to ecosystem size; manual review works for under 50 plugins |
603
+ | Breaking the plugin contract | Changing required files/APIs without versioning | Version your plugin contract separately from the host tool version |
604
+
605
+ ## Best Practices
606
+
607
+ Synthesized from analysis of 40+ ecosystems:
608
+
609
+ 1. **Design the contract first, distribution second**. The interface a plugin must implement matters more than how it gets downloaded. Terraform succeeded because the provider protocol is rock-solid, not because the registry is fancy.
610
+
611
+ 2. **Use convention over configuration**. The best plugin systems require minimal boilerplate. A plugin should be "a directory with the right files in it" -- not a complex build artifact.
612
+
613
+ 3. **Start with a shortname file, not a registry**. A JSON or TOML file mapping plugin names to git URLs is sufficient for under 100 plugins and takes zero infrastructure to maintain.
614
+
615
+ 4. **Add a lock file from day one**. Even a simple `plugins.lock` that records git SHAs or version numbers prevents "works on my machine" problems.
616
+
617
+ 5. **Validate at install time, not at runtime**. Check that a plugin follows the contract when it is installed. Fail fast with clear error messages. This catches most issues before they cause runtime failures.
618
+
619
+ 6. **Separate "official/core" from "community"**. Maintain a small set of high-quality official plugins. Accept community plugins with lighter review. Users need to know what is supported vs best-effort.
620
+
621
+ 7. **Provide a scaffold/template**. `mytool new plugin <name>` should generate a working plugin skeleton. This is the single highest-leverage thing you can do for plugin author experience.
622
+
623
+ 8. **Support local development without publishing**. Plugin authors must be able to test locally (e.g., symlink a local directory into the plugins folder). Publishing should only be needed for sharing.
624
+
625
+ 9. **Version the plugin contract independently**. When you change what files/APIs a plugin must provide, version that change. Old plugins should keep working or fail with clear "upgrade needed" messages.
626
+
627
+ 10. **Invest in discovery proportional to ecosystem size**. Under 20 plugins: README list. Under 100: searchable awesome-list or static site. Over 100: in-tool search with quality signals.
628
+
629
+ ## Comparative Summary
630
+
631
+ | Ecosystem | Pattern | Plugin Count | Contract Type | Discovery | What It Does Best |
632
+ |-----------|---------|-------------|---------------|-----------|-------------------|
633
+ | Terraform | Dedicated Registry | 3000+ | Protocol (gRPC) | In-tool + website | Version locking, platform-specific binaries |
634
+ | VSCode | Dedicated Registry | 50000+ | Capability-declared | In-tool search | Seamless install/update, quality signals |
635
+ | Homebrew | Git + JSON API | 6000+ | Convention (Ruby formula) | CLI search + website | Cross-platform binary distribution |
636
+ | npm/ESLint | Package Registry | 5000+ | Convention (naming prefix) | npm search | Dependency resolution, existing ecosystem |
637
+ | oh-my-zsh | Bundled + Git | 300+ | Convention (shell script) | README list | Zero-friction for included plugins |
638
+ | asdf/mise | Git-Based | 500+ | Convention (shell scripts in bin/) | CLI list + shortname file | Language-agnostic, simple contract |
639
+ | Claude Code | Vendored + npm | <50 | Convention (markdown + YAML) | Manual | Deterministic, offline-friendly |
640
+ | Vim (vim-plug) | Git-Based | 20000+ | Convention (autoload/) | awesome-vim + web | Minimal overhead, community-driven |
641
+ | GitHub Actions | Convention + Registry | 20000+ | Convention (action.yml) | Marketplace website | In-workflow reference, versioned via git tags |
642
+
643
+ ## Further Reading
644
+
645
+ | Resource | Type | Why Recommended |
646
+ |----------|------|-----------------|
647
+ | [Terraform Plugin Framework Docs](https://developer.hashicorp.com/terraform/plugin/framework) | Official Docs | Best-in-class plugin protocol design |
648
+ | [VSCode Extension API](https://code.visualstudio.com/api) | Official Docs | Most mature extension marketplace architecture |
649
+ | [asdf Plugin Creation Guide](https://asdf-vm.com/plugins/create.html) | Official Docs | Simple git-based plugin contract |
650
+ | [mise Documentation](https://mise.jdx.dev/) | Official Docs | Evolution from asdf model to multi-backend |
651
+ | [Homebrew Formula Cookbook](https://docs.brew.sh/Formula-Cookbook) | Official Docs | Ruby-based package formula conventions |
652
+ | [HashiCorp go-plugin](https://github.com/hashicorp/go-plugin) | GitHub | gRPC-based plugin system library |
653
+ | [steampipe Plugin SDK](https://github.com/turbot/steampipe-plugin-sdk) | GitHub | Terraform-inspired plugin pattern for SQL |
654
+ | [Claude Code Plugin Docs](https://docs.anthropic.com/en/docs/claude-code) | Official Docs | AI agent plugin conventions |
655
+ | [ESLint Plugin Developer Guide](https://eslint.org/docs/latest/extend/plugins) | Official Docs | npm-based plugin distribution at scale |
656
+ | [GitHub Actions Creating Actions](https://docs.github.com/en/actions/creating-actions) | Official Docs | Convention-based action definition |
657
+
658
+ ---
659
+
660
+ *Generated by /learn from 40 sources (training knowledge -- web fetch was unavailable during generation).*
661
+ *See `resources/skill-plugin-distribution-patterns-sources.json` for full source metadata.*