claude-code-templates 1.21.6 → 1.21.7
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.
- package/package.json +2 -2
- package/components/agents/ai-specialists/ai-ethics-advisor.md +0 -195
- package/components/agents/ai-specialists/hackathon-ai-strategist.md +0 -46
- package/components/agents/ai-specialists/llms-maintainer.md +0 -94
- package/components/agents/ai-specialists/model-evaluator.md +0 -150
- package/components/agents/ai-specialists/prompt-engineer.md +0 -112
- package/components/agents/ai-specialists/search-specialist.md +0 -59
- package/components/agents/ai-specialists/task-decomposition-expert.md +0 -97
- package/components/agents/api-graphql/graphql-architect.md +0 -208
- package/components/agents/api-graphql/graphql-performance-optimizer.md +0 -357
- package/components/agents/api-graphql/graphql-security-specialist.md +0 -519
- package/components/agents/blockchain-web3/smart-contract-auditor.md +0 -32
- package/components/agents/blockchain-web3/smart-contract-specialist.md +0 -32
- package/components/agents/blockchain-web3/web3-integration-specialist.md +0 -32
- package/components/agents/business-marketing/business-analyst.md +0 -194
- package/components/agents/business-marketing/content-marketer.md +0 -36
- package/components/agents/business-marketing/customer-support.md +0 -36
- package/components/agents/business-marketing/legal-advisor.md +0 -50
- package/components/agents/business-marketing/marketing-attribution-analyst.md +0 -352
- package/components/agents/business-marketing/payment-integration.md +0 -33
- package/components/agents/business-marketing/product-strategist.md +0 -212
- package/components/agents/business-marketing/risk-manager.md +0 -42
- package/components/agents/business-marketing/sales-automator.md +0 -36
- package/components/agents/data-ai/ai-engineer.md +0 -33
- package/components/agents/data-ai/computer-vision-engineer.md +0 -562
- package/components/agents/data-ai/data-engineer.md +0 -33
- package/components/agents/data-ai/data-scientist.md +0 -337
- package/components/agents/data-ai/ml-engineer.md +0 -33
- package/components/agents/data-ai/mlops-engineer.md +0 -58
- package/components/agents/data-ai/nlp-engineer.md +0 -680
- package/components/agents/data-ai/quant-analyst.md +0 -33
- package/components/agents/database/database-admin.md +0 -33
- package/components/agents/database/database-architect.md +0 -590
- package/components/agents/database/database-optimization.md +0 -33
- package/components/agents/database/database-optimizer.md +0 -33
- package/components/agents/database/nosql-specialist.md +0 -708
- package/components/agents/database/supabase-schema-architect.md +0 -138
- package/components/agents/deep-research-team/academic-researcher.md +0 -33
- package/components/agents/deep-research-team/agent-overview.md +0 -235
- package/components/agents/deep-research-team/competitive-intelligence-analyst.md +0 -530
- package/components/agents/deep-research-team/data-analyst.md +0 -112
- package/components/agents/deep-research-team/fact-checker.md +0 -553
- package/components/agents/deep-research-team/query-clarifier.md +0 -73
- package/components/agents/deep-research-team/report-generator.md +0 -108
- package/components/agents/deep-research-team/research-brief-generator.md +0 -108
- package/components/agents/deep-research-team/research-coordinator.md +0 -94
- package/components/agents/deep-research-team/research-orchestrator.md +0 -119
- package/components/agents/deep-research-team/research-synthesizer.md +0 -109
- package/components/agents/deep-research-team/technical-researcher.md +0 -95
- package/components/agents/development-team/backend-architect.md +0 -31
- package/components/agents/development-team/cli-ui-designer.md +0 -405
- package/components/agents/development-team/devops-engineer.md +0 -886
- package/components/agents/development-team/frontend-developer.md +0 -32
- package/components/agents/development-team/fullstack-developer.md +0 -1205
- package/components/agents/development-team/ios-developer.md +0 -36
- package/components/agents/development-team/mobile-developer.md +0 -33
- package/components/agents/development-team/ui-ux-designer.md +0 -36
- package/components/agents/development-tools/code-reviewer.md +0 -30
- package/components/agents/development-tools/command-expert.md +0 -422
- package/components/agents/development-tools/context-manager.md +0 -65
- package/components/agents/development-tools/debugger.md +0 -31
- package/components/agents/development-tools/dx-optimizer.md +0 -64
- package/components/agents/development-tools/error-detective.md +0 -33
- package/components/agents/development-tools/mcp-expert.md +0 -259
- package/components/agents/development-tools/performance-profiler.md +0 -799
- package/components/agents/development-tools/test-engineer.md +0 -936
- package/components/agents/devops-infrastructure/cloud-architect.md +0 -33
- package/components/agents/devops-infrastructure/deployment-engineer.md +0 -33
- package/components/agents/devops-infrastructure/devops-troubleshooter.md +0 -33
- package/components/agents/devops-infrastructure/monitoring-specialist.md +0 -36
- package/components/agents/devops-infrastructure/network-engineer.md +0 -33
- package/components/agents/devops-infrastructure/security-engineer.md +0 -971
- package/components/agents/devops-infrastructure/terraform-specialist.md +0 -36
- package/components/agents/devops-infrastructure/vercel-deployment-specialist.md +0 -357
- package/components/agents/documentation/api-documenter.md +0 -33
- package/components/agents/documentation/changelog-generator.md +0 -37
- package/components/agents/documentation/docusaurus-expert.md +0 -52
- package/components/agents/documentation/technical-writer.md +0 -37
- package/components/agents/expert-advisors/agent-expert.md +0 -477
- package/components/agents/expert-advisors/architect-review.md +0 -50
- package/components/agents/expert-advisors/dependency-manager.md +0 -45
- package/components/agents/expert-advisors/documentation-expert.md +0 -47
- package/components/agents/ffmpeg-clip-team/audio-mixer.md +0 -37
- package/components/agents/ffmpeg-clip-team/audio-quality-controller.md +0 -100
- package/components/agents/ffmpeg-clip-team/podcast-content-analyzer.md +0 -60
- package/components/agents/ffmpeg-clip-team/podcast-metadata-specialist.md +0 -46
- package/components/agents/ffmpeg-clip-team/podcast-transcriber.md +0 -68
- package/components/agents/ffmpeg-clip-team/social-media-clip-creator.md +0 -69
- package/components/agents/ffmpeg-clip-team/timestamp-precision-specialist.md +0 -98
- package/components/agents/ffmpeg-clip-team/video-editor.md +0 -37
- package/components/agents/game-development/3d-artist.md +0 -37
- package/components/agents/game-development/game-designer.md +0 -37
- package/components/agents/game-development/unity-game-developer.md +0 -110
- package/components/agents/game-development/unreal-engine-developer.md +0 -128
- package/components/agents/mcp-dev-team/mcp-deployment-orchestrator.md +0 -101
- package/components/agents/mcp-dev-team/mcp-integration-engineer.md +0 -37
- package/components/agents/mcp-dev-team/mcp-protocol-specialist.md +0 -37
- package/components/agents/mcp-dev-team/mcp-registry-navigator.md +0 -112
- package/components/agents/mcp-dev-team/mcp-security-auditor.md +0 -70
- package/components/agents/mcp-dev-team/mcp-server-architect.md +0 -74
- package/components/agents/mcp-dev-team/mcp-testing-engineer.md +0 -106
- package/components/agents/modernization/architecture-modernizer.md +0 -37
- package/components/agents/modernization/cloud-migration-specialist.md +0 -37
- package/components/agents/modernization/legacy-modernizer.md +0 -33
- package/components/agents/obsidian-ops-team/Scripts/daily_notes_connector.py +0 -306
- package/components/agents/obsidian-ops-team/Scripts/enhance_tag_standardizer.py +0 -343
- package/components/agents/obsidian-ops-team/Scripts/find_keyword_connections.py +0 -216
- package/components/agents/obsidian-ops-team/Scripts/fix_quoted_tags.py +0 -82
- package/components/agents/obsidian-ops-team/Scripts/implement_entity_connections.py +0 -195
- package/components/agents/obsidian-ops-team/Scripts/link_suggester.py +0 -301
- package/components/agents/obsidian-ops-team/Scripts/metadata_adder.py +0 -197
- package/components/agents/obsidian-ops-team/Scripts/moc_generator.py +0 -296
- package/components/agents/obsidian-ops-team/Scripts/parse_keyword_connections.py +0 -122
- package/components/agents/obsidian-ops-team/Scripts/tag_standardizer.py +0 -387
- package/components/agents/obsidian-ops-team/connection-agent.md +0 -67
- package/components/agents/obsidian-ops-team/content-curator.md +0 -81
- package/components/agents/obsidian-ops-team/metadata-agent.md +0 -51
- package/components/agents/obsidian-ops-team/moc-agent.md +0 -112
- package/components/agents/obsidian-ops-team/review-agent.md +0 -94
- package/components/agents/obsidian-ops-team/tag-agent.md +0 -92
- package/components/agents/obsidian-ops-team/vault-optimizer.md +0 -76
- package/components/agents/ocr-extraction-team/document-structure-analyzer.md +0 -37
- package/components/agents/ocr-extraction-team/markdown-syntax-formatter.md +0 -58
- package/components/agents/ocr-extraction-team/ocr-grammar-fixer.md +0 -36
- package/components/agents/ocr-extraction-team/ocr-preprocessing-optimizer.md +0 -37
- package/components/agents/ocr-extraction-team/ocr-quality-assurance.md +0 -62
- package/components/agents/ocr-extraction-team/text-comparison-validator.md +0 -60
- package/components/agents/ocr-extraction-team/visual-analysis-ocr.md +0 -52
- package/components/agents/performance-testing/load-testing-specialist.md +0 -37
- package/components/agents/performance-testing/performance-engineer.md +0 -33
- package/components/agents/performance-testing/react-performance-optimization.md +0 -65
- package/components/agents/performance-testing/test-automator.md +0 -33
- package/components/agents/performance-testing/web-vitals-optimizer.md +0 -37
- package/components/agents/podcast-creator-team/academic-research-synthesizer.md +0 -61
- package/components/agents/podcast-creator-team/comprehensive-researcher.md +0 -49
- package/components/agents/podcast-creator-team/episode-orchestrator.md +0 -52
- package/components/agents/podcast-creator-team/guest-outreach-coordinator.md +0 -37
- package/components/agents/podcast-creator-team/market-research-analyst.md +0 -54
- package/components/agents/podcast-creator-team/podcast-editor.md +0 -37
- package/components/agents/podcast-creator-team/podcast-trend-scout.md +0 -60
- package/components/agents/podcast-creator-team/project-supervisor-orchestrator.md +0 -48
- package/components/agents/podcast-creator-team/seo-podcast-optimizer.md +0 -58
- package/components/agents/podcast-creator-team/social-media-copywriter.md +0 -57
- package/components/agents/podcast-creator-team/twitter-ai-influencer-manager.md +0 -62
- package/components/agents/programming-languages/c-pro.md +0 -36
- package/components/agents/programming-languages/c-sharp-pro.md +0 -40
- package/components/agents/programming-languages/cpp-pro.md +0 -39
- package/components/agents/programming-languages/golang-pro.md +0 -33
- package/components/agents/programming-languages/javascript-pro.md +0 -36
- package/components/agents/programming-languages/php-pro.md +0 -44
- package/components/agents/programming-languages/python-pro.md +0 -33
- package/components/agents/programming-languages/rust-pro.md +0 -36
- package/components/agents/programming-languages/shell-scripting-pro.md +0 -38
- package/components/agents/programming-languages/sql-pro.md +0 -36
- package/components/agents/programming-languages/typescript-pro.md +0 -38
- package/components/agents/realtime/supabase-realtime-optimizer.md +0 -193
- package/components/agents/security/api-security-audit.md +0 -93
- package/components/agents/security/compliance-specialist.md +0 -37
- package/components/agents/security/incident-responder.md +0 -75
- package/components/agents/security/penetration-tester.md +0 -37
- package/components/agents/security/security-auditor.md +0 -33
- package/components/agents/web-tools/nextjs-architecture-expert.md +0 -194
- package/components/agents/web-tools/react-performance-optimizer.md +0 -425
- package/components/agents/web-tools/seo-analyzer.md +0 -37
- package/components/agents/web-tools/url-context-validator.md +0 -61
- package/components/agents/web-tools/url-link-extractor.md +0 -59
- package/components/agents/web-tools/web-accessibility-checker.md +0 -37
- package/components/commands/automation/act.md +0 -57
- package/components/commands/automation/ci-pipeline.md +0 -378
- package/components/commands/automation/husky.md +0 -130
- package/components/commands/automation/workflow-orchestrator.md +0 -576
- package/components/commands/database/supabase-backup-manager.md +0 -37
- package/components/commands/database/supabase-data-explorer.md +0 -37
- package/components/commands/database/supabase-migration-assistant.md +0 -37
- package/components/commands/database/supabase-performance-optimizer.md +0 -37
- package/components/commands/database/supabase-realtime-monitor.md +0 -37
- package/components/commands/database/supabase-schema-sync.md +0 -37
- package/components/commands/database/supabase-security-audit.md +0 -37
- package/components/commands/database/supabase-type-generator.md +0 -37
- package/components/commands/deployment/add-changelog.md +0 -92
- package/components/commands/deployment/blue-green-deployment.md +0 -824
- package/components/commands/deployment/changelog-demo-command.md +0 -43
- package/components/commands/deployment/ci-setup.md +0 -323
- package/components/commands/deployment/containerize-application.md +0 -93
- package/components/commands/deployment/deployment-monitoring.md +0 -1228
- package/components/commands/deployment/hotfix-deploy.md +0 -283
- package/components/commands/deployment/prepare-release.md +0 -357
- package/components/commands/deployment/rollback-deploy.md +0 -145
- package/components/commands/deployment/setup-automated-releases.md +0 -143
- package/components/commands/deployment/setup-kubernetes-deployment.md +0 -93
- package/components/commands/documentation/create-architecture-documentation.md +0 -95
- package/components/commands/documentation/create-onboarding-guide.md +0 -93
- package/components/commands/documentation/doc-api.md +0 -242
- package/components/commands/documentation/docs-maintenance.md +0 -119
- package/components/commands/documentation/generate-api-documentation.md +0 -97
- package/components/commands/documentation/interactive-documentation.md +0 -133
- package/components/commands/documentation/load-llms-txt.md +0 -39
- package/components/commands/documentation/migration-guide.md +0 -250
- package/components/commands/documentation/troubleshooting-guide.md +0 -370
- package/components/commands/documentation/update-docs.md +0 -107
- package/components/commands/game-development/game-analytics-integration.md +0 -128
- package/components/commands/game-development/game-asset-pipeline.md +0 -108
- package/components/commands/game-development/game-performance-profiler.md +0 -78
- package/components/commands/game-development/game-testing-framework.md +0 -112
- package/components/commands/game-development/unity-project-setup.md +0 -190
- package/components/commands/git-workflow/branch-cleanup.md +0 -181
- package/components/commands/git-workflow/commit.md +0 -167
- package/components/commands/git-workflow/create-pr.md +0 -19
- package/components/commands/git-workflow/create-pull-request.md +0 -126
- package/components/commands/git-workflow/create-worktrees.md +0 -174
- package/components/commands/git-workflow/fix-github-issue.md +0 -13
- package/components/commands/git-workflow/git-bisect-helper.md +0 -261
- package/components/commands/git-workflow/pr-review.md +0 -76
- package/components/commands/git-workflow/update-branch-name.md +0 -9
- package/components/commands/nextjs-vercel/nextjs-api-tester.md +0 -480
- package/components/commands/nextjs-vercel/nextjs-bundle-analyzer.md +0 -406
- package/components/commands/nextjs-vercel/nextjs-component-generator.md +0 -489
- package/components/commands/nextjs-vercel/nextjs-middleware-creator.md +0 -712
- package/components/commands/nextjs-vercel/nextjs-migration-helper.md +0 -778
- package/components/commands/nextjs-vercel/nextjs-performance-audit.md +0 -653
- package/components/commands/nextjs-vercel/nextjs-scaffold.md +0 -237
- package/components/commands/nextjs-vercel/vercel-deploy-optimize.md +0 -341
- package/components/commands/nextjs-vercel/vercel-edge-function.md +0 -810
- package/components/commands/nextjs-vercel/vercel-env-sync.md +0 -666
- package/components/commands/orchestration/archive.md +0 -414
- package/components/commands/orchestration/commit.md +0 -305
- package/components/commands/orchestration/find.md +0 -272
- package/components/commands/orchestration/log.md +0 -355
- package/components/commands/orchestration/move.md +0 -220
- package/components/commands/orchestration/optimize.md +0 -375
- package/components/commands/orchestration/remove.md +0 -301
- package/components/commands/orchestration/report.md +0 -292
- package/components/commands/orchestration/resume.md +0 -256
- package/components/commands/orchestration/start.md +0 -169
- package/components/commands/orchestration/status.md +0 -219
- package/components/commands/orchestration/sync.md +0 -294
- package/components/commands/performance/add-performance-monitoring.md +0 -84
- package/components/commands/performance/implement-caching-strategy.md +0 -84
- package/components/commands/performance/optimize-api-performance.md +0 -119
- package/components/commands/performance/optimize-build.md +0 -139
- package/components/commands/performance/optimize-bundle-size.md +0 -84
- package/components/commands/performance/optimize-database-performance.md +0 -84
- package/components/commands/performance/optimize-memory-usage.md +0 -91
- package/components/commands/performance/performance-audit.md +0 -89
- package/components/commands/performance/setup-cdn-optimization.md +0 -84
- package/components/commands/performance/system-behavior-simulator.md +0 -415
- package/components/commands/project-management/add-package.md +0 -90
- package/components/commands/project-management/add-to-changelog.md +0 -37
- package/components/commands/project-management/create-feature.md +0 -130
- package/components/commands/project-management/create-jtbd.md +0 -37
- package/components/commands/project-management/create-prd.md +0 -36
- package/components/commands/project-management/create-prp.md +0 -37
- package/components/commands/project-management/init-project.md +0 -80
- package/components/commands/project-management/milestone-tracker.md +0 -44
- package/components/commands/project-management/pac-configure.md +0 -32
- package/components/commands/project-management/pac-create-epic.md +0 -41
- package/components/commands/project-management/pac-create-ticket.md +0 -42
- package/components/commands/project-management/pac-update-status.md +0 -39
- package/components/commands/project-management/pac-validate.md +0 -35
- package/components/commands/project-management/project-health-check.md +0 -58
- package/components/commands/project-management/project-timeline-simulator.md +0 -37
- package/components/commands/project-management/project-to-linear.md +0 -38
- package/components/commands/project-management/release.md +0 -31
- package/components/commands/project-management/todo.md +0 -62
- package/components/commands/security/add-authentication-system.md +0 -34
- package/components/commands/security/dependency-audit.md +0 -32
- package/components/commands/security/penetration-test.md +0 -40
- package/components/commands/security/secrets-scanner.md +0 -39
- package/components/commands/security/security-audit.md +0 -82
- package/components/commands/security/security-hardening.md +0 -33
- package/components/commands/setup/create-database-migrations.md +0 -35
- package/components/commands/setup/design-database-schema.md +0 -37
- package/components/commands/setup/design-rest-api.md +0 -37
- package/components/commands/setup/implement-graphql-api.md +0 -37
- package/components/commands/setup/migrate-to-typescript.md +0 -37
- package/components/commands/setup/setup-ci-cd-pipeline.md +0 -37
- package/components/commands/setup/setup-development-environment.md +0 -37
- package/components/commands/setup/setup-docker-containers.md +0 -37
- package/components/commands/setup/setup-formatting.md +0 -37
- package/components/commands/setup/setup-linting.md +0 -37
- package/components/commands/setup/setup-monitoring-observability.md +0 -37
- package/components/commands/setup/setup-monorepo.md +0 -37
- package/components/commands/setup/setup-rate-limiting.md +0 -37
- package/components/commands/setup/update-dependencies.md +0 -35
- package/components/commands/simulation/business-scenario-explorer.md +0 -37
- package/components/commands/simulation/constraint-modeler.md +0 -37
- package/components/commands/simulation/decision-tree-explorer.md +0 -37
- package/components/commands/simulation/digital-twin-creator.md +0 -37
- package/components/commands/simulation/future-scenario-generator.md +0 -37
- package/components/commands/simulation/market-response-modeler.md +0 -37
- package/components/commands/simulation/monte-carlo-simulator.md +0 -37
- package/components/commands/simulation/simulation-calibrator.md +0 -37
- package/components/commands/simulation/system-dynamics-modeler.md +0 -37
- package/components/commands/simulation/timeline-compressor.md +0 -37
- package/components/commands/svelte/svelte:a11y.md +0 -105
- package/components/commands/svelte/svelte:component.md +0 -81
- package/components/commands/svelte/svelte:debug.md +0 -48
- package/components/commands/svelte/svelte:migrate.md +0 -79
- package/components/commands/svelte/svelte:optimize.md +0 -99
- package/components/commands/svelte/svelte:scaffold.md +0 -89
- package/components/commands/svelte/svelte:storybook-migrate.md +0 -204
- package/components/commands/svelte/svelte:storybook-mock.md +0 -213
- package/components/commands/svelte/svelte:storybook-setup.md +0 -113
- package/components/commands/svelte/svelte:storybook-story.md +0 -145
- package/components/commands/svelte/svelte:storybook-troubleshoot.md +0 -191
- package/components/commands/svelte/svelte:storybook.md +0 -48
- package/components/commands/svelte/svelte:test-coverage.md +0 -77
- package/components/commands/svelte/svelte:test-fix.md +0 -74
- package/components/commands/svelte/svelte:test-setup.md +0 -85
- package/components/commands/svelte/svelte:test.md +0 -60
- package/components/commands/sync/bidirectional-sync.md +0 -37
- package/components/commands/sync/bulk-import-issues.md +0 -37
- package/components/commands/sync/cross-reference-manager.md +0 -37
- package/components/commands/sync/issue-to-linear-task.md +0 -37
- package/components/commands/sync/linear-task-to-issue.md +0 -37
- package/components/commands/sync/sync-automation-setup.md +0 -37
- package/components/commands/sync/sync-conflict-resolver.md +0 -37
- package/components/commands/sync/sync-health-monitor.md +0 -37
- package/components/commands/sync/sync-issues-to-linear.md +0 -37
- package/components/commands/sync/sync-linear-to-issues.md +0 -37
- package/components/commands/sync/sync-migration-assistant.md +0 -37
- package/components/commands/sync/sync-pr-to-task.md +0 -37
- package/components/commands/sync/sync-status.md +0 -391
- package/components/commands/sync/task-from-pr.md +0 -37
- package/components/commands/team/architecture-review.md +0 -37
- package/components/commands/team/decision-quality-analyzer.md +0 -37
- package/components/commands/team/dependency-mapper.md +0 -37
- package/components/commands/team/estimate-assistant.md +0 -37
- package/components/commands/team/issue-triage.md +0 -37
- package/components/commands/team/memory-spring-cleaning.md +0 -37
- package/components/commands/team/migration-assistant.md +0 -37
- package/components/commands/team/retrospective-analyzer.md +0 -37
- package/components/commands/team/session-learning-capture.md +0 -37
- package/components/commands/team/sprint-planning.md +0 -189
- package/components/commands/team/standup-report.md +0 -37
- package/components/commands/team/team-knowledge-mapper.md +0 -37
- package/components/commands/team/team-velocity-tracker.md +0 -37
- package/components/commands/team/team-workload-balancer.md +0 -37
- package/components/commands/testing/add-mutation-testing.md +0 -37
- package/components/commands/testing/add-property-based-testing.md +0 -37
- package/components/commands/testing/e2e-setup.md +0 -37
- package/components/commands/testing/generate-test-cases.md +0 -37
- package/components/commands/testing/generate-tests.md +0 -82
- package/components/commands/testing/setup-comprehensive-testing.md +0 -37
- package/components/commands/testing/setup-load-testing.md +0 -37
- package/components/commands/testing/setup-visual-testing.md +0 -37
- package/components/commands/testing/test-automation-orchestrator.md +0 -37
- package/components/commands/testing/test-changelog-automation.md +0 -37
- package/components/commands/testing/test-coverage.md +0 -37
- package/components/commands/testing/test-quality-analyzer.md +0 -37
- package/components/commands/testing/testing_plan_integration.md +0 -37
- package/components/commands/testing/write-tests.md +0 -37
- package/components/commands/utilities/all-tools.md +0 -31
- package/components/commands/utilities/architecture-scenario-explorer.md +0 -375
- package/components/commands/utilities/check-file.md +0 -53
- package/components/commands/utilities/clean-branches.md +0 -243
- package/components/commands/utilities/clean.md +0 -1
- package/components/commands/utilities/code-permutation-tester.md +0 -341
- package/components/commands/utilities/code-review.md +0 -70
- package/components/commands/utilities/code-to-task.md +0 -583
- package/components/commands/utilities/context-prime.md +0 -1
- package/components/commands/utilities/debug-error.md +0 -121
- package/components/commands/utilities/directory-deep-dive.md +0 -34
- package/components/commands/utilities/explain-code.md +0 -194
- package/components/commands/utilities/fix-issue.md +0 -85
- package/components/commands/utilities/generate-linear-worklog.md +0 -113
- package/components/commands/utilities/git-status.md +0 -39
- package/components/commands/utilities/initref.md +0 -3
- package/components/commands/utilities/prime.md +0 -41
- package/components/commands/utilities/refactor-code.md +0 -116
- package/components/commands/utilities/ultra-think.md +0 -153
- package/components/hooks/HOOK_PATTERNS_COMPRESSED.json +0 -1
- package/components/hooks/automation/build-on-change.json +0 -16
- package/components/hooks/automation/dependency-checker.json +0 -16
- package/components/hooks/automation/deployment-health-monitor.json +0 -29
- package/components/hooks/automation/discord-detailed-notifications.json +0 -26
- package/components/hooks/automation/discord-error-notifications.json +0 -37
- package/components/hooks/automation/discord-notifications.json +0 -25
- package/components/hooks/automation/simple-notifications.json +0 -16
- package/components/hooks/automation/slack-detailed-notifications.json +0 -26
- package/components/hooks/automation/slack-error-notifications.json +0 -37
- package/components/hooks/automation/slack-notifications.json +0 -25
- package/components/hooks/automation/telegram-detailed-notifications.json +0 -26
- package/components/hooks/automation/telegram-error-notifications.json +0 -37
- package/components/hooks/automation/telegram-notifications.json +0 -25
- package/components/hooks/automation/vercel-auto-deploy.json +0 -17
- package/components/hooks/automation/vercel-environment-sync.json +0 -29
- package/components/hooks/development-tools/change-tracker.json +0 -25
- package/components/hooks/development-tools/command-logger.json +0 -16
- package/components/hooks/development-tools/file-backup.json +0 -16
- package/components/hooks/development-tools/lint-on-save.json +0 -16
- package/components/hooks/development-tools/nextjs-code-quality-enforcer.json +0 -17
- package/components/hooks/development-tools/smart-formatting.json +0 -16
- package/components/hooks/git-workflow/auto-git-add.json +0 -16
- package/components/hooks/git-workflow/smart-commit.json +0 -25
- package/components/hooks/performance/performance-budget-guard.json +0 -27
- package/components/hooks/performance/performance-monitor.json +0 -27
- package/components/hooks/post-tool/format-javascript-files.json +0 -16
- package/components/hooks/post-tool/format-python-files.json +0 -16
- package/components/hooks/post-tool/git-add-changes.json +0 -25
- package/components/hooks/post-tool/run-tests-after-changes.json +0 -16
- package/components/hooks/pre-tool/backup-before-edit.json +0 -16
- package/components/hooks/pre-tool/notify-before-bash.json +0 -16
- package/components/hooks/security/file-protection.json +0 -16
- package/components/hooks/security/security-scanner.json +0 -16
- package/components/hooks/testing/test-runner.json +0 -16
- package/components/mcps/browser_automation/browser-use-mcp-server.json +0 -20
- package/components/mcps/browser_automation/browsermcp.json +0 -9
- package/components/mcps/browser_automation/mcp-server-browserbase.json +0 -14
- package/components/mcps/browser_automation/mcp-server-playwright.json +0 -9
- package/components/mcps/browser_automation/playwright-mcp-server.json +0 -9
- package/components/mcps/browser_automation/playwright-mcp.json +0 -11
- package/components/mcps/database/mysql-integration.json +0 -12
- package/components/mcps/database/postgresql-integration.json +0 -12
- package/components/mcps/database/supabase.json +0 -17
- package/components/mcps/deepgraph/deepgraph-nextjs.json +0 -13
- package/components/mcps/deepgraph/deepgraph-react.json +0 -13
- package/components/mcps/deepgraph/deepgraph-typescript.json +0 -13
- package/components/mcps/deepgraph/deepgraph-vue.json +0 -13
- package/components/mcps/devtools/circleci.json +0 -13
- package/components/mcps/devtools/context7.json +0 -9
- package/components/mcps/devtools/firefly-mcp.json +0 -13
- package/components/mcps/devtools/ios-simulator-mcp.json +0 -9
- package/components/mcps/devtools/just-mcp.json +0 -9
- package/components/mcps/devtools/leetcode.json +0 -8
- package/components/mcps/devtools/mcp-server-atlassian-bitbucket.json +0 -9
- package/components/mcps/devtools/mcp-server-trello.json +0 -12
- package/components/mcps/filesystem/filesystem-access.json +0 -13
- package/components/mcps/integration/github-integration.json +0 -12
- package/components/mcps/integration/memory-integration.json +0 -9
- package/components/mcps/marketing/facebook-ads-mcp-server.json +0 -13
- package/components/mcps/marketing/google-ads-mcp-server.json +0 -11
- package/components/mcps/web/web-fetch.json +0 -9
- package/components/settings/api/bedrock-configuration.json +0 -7
- package/components/settings/api/corporate-proxy.json +0 -7
- package/components/settings/api/custom-headers.json +0 -6
- package/components/settings/api/vertex-configuration.json +0 -8
- package/components/settings/authentication/api-key-helper.json +0 -7
- package/components/settings/authentication/force-claudeai-login.json +0 -4
- package/components/settings/authentication/force-console-login.json +0 -4
- package/components/settings/cleanup/retention-7-days.json +0 -4
- package/components/settings/cleanup/retention-90-days.json +0 -4
- package/components/settings/environment/bash-timeouts.json +0 -8
- package/components/settings/environment/development-utils.json +0 -8
- package/components/settings/environment/performance-optimization.json +0 -8
- package/components/settings/environment/privacy-focused.json +0 -10
- package/components/settings/global/aws-credentials.json +0 -5
- package/components/settings/global/custom-model.json +0 -7
- package/components/settings/global/git-commit-settings.json +0 -4
- package/components/settings/mcp/disable-risky-servers.json +0 -8
- package/components/settings/mcp/enable-all-project-servers.json +0 -4
- package/components/settings/mcp/enable-specific-servers.json +0 -8
- package/components/settings/mcp/mcp-timeouts.json +0 -8
- package/components/settings/model/use-haiku.json +0 -4
- package/components/settings/model/use-sonnet.json +0 -4
- package/components/settings/permissions/additional-directories.json +0 -11
- package/components/settings/permissions/allow-git-operations.json +0 -14
- package/components/settings/permissions/allow-npm-commands.json +0 -11
- package/components/settings/permissions/deny-sensitive-files.json +0 -11
- package/components/settings/permissions/development-mode.json +0 -31
- package/components/settings/permissions/read-only-mode.json +0 -18
- package/components/settings/statusline/asset-pipeline-controller-statusline.json +0 -7
- package/components/settings/statusline/bug-circus-statusline.json +0 -7
- package/components/settings/statusline/code-casino-statusline.json +0 -7
- package/components/settings/statusline/code-spaceship-statusline.json +0 -7
- package/components/settings/statusline/colorful-statusline.json +0 -7
- package/components/settings/statusline/command-statusline.json +0 -8
- package/components/settings/statusline/context-monitor.json +0 -7
- package/components/settings/statusline/context-monitor.py +0 -236
- package/components/settings/statusline/data-ocean-statusline.json +0 -7
- package/components/settings/statusline/emotion-theater-statusline.json +0 -7
- package/components/settings/statusline/game-performance-monitor-statusline.json +0 -7
- package/components/settings/statusline/git-branch-statusline.json +0 -7
- package/components/settings/statusline/minimal-statusline.json +0 -7
- package/components/settings/statusline/multiplatform-build-status-statusline.json +0 -7
- package/components/settings/statusline/productivity-rainbow-statusline.json +0 -7
- package/components/settings/statusline/programmer-tamagotchi-statusline.json +0 -7
- package/components/settings/statusline/programming-fitness-tracker-statusline.json +0 -7
- package/components/settings/statusline/project-info-statusline.json +0 -7
- package/components/settings/statusline/rpg-status-bar-statusline.json +0 -7
- package/components/settings/statusline/time-statusline.json +0 -7
- package/components/settings/statusline/unity-project-dashboard-statusline.json +0 -7
- package/components/settings/statusline/vercel-deployment-monitor.json +0 -7
- package/components/settings/statusline/vercel-error-alert-system.json +0 -7
- package/components/settings/statusline/vercel-multi-env-status.json +0 -7
- package/components/settings/statusline/virtual-code-garden-statusline.json +0 -7
- package/components/settings/statusline/zero-config-deployment-monitor.json +0 -7
- package/components/settings/telemetry/custom-telemetry.json +0 -7
- package/components/settings/telemetry/disable-telemetry.json +0 -6
- package/components/settings/telemetry/enable-telemetry.json +0 -6
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""
|
|
3
|
-
MOC (Map of Content) Generator for Obsidian Vault
|
|
4
|
-
Automatically generates MOCs for directories and topics.
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
import os
|
|
8
|
-
import re
|
|
9
|
-
from pathlib import Path
|
|
10
|
-
from datetime import datetime
|
|
11
|
-
from collections import defaultdict
|
|
12
|
-
import argparse
|
|
13
|
-
|
|
14
|
-
class MOCGenerator:
|
|
15
|
-
def __init__(self, vault_path):
|
|
16
|
-
self.vault_path = Path(vault_path)
|
|
17
|
-
self.directory_stats = {}
|
|
18
|
-
self.topic_clusters = defaultdict(list)
|
|
19
|
-
|
|
20
|
-
def analyze_directory(self, directory_path):
|
|
21
|
-
"""Analyze a directory and its contents."""
|
|
22
|
-
stats = {
|
|
23
|
-
'total_files': 0,
|
|
24
|
-
'md_files': 0,
|
|
25
|
-
'subdirectories': [],
|
|
26
|
-
'file_types': defaultdict(int),
|
|
27
|
-
'common_topics': defaultdict(int)
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
try:
|
|
31
|
-
for item in directory_path.iterdir():
|
|
32
|
-
if item.is_file():
|
|
33
|
-
stats['total_files'] += 1
|
|
34
|
-
if item.suffix == '.md':
|
|
35
|
-
stats['md_files'] += 1
|
|
36
|
-
# Extract topics from filename
|
|
37
|
-
topics = self.extract_topics_from_filename(item.name)
|
|
38
|
-
for topic in topics:
|
|
39
|
-
stats['common_topics'][topic] += 1
|
|
40
|
-
stats['file_types'][item.suffix] += 1
|
|
41
|
-
elif item.is_dir() and not item.name.startswith('.'):
|
|
42
|
-
stats['subdirectories'].append(item.name)
|
|
43
|
-
except PermissionError:
|
|
44
|
-
print(f"Permission denied: {directory_path}")
|
|
45
|
-
|
|
46
|
-
return stats
|
|
47
|
-
|
|
48
|
-
def extract_topics_from_filename(self, filename):
|
|
49
|
-
"""Extract potential topics from filename."""
|
|
50
|
-
# Remove extension and common prefixes
|
|
51
|
-
name = filename.replace('.md', '')
|
|
52
|
-
name = re.sub(r'^\d{4}-\d{2}-\d{2}[_-]', '', name) # Remove date prefix
|
|
53
|
-
name = re.sub(r'^MOC[_-]', '', name) # Remove MOC prefix
|
|
54
|
-
|
|
55
|
-
# Split on common separators and filter
|
|
56
|
-
words = re.split(r'[_\-\s]+', name)
|
|
57
|
-
topics = []
|
|
58
|
-
|
|
59
|
-
# Filter out common words and keep meaningful terms
|
|
60
|
-
stop_words = {'and', 'the', 'for', 'with', 'to', 'of', 'in', 'on', 'at', 'by'}
|
|
61
|
-
|
|
62
|
-
for word in words:
|
|
63
|
-
if len(word) > 2 and word.lower() not in stop_words:
|
|
64
|
-
topics.append(word.lower())
|
|
65
|
-
|
|
66
|
-
return topics
|
|
67
|
-
|
|
68
|
-
def generate_moc_content(self, directory_path, title, description=""):
|
|
69
|
-
"""Generate MOC content for a directory."""
|
|
70
|
-
stats = self.analyze_directory(directory_path)
|
|
71
|
-
|
|
72
|
-
# Create frontmatter
|
|
73
|
-
frontmatter = f"""---
|
|
74
|
-
tags: [MOC, {directory_path.name.lower().replace(' ', '-')}]
|
|
75
|
-
type: map-of-content
|
|
76
|
-
created: {datetime.now().strftime('%Y-%m-%d')}
|
|
77
|
-
modified: {datetime.now().strftime('%Y-%m-%d')}
|
|
78
|
-
status: active
|
|
79
|
-
cssclass: moc
|
|
80
|
-
aliases: [{title} Hub, {title} Overview]
|
|
81
|
-
hub_for: [{directory_path.name}]
|
|
82
|
-
related_mocs: []
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
"""
|
|
86
|
-
|
|
87
|
-
# Create content
|
|
88
|
-
content = f"""# {title} Map of Content
|
|
89
|
-
|
|
90
|
-
## Overview
|
|
91
|
-
{description if description else f"This MOC organizes all content related to {title.lower()}."}
|
|
92
|
-
|
|
93
|
-
**Directory**: `{directory_path.name}/`
|
|
94
|
-
**Total Files**: {stats['md_files']} markdown files
|
|
95
|
-
**Last Updated**: {datetime.now().strftime('%Y-%m-%d')}
|
|
96
|
-
|
|
97
|
-
"""
|
|
98
|
-
|
|
99
|
-
# Add subdirectories if any
|
|
100
|
-
if stats['subdirectories']:
|
|
101
|
-
content += "## Subdirectories\n\n"
|
|
102
|
-
for subdir in sorted(stats['subdirectories']):
|
|
103
|
-
content += f"### {subdir}\n"
|
|
104
|
-
content += f"- [[MOC - {subdir}|{subdir} Overview]]\n\n"
|
|
105
|
-
|
|
106
|
-
# Organize files by topic
|
|
107
|
-
content += self.organize_files_by_topic(directory_path, stats)
|
|
108
|
-
|
|
109
|
-
# Add common topics section
|
|
110
|
-
if stats['common_topics']:
|
|
111
|
-
content += "## Key Topics\n\n"
|
|
112
|
-
sorted_topics = sorted(stats['common_topics'].items(), key=lambda x: x[1], reverse=True)
|
|
113
|
-
for topic, count in sorted_topics[:10]: # Top 10 topics
|
|
114
|
-
content += f"- **{topic.title()}** ({count} files)\n"
|
|
115
|
-
content += "\n"
|
|
116
|
-
|
|
117
|
-
# Add templates and resources
|
|
118
|
-
content += """## Related MOCs
|
|
119
|
-
- [[MOC - AI Development|AI Development]]
|
|
120
|
-
- [[MOC - Learning Resources|Learning Resources]]
|
|
121
|
-
- [[Master Index|🗂️ Master Index]]
|
|
122
|
-
|
|
123
|
-
## Status & Progress
|
|
124
|
-
- [ ] Organize files by topic
|
|
125
|
-
- [ ] Add cross-references
|
|
126
|
-
- [ ] Review and update links
|
|
127
|
-
- [ ] Add examples and tutorials
|
|
128
|
-
|
|
129
|
-
## Next Steps
|
|
130
|
-
- Review all files in this directory
|
|
131
|
-
- Create sub-MOCs for large topic clusters
|
|
132
|
-
- Add relevant tags to all files
|
|
133
|
-
- Connect to related MOCs
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
*This MOC was auto-generated. Please review and customize as needed.*
|
|
137
|
-
"""
|
|
138
|
-
|
|
139
|
-
return frontmatter + content
|
|
140
|
-
|
|
141
|
-
def organize_files_by_topic(self, directory_path, stats):
|
|
142
|
-
"""Organize files by topic clusters."""
|
|
143
|
-
content = "## Content Organization\n\n"
|
|
144
|
-
|
|
145
|
-
# Group files by topic
|
|
146
|
-
topic_files = defaultdict(list)
|
|
147
|
-
ungrouped_files = []
|
|
148
|
-
|
|
149
|
-
try:
|
|
150
|
-
for file_path in directory_path.glob('*.md'):
|
|
151
|
-
if file_path.name.startswith('MOC'):
|
|
152
|
-
continue # Skip existing MOCs
|
|
153
|
-
|
|
154
|
-
topics = self.extract_topics_from_filename(file_path.name)
|
|
155
|
-
if topics:
|
|
156
|
-
# Use first topic as primary grouping
|
|
157
|
-
primary_topic = topics[0]
|
|
158
|
-
topic_files[primary_topic].append(file_path)
|
|
159
|
-
else:
|
|
160
|
-
ungrouped_files.append(file_path)
|
|
161
|
-
|
|
162
|
-
except Exception as e:
|
|
163
|
-
print(f"Error organizing files: {e}")
|
|
164
|
-
return content
|
|
165
|
-
|
|
166
|
-
# Sort topics by number of files
|
|
167
|
-
sorted_topics = sorted(topic_files.items(), key=lambda x: len(x[1]), reverse=True)
|
|
168
|
-
|
|
169
|
-
for topic, files in sorted_topics:
|
|
170
|
-
if len(files) > 1: # Only create sections for topics with multiple files
|
|
171
|
-
content += f"### {topic.title()}\n"
|
|
172
|
-
for file_path in sorted(files):
|
|
173
|
-
title = file_path.stem.replace('_', ' ').replace('-', ' ')
|
|
174
|
-
content += f"- [[{title}]]\n"
|
|
175
|
-
content += "\n"
|
|
176
|
-
|
|
177
|
-
# Add ungrouped files
|
|
178
|
-
if ungrouped_files:
|
|
179
|
-
content += "### Other Files\n"
|
|
180
|
-
for file_path in sorted(ungrouped_files):
|
|
181
|
-
title = file_path.stem.replace('_', ' ').replace('-', ' ')
|
|
182
|
-
content += f"- [[{title}]]\n"
|
|
183
|
-
content += "\n"
|
|
184
|
-
|
|
185
|
-
return content
|
|
186
|
-
|
|
187
|
-
def create_moc_file(self, directory_path, title, description="", output_path=None):
|
|
188
|
-
"""Create a MOC file for a directory."""
|
|
189
|
-
content = self.generate_moc_content(directory_path, title, description)
|
|
190
|
-
|
|
191
|
-
if output_path is None:
|
|
192
|
-
# Create MOCs in the centralized map-of-content directory
|
|
193
|
-
moc_dir = self.vault_path / "map-of-content"
|
|
194
|
-
moc_dir.mkdir(exist_ok=True)
|
|
195
|
-
output_path = moc_dir / f"MOC - {title}.md"
|
|
196
|
-
|
|
197
|
-
# Check if file already exists
|
|
198
|
-
if output_path.exists():
|
|
199
|
-
print(f"MOC already exists: {output_path}")
|
|
200
|
-
return False
|
|
201
|
-
|
|
202
|
-
try:
|
|
203
|
-
with open(output_path, 'w', encoding='utf-8') as f:
|
|
204
|
-
f.write(content)
|
|
205
|
-
print(f"Created MOC: {output_path}")
|
|
206
|
-
return True
|
|
207
|
-
except Exception as e:
|
|
208
|
-
print(f"Error creating MOC: {e}")
|
|
209
|
-
return False
|
|
210
|
-
|
|
211
|
-
def suggest_mocs(self):
|
|
212
|
-
"""Suggest MOCs for directories that don't have them."""
|
|
213
|
-
suggestions = []
|
|
214
|
-
|
|
215
|
-
# Skip these directories
|
|
216
|
-
skip_dirs = {'.obsidian', '.trash', 'System_Files', '.git'}
|
|
217
|
-
|
|
218
|
-
for directory in self.vault_path.iterdir():
|
|
219
|
-
if not directory.is_dir() or directory.name in skip_dirs:
|
|
220
|
-
continue
|
|
221
|
-
|
|
222
|
-
stats = self.analyze_directory(directory)
|
|
223
|
-
|
|
224
|
-
# Check if directory has enough content to warrant a MOC
|
|
225
|
-
if stats['md_files'] >= 3:
|
|
226
|
-
# Check if MOC already exists
|
|
227
|
-
existing_mocs = list(directory.glob('MOC*.md'))
|
|
228
|
-
if not existing_mocs:
|
|
229
|
-
suggestions.append({
|
|
230
|
-
'directory': directory,
|
|
231
|
-
'title': directory.name,
|
|
232
|
-
'file_count': stats['md_files'],
|
|
233
|
-
'subdirs': len(stats['subdirectories']),
|
|
234
|
-
'top_topics': sorted(stats['common_topics'].items(),
|
|
235
|
-
key=lambda x: x[1], reverse=True)[:5]
|
|
236
|
-
})
|
|
237
|
-
|
|
238
|
-
return suggestions
|
|
239
|
-
|
|
240
|
-
def main():
|
|
241
|
-
parser = argparse.ArgumentParser(description='Generate MOCs for Obsidian vault')
|
|
242
|
-
parser.add_argument('--vault', default='/Users/cam/VAULT01',
|
|
243
|
-
help='Path to Obsidian vault')
|
|
244
|
-
parser.add_argument('--directory',
|
|
245
|
-
help='Specific directory to create MOC for')
|
|
246
|
-
parser.add_argument('--title',
|
|
247
|
-
help='Title for the MOC')
|
|
248
|
-
parser.add_argument('--description',
|
|
249
|
-
help='Description for the MOC')
|
|
250
|
-
parser.add_argument('--suggest', action='store_true',
|
|
251
|
-
help='Suggest directories that need MOCs')
|
|
252
|
-
parser.add_argument('--create-all', action='store_true',
|
|
253
|
-
help='Create MOCs for all suggested directories')
|
|
254
|
-
|
|
255
|
-
args = parser.parse_args()
|
|
256
|
-
|
|
257
|
-
generator = MOCGenerator(args.vault)
|
|
258
|
-
|
|
259
|
-
if args.suggest or args.create_all:
|
|
260
|
-
suggestions = generator.suggest_mocs()
|
|
261
|
-
|
|
262
|
-
if args.suggest:
|
|
263
|
-
print("MOC Suggestions:")
|
|
264
|
-
print("="*50)
|
|
265
|
-
for suggestion in suggestions:
|
|
266
|
-
print(f"Directory: {suggestion['directory'].name}")
|
|
267
|
-
print(f" Files: {suggestion['file_count']}")
|
|
268
|
-
print(f" Subdirs: {suggestion['subdirs']}")
|
|
269
|
-
if suggestion['top_topics']:
|
|
270
|
-
topics = [f"{topic} ({count})" for topic, count in suggestion['top_topics']]
|
|
271
|
-
print(f" Topics: {', '.join(topics)}")
|
|
272
|
-
print()
|
|
273
|
-
|
|
274
|
-
if args.create_all:
|
|
275
|
-
for suggestion in suggestions:
|
|
276
|
-
generator.create_moc_file(
|
|
277
|
-
suggestion['directory'],
|
|
278
|
-
suggestion['title']
|
|
279
|
-
)
|
|
280
|
-
|
|
281
|
-
elif args.directory:
|
|
282
|
-
directory_path = Path(args.vault) / args.directory
|
|
283
|
-
if not directory_path.exists():
|
|
284
|
-
print(f"Directory not found: {directory_path}")
|
|
285
|
-
return
|
|
286
|
-
|
|
287
|
-
title = args.title or directory_path.name
|
|
288
|
-
description = args.description or ""
|
|
289
|
-
|
|
290
|
-
generator.create_moc_file(directory_path, title, description)
|
|
291
|
-
|
|
292
|
-
else:
|
|
293
|
-
parser.print_help()
|
|
294
|
-
|
|
295
|
-
if __name__ == '__main__':
|
|
296
|
-
main()
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""Parse keyword connections from Link Suggestions Report."""
|
|
3
|
-
|
|
4
|
-
import re
|
|
5
|
-
import sys
|
|
6
|
-
from pathlib import Path
|
|
7
|
-
|
|
8
|
-
def parse_keyword_connections(report_path):
|
|
9
|
-
"""Parse keyword connections from the report and find meaningful ones."""
|
|
10
|
-
|
|
11
|
-
with open(report_path, 'r', encoding='utf-8') as f:
|
|
12
|
-
content = f.read()
|
|
13
|
-
|
|
14
|
-
# Find the keyword-based section
|
|
15
|
-
keyword_section_start = content.find("## Keyword-Based Link Suggestions")
|
|
16
|
-
if keyword_section_start == -1:
|
|
17
|
-
print("Could not find keyword-based section")
|
|
18
|
-
return []
|
|
19
|
-
|
|
20
|
-
# Find the next section (orphaned notes)
|
|
21
|
-
orphaned_section_start = content.find("## Orphaned Notes", keyword_section_start)
|
|
22
|
-
if orphaned_section_start == -1:
|
|
23
|
-
keyword_section = content[keyword_section_start:]
|
|
24
|
-
else:
|
|
25
|
-
keyword_section = content[keyword_section_start:orphaned_section_start]
|
|
26
|
-
|
|
27
|
-
# Pattern to match connections
|
|
28
|
-
pattern = r'- \[\[([^\]]+)\]\] ↔ \[\[([^\]]+)\]\]\s*\n\s*Common words: ([^\n]+)'
|
|
29
|
-
|
|
30
|
-
connections = []
|
|
31
|
-
for match in re.finditer(pattern, keyword_section):
|
|
32
|
-
file1 = match.group(1).strip()
|
|
33
|
-
file2 = match.group(2).strip()
|
|
34
|
-
keywords = match.group(3).strip()
|
|
35
|
-
|
|
36
|
-
# Skip self-connections
|
|
37
|
-
if file1 == file2:
|
|
38
|
-
continue
|
|
39
|
-
|
|
40
|
-
# Count keywords
|
|
41
|
-
keyword_list = [k.strip() for k in keywords.split(',')]
|
|
42
|
-
keyword_count = len(keyword_list)
|
|
43
|
-
|
|
44
|
-
# Only include connections with 5+ keywords
|
|
45
|
-
if keyword_count >= 5:
|
|
46
|
-
connections.append({
|
|
47
|
-
'file1': file1,
|
|
48
|
-
'file2': file2,
|
|
49
|
-
'keywords': keyword_list,
|
|
50
|
-
'count': keyword_count
|
|
51
|
-
})
|
|
52
|
-
|
|
53
|
-
# Sort by keyword count descending
|
|
54
|
-
connections.sort(key=lambda x: x['count'], reverse=True)
|
|
55
|
-
|
|
56
|
-
return connections
|
|
57
|
-
|
|
58
|
-
def main():
|
|
59
|
-
report_path = Path("/Users/cam/VAULT01/System_Files/Link_Suggestions_Report.md")
|
|
60
|
-
|
|
61
|
-
connections = parse_keyword_connections(report_path)
|
|
62
|
-
|
|
63
|
-
print(f"Found {len(connections)} meaningful keyword connections (5+ keywords)\n")
|
|
64
|
-
|
|
65
|
-
# Group by keyword themes
|
|
66
|
-
tech_keywords = {'llm', 'langchain', 'langgraph', 'rag', 'embedding', 'vector', 'agent', 'model', 'api', 'mcp'}
|
|
67
|
-
framework_keywords = {'langchain', 'langgraph', 'fastapi', 'docker', 'cloudflare', 'supabase'}
|
|
68
|
-
company_keywords = {'openai', 'anthropic', 'google', 'microsoft', 'meta'}
|
|
69
|
-
concept_keywords = {'automation', 'workflow', 'pipeline', 'integration', 'generation', 'retrieval'}
|
|
70
|
-
|
|
71
|
-
tech_connections = []
|
|
72
|
-
framework_connections = []
|
|
73
|
-
company_connections = []
|
|
74
|
-
concept_connections = []
|
|
75
|
-
|
|
76
|
-
for conn in connections:
|
|
77
|
-
keywords_lower = [k.lower() for k in conn['keywords']]
|
|
78
|
-
|
|
79
|
-
tech_score = len([k for k in keywords_lower if any(tech in k for tech in tech_keywords)])
|
|
80
|
-
framework_score = len([k for k in keywords_lower if any(fw in k for fw in framework_keywords)])
|
|
81
|
-
company_score = len([k for k in keywords_lower if any(comp in k for comp in company_keywords)])
|
|
82
|
-
concept_score = len([k for k in keywords_lower if any(conc in k for conc in concept_keywords)])
|
|
83
|
-
|
|
84
|
-
if tech_score >= 2:
|
|
85
|
-
tech_connections.append(conn)
|
|
86
|
-
if framework_score >= 2:
|
|
87
|
-
framework_connections.append(conn)
|
|
88
|
-
if company_score >= 1:
|
|
89
|
-
company_connections.append(conn)
|
|
90
|
-
if concept_score >= 2:
|
|
91
|
-
concept_connections.append(conn)
|
|
92
|
-
|
|
93
|
-
print("## High-Priority Technical Connections")
|
|
94
|
-
print(f"Found {len(tech_connections)} connections with technical keywords\n")
|
|
95
|
-
for i, conn in enumerate(tech_connections[:20]): # Top 20
|
|
96
|
-
print(f"{i+1}. [[{conn['file1']}]] ↔ [[{conn['file2']}]]")
|
|
97
|
-
print(f" Keywords ({conn['count']}): {', '.join(conn['keywords'][:10])}")
|
|
98
|
-
print()
|
|
99
|
-
|
|
100
|
-
print("\n## Framework-Related Connections")
|
|
101
|
-
print(f"Found {len(framework_connections)} connections with framework keywords\n")
|
|
102
|
-
for i, conn in enumerate(framework_connections[:15]): # Top 15
|
|
103
|
-
print(f"{i+1}. [[{conn['file1']}]] ↔ [[{conn['file2']}]]")
|
|
104
|
-
print(f" Keywords ({conn['count']}): {', '.join(conn['keywords'][:10])}")
|
|
105
|
-
print()
|
|
106
|
-
|
|
107
|
-
print("\n## Company/Provider Connections")
|
|
108
|
-
print(f"Found {len(company_connections)} connections with company keywords\n")
|
|
109
|
-
for i, conn in enumerate(company_connections[:10]): # Top 10
|
|
110
|
-
print(f"{i+1}. [[{conn['file1']}]] ↔ [[{conn['file2']}]]")
|
|
111
|
-
print(f" Keywords ({conn['count']}): {', '.join(conn['keywords'][:10])}")
|
|
112
|
-
print()
|
|
113
|
-
|
|
114
|
-
print("\n## Concept/Workflow Connections")
|
|
115
|
-
print(f"Found {len(concept_connections)} connections with concept keywords\n")
|
|
116
|
-
for i, conn in enumerate(concept_connections[:10]): # Top 10
|
|
117
|
-
print(f"{i+1}. [[{conn['file1']}]] ↔ [[{conn['file2']}]]")
|
|
118
|
-
print(f" Keywords ({conn['count']}): {', '.join(conn['keywords'][:10])}")
|
|
119
|
-
print()
|
|
120
|
-
|
|
121
|
-
if __name__ == "__main__":
|
|
122
|
-
main()
|