claude-code-templates 1.21.6 → 1.21.8

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 (491) hide show
  1. package/components/sandbox/e2b/e2b-launcher.py +0 -1
  2. package/package.json +2 -2
  3. package/components/agents/ai-specialists/ai-ethics-advisor.md +0 -195
  4. package/components/agents/ai-specialists/hackathon-ai-strategist.md +0 -46
  5. package/components/agents/ai-specialists/llms-maintainer.md +0 -94
  6. package/components/agents/ai-specialists/model-evaluator.md +0 -150
  7. package/components/agents/ai-specialists/prompt-engineer.md +0 -112
  8. package/components/agents/ai-specialists/search-specialist.md +0 -59
  9. package/components/agents/ai-specialists/task-decomposition-expert.md +0 -97
  10. package/components/agents/api-graphql/graphql-architect.md +0 -208
  11. package/components/agents/api-graphql/graphql-performance-optimizer.md +0 -357
  12. package/components/agents/api-graphql/graphql-security-specialist.md +0 -519
  13. package/components/agents/blockchain-web3/smart-contract-auditor.md +0 -32
  14. package/components/agents/blockchain-web3/smart-contract-specialist.md +0 -32
  15. package/components/agents/blockchain-web3/web3-integration-specialist.md +0 -32
  16. package/components/agents/business-marketing/business-analyst.md +0 -194
  17. package/components/agents/business-marketing/content-marketer.md +0 -36
  18. package/components/agents/business-marketing/customer-support.md +0 -36
  19. package/components/agents/business-marketing/legal-advisor.md +0 -50
  20. package/components/agents/business-marketing/marketing-attribution-analyst.md +0 -352
  21. package/components/agents/business-marketing/payment-integration.md +0 -33
  22. package/components/agents/business-marketing/product-strategist.md +0 -212
  23. package/components/agents/business-marketing/risk-manager.md +0 -42
  24. package/components/agents/business-marketing/sales-automator.md +0 -36
  25. package/components/agents/data-ai/ai-engineer.md +0 -33
  26. package/components/agents/data-ai/computer-vision-engineer.md +0 -562
  27. package/components/agents/data-ai/data-engineer.md +0 -33
  28. package/components/agents/data-ai/data-scientist.md +0 -337
  29. package/components/agents/data-ai/ml-engineer.md +0 -33
  30. package/components/agents/data-ai/mlops-engineer.md +0 -58
  31. package/components/agents/data-ai/nlp-engineer.md +0 -680
  32. package/components/agents/data-ai/quant-analyst.md +0 -33
  33. package/components/agents/database/database-admin.md +0 -33
  34. package/components/agents/database/database-architect.md +0 -590
  35. package/components/agents/database/database-optimization.md +0 -33
  36. package/components/agents/database/database-optimizer.md +0 -33
  37. package/components/agents/database/nosql-specialist.md +0 -708
  38. package/components/agents/database/supabase-schema-architect.md +0 -138
  39. package/components/agents/deep-research-team/academic-researcher.md +0 -33
  40. package/components/agents/deep-research-team/agent-overview.md +0 -235
  41. package/components/agents/deep-research-team/competitive-intelligence-analyst.md +0 -530
  42. package/components/agents/deep-research-team/data-analyst.md +0 -112
  43. package/components/agents/deep-research-team/fact-checker.md +0 -553
  44. package/components/agents/deep-research-team/query-clarifier.md +0 -73
  45. package/components/agents/deep-research-team/report-generator.md +0 -108
  46. package/components/agents/deep-research-team/research-brief-generator.md +0 -108
  47. package/components/agents/deep-research-team/research-coordinator.md +0 -94
  48. package/components/agents/deep-research-team/research-orchestrator.md +0 -119
  49. package/components/agents/deep-research-team/research-synthesizer.md +0 -109
  50. package/components/agents/deep-research-team/technical-researcher.md +0 -95
  51. package/components/agents/development-team/backend-architect.md +0 -31
  52. package/components/agents/development-team/cli-ui-designer.md +0 -405
  53. package/components/agents/development-team/devops-engineer.md +0 -886
  54. package/components/agents/development-team/frontend-developer.md +0 -32
  55. package/components/agents/development-team/fullstack-developer.md +0 -1205
  56. package/components/agents/development-team/ios-developer.md +0 -36
  57. package/components/agents/development-team/mobile-developer.md +0 -33
  58. package/components/agents/development-team/ui-ux-designer.md +0 -36
  59. package/components/agents/development-tools/code-reviewer.md +0 -30
  60. package/components/agents/development-tools/command-expert.md +0 -422
  61. package/components/agents/development-tools/context-manager.md +0 -65
  62. package/components/agents/development-tools/debugger.md +0 -31
  63. package/components/agents/development-tools/dx-optimizer.md +0 -64
  64. package/components/agents/development-tools/error-detective.md +0 -33
  65. package/components/agents/development-tools/mcp-expert.md +0 -259
  66. package/components/agents/development-tools/performance-profiler.md +0 -799
  67. package/components/agents/development-tools/test-engineer.md +0 -936
  68. package/components/agents/devops-infrastructure/cloud-architect.md +0 -33
  69. package/components/agents/devops-infrastructure/deployment-engineer.md +0 -33
  70. package/components/agents/devops-infrastructure/devops-troubleshooter.md +0 -33
  71. package/components/agents/devops-infrastructure/monitoring-specialist.md +0 -36
  72. package/components/agents/devops-infrastructure/network-engineer.md +0 -33
  73. package/components/agents/devops-infrastructure/security-engineer.md +0 -971
  74. package/components/agents/devops-infrastructure/terraform-specialist.md +0 -36
  75. package/components/agents/devops-infrastructure/vercel-deployment-specialist.md +0 -357
  76. package/components/agents/documentation/api-documenter.md +0 -33
  77. package/components/agents/documentation/changelog-generator.md +0 -37
  78. package/components/agents/documentation/docusaurus-expert.md +0 -52
  79. package/components/agents/documentation/technical-writer.md +0 -37
  80. package/components/agents/expert-advisors/agent-expert.md +0 -477
  81. package/components/agents/expert-advisors/architect-review.md +0 -50
  82. package/components/agents/expert-advisors/dependency-manager.md +0 -45
  83. package/components/agents/expert-advisors/documentation-expert.md +0 -47
  84. package/components/agents/ffmpeg-clip-team/audio-mixer.md +0 -37
  85. package/components/agents/ffmpeg-clip-team/audio-quality-controller.md +0 -100
  86. package/components/agents/ffmpeg-clip-team/podcast-content-analyzer.md +0 -60
  87. package/components/agents/ffmpeg-clip-team/podcast-metadata-specialist.md +0 -46
  88. package/components/agents/ffmpeg-clip-team/podcast-transcriber.md +0 -68
  89. package/components/agents/ffmpeg-clip-team/social-media-clip-creator.md +0 -69
  90. package/components/agents/ffmpeg-clip-team/timestamp-precision-specialist.md +0 -98
  91. package/components/agents/ffmpeg-clip-team/video-editor.md +0 -37
  92. package/components/agents/game-development/3d-artist.md +0 -37
  93. package/components/agents/game-development/game-designer.md +0 -37
  94. package/components/agents/game-development/unity-game-developer.md +0 -110
  95. package/components/agents/game-development/unreal-engine-developer.md +0 -128
  96. package/components/agents/mcp-dev-team/mcp-deployment-orchestrator.md +0 -101
  97. package/components/agents/mcp-dev-team/mcp-integration-engineer.md +0 -37
  98. package/components/agents/mcp-dev-team/mcp-protocol-specialist.md +0 -37
  99. package/components/agents/mcp-dev-team/mcp-registry-navigator.md +0 -112
  100. package/components/agents/mcp-dev-team/mcp-security-auditor.md +0 -70
  101. package/components/agents/mcp-dev-team/mcp-server-architect.md +0 -74
  102. package/components/agents/mcp-dev-team/mcp-testing-engineer.md +0 -106
  103. package/components/agents/modernization/architecture-modernizer.md +0 -37
  104. package/components/agents/modernization/cloud-migration-specialist.md +0 -37
  105. package/components/agents/modernization/legacy-modernizer.md +0 -33
  106. package/components/agents/obsidian-ops-team/Scripts/daily_notes_connector.py +0 -306
  107. package/components/agents/obsidian-ops-team/Scripts/enhance_tag_standardizer.py +0 -343
  108. package/components/agents/obsidian-ops-team/Scripts/find_keyword_connections.py +0 -216
  109. package/components/agents/obsidian-ops-team/Scripts/fix_quoted_tags.py +0 -82
  110. package/components/agents/obsidian-ops-team/Scripts/implement_entity_connections.py +0 -195
  111. package/components/agents/obsidian-ops-team/Scripts/link_suggester.py +0 -301
  112. package/components/agents/obsidian-ops-team/Scripts/metadata_adder.py +0 -197
  113. package/components/agents/obsidian-ops-team/Scripts/moc_generator.py +0 -296
  114. package/components/agents/obsidian-ops-team/Scripts/parse_keyword_connections.py +0 -122
  115. package/components/agents/obsidian-ops-team/Scripts/tag_standardizer.py +0 -387
  116. package/components/agents/obsidian-ops-team/connection-agent.md +0 -67
  117. package/components/agents/obsidian-ops-team/content-curator.md +0 -81
  118. package/components/agents/obsidian-ops-team/metadata-agent.md +0 -51
  119. package/components/agents/obsidian-ops-team/moc-agent.md +0 -112
  120. package/components/agents/obsidian-ops-team/review-agent.md +0 -94
  121. package/components/agents/obsidian-ops-team/tag-agent.md +0 -92
  122. package/components/agents/obsidian-ops-team/vault-optimizer.md +0 -76
  123. package/components/agents/ocr-extraction-team/document-structure-analyzer.md +0 -37
  124. package/components/agents/ocr-extraction-team/markdown-syntax-formatter.md +0 -58
  125. package/components/agents/ocr-extraction-team/ocr-grammar-fixer.md +0 -36
  126. package/components/agents/ocr-extraction-team/ocr-preprocessing-optimizer.md +0 -37
  127. package/components/agents/ocr-extraction-team/ocr-quality-assurance.md +0 -62
  128. package/components/agents/ocr-extraction-team/text-comparison-validator.md +0 -60
  129. package/components/agents/ocr-extraction-team/visual-analysis-ocr.md +0 -52
  130. package/components/agents/performance-testing/load-testing-specialist.md +0 -37
  131. package/components/agents/performance-testing/performance-engineer.md +0 -33
  132. package/components/agents/performance-testing/react-performance-optimization.md +0 -65
  133. package/components/agents/performance-testing/test-automator.md +0 -33
  134. package/components/agents/performance-testing/web-vitals-optimizer.md +0 -37
  135. package/components/agents/podcast-creator-team/academic-research-synthesizer.md +0 -61
  136. package/components/agents/podcast-creator-team/comprehensive-researcher.md +0 -49
  137. package/components/agents/podcast-creator-team/episode-orchestrator.md +0 -52
  138. package/components/agents/podcast-creator-team/guest-outreach-coordinator.md +0 -37
  139. package/components/agents/podcast-creator-team/market-research-analyst.md +0 -54
  140. package/components/agents/podcast-creator-team/podcast-editor.md +0 -37
  141. package/components/agents/podcast-creator-team/podcast-trend-scout.md +0 -60
  142. package/components/agents/podcast-creator-team/project-supervisor-orchestrator.md +0 -48
  143. package/components/agents/podcast-creator-team/seo-podcast-optimizer.md +0 -58
  144. package/components/agents/podcast-creator-team/social-media-copywriter.md +0 -57
  145. package/components/agents/podcast-creator-team/twitter-ai-influencer-manager.md +0 -62
  146. package/components/agents/programming-languages/c-pro.md +0 -36
  147. package/components/agents/programming-languages/c-sharp-pro.md +0 -40
  148. package/components/agents/programming-languages/cpp-pro.md +0 -39
  149. package/components/agents/programming-languages/golang-pro.md +0 -33
  150. package/components/agents/programming-languages/javascript-pro.md +0 -36
  151. package/components/agents/programming-languages/php-pro.md +0 -44
  152. package/components/agents/programming-languages/python-pro.md +0 -33
  153. package/components/agents/programming-languages/rust-pro.md +0 -36
  154. package/components/agents/programming-languages/shell-scripting-pro.md +0 -38
  155. package/components/agents/programming-languages/sql-pro.md +0 -36
  156. package/components/agents/programming-languages/typescript-pro.md +0 -38
  157. package/components/agents/realtime/supabase-realtime-optimizer.md +0 -193
  158. package/components/agents/security/api-security-audit.md +0 -93
  159. package/components/agents/security/compliance-specialist.md +0 -37
  160. package/components/agents/security/incident-responder.md +0 -75
  161. package/components/agents/security/penetration-tester.md +0 -37
  162. package/components/agents/security/security-auditor.md +0 -33
  163. package/components/agents/web-tools/nextjs-architecture-expert.md +0 -194
  164. package/components/agents/web-tools/react-performance-optimizer.md +0 -425
  165. package/components/agents/web-tools/seo-analyzer.md +0 -37
  166. package/components/agents/web-tools/url-context-validator.md +0 -61
  167. package/components/agents/web-tools/url-link-extractor.md +0 -59
  168. package/components/agents/web-tools/web-accessibility-checker.md +0 -37
  169. package/components/commands/automation/act.md +0 -57
  170. package/components/commands/automation/ci-pipeline.md +0 -378
  171. package/components/commands/automation/husky.md +0 -130
  172. package/components/commands/automation/workflow-orchestrator.md +0 -576
  173. package/components/commands/database/supabase-backup-manager.md +0 -37
  174. package/components/commands/database/supabase-data-explorer.md +0 -37
  175. package/components/commands/database/supabase-migration-assistant.md +0 -37
  176. package/components/commands/database/supabase-performance-optimizer.md +0 -37
  177. package/components/commands/database/supabase-realtime-monitor.md +0 -37
  178. package/components/commands/database/supabase-schema-sync.md +0 -37
  179. package/components/commands/database/supabase-security-audit.md +0 -37
  180. package/components/commands/database/supabase-type-generator.md +0 -37
  181. package/components/commands/deployment/add-changelog.md +0 -92
  182. package/components/commands/deployment/blue-green-deployment.md +0 -824
  183. package/components/commands/deployment/changelog-demo-command.md +0 -43
  184. package/components/commands/deployment/ci-setup.md +0 -323
  185. package/components/commands/deployment/containerize-application.md +0 -93
  186. package/components/commands/deployment/deployment-monitoring.md +0 -1228
  187. package/components/commands/deployment/hotfix-deploy.md +0 -283
  188. package/components/commands/deployment/prepare-release.md +0 -357
  189. package/components/commands/deployment/rollback-deploy.md +0 -145
  190. package/components/commands/deployment/setup-automated-releases.md +0 -143
  191. package/components/commands/deployment/setup-kubernetes-deployment.md +0 -93
  192. package/components/commands/documentation/create-architecture-documentation.md +0 -95
  193. package/components/commands/documentation/create-onboarding-guide.md +0 -93
  194. package/components/commands/documentation/doc-api.md +0 -242
  195. package/components/commands/documentation/docs-maintenance.md +0 -119
  196. package/components/commands/documentation/generate-api-documentation.md +0 -97
  197. package/components/commands/documentation/interactive-documentation.md +0 -133
  198. package/components/commands/documentation/load-llms-txt.md +0 -39
  199. package/components/commands/documentation/migration-guide.md +0 -250
  200. package/components/commands/documentation/troubleshooting-guide.md +0 -370
  201. package/components/commands/documentation/update-docs.md +0 -107
  202. package/components/commands/game-development/game-analytics-integration.md +0 -128
  203. package/components/commands/game-development/game-asset-pipeline.md +0 -108
  204. package/components/commands/game-development/game-performance-profiler.md +0 -78
  205. package/components/commands/game-development/game-testing-framework.md +0 -112
  206. package/components/commands/game-development/unity-project-setup.md +0 -190
  207. package/components/commands/git-workflow/branch-cleanup.md +0 -181
  208. package/components/commands/git-workflow/commit.md +0 -167
  209. package/components/commands/git-workflow/create-pr.md +0 -19
  210. package/components/commands/git-workflow/create-pull-request.md +0 -126
  211. package/components/commands/git-workflow/create-worktrees.md +0 -174
  212. package/components/commands/git-workflow/fix-github-issue.md +0 -13
  213. package/components/commands/git-workflow/git-bisect-helper.md +0 -261
  214. package/components/commands/git-workflow/pr-review.md +0 -76
  215. package/components/commands/git-workflow/update-branch-name.md +0 -9
  216. package/components/commands/nextjs-vercel/nextjs-api-tester.md +0 -480
  217. package/components/commands/nextjs-vercel/nextjs-bundle-analyzer.md +0 -406
  218. package/components/commands/nextjs-vercel/nextjs-component-generator.md +0 -489
  219. package/components/commands/nextjs-vercel/nextjs-middleware-creator.md +0 -712
  220. package/components/commands/nextjs-vercel/nextjs-migration-helper.md +0 -778
  221. package/components/commands/nextjs-vercel/nextjs-performance-audit.md +0 -653
  222. package/components/commands/nextjs-vercel/nextjs-scaffold.md +0 -237
  223. package/components/commands/nextjs-vercel/vercel-deploy-optimize.md +0 -341
  224. package/components/commands/nextjs-vercel/vercel-edge-function.md +0 -810
  225. package/components/commands/nextjs-vercel/vercel-env-sync.md +0 -666
  226. package/components/commands/orchestration/archive.md +0 -414
  227. package/components/commands/orchestration/commit.md +0 -305
  228. package/components/commands/orchestration/find.md +0 -272
  229. package/components/commands/orchestration/log.md +0 -355
  230. package/components/commands/orchestration/move.md +0 -220
  231. package/components/commands/orchestration/optimize.md +0 -375
  232. package/components/commands/orchestration/remove.md +0 -301
  233. package/components/commands/orchestration/report.md +0 -292
  234. package/components/commands/orchestration/resume.md +0 -256
  235. package/components/commands/orchestration/start.md +0 -169
  236. package/components/commands/orchestration/status.md +0 -219
  237. package/components/commands/orchestration/sync.md +0 -294
  238. package/components/commands/performance/add-performance-monitoring.md +0 -84
  239. package/components/commands/performance/implement-caching-strategy.md +0 -84
  240. package/components/commands/performance/optimize-api-performance.md +0 -119
  241. package/components/commands/performance/optimize-build.md +0 -139
  242. package/components/commands/performance/optimize-bundle-size.md +0 -84
  243. package/components/commands/performance/optimize-database-performance.md +0 -84
  244. package/components/commands/performance/optimize-memory-usage.md +0 -91
  245. package/components/commands/performance/performance-audit.md +0 -89
  246. package/components/commands/performance/setup-cdn-optimization.md +0 -84
  247. package/components/commands/performance/system-behavior-simulator.md +0 -415
  248. package/components/commands/project-management/add-package.md +0 -90
  249. package/components/commands/project-management/add-to-changelog.md +0 -37
  250. package/components/commands/project-management/create-feature.md +0 -130
  251. package/components/commands/project-management/create-jtbd.md +0 -37
  252. package/components/commands/project-management/create-prd.md +0 -36
  253. package/components/commands/project-management/create-prp.md +0 -37
  254. package/components/commands/project-management/init-project.md +0 -80
  255. package/components/commands/project-management/milestone-tracker.md +0 -44
  256. package/components/commands/project-management/pac-configure.md +0 -32
  257. package/components/commands/project-management/pac-create-epic.md +0 -41
  258. package/components/commands/project-management/pac-create-ticket.md +0 -42
  259. package/components/commands/project-management/pac-update-status.md +0 -39
  260. package/components/commands/project-management/pac-validate.md +0 -35
  261. package/components/commands/project-management/project-health-check.md +0 -58
  262. package/components/commands/project-management/project-timeline-simulator.md +0 -37
  263. package/components/commands/project-management/project-to-linear.md +0 -38
  264. package/components/commands/project-management/release.md +0 -31
  265. package/components/commands/project-management/todo.md +0 -62
  266. package/components/commands/security/add-authentication-system.md +0 -34
  267. package/components/commands/security/dependency-audit.md +0 -32
  268. package/components/commands/security/penetration-test.md +0 -40
  269. package/components/commands/security/secrets-scanner.md +0 -39
  270. package/components/commands/security/security-audit.md +0 -82
  271. package/components/commands/security/security-hardening.md +0 -33
  272. package/components/commands/setup/create-database-migrations.md +0 -35
  273. package/components/commands/setup/design-database-schema.md +0 -37
  274. package/components/commands/setup/design-rest-api.md +0 -37
  275. package/components/commands/setup/implement-graphql-api.md +0 -37
  276. package/components/commands/setup/migrate-to-typescript.md +0 -37
  277. package/components/commands/setup/setup-ci-cd-pipeline.md +0 -37
  278. package/components/commands/setup/setup-development-environment.md +0 -37
  279. package/components/commands/setup/setup-docker-containers.md +0 -37
  280. package/components/commands/setup/setup-formatting.md +0 -37
  281. package/components/commands/setup/setup-linting.md +0 -37
  282. package/components/commands/setup/setup-monitoring-observability.md +0 -37
  283. package/components/commands/setup/setup-monorepo.md +0 -37
  284. package/components/commands/setup/setup-rate-limiting.md +0 -37
  285. package/components/commands/setup/update-dependencies.md +0 -35
  286. package/components/commands/simulation/business-scenario-explorer.md +0 -37
  287. package/components/commands/simulation/constraint-modeler.md +0 -37
  288. package/components/commands/simulation/decision-tree-explorer.md +0 -37
  289. package/components/commands/simulation/digital-twin-creator.md +0 -37
  290. package/components/commands/simulation/future-scenario-generator.md +0 -37
  291. package/components/commands/simulation/market-response-modeler.md +0 -37
  292. package/components/commands/simulation/monte-carlo-simulator.md +0 -37
  293. package/components/commands/simulation/simulation-calibrator.md +0 -37
  294. package/components/commands/simulation/system-dynamics-modeler.md +0 -37
  295. package/components/commands/simulation/timeline-compressor.md +0 -37
  296. package/components/commands/svelte/svelte:a11y.md +0 -105
  297. package/components/commands/svelte/svelte:component.md +0 -81
  298. package/components/commands/svelte/svelte:debug.md +0 -48
  299. package/components/commands/svelte/svelte:migrate.md +0 -79
  300. package/components/commands/svelte/svelte:optimize.md +0 -99
  301. package/components/commands/svelte/svelte:scaffold.md +0 -89
  302. package/components/commands/svelte/svelte:storybook-migrate.md +0 -204
  303. package/components/commands/svelte/svelte:storybook-mock.md +0 -213
  304. package/components/commands/svelte/svelte:storybook-setup.md +0 -113
  305. package/components/commands/svelte/svelte:storybook-story.md +0 -145
  306. package/components/commands/svelte/svelte:storybook-troubleshoot.md +0 -191
  307. package/components/commands/svelte/svelte:storybook.md +0 -48
  308. package/components/commands/svelte/svelte:test-coverage.md +0 -77
  309. package/components/commands/svelte/svelte:test-fix.md +0 -74
  310. package/components/commands/svelte/svelte:test-setup.md +0 -85
  311. package/components/commands/svelte/svelte:test.md +0 -60
  312. package/components/commands/sync/bidirectional-sync.md +0 -37
  313. package/components/commands/sync/bulk-import-issues.md +0 -37
  314. package/components/commands/sync/cross-reference-manager.md +0 -37
  315. package/components/commands/sync/issue-to-linear-task.md +0 -37
  316. package/components/commands/sync/linear-task-to-issue.md +0 -37
  317. package/components/commands/sync/sync-automation-setup.md +0 -37
  318. package/components/commands/sync/sync-conflict-resolver.md +0 -37
  319. package/components/commands/sync/sync-health-monitor.md +0 -37
  320. package/components/commands/sync/sync-issues-to-linear.md +0 -37
  321. package/components/commands/sync/sync-linear-to-issues.md +0 -37
  322. package/components/commands/sync/sync-migration-assistant.md +0 -37
  323. package/components/commands/sync/sync-pr-to-task.md +0 -37
  324. package/components/commands/sync/sync-status.md +0 -391
  325. package/components/commands/sync/task-from-pr.md +0 -37
  326. package/components/commands/team/architecture-review.md +0 -37
  327. package/components/commands/team/decision-quality-analyzer.md +0 -37
  328. package/components/commands/team/dependency-mapper.md +0 -37
  329. package/components/commands/team/estimate-assistant.md +0 -37
  330. package/components/commands/team/issue-triage.md +0 -37
  331. package/components/commands/team/memory-spring-cleaning.md +0 -37
  332. package/components/commands/team/migration-assistant.md +0 -37
  333. package/components/commands/team/retrospective-analyzer.md +0 -37
  334. package/components/commands/team/session-learning-capture.md +0 -37
  335. package/components/commands/team/sprint-planning.md +0 -189
  336. package/components/commands/team/standup-report.md +0 -37
  337. package/components/commands/team/team-knowledge-mapper.md +0 -37
  338. package/components/commands/team/team-velocity-tracker.md +0 -37
  339. package/components/commands/team/team-workload-balancer.md +0 -37
  340. package/components/commands/testing/add-mutation-testing.md +0 -37
  341. package/components/commands/testing/add-property-based-testing.md +0 -37
  342. package/components/commands/testing/e2e-setup.md +0 -37
  343. package/components/commands/testing/generate-test-cases.md +0 -37
  344. package/components/commands/testing/generate-tests.md +0 -82
  345. package/components/commands/testing/setup-comprehensive-testing.md +0 -37
  346. package/components/commands/testing/setup-load-testing.md +0 -37
  347. package/components/commands/testing/setup-visual-testing.md +0 -37
  348. package/components/commands/testing/test-automation-orchestrator.md +0 -37
  349. package/components/commands/testing/test-changelog-automation.md +0 -37
  350. package/components/commands/testing/test-coverage.md +0 -37
  351. package/components/commands/testing/test-quality-analyzer.md +0 -37
  352. package/components/commands/testing/testing_plan_integration.md +0 -37
  353. package/components/commands/testing/write-tests.md +0 -37
  354. package/components/commands/utilities/all-tools.md +0 -31
  355. package/components/commands/utilities/architecture-scenario-explorer.md +0 -375
  356. package/components/commands/utilities/check-file.md +0 -53
  357. package/components/commands/utilities/clean-branches.md +0 -243
  358. package/components/commands/utilities/clean.md +0 -1
  359. package/components/commands/utilities/code-permutation-tester.md +0 -341
  360. package/components/commands/utilities/code-review.md +0 -70
  361. package/components/commands/utilities/code-to-task.md +0 -583
  362. package/components/commands/utilities/context-prime.md +0 -1
  363. package/components/commands/utilities/debug-error.md +0 -121
  364. package/components/commands/utilities/directory-deep-dive.md +0 -34
  365. package/components/commands/utilities/explain-code.md +0 -194
  366. package/components/commands/utilities/fix-issue.md +0 -85
  367. package/components/commands/utilities/generate-linear-worklog.md +0 -113
  368. package/components/commands/utilities/git-status.md +0 -39
  369. package/components/commands/utilities/initref.md +0 -3
  370. package/components/commands/utilities/prime.md +0 -41
  371. package/components/commands/utilities/refactor-code.md +0 -116
  372. package/components/commands/utilities/ultra-think.md +0 -153
  373. package/components/hooks/HOOK_PATTERNS_COMPRESSED.json +0 -1
  374. package/components/hooks/automation/build-on-change.json +0 -16
  375. package/components/hooks/automation/dependency-checker.json +0 -16
  376. package/components/hooks/automation/deployment-health-monitor.json +0 -29
  377. package/components/hooks/automation/discord-detailed-notifications.json +0 -26
  378. package/components/hooks/automation/discord-error-notifications.json +0 -37
  379. package/components/hooks/automation/discord-notifications.json +0 -25
  380. package/components/hooks/automation/simple-notifications.json +0 -16
  381. package/components/hooks/automation/slack-detailed-notifications.json +0 -26
  382. package/components/hooks/automation/slack-error-notifications.json +0 -37
  383. package/components/hooks/automation/slack-notifications.json +0 -25
  384. package/components/hooks/automation/telegram-detailed-notifications.json +0 -26
  385. package/components/hooks/automation/telegram-error-notifications.json +0 -37
  386. package/components/hooks/automation/telegram-notifications.json +0 -25
  387. package/components/hooks/automation/vercel-auto-deploy.json +0 -17
  388. package/components/hooks/automation/vercel-environment-sync.json +0 -29
  389. package/components/hooks/development-tools/change-tracker.json +0 -25
  390. package/components/hooks/development-tools/command-logger.json +0 -16
  391. package/components/hooks/development-tools/file-backup.json +0 -16
  392. package/components/hooks/development-tools/lint-on-save.json +0 -16
  393. package/components/hooks/development-tools/nextjs-code-quality-enforcer.json +0 -17
  394. package/components/hooks/development-tools/smart-formatting.json +0 -16
  395. package/components/hooks/git-workflow/auto-git-add.json +0 -16
  396. package/components/hooks/git-workflow/smart-commit.json +0 -25
  397. package/components/hooks/performance/performance-budget-guard.json +0 -27
  398. package/components/hooks/performance/performance-monitor.json +0 -27
  399. package/components/hooks/post-tool/format-javascript-files.json +0 -16
  400. package/components/hooks/post-tool/format-python-files.json +0 -16
  401. package/components/hooks/post-tool/git-add-changes.json +0 -25
  402. package/components/hooks/post-tool/run-tests-after-changes.json +0 -16
  403. package/components/hooks/pre-tool/backup-before-edit.json +0 -16
  404. package/components/hooks/pre-tool/notify-before-bash.json +0 -16
  405. package/components/hooks/security/file-protection.json +0 -16
  406. package/components/hooks/security/security-scanner.json +0 -16
  407. package/components/hooks/testing/test-runner.json +0 -16
  408. package/components/mcps/browser_automation/browser-use-mcp-server.json +0 -20
  409. package/components/mcps/browser_automation/browsermcp.json +0 -9
  410. package/components/mcps/browser_automation/mcp-server-browserbase.json +0 -14
  411. package/components/mcps/browser_automation/mcp-server-playwright.json +0 -9
  412. package/components/mcps/browser_automation/playwright-mcp-server.json +0 -9
  413. package/components/mcps/browser_automation/playwright-mcp.json +0 -11
  414. package/components/mcps/database/mysql-integration.json +0 -12
  415. package/components/mcps/database/postgresql-integration.json +0 -12
  416. package/components/mcps/database/supabase.json +0 -17
  417. package/components/mcps/deepgraph/deepgraph-nextjs.json +0 -13
  418. package/components/mcps/deepgraph/deepgraph-react.json +0 -13
  419. package/components/mcps/deepgraph/deepgraph-typescript.json +0 -13
  420. package/components/mcps/deepgraph/deepgraph-vue.json +0 -13
  421. package/components/mcps/devtools/circleci.json +0 -13
  422. package/components/mcps/devtools/context7.json +0 -9
  423. package/components/mcps/devtools/firefly-mcp.json +0 -13
  424. package/components/mcps/devtools/ios-simulator-mcp.json +0 -9
  425. package/components/mcps/devtools/just-mcp.json +0 -9
  426. package/components/mcps/devtools/leetcode.json +0 -8
  427. package/components/mcps/devtools/mcp-server-atlassian-bitbucket.json +0 -9
  428. package/components/mcps/devtools/mcp-server-trello.json +0 -12
  429. package/components/mcps/filesystem/filesystem-access.json +0 -13
  430. package/components/mcps/integration/github-integration.json +0 -12
  431. package/components/mcps/integration/memory-integration.json +0 -9
  432. package/components/mcps/marketing/facebook-ads-mcp-server.json +0 -13
  433. package/components/mcps/marketing/google-ads-mcp-server.json +0 -11
  434. package/components/mcps/web/web-fetch.json +0 -9
  435. package/components/settings/api/bedrock-configuration.json +0 -7
  436. package/components/settings/api/corporate-proxy.json +0 -7
  437. package/components/settings/api/custom-headers.json +0 -6
  438. package/components/settings/api/vertex-configuration.json +0 -8
  439. package/components/settings/authentication/api-key-helper.json +0 -7
  440. package/components/settings/authentication/force-claudeai-login.json +0 -4
  441. package/components/settings/authentication/force-console-login.json +0 -4
  442. package/components/settings/cleanup/retention-7-days.json +0 -4
  443. package/components/settings/cleanup/retention-90-days.json +0 -4
  444. package/components/settings/environment/bash-timeouts.json +0 -8
  445. package/components/settings/environment/development-utils.json +0 -8
  446. package/components/settings/environment/performance-optimization.json +0 -8
  447. package/components/settings/environment/privacy-focused.json +0 -10
  448. package/components/settings/global/aws-credentials.json +0 -5
  449. package/components/settings/global/custom-model.json +0 -7
  450. package/components/settings/global/git-commit-settings.json +0 -4
  451. package/components/settings/mcp/disable-risky-servers.json +0 -8
  452. package/components/settings/mcp/enable-all-project-servers.json +0 -4
  453. package/components/settings/mcp/enable-specific-servers.json +0 -8
  454. package/components/settings/mcp/mcp-timeouts.json +0 -8
  455. package/components/settings/model/use-haiku.json +0 -4
  456. package/components/settings/model/use-sonnet.json +0 -4
  457. package/components/settings/permissions/additional-directories.json +0 -11
  458. package/components/settings/permissions/allow-git-operations.json +0 -14
  459. package/components/settings/permissions/allow-npm-commands.json +0 -11
  460. package/components/settings/permissions/deny-sensitive-files.json +0 -11
  461. package/components/settings/permissions/development-mode.json +0 -31
  462. package/components/settings/permissions/read-only-mode.json +0 -18
  463. package/components/settings/statusline/asset-pipeline-controller-statusline.json +0 -7
  464. package/components/settings/statusline/bug-circus-statusline.json +0 -7
  465. package/components/settings/statusline/code-casino-statusline.json +0 -7
  466. package/components/settings/statusline/code-spaceship-statusline.json +0 -7
  467. package/components/settings/statusline/colorful-statusline.json +0 -7
  468. package/components/settings/statusline/command-statusline.json +0 -8
  469. package/components/settings/statusline/context-monitor.json +0 -7
  470. package/components/settings/statusline/context-monitor.py +0 -236
  471. package/components/settings/statusline/data-ocean-statusline.json +0 -7
  472. package/components/settings/statusline/emotion-theater-statusline.json +0 -7
  473. package/components/settings/statusline/game-performance-monitor-statusline.json +0 -7
  474. package/components/settings/statusline/git-branch-statusline.json +0 -7
  475. package/components/settings/statusline/minimal-statusline.json +0 -7
  476. package/components/settings/statusline/multiplatform-build-status-statusline.json +0 -7
  477. package/components/settings/statusline/productivity-rainbow-statusline.json +0 -7
  478. package/components/settings/statusline/programmer-tamagotchi-statusline.json +0 -7
  479. package/components/settings/statusline/programming-fitness-tracker-statusline.json +0 -7
  480. package/components/settings/statusline/project-info-statusline.json +0 -7
  481. package/components/settings/statusline/rpg-status-bar-statusline.json +0 -7
  482. package/components/settings/statusline/time-statusline.json +0 -7
  483. package/components/settings/statusline/unity-project-dashboard-statusline.json +0 -7
  484. package/components/settings/statusline/vercel-deployment-monitor.json +0 -7
  485. package/components/settings/statusline/vercel-error-alert-system.json +0 -7
  486. package/components/settings/statusline/vercel-multi-env-status.json +0 -7
  487. package/components/settings/statusline/virtual-code-garden-statusline.json +0 -7
  488. package/components/settings/statusline/zero-config-deployment-monitor.json +0 -7
  489. package/components/settings/telemetry/custom-telemetry.json +0 -7
  490. package/components/settings/telemetry/disable-telemetry.json +0 -6
  491. package/components/settings/telemetry/enable-telemetry.json +0 -6
@@ -1,343 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Enhanced Tag Standardizer for hierarchical tag structure.
4
- Consolidates similar tags and applies hierarchical organization.
5
- """
6
-
7
- import os
8
- import re
9
- import yaml
10
- from pathlib import Path
11
- from collections import defaultdict, Counter
12
-
13
- class EnhancedTagStandardizer:
14
- def __init__(self, vault_path):
15
- self.vault_path = Path(vault_path)
16
- self.files_updated = 0
17
-
18
- # Enhanced mappings for better consolidation
19
- self.enhanced_mappings = {
20
- # AI hierarchy consolidation
21
- 'ai-development': 'ai/development',
22
- 'ai-ideas': 'idea', # Ideas are tracked with 'idea' tag
23
- 'ai-tools': 'ai/tools',
24
- 'ai-consulting': 'consulting',
25
- 'ai-courses': 'learning/course',
26
- 'ai-conferences-and-competitions': 'learning/conference',
27
- 'ai-articles-and-research': 'ai/research',
28
- 'ai-agent': 'ai/agents',
29
- 'ai-community': 'community',
30
- 'ai-integration': 'ai/development',
31
- 'ai-services': 'ai/tools',
32
-
33
- # Business hierarchy
34
- 'business-strategy': 'business/strategy',
35
- 'business-development': 'business/development',
36
- 'business-intelligence': 'business/analytics',
37
- 'business-model': 'business/strategy',
38
- 'business-automation': 'automation',
39
- 'business-systems': 'business/systems',
40
- 'business-case': 'business/strategy',
41
- 'business-context': 'business',
42
- 'business-research': 'business/research',
43
- 'business-mapping': 'business/strategy',
44
- 'business-report': 'business/analytics',
45
- 'business-operations': 'business/operations',
46
- 'business-plan': 'business/strategy',
47
- 'business-transformation': 'business/strategy',
48
- 'business-solutions': 'business/solutions',
49
- 'business-assets': 'business/assets',
50
-
51
- # Client work standardization
52
- 'client-work': 'client',
53
- 'client-materials': 'client',
54
- 'client-analytics': 'client',
55
- 'client-communication': 'client',
56
-
57
- # Learning hierarchy
58
- 'tutorial/course': 'learning/course',
59
- 'learning-paths': 'learning',
60
- 'courses': 'learning/course',
61
- 'tutorials': 'tutorial',
62
- 'guides': 'tutorial',
63
- 'training': 'learning',
64
- 'certifications': 'learning/certification',
65
-
66
- # Technical tags
67
- 'development-tools': 'ai/tools',
68
- 'tools': 'ai/tools',
69
- 'apis': 'api',
70
- 'api-integration': 'api',
71
- 'api-testing': 'testing',
72
-
73
- # Content organization
74
- 'daily-notes': 'daily',
75
- 'daily-email': 'email',
76
- 'email-summary': 'email',
77
- 'email-processing': 'email',
78
- 'email-marketing': 'marketing',
79
-
80
- # Web development
81
- 'web-development': 'development',
82
- 'web-presence': 'business/web-presence',
83
- '_web-presence-development': 'business/web-presence',
84
-
85
- # Personal tags
86
- '_personal_': 'personal',
87
- 'personal-development': 'personal/development',
88
-
89
- # Project management
90
- 'project-management': 'project',
91
- 'project-timeline': 'project',
92
-
93
- # Marketing & content
94
- 'content-strategy': 'marketing/content',
95
- 'content-marketing': 'marketing/content',
96
- 'content-calendar': 'marketing/calendar',
97
- 'content-distribution': 'marketing/distribution',
98
- 'marketing-strategy': 'marketing/strategy',
99
-
100
- # Technical infrastructure
101
- 'it-infrastructure': 'infrastructure',
102
- 'server-management': 'infrastructure',
103
- 'server-setup': 'infrastructure',
104
-
105
- # Data and analytics
106
- 'data-processing': 'data',
107
- 'data-sources': 'data',
108
- 'data-security': 'security',
109
-
110
- # Remove underscores from tags
111
- '_tutorials_': 'tutorial',
112
- '_business-formation_': 'business/formation',
113
-
114
- # Standardize compound words
115
- 'meeting-notes': 'meeting',
116
- 'meetings': 'meeting',
117
-
118
- # Standardize plural forms
119
- 'agents': 'ai/agents',
120
- 'templates': 'template',
121
- 'projects': 'project',
122
- 'tasks': 'action/todo',
123
- 'sources': 'source',
124
- 'systems': 'system',
125
- 'solutions': 'solution',
126
- 'recommendations': 'recommendation',
127
- 'transcripts': 'transcript',
128
- 'discussions': 'discussion',
129
- 'platforms': 'platform',
130
- 'frameworks': 'framework',
131
- 'pipelines': 'pipeline',
132
- 'servers': 'server',
133
- 'summaries': 'summary',
134
- 'conferences': 'conference',
135
- 'opportunities': 'opportunity',
136
- 'datasets': 'dataset',
137
-
138
- # Consolidate similar concepts
139
- 'thought-leadership': 'authority-building',
140
- 'technical-authority': 'authority-building',
141
- 'brainstorming': 'idea',
142
- 'strategic-planning': 'strategy',
143
- 'strategic-decision-making': 'strategy',
144
- 'strategic-overview': 'strategy',
145
- 'strategic-connections': 'strategy',
146
-
147
- # Standardize vendor/tool names
148
- 'anthropic_blog': 'anthropic',
149
- 'anthropic_github': 'anthropic',
150
- 'github_topic_-_mcp': 'mcp',
151
- 'github_topic_-_mcp_server': 'mcp',
152
- 'mcp_reddit': 'mcp',
153
- 'mcp_documentation': 'mcp',
154
- 'mcp_github_discussions': 'mcp',
155
- 'mcp-server': 'mcp',
156
- 'npm_-_mcp_packages': 'mcp',
157
- 'dev.to_mcp_tag': 'mcp',
158
- 'medium_-_mcp_topics': 'mcp',
159
- 'pulsemcp_blog': 'pulsemcp',
160
-
161
- # Clean up system tags
162
- 'system_files': 'system',
163
- 'remote_vault01': 'remote-sync',
164
-
165
- # Consolidate database tags
166
- 'graph-db': 'database',
167
- 'graph-databases': 'database',
168
- 'vector-databases': 'database',
169
- 'database-queries': 'database',
170
- 'database-updates': 'database',
171
-
172
- # Consolidate AI concepts
173
- 'ai/rag': 'ai/embeddings',
174
- 'agentic-rag': 'ai/embeddings',
175
- 'knowledge-graph': 'graphrag',
176
- 'knowledge-network': 'graphrag',
177
- 'knowledge-management': 'knowledge-base',
178
-
179
- # Family tags
180
- 'family-projects': 'family/projects',
181
- 'family/index': 'family',
182
-
183
- # Visual content
184
- 'visual-assets': 'visual-assets',
185
- 'visual-organization': 'visual-assets',
186
- 'visual-learning': 'visual-assets',
187
- 'visual-search': 'visual-assets',
188
- 'image-gallery': 'gallery',
189
- 'image-generation': 'ai/tools',
190
- 'screenshots': 'visual-assets',
191
- 'screenshots-and-references': 'visual-assets',
192
- 'infographics': 'visual-assets',
193
- 'charts': 'visual-assets',
194
- 'images': 'visual-assets',
195
- 'snagit-captures': 'visual-assets',
196
-
197
- # Analytics and metrics
198
- 'analytics': 'analytics',
199
- 'client-analytics': 'analytics',
200
- 'revenue-analytics': 'analytics',
201
- 'performance-metrics': 'analytics',
202
- 'financial-analysis': 'finance',
203
- 'roi-analysis': 'roi',
204
- 'roi-calculator': 'roi',
205
-
206
- # Simplify compound concepts
207
- 'complexity-analysis': 'analysis',
208
- 'connection-analysis': 'analysis',
209
- 'network-analysis': 'analysis',
210
- 'schema-analysis': 'analysis',
211
- 'competitive-intelligence': 'analysis',
212
- 'competitor-tracking': 'analysis',
213
-
214
- # Standardize workflow tags
215
- 'workflow': 'workflows',
216
-
217
- # Clean up misc tags
218
- '--ollama-deep-research': 'ollama',
219
- 'second-opinion-dds': 'dental',
220
- 'austin-langchain': 'community',
221
- 'the-build': 'build',
222
- 'mcpcentral.io': 'mcpcentral',
223
- }
224
-
225
- def extract_frontmatter(self, content):
226
- """Extract YAML frontmatter from content."""
227
- if not content.strip().startswith('---'):
228
- return None, content
229
-
230
- lines = content.split('\n')
231
- if len(lines) < 3:
232
- return None, content
233
-
234
- end_idx = None
235
- for i in range(1, len(lines)):
236
- if lines[i].strip() == '---':
237
- end_idx = i
238
- break
239
-
240
- if end_idx is None:
241
- return None, content
242
-
243
- try:
244
- frontmatter_text = '\n'.join(lines[1:end_idx])
245
- frontmatter = yaml.safe_load(frontmatter_text)
246
- remaining_content = '\n'.join(lines[end_idx + 1:])
247
- return frontmatter, remaining_content
248
- except yaml.YAMLError:
249
- return None, content
250
-
251
- def enhance_tag(self, tag):
252
- """Apply enhanced tag standardization."""
253
- # Remove leading/trailing whitespace
254
- tag = tag.strip()
255
-
256
- # Remove hash if present
257
- if tag.startswith('#'):
258
- tag = tag[1:]
259
-
260
- # Apply enhanced mappings
261
- if tag in self.enhanced_mappings:
262
- return self.enhanced_mappings[tag]
263
-
264
- # Default: lowercase and replace spaces with hyphens
265
- return tag.lower().replace(' ', '-')
266
-
267
- def process_file(self, file_path):
268
- """Process a single file with enhanced tag standardization."""
269
- try:
270
- with open(file_path, 'r', encoding='utf-8') as f:
271
- content = f.read()
272
-
273
- frontmatter, remaining_content = self.extract_frontmatter(content)
274
-
275
- if frontmatter is None or 'tags' not in frontmatter:
276
- return False
277
-
278
- # Get current tags
279
- current_tags = frontmatter.get('tags', [])
280
- if not current_tags:
281
- return False
282
-
283
- # Standardize tags
284
- if isinstance(current_tags, list):
285
- new_tags = []
286
- changed = False
287
-
288
- for tag in current_tags:
289
- if isinstance(tag, str):
290
- enhanced = self.enhance_tag(tag)
291
- if enhanced != tag:
292
- changed = True
293
- if enhanced and enhanced not in new_tags:
294
- new_tags.append(enhanced)
295
-
296
- if changed:
297
- # Update frontmatter
298
- frontmatter['tags'] = new_tags
299
-
300
- # Reconstruct content
301
- new_frontmatter = yaml.dump(frontmatter, default_flow_style=False, sort_keys=False)
302
- new_content = f"---\n{new_frontmatter}---\n{remaining_content}"
303
-
304
- # Write back to file
305
- with open(file_path, 'w', encoding='utf-8') as f:
306
- f.write(new_content)
307
-
308
- print(f"Enhanced: {file_path.relative_to(self.vault_path)}")
309
- return True
310
-
311
- return False
312
-
313
- except Exception as e:
314
- print(f"Error processing {file_path}: {e}")
315
- return False
316
-
317
- def process_vault(self):
318
- """Process all files in the vault."""
319
- skip_dirs = {'.obsidian', '.trash', '.git'}
320
-
321
- for file_path in self.vault_path.rglob('*.md'):
322
- if any(skip_dir in file_path.parts for skip_dir in skip_dirs):
323
- continue
324
-
325
- if self.process_file(file_path):
326
- self.files_updated += 1
327
-
328
- return self.files_updated
329
-
330
- def main():
331
- vault_path = '/Users/cam/VAULT01'
332
- print(f"Enhanced tag standardization for: {vault_path}")
333
- print("This will consolidate similar tags and apply hierarchical organization")
334
- print("-" * 60)
335
-
336
- standardizer = EnhancedTagStandardizer(vault_path)
337
- updated = standardizer.process_vault()
338
-
339
- print("-" * 60)
340
- print(f"Total files updated: {updated}")
341
-
342
- if __name__ == '__main__':
343
- main()
@@ -1,216 +0,0 @@
1
- #!/usr/bin/env python3
2
- """Find and implement keyword-based connections between files."""
3
-
4
- import os
5
- import re
6
- from collections import Counter, defaultdict
7
- from pathlib import Path
8
-
9
- # Priority keywords to focus on
10
- PRIORITY_KEYWORDS = {
11
- 'llm', 'langchain', 'langgraph', 'rag', 'embedding', 'vector',
12
- 'agent', 'automation', 'workflow', 'pipeline', 'mcp', 'api',
13
- 'anthropic', 'openai', 'google', 'claude', 'gpt', 'model',
14
- 'context', 'protocol', 'fastapi', 'docker', 'cloudflare',
15
- 'supabase', 'integration', 'framework', 'retrieval', 'augmented',
16
- 'generation', 'prompt', 'engineering', 'multimodal', 'function',
17
- 'calling', 'tool', 'use', 'chain', 'thought', 'reasoning'
18
- }
19
-
20
- def extract_keywords_from_file(file_path):
21
- """Extract meaningful keywords from a file."""
22
- try:
23
- with open(file_path, 'r', encoding='utf-8') as f:
24
- content = f.read().lower()
25
-
26
- # Extract words (alphanumeric plus hyphens)
27
- words = re.findall(r'\b[a-z0-9-]+\b', content)
28
-
29
- # Filter for priority keywords and count occurrences
30
- keyword_counts = Counter()
31
- for word in words:
32
- if word in PRIORITY_KEYWORDS:
33
- keyword_counts[word] += 1
34
-
35
- return keyword_counts
36
- except:
37
- return Counter()
38
-
39
- def find_keyword_connections(vault_root):
40
- """Find files that share multiple priority keywords."""
41
- search_dirs = [
42
- vault_root / "AI Development",
43
- vault_root / "AI Articles and Research",
44
- vault_root / "AI IDEAS",
45
- vault_root / "AI Courses",
46
- vault_root / "CamRohn LLC",
47
- vault_root / "Clippings"
48
- ]
49
-
50
- # Collect keyword data for all files
51
- file_keywords = {}
52
- print("Analyzing files for keywords...")
53
-
54
- for search_dir in search_dirs:
55
- if not search_dir.exists():
56
- continue
57
-
58
- for root, dirs, files in os.walk(search_dir):
59
- for file in files:
60
- if file.endswith('.md'):
61
- file_path = Path(root) / file
62
- keywords = extract_keywords_from_file(file_path)
63
- if keywords:
64
- file_keywords[file_path] = keywords
65
-
66
- print(f"Analyzed {len(file_keywords)} files")
67
-
68
- # Find connections between files
69
- connections = []
70
- processed_pairs = set()
71
-
72
- files = list(file_keywords.keys())
73
- for i, file1 in enumerate(files):
74
- if i % 100 == 0:
75
- print(f"Processing file {i+1}/{len(files)}...")
76
-
77
- for j, file2 in enumerate(files[i+1:], start=i+1):
78
- # Skip if already processed
79
- pair = tuple(sorted([str(file1), str(file2)]))
80
- if pair in processed_pairs:
81
- continue
82
- processed_pairs.add(pair)
83
-
84
- # Find common keywords
85
- common_keywords = set(file_keywords[file1].keys()) & set(file_keywords[file2].keys())
86
-
87
- if len(common_keywords) >= 5: # At least 5 common keywords
88
- # Calculate relevance score
89
- score = sum(
90
- min(file_keywords[file1][kw], file_keywords[file2][kw])
91
- for kw in common_keywords
92
- )
93
-
94
- connections.append({
95
- 'file1': file1,
96
- 'file2': file2,
97
- 'keywords': list(common_keywords),
98
- 'score': score
99
- })
100
-
101
- # Sort by score
102
- connections.sort(key=lambda x: x['score'], reverse=True)
103
-
104
- return connections
105
-
106
- def add_link_to_file(file_path, link_to_add, link_text=None):
107
- """Add a link to a file if it doesn't already exist."""
108
- try:
109
- with open(file_path, 'r', encoding='utf-8') as f:
110
- content = f.read()
111
-
112
- # Extract just the filename for the link
113
- link_filename = Path(link_to_add).stem
114
-
115
- # Check if link already exists
116
- if f'[[{link_filename}]]' in content:
117
- return False
118
-
119
- # Find or create Related section
120
- related_match = re.search(r'^## Related\s*$', content, re.MULTILINE)
121
-
122
- if related_match:
123
- # Insert after the Related header
124
- insert_pos = related_match.end()
125
- # Skip to next line
126
- next_line = content.find('\n', insert_pos)
127
- if next_line != -1:
128
- insert_pos = next_line + 1
129
- else:
130
- # Add Related section at end
131
- if not content.endswith('\n'):
132
- content += '\n'
133
- content += '\n## Related\n'
134
- insert_pos = len(content)
135
-
136
- # Create the link line
137
- if link_text:
138
- link_line = f"- [[{link_filename}]] - {link_text}\n"
139
- else:
140
- link_line = f"- [[{link_filename}]]\n"
141
-
142
- # Insert the link
143
- new_content = content[:insert_pos] + link_line + content[insert_pos:]
144
-
145
- with open(file_path, 'w', encoding='utf-8') as f:
146
- f.write(new_content)
147
-
148
- return True
149
- except Exception as e:
150
- print(f"Error updating {file_path}: {e}")
151
- return False
152
-
153
- def implement_keyword_connections(connections, limit=50):
154
- """Implement the top keyword-based connections."""
155
- connections_made = 0
156
- keyword_clusters = defaultdict(list)
157
-
158
- for conn in connections[:limit]:
159
- file1 = conn['file1']
160
- file2 = conn['file2']
161
- keywords = conn['keywords']
162
-
163
- # Create descriptive text
164
- keyword_text = f"Shares keywords: {', '.join(sorted(keywords)[:5])}"
165
-
166
- # Add bidirectional links
167
- if add_link_to_file(file1, file2, keyword_text):
168
- connections_made += 1
169
- print(f"Connected {file1.name} ↔ {file2.name}")
170
-
171
- # Track keyword clusters
172
- for kw in keywords:
173
- keyword_clusters[kw].append((file1.name, file2.name))
174
-
175
- if add_link_to_file(file2, file1, keyword_text):
176
- connections_made += 1
177
-
178
- return connections_made, keyword_clusters
179
-
180
- def main():
181
- vault_root = Path("/Users/cam/VAULT01")
182
-
183
- print("Finding keyword-based connections...")
184
- connections = find_keyword_connections(vault_root)
185
-
186
- print(f"\nFound {len(connections)} potential keyword connections")
187
-
188
- # Show top connections
189
- print("\nTop 10 keyword connections by relevance:")
190
- for i, conn in enumerate(connections[:10]):
191
- print(f"{i+1}. {conn['file1'].name} ↔ {conn['file2'].name}")
192
- print(f" Keywords ({len(conn['keywords'])}): {', '.join(sorted(conn['keywords'])[:8])}")
193
- print(f" Score: {conn['score']}")
194
-
195
- # Implement connections
196
- print("\nImplementing connections...")
197
- connections_made, keyword_clusters = implement_keyword_connections(connections)
198
-
199
- print(f"\n=== Keyword Connection Report ===")
200
- print(f"Total connections made: {connections_made}")
201
-
202
- print("\nMost connected keywords:")
203
- sorted_keywords = sorted(keyword_clusters.items(), key=lambda x: len(x[1]), reverse=True)[:10]
204
- for keyword, connections in sorted_keywords:
205
- print(f" {keyword}: {len(connections)} connections")
206
-
207
- # Find cross-domain connections
208
- print("\nCross-domain connections:")
209
- cross_domain = 0
210
- for i, (keyword, conn_list) in enumerate(sorted_keywords[:5]):
211
- print(f"\n{keyword}-related cross-domain connections:")
212
- for file1_name, file2_name in conn_list[:3]: # Show first 3 for each keyword
213
- print(f" - {file1_name} ↔ {file2_name}")
214
-
215
- if __name__ == "__main__":
216
- main()
@@ -1,82 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Fix quoted tags in frontmatter by converting single-quoted tags to unquoted format.
4
- """
5
-
6
- import os
7
- import re
8
- import yaml
9
- from pathlib import Path
10
-
11
- def fix_quoted_tags(vault_path):
12
- """Fix single-quoted tags in all markdown files."""
13
- vault_path = Path(vault_path)
14
- files_updated = 0
15
-
16
- for file_path in vault_path.rglob('*.md'):
17
- if any(skip in file_path.parts for skip in ['.obsidian', '.trash', '.git']):
18
- continue
19
-
20
- try:
21
- with open(file_path, 'r', encoding='utf-8') as f:
22
- content = f.read()
23
-
24
- # Check if file has frontmatter
25
- if not content.strip().startswith('---'):
26
- continue
27
-
28
- # Find frontmatter boundaries
29
- lines = content.split('\n')
30
- if len(lines) < 3:
31
- continue
32
-
33
- end_idx = None
34
- for i in range(1, len(lines)):
35
- if lines[i].strip() == '---':
36
- end_idx = i
37
- break
38
-
39
- if end_idx is None:
40
- continue
41
-
42
- # Extract frontmatter
43
- frontmatter_text = '\n'.join(lines[1:end_idx])
44
-
45
- # Check if tags line has quoted values
46
- if re.search(r"tags:\s*\[['\"]", frontmatter_text):
47
- # Parse frontmatter
48
- try:
49
- frontmatter = yaml.safe_load(frontmatter_text)
50
- if frontmatter and 'tags' in frontmatter:
51
- # Update tags (remove quotes)
52
- tags = frontmatter['tags']
53
- if isinstance(tags, list):
54
- # Tags are already in list format, just ensure they're not quoted
55
- frontmatter['tags'] = [str(tag) for tag in tags]
56
-
57
- # Reconstruct content
58
- new_frontmatter = yaml.dump(frontmatter, default_flow_style=False, sort_keys=False)
59
- remaining_content = '\n'.join(lines[end_idx + 1:])
60
- new_content = f"---\n{new_frontmatter}---\n{remaining_content}"
61
-
62
- # Write back
63
- with open(file_path, 'w', encoding='utf-8') as f:
64
- f.write(new_content)
65
-
66
- files_updated += 1
67
- print(f"Fixed: {file_path.relative_to(vault_path)}")
68
-
69
- except yaml.YAMLError as e:
70
- print(f"YAML error in {file_path}: {e}")
71
-
72
- except Exception as e:
73
- print(f"Error processing {file_path}: {e}")
74
-
75
- return files_updated
76
-
77
- if __name__ == '__main__':
78
- vault_path = '/Users/cam/VAULT01'
79
- print(f"Fixing quoted tags in: {vault_path}")
80
-
81
- updated = fix_quoted_tags(vault_path)
82
- print(f"\nTotal files updated: {updated}")