claude-code-templates 1.21.5 → 1.21.6
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/components/agents/ai-specialists/ai-ethics-advisor.md +195 -0
- package/components/agents/ai-specialists/hackathon-ai-strategist.md +46 -0
- package/components/agents/ai-specialists/llms-maintainer.md +94 -0
- package/components/agents/ai-specialists/model-evaluator.md +150 -0
- package/components/agents/ai-specialists/prompt-engineer.md +112 -0
- package/components/agents/ai-specialists/search-specialist.md +59 -0
- package/components/agents/ai-specialists/task-decomposition-expert.md +97 -0
- package/components/agents/api-graphql/graphql-architect.md +208 -0
- package/components/agents/api-graphql/graphql-performance-optimizer.md +357 -0
- package/components/agents/api-graphql/graphql-security-specialist.md +519 -0
- package/components/agents/blockchain-web3/smart-contract-auditor.md +32 -0
- package/components/agents/blockchain-web3/smart-contract-specialist.md +32 -0
- package/components/agents/blockchain-web3/web3-integration-specialist.md +32 -0
- package/components/agents/business-marketing/business-analyst.md +194 -0
- package/components/agents/business-marketing/content-marketer.md +36 -0
- package/components/agents/business-marketing/customer-support.md +36 -0
- package/components/agents/business-marketing/legal-advisor.md +50 -0
- package/components/agents/business-marketing/marketing-attribution-analyst.md +352 -0
- package/components/agents/business-marketing/payment-integration.md +33 -0
- package/components/agents/business-marketing/product-strategist.md +212 -0
- package/components/agents/business-marketing/risk-manager.md +42 -0
- package/components/agents/business-marketing/sales-automator.md +36 -0
- package/components/agents/data-ai/ai-engineer.md +33 -0
- package/components/agents/data-ai/computer-vision-engineer.md +562 -0
- package/components/agents/data-ai/data-engineer.md +33 -0
- package/components/agents/data-ai/data-scientist.md +337 -0
- package/components/agents/data-ai/ml-engineer.md +33 -0
- package/components/agents/data-ai/mlops-engineer.md +58 -0
- package/components/agents/data-ai/nlp-engineer.md +680 -0
- package/components/agents/data-ai/quant-analyst.md +33 -0
- package/components/agents/database/database-admin.md +33 -0
- package/components/agents/database/database-architect.md +590 -0
- package/components/agents/database/database-optimization.md +33 -0
- package/components/agents/database/database-optimizer.md +33 -0
- package/components/agents/database/nosql-specialist.md +708 -0
- package/components/agents/database/supabase-schema-architect.md +138 -0
- package/components/agents/deep-research-team/academic-researcher.md +33 -0
- package/components/agents/deep-research-team/agent-overview.md +235 -0
- package/components/agents/deep-research-team/competitive-intelligence-analyst.md +530 -0
- package/components/agents/deep-research-team/data-analyst.md +112 -0
- package/components/agents/deep-research-team/fact-checker.md +553 -0
- package/components/agents/deep-research-team/query-clarifier.md +73 -0
- package/components/agents/deep-research-team/report-generator.md +108 -0
- package/components/agents/deep-research-team/research-brief-generator.md +108 -0
- package/components/agents/deep-research-team/research-coordinator.md +94 -0
- package/components/agents/deep-research-team/research-orchestrator.md +119 -0
- package/components/agents/deep-research-team/research-synthesizer.md +109 -0
- package/components/agents/deep-research-team/technical-researcher.md +95 -0
- package/components/agents/development-team/backend-architect.md +31 -0
- package/components/agents/development-team/cli-ui-designer.md +405 -0
- package/components/agents/development-team/devops-engineer.md +886 -0
- package/components/agents/development-team/frontend-developer.md +32 -0
- package/components/agents/development-team/fullstack-developer.md +1205 -0
- package/components/agents/development-team/ios-developer.md +36 -0
- package/components/agents/development-team/mobile-developer.md +33 -0
- package/components/agents/development-team/ui-ux-designer.md +36 -0
- package/components/agents/development-tools/code-reviewer.md +30 -0
- package/components/agents/development-tools/command-expert.md +422 -0
- package/components/agents/development-tools/context-manager.md +65 -0
- package/components/agents/development-tools/debugger.md +31 -0
- package/components/agents/development-tools/dx-optimizer.md +64 -0
- package/components/agents/development-tools/error-detective.md +33 -0
- package/components/agents/development-tools/mcp-expert.md +259 -0
- package/components/agents/development-tools/performance-profiler.md +799 -0
- package/components/agents/development-tools/test-engineer.md +936 -0
- package/components/agents/devops-infrastructure/cloud-architect.md +33 -0
- package/components/agents/devops-infrastructure/deployment-engineer.md +33 -0
- package/components/agents/devops-infrastructure/devops-troubleshooter.md +33 -0
- package/components/agents/devops-infrastructure/monitoring-specialist.md +36 -0
- package/components/agents/devops-infrastructure/network-engineer.md +33 -0
- package/components/agents/devops-infrastructure/security-engineer.md +971 -0
- package/components/agents/devops-infrastructure/terraform-specialist.md +36 -0
- package/components/agents/devops-infrastructure/vercel-deployment-specialist.md +357 -0
- package/components/agents/documentation/api-documenter.md +33 -0
- package/components/agents/documentation/changelog-generator.md +37 -0
- package/components/agents/documentation/docusaurus-expert.md +52 -0
- package/components/agents/documentation/technical-writer.md +37 -0
- package/components/agents/expert-advisors/agent-expert.md +477 -0
- package/components/agents/expert-advisors/architect-review.md +50 -0
- package/components/agents/expert-advisors/dependency-manager.md +45 -0
- package/components/agents/expert-advisors/documentation-expert.md +47 -0
- package/components/agents/ffmpeg-clip-team/audio-mixer.md +37 -0
- package/components/agents/ffmpeg-clip-team/audio-quality-controller.md +100 -0
- package/components/agents/ffmpeg-clip-team/podcast-content-analyzer.md +60 -0
- package/components/agents/ffmpeg-clip-team/podcast-metadata-specialist.md +46 -0
- package/components/agents/ffmpeg-clip-team/podcast-transcriber.md +68 -0
- package/components/agents/ffmpeg-clip-team/social-media-clip-creator.md +69 -0
- package/components/agents/ffmpeg-clip-team/timestamp-precision-specialist.md +98 -0
- package/components/agents/ffmpeg-clip-team/video-editor.md +37 -0
- package/components/agents/game-development/3d-artist.md +37 -0
- package/components/agents/game-development/game-designer.md +37 -0
- package/components/agents/game-development/unity-game-developer.md +110 -0
- package/components/agents/game-development/unreal-engine-developer.md +128 -0
- package/components/agents/mcp-dev-team/mcp-deployment-orchestrator.md +101 -0
- package/components/agents/mcp-dev-team/mcp-integration-engineer.md +37 -0
- package/components/agents/mcp-dev-team/mcp-protocol-specialist.md +37 -0
- package/components/agents/mcp-dev-team/mcp-registry-navigator.md +112 -0
- package/components/agents/mcp-dev-team/mcp-security-auditor.md +70 -0
- package/components/agents/mcp-dev-team/mcp-server-architect.md +74 -0
- package/components/agents/mcp-dev-team/mcp-testing-engineer.md +106 -0
- package/components/agents/modernization/architecture-modernizer.md +37 -0
- package/components/agents/modernization/cloud-migration-specialist.md +37 -0
- package/components/agents/modernization/legacy-modernizer.md +33 -0
- package/components/agents/obsidian-ops-team/Scripts/daily_notes_connector.py +306 -0
- package/components/agents/obsidian-ops-team/Scripts/enhance_tag_standardizer.py +343 -0
- package/components/agents/obsidian-ops-team/Scripts/find_keyword_connections.py +216 -0
- package/components/agents/obsidian-ops-team/Scripts/fix_quoted_tags.py +82 -0
- package/components/agents/obsidian-ops-team/Scripts/implement_entity_connections.py +195 -0
- package/components/agents/obsidian-ops-team/Scripts/link_suggester.py +301 -0
- package/components/agents/obsidian-ops-team/Scripts/metadata_adder.py +197 -0
- package/components/agents/obsidian-ops-team/Scripts/moc_generator.py +296 -0
- package/components/agents/obsidian-ops-team/Scripts/parse_keyword_connections.py +122 -0
- package/components/agents/obsidian-ops-team/Scripts/tag_standardizer.py +387 -0
- package/components/agents/obsidian-ops-team/connection-agent.md +67 -0
- package/components/agents/obsidian-ops-team/content-curator.md +81 -0
- package/components/agents/obsidian-ops-team/metadata-agent.md +51 -0
- package/components/agents/obsidian-ops-team/moc-agent.md +112 -0
- package/components/agents/obsidian-ops-team/review-agent.md +94 -0
- package/components/agents/obsidian-ops-team/tag-agent.md +92 -0
- package/components/agents/obsidian-ops-team/vault-optimizer.md +76 -0
- package/components/agents/ocr-extraction-team/document-structure-analyzer.md +37 -0
- package/components/agents/ocr-extraction-team/markdown-syntax-formatter.md +58 -0
- package/components/agents/ocr-extraction-team/ocr-grammar-fixer.md +36 -0
- package/components/agents/ocr-extraction-team/ocr-preprocessing-optimizer.md +37 -0
- package/components/agents/ocr-extraction-team/ocr-quality-assurance.md +62 -0
- package/components/agents/ocr-extraction-team/text-comparison-validator.md +60 -0
- package/components/agents/ocr-extraction-team/visual-analysis-ocr.md +52 -0
- package/components/agents/performance-testing/load-testing-specialist.md +37 -0
- package/components/agents/performance-testing/performance-engineer.md +33 -0
- package/components/agents/performance-testing/react-performance-optimization.md +65 -0
- package/components/agents/performance-testing/test-automator.md +33 -0
- package/components/agents/performance-testing/web-vitals-optimizer.md +37 -0
- package/components/agents/podcast-creator-team/academic-research-synthesizer.md +61 -0
- package/components/agents/podcast-creator-team/comprehensive-researcher.md +49 -0
- package/components/agents/podcast-creator-team/episode-orchestrator.md +52 -0
- package/components/agents/podcast-creator-team/guest-outreach-coordinator.md +37 -0
- package/components/agents/podcast-creator-team/market-research-analyst.md +54 -0
- package/components/agents/podcast-creator-team/podcast-editor.md +37 -0
- package/components/agents/podcast-creator-team/podcast-trend-scout.md +60 -0
- package/components/agents/podcast-creator-team/project-supervisor-orchestrator.md +48 -0
- package/components/agents/podcast-creator-team/seo-podcast-optimizer.md +58 -0
- package/components/agents/podcast-creator-team/social-media-copywriter.md +57 -0
- package/components/agents/podcast-creator-team/twitter-ai-influencer-manager.md +62 -0
- package/components/agents/programming-languages/c-pro.md +36 -0
- package/components/agents/programming-languages/c-sharp-pro.md +40 -0
- package/components/agents/programming-languages/cpp-pro.md +39 -0
- package/components/agents/programming-languages/golang-pro.md +33 -0
- package/components/agents/programming-languages/javascript-pro.md +36 -0
- package/components/agents/programming-languages/php-pro.md +44 -0
- package/components/agents/programming-languages/python-pro.md +33 -0
- package/components/agents/programming-languages/rust-pro.md +36 -0
- package/components/agents/programming-languages/shell-scripting-pro.md +38 -0
- package/components/agents/programming-languages/sql-pro.md +36 -0
- package/components/agents/programming-languages/typescript-pro.md +38 -0
- package/components/agents/realtime/supabase-realtime-optimizer.md +193 -0
- package/components/agents/security/api-security-audit.md +93 -0
- package/components/agents/security/compliance-specialist.md +37 -0
- package/components/agents/security/incident-responder.md +75 -0
- package/components/agents/security/penetration-tester.md +37 -0
- package/components/agents/security/security-auditor.md +33 -0
- package/components/agents/web-tools/nextjs-architecture-expert.md +194 -0
- package/components/agents/web-tools/react-performance-optimizer.md +425 -0
- package/components/agents/web-tools/seo-analyzer.md +37 -0
- package/components/agents/web-tools/url-context-validator.md +61 -0
- package/components/agents/web-tools/url-link-extractor.md +59 -0
- package/components/agents/web-tools/web-accessibility-checker.md +37 -0
- package/components/commands/automation/act.md +57 -0
- package/components/commands/automation/ci-pipeline.md +378 -0
- package/components/commands/automation/husky.md +130 -0
- package/components/commands/automation/workflow-orchestrator.md +576 -0
- package/components/commands/database/supabase-backup-manager.md +37 -0
- package/components/commands/database/supabase-data-explorer.md +37 -0
- package/components/commands/database/supabase-migration-assistant.md +37 -0
- package/components/commands/database/supabase-performance-optimizer.md +37 -0
- package/components/commands/database/supabase-realtime-monitor.md +37 -0
- package/components/commands/database/supabase-schema-sync.md +37 -0
- package/components/commands/database/supabase-security-audit.md +37 -0
- package/components/commands/database/supabase-type-generator.md +37 -0
- package/components/commands/deployment/add-changelog.md +92 -0
- package/components/commands/deployment/blue-green-deployment.md +824 -0
- package/components/commands/deployment/changelog-demo-command.md +43 -0
- package/components/commands/deployment/ci-setup.md +323 -0
- package/components/commands/deployment/containerize-application.md +93 -0
- package/components/commands/deployment/deployment-monitoring.md +1228 -0
- package/components/commands/deployment/hotfix-deploy.md +283 -0
- package/components/commands/deployment/prepare-release.md +357 -0
- package/components/commands/deployment/rollback-deploy.md +145 -0
- package/components/commands/deployment/setup-automated-releases.md +143 -0
- package/components/commands/deployment/setup-kubernetes-deployment.md +93 -0
- package/components/commands/documentation/create-architecture-documentation.md +95 -0
- package/components/commands/documentation/create-onboarding-guide.md +93 -0
- package/components/commands/documentation/doc-api.md +242 -0
- package/components/commands/documentation/docs-maintenance.md +119 -0
- package/components/commands/documentation/generate-api-documentation.md +97 -0
- package/components/commands/documentation/interactive-documentation.md +133 -0
- package/components/commands/documentation/load-llms-txt.md +39 -0
- package/components/commands/documentation/migration-guide.md +250 -0
- package/components/commands/documentation/troubleshooting-guide.md +370 -0
- package/components/commands/documentation/update-docs.md +107 -0
- package/components/commands/game-development/game-analytics-integration.md +128 -0
- package/components/commands/game-development/game-asset-pipeline.md +108 -0
- package/components/commands/game-development/game-performance-profiler.md +78 -0
- package/components/commands/game-development/game-testing-framework.md +112 -0
- package/components/commands/game-development/unity-project-setup.md +190 -0
- package/components/commands/git-workflow/branch-cleanup.md +181 -0
- package/components/commands/git-workflow/commit.md +167 -0
- package/components/commands/git-workflow/create-pr.md +19 -0
- package/components/commands/git-workflow/create-pull-request.md +126 -0
- package/components/commands/git-workflow/create-worktrees.md +174 -0
- package/components/commands/git-workflow/fix-github-issue.md +13 -0
- package/components/commands/git-workflow/git-bisect-helper.md +261 -0
- package/components/commands/git-workflow/pr-review.md +76 -0
- package/components/commands/git-workflow/update-branch-name.md +9 -0
- package/components/commands/nextjs-vercel/nextjs-api-tester.md +480 -0
- package/components/commands/nextjs-vercel/nextjs-bundle-analyzer.md +406 -0
- package/components/commands/nextjs-vercel/nextjs-component-generator.md +489 -0
- package/components/commands/nextjs-vercel/nextjs-middleware-creator.md +712 -0
- package/components/commands/nextjs-vercel/nextjs-migration-helper.md +778 -0
- package/components/commands/nextjs-vercel/nextjs-performance-audit.md +653 -0
- package/components/commands/nextjs-vercel/nextjs-scaffold.md +237 -0
- package/components/commands/nextjs-vercel/vercel-deploy-optimize.md +341 -0
- package/components/commands/nextjs-vercel/vercel-edge-function.md +810 -0
- package/components/commands/nextjs-vercel/vercel-env-sync.md +666 -0
- package/components/commands/orchestration/archive.md +414 -0
- package/components/commands/orchestration/commit.md +305 -0
- package/components/commands/orchestration/find.md +272 -0
- package/components/commands/orchestration/log.md +355 -0
- package/components/commands/orchestration/move.md +220 -0
- package/components/commands/orchestration/optimize.md +375 -0
- package/components/commands/orchestration/remove.md +301 -0
- package/components/commands/orchestration/report.md +292 -0
- package/components/commands/orchestration/resume.md +256 -0
- package/components/commands/orchestration/start.md +169 -0
- package/components/commands/orchestration/status.md +219 -0
- package/components/commands/orchestration/sync.md +294 -0
- package/components/commands/performance/add-performance-monitoring.md +84 -0
- package/components/commands/performance/implement-caching-strategy.md +84 -0
- package/components/commands/performance/optimize-api-performance.md +119 -0
- package/components/commands/performance/optimize-build.md +139 -0
- package/components/commands/performance/optimize-bundle-size.md +84 -0
- package/components/commands/performance/optimize-database-performance.md +84 -0
- package/components/commands/performance/optimize-memory-usage.md +91 -0
- package/components/commands/performance/performance-audit.md +89 -0
- package/components/commands/performance/setup-cdn-optimization.md +84 -0
- package/components/commands/performance/system-behavior-simulator.md +415 -0
- package/components/commands/project-management/add-package.md +90 -0
- package/components/commands/project-management/add-to-changelog.md +37 -0
- package/components/commands/project-management/create-feature.md +130 -0
- package/components/commands/project-management/create-jtbd.md +37 -0
- package/components/commands/project-management/create-prd.md +36 -0
- package/components/commands/project-management/create-prp.md +37 -0
- package/components/commands/project-management/init-project.md +80 -0
- package/components/commands/project-management/milestone-tracker.md +44 -0
- package/components/commands/project-management/pac-configure.md +32 -0
- package/components/commands/project-management/pac-create-epic.md +41 -0
- package/components/commands/project-management/pac-create-ticket.md +42 -0
- package/components/commands/project-management/pac-update-status.md +39 -0
- package/components/commands/project-management/pac-validate.md +35 -0
- package/components/commands/project-management/project-health-check.md +58 -0
- package/components/commands/project-management/project-timeline-simulator.md +37 -0
- package/components/commands/project-management/project-to-linear.md +38 -0
- package/components/commands/project-management/release.md +31 -0
- package/components/commands/project-management/todo.md +62 -0
- package/components/commands/security/add-authentication-system.md +34 -0
- package/components/commands/security/dependency-audit.md +32 -0
- package/components/commands/security/penetration-test.md +40 -0
- package/components/commands/security/secrets-scanner.md +39 -0
- package/components/commands/security/security-audit.md +82 -0
- package/components/commands/security/security-hardening.md +33 -0
- package/components/commands/setup/create-database-migrations.md +35 -0
- package/components/commands/setup/design-database-schema.md +37 -0
- package/components/commands/setup/design-rest-api.md +37 -0
- package/components/commands/setup/implement-graphql-api.md +37 -0
- package/components/commands/setup/migrate-to-typescript.md +37 -0
- package/components/commands/setup/setup-ci-cd-pipeline.md +37 -0
- package/components/commands/setup/setup-development-environment.md +37 -0
- package/components/commands/setup/setup-docker-containers.md +37 -0
- package/components/commands/setup/setup-formatting.md +37 -0
- package/components/commands/setup/setup-linting.md +37 -0
- package/components/commands/setup/setup-monitoring-observability.md +37 -0
- package/components/commands/setup/setup-monorepo.md +37 -0
- package/components/commands/setup/setup-rate-limiting.md +37 -0
- package/components/commands/setup/update-dependencies.md +35 -0
- package/components/commands/simulation/business-scenario-explorer.md +37 -0
- package/components/commands/simulation/constraint-modeler.md +37 -0
- package/components/commands/simulation/decision-tree-explorer.md +37 -0
- package/components/commands/simulation/digital-twin-creator.md +37 -0
- package/components/commands/simulation/future-scenario-generator.md +37 -0
- package/components/commands/simulation/market-response-modeler.md +37 -0
- package/components/commands/simulation/monte-carlo-simulator.md +37 -0
- package/components/commands/simulation/simulation-calibrator.md +37 -0
- package/components/commands/simulation/system-dynamics-modeler.md +37 -0
- package/components/commands/simulation/timeline-compressor.md +37 -0
- package/components/commands/svelte/svelte:a11y.md +105 -0
- package/components/commands/svelte/svelte:component.md +81 -0
- package/components/commands/svelte/svelte:debug.md +48 -0
- package/components/commands/svelte/svelte:migrate.md +79 -0
- package/components/commands/svelte/svelte:optimize.md +99 -0
- package/components/commands/svelte/svelte:scaffold.md +89 -0
- package/components/commands/svelte/svelte:storybook-migrate.md +204 -0
- package/components/commands/svelte/svelte:storybook-mock.md +213 -0
- package/components/commands/svelte/svelte:storybook-setup.md +113 -0
- package/components/commands/svelte/svelte:storybook-story.md +145 -0
- package/components/commands/svelte/svelte:storybook-troubleshoot.md +191 -0
- package/components/commands/svelte/svelte:storybook.md +48 -0
- package/components/commands/svelte/svelte:test-coverage.md +77 -0
- package/components/commands/svelte/svelte:test-fix.md +74 -0
- package/components/commands/svelte/svelte:test-setup.md +85 -0
- package/components/commands/svelte/svelte:test.md +60 -0
- package/components/commands/sync/bidirectional-sync.md +37 -0
- package/components/commands/sync/bulk-import-issues.md +37 -0
- package/components/commands/sync/cross-reference-manager.md +37 -0
- package/components/commands/sync/issue-to-linear-task.md +37 -0
- package/components/commands/sync/linear-task-to-issue.md +37 -0
- package/components/commands/sync/sync-automation-setup.md +37 -0
- package/components/commands/sync/sync-conflict-resolver.md +37 -0
- package/components/commands/sync/sync-health-monitor.md +37 -0
- package/components/commands/sync/sync-issues-to-linear.md +37 -0
- package/components/commands/sync/sync-linear-to-issues.md +37 -0
- package/components/commands/sync/sync-migration-assistant.md +37 -0
- package/components/commands/sync/sync-pr-to-task.md +37 -0
- package/components/commands/sync/sync-status.md +391 -0
- package/components/commands/sync/task-from-pr.md +37 -0
- package/components/commands/team/architecture-review.md +37 -0
- package/components/commands/team/decision-quality-analyzer.md +37 -0
- package/components/commands/team/dependency-mapper.md +37 -0
- package/components/commands/team/estimate-assistant.md +37 -0
- package/components/commands/team/issue-triage.md +37 -0
- package/components/commands/team/memory-spring-cleaning.md +37 -0
- package/components/commands/team/migration-assistant.md +37 -0
- package/components/commands/team/retrospective-analyzer.md +37 -0
- package/components/commands/team/session-learning-capture.md +37 -0
- package/components/commands/team/sprint-planning.md +189 -0
- package/components/commands/team/standup-report.md +37 -0
- package/components/commands/team/team-knowledge-mapper.md +37 -0
- package/components/commands/team/team-velocity-tracker.md +37 -0
- package/components/commands/team/team-workload-balancer.md +37 -0
- package/components/commands/testing/add-mutation-testing.md +37 -0
- package/components/commands/testing/add-property-based-testing.md +37 -0
- package/components/commands/testing/e2e-setup.md +37 -0
- package/components/commands/testing/generate-test-cases.md +37 -0
- package/components/commands/testing/generate-tests.md +82 -0
- package/components/commands/testing/setup-comprehensive-testing.md +37 -0
- package/components/commands/testing/setup-load-testing.md +37 -0
- package/components/commands/testing/setup-visual-testing.md +37 -0
- package/components/commands/testing/test-automation-orchestrator.md +37 -0
- package/components/commands/testing/test-changelog-automation.md +37 -0
- package/components/commands/testing/test-coverage.md +37 -0
- package/components/commands/testing/test-quality-analyzer.md +37 -0
- package/components/commands/testing/testing_plan_integration.md +37 -0
- package/components/commands/testing/write-tests.md +37 -0
- package/components/commands/utilities/all-tools.md +31 -0
- package/components/commands/utilities/architecture-scenario-explorer.md +375 -0
- package/components/commands/utilities/check-file.md +53 -0
- package/components/commands/utilities/clean-branches.md +243 -0
- package/components/commands/utilities/clean.md +1 -0
- package/components/commands/utilities/code-permutation-tester.md +341 -0
- package/components/commands/utilities/code-review.md +70 -0
- package/components/commands/utilities/code-to-task.md +583 -0
- package/components/commands/utilities/context-prime.md +1 -0
- package/components/commands/utilities/debug-error.md +121 -0
- package/components/commands/utilities/directory-deep-dive.md +34 -0
- package/components/commands/utilities/explain-code.md +194 -0
- package/components/commands/utilities/fix-issue.md +85 -0
- package/components/commands/utilities/generate-linear-worklog.md +113 -0
- package/components/commands/utilities/git-status.md +39 -0
- package/components/commands/utilities/initref.md +3 -0
- package/components/commands/utilities/prime.md +41 -0
- package/components/commands/utilities/refactor-code.md +116 -0
- package/components/commands/utilities/ultra-think.md +153 -0
- package/components/hooks/HOOK_PATTERNS_COMPRESSED.json +1 -0
- package/components/hooks/automation/build-on-change.json +16 -0
- package/components/hooks/automation/dependency-checker.json +16 -0
- package/components/hooks/automation/deployment-health-monitor.json +29 -0
- package/components/hooks/automation/discord-detailed-notifications.json +26 -0
- package/components/hooks/automation/discord-error-notifications.json +37 -0
- package/components/hooks/automation/discord-notifications.json +25 -0
- package/components/hooks/automation/simple-notifications.json +16 -0
- package/components/hooks/automation/slack-detailed-notifications.json +26 -0
- package/components/hooks/automation/slack-error-notifications.json +37 -0
- package/components/hooks/automation/slack-notifications.json +25 -0
- package/components/hooks/automation/telegram-detailed-notifications.json +26 -0
- package/components/hooks/automation/telegram-error-notifications.json +37 -0
- package/components/hooks/automation/telegram-notifications.json +25 -0
- package/components/hooks/automation/vercel-auto-deploy.json +17 -0
- package/components/hooks/automation/vercel-environment-sync.json +29 -0
- package/components/hooks/development-tools/change-tracker.json +25 -0
- package/components/hooks/development-tools/command-logger.json +16 -0
- package/components/hooks/development-tools/file-backup.json +16 -0
- package/components/hooks/development-tools/lint-on-save.json +16 -0
- package/components/hooks/development-tools/nextjs-code-quality-enforcer.json +17 -0
- package/components/hooks/development-tools/smart-formatting.json +16 -0
- package/components/hooks/git-workflow/auto-git-add.json +16 -0
- package/components/hooks/git-workflow/smart-commit.json +25 -0
- package/components/hooks/performance/performance-budget-guard.json +27 -0
- package/components/hooks/performance/performance-monitor.json +27 -0
- package/components/hooks/post-tool/format-javascript-files.json +16 -0
- package/components/hooks/post-tool/format-python-files.json +16 -0
- package/components/hooks/post-tool/git-add-changes.json +25 -0
- package/components/hooks/post-tool/run-tests-after-changes.json +16 -0
- package/components/hooks/pre-tool/backup-before-edit.json +16 -0
- package/components/hooks/pre-tool/notify-before-bash.json +16 -0
- package/components/hooks/security/file-protection.json +16 -0
- package/components/hooks/security/security-scanner.json +16 -0
- package/components/hooks/testing/test-runner.json +16 -0
- package/components/mcps/browser_automation/browser-use-mcp-server.json +20 -0
- package/components/mcps/browser_automation/browsermcp.json +9 -0
- package/components/mcps/browser_automation/mcp-server-browserbase.json +14 -0
- package/components/mcps/browser_automation/mcp-server-playwright.json +9 -0
- package/components/mcps/browser_automation/playwright-mcp-server.json +9 -0
- package/components/mcps/browser_automation/playwright-mcp.json +11 -0
- package/components/mcps/database/mysql-integration.json +12 -0
- package/components/mcps/database/postgresql-integration.json +12 -0
- package/components/mcps/database/supabase.json +17 -0
- package/components/mcps/deepgraph/deepgraph-nextjs.json +13 -0
- package/components/mcps/deepgraph/deepgraph-react.json +13 -0
- package/components/mcps/deepgraph/deepgraph-typescript.json +13 -0
- package/components/mcps/deepgraph/deepgraph-vue.json +13 -0
- package/components/mcps/devtools/circleci.json +13 -0
- package/components/mcps/devtools/context7.json +9 -0
- package/components/mcps/devtools/firefly-mcp.json +13 -0
- package/components/mcps/devtools/ios-simulator-mcp.json +9 -0
- package/components/mcps/devtools/just-mcp.json +9 -0
- package/components/mcps/devtools/leetcode.json +8 -0
- package/components/mcps/devtools/mcp-server-atlassian-bitbucket.json +9 -0
- package/components/mcps/devtools/mcp-server-trello.json +12 -0
- package/components/mcps/filesystem/filesystem-access.json +13 -0
- package/components/mcps/integration/github-integration.json +12 -0
- package/components/mcps/integration/memory-integration.json +9 -0
- package/components/mcps/marketing/facebook-ads-mcp-server.json +13 -0
- package/components/mcps/marketing/google-ads-mcp-server.json +11 -0
- package/components/mcps/web/web-fetch.json +9 -0
- package/components/sandbox/README.md +169 -0
- package/components/sandbox/e2b/.env.example +10 -0
- package/components/sandbox/e2b/SANDBOX_DEBUGGING.md +203 -0
- package/components/sandbox/e2b/claude-code-sandbox.md +110 -0
- package/components/sandbox/e2b/e2b-launcher.py +426 -0
- package/components/sandbox/e2b/e2b-monitor.py +229 -0
- package/components/sandbox/e2b/requirements.txt +1 -0
- package/components/settings/api/bedrock-configuration.json +7 -0
- package/components/settings/api/corporate-proxy.json +7 -0
- package/components/settings/api/custom-headers.json +6 -0
- package/components/settings/api/vertex-configuration.json +8 -0
- package/components/settings/authentication/api-key-helper.json +7 -0
- package/components/settings/authentication/force-claudeai-login.json +4 -0
- package/components/settings/authentication/force-console-login.json +4 -0
- package/components/settings/cleanup/retention-7-days.json +4 -0
- package/components/settings/cleanup/retention-90-days.json +4 -0
- package/components/settings/environment/bash-timeouts.json +8 -0
- package/components/settings/environment/development-utils.json +8 -0
- package/components/settings/environment/performance-optimization.json +8 -0
- package/components/settings/environment/privacy-focused.json +10 -0
- package/components/settings/global/aws-credentials.json +5 -0
- package/components/settings/global/custom-model.json +7 -0
- package/components/settings/global/git-commit-settings.json +4 -0
- package/components/settings/mcp/disable-risky-servers.json +8 -0
- package/components/settings/mcp/enable-all-project-servers.json +4 -0
- package/components/settings/mcp/enable-specific-servers.json +8 -0
- package/components/settings/mcp/mcp-timeouts.json +8 -0
- package/components/settings/model/use-haiku.json +4 -0
- package/components/settings/model/use-sonnet.json +4 -0
- package/components/settings/permissions/additional-directories.json +11 -0
- package/components/settings/permissions/allow-git-operations.json +14 -0
- package/components/settings/permissions/allow-npm-commands.json +11 -0
- package/components/settings/permissions/deny-sensitive-files.json +11 -0
- package/components/settings/permissions/development-mode.json +31 -0
- package/components/settings/permissions/read-only-mode.json +18 -0
- package/components/settings/statusline/asset-pipeline-controller-statusline.json +7 -0
- package/components/settings/statusline/bug-circus-statusline.json +7 -0
- package/components/settings/statusline/code-casino-statusline.json +7 -0
- package/components/settings/statusline/code-spaceship-statusline.json +7 -0
- package/components/settings/statusline/colorful-statusline.json +7 -0
- package/components/settings/statusline/command-statusline.json +8 -0
- package/components/settings/statusline/context-monitor.json +7 -0
- package/components/settings/statusline/context-monitor.py +236 -0
- package/components/settings/statusline/data-ocean-statusline.json +7 -0
- package/components/settings/statusline/emotion-theater-statusline.json +7 -0
- package/components/settings/statusline/game-performance-monitor-statusline.json +7 -0
- package/components/settings/statusline/git-branch-statusline.json +7 -0
- package/components/settings/statusline/minimal-statusline.json +7 -0
- package/components/settings/statusline/multiplatform-build-status-statusline.json +7 -0
- package/components/settings/statusline/productivity-rainbow-statusline.json +7 -0
- package/components/settings/statusline/programmer-tamagotchi-statusline.json +7 -0
- package/components/settings/statusline/programming-fitness-tracker-statusline.json +7 -0
- package/components/settings/statusline/project-info-statusline.json +7 -0
- package/components/settings/statusline/rpg-status-bar-statusline.json +7 -0
- package/components/settings/statusline/time-statusline.json +7 -0
- package/components/settings/statusline/unity-project-dashboard-statusline.json +7 -0
- package/components/settings/statusline/vercel-deployment-monitor.json +7 -0
- package/components/settings/statusline/vercel-error-alert-system.json +7 -0
- package/components/settings/statusline/vercel-multi-env-status.json +7 -0
- package/components/settings/statusline/virtual-code-garden-statusline.json +7 -0
- package/components/settings/statusline/zero-config-deployment-monitor.json +7 -0
- package/components/settings/telemetry/custom-telemetry.json +7 -0
- package/components/settings/telemetry/disable-telemetry.json +6 -0
- package/components/settings/telemetry/enable-telemetry.json +6 -0
- package/package.json +2 -1
- package/src/index.js +59 -24
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
# Architecture Scenario Explorer
|
|
2
|
+
|
|
3
|
+
Explore architectural decisions through systematic scenario analysis with trade-off evaluation and future-proofing assessment.
|
|
4
|
+
|
|
5
|
+
## Instructions
|
|
6
|
+
|
|
7
|
+
You are tasked with systematically exploring architectural decisions through comprehensive scenario modeling to optimize system design choices. Follow this approach: **$ARGUMENTS**
|
|
8
|
+
|
|
9
|
+
### 1. Prerequisites Assessment
|
|
10
|
+
|
|
11
|
+
**Critical Architecture Context Validation:**
|
|
12
|
+
|
|
13
|
+
- **System Scope**: What system or component architecture are you designing?
|
|
14
|
+
- **Scale Requirements**: What are the expected usage patterns and growth projections?
|
|
15
|
+
- **Constraints**: What technical, business, or resource constraints apply?
|
|
16
|
+
- **Timeline**: What is the implementation timeline and evolution roadmap?
|
|
17
|
+
- **Success Criteria**: How will you measure architectural success?
|
|
18
|
+
|
|
19
|
+
**If context is unclear, guide systematically:**
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
Missing System Scope:
|
|
23
|
+
"What specific system architecture needs exploration?
|
|
24
|
+
- New System Design: Greenfield application or service architecture
|
|
25
|
+
- System Migration: Moving from legacy to modern architecture
|
|
26
|
+
- Scaling Architecture: Expanding existing system capabilities
|
|
27
|
+
- Integration Architecture: Connecting multiple systems and services
|
|
28
|
+
- Platform Architecture: Building foundational infrastructure
|
|
29
|
+
|
|
30
|
+
Please specify the system boundaries, key components, and primary functions."
|
|
31
|
+
|
|
32
|
+
Missing Scale Requirements:
|
|
33
|
+
"What are the expected system scale and usage patterns?
|
|
34
|
+
- User Scale: Number of concurrent and total users
|
|
35
|
+
- Data Scale: Volume, velocity, and variety of data processed
|
|
36
|
+
- Transaction Scale: Requests per second, peak load patterns
|
|
37
|
+
- Geographic Scale: Single region, multi-region, or global distribution
|
|
38
|
+
- Growth Projections: Expected scaling timeline and magnitude"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 2. Architecture Option Generation
|
|
42
|
+
|
|
43
|
+
**Systematically identify architectural approaches:**
|
|
44
|
+
|
|
45
|
+
#### Architecture Pattern Matrix
|
|
46
|
+
```
|
|
47
|
+
Architectural Approach Framework:
|
|
48
|
+
|
|
49
|
+
Monolithic Patterns:
|
|
50
|
+
- Layered Architecture: Traditional n-tier with clear separation
|
|
51
|
+
- Modular Monolith: Well-bounded modules within single deployment
|
|
52
|
+
- Plugin Architecture: Core system with extensible plugin ecosystem
|
|
53
|
+
- Service-Oriented Monolith: Internal service boundaries with single deployment
|
|
54
|
+
|
|
55
|
+
Distributed Patterns:
|
|
56
|
+
- Microservices: Independent services with business capability alignment
|
|
57
|
+
- Service Mesh: Microservices with infrastructure-level communication
|
|
58
|
+
- Event-Driven: Asynchronous communication with event sourcing
|
|
59
|
+
- CQRS/Event Sourcing: Command-query separation with event storage
|
|
60
|
+
|
|
61
|
+
Hybrid Patterns:
|
|
62
|
+
- Modular Microservices: Services grouped by business domain
|
|
63
|
+
- Micro-Frontend: Frontend decomposition matching backend services
|
|
64
|
+
- Strangler Fig: Gradual migration from monolith to distributed
|
|
65
|
+
- API Gateway: Centralized entry point with backend service routing
|
|
66
|
+
|
|
67
|
+
Cloud-Native Patterns:
|
|
68
|
+
- Serverless: Function-based with cloud provider infrastructure
|
|
69
|
+
- Container-Native: Kubernetes-first with cloud-native services
|
|
70
|
+
- Multi-Cloud: Cloud-agnostic with portable infrastructure
|
|
71
|
+
- Edge-First: Distributed computing with edge location optimization
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Architecture Variation Specification
|
|
75
|
+
```
|
|
76
|
+
For each architectural option:
|
|
77
|
+
|
|
78
|
+
Structural Characteristics:
|
|
79
|
+
- Component Organization: [how system parts are structured and related]
|
|
80
|
+
- Communication Patterns: [synchronous vs asynchronous, protocols, messaging]
|
|
81
|
+
- Data Management: [database strategy, consistency model, storage patterns]
|
|
82
|
+
- Deployment Model: [packaging, distribution, scaling, and operational approach]
|
|
83
|
+
|
|
84
|
+
Quality Attributes:
|
|
85
|
+
- Scalability Profile: [horizontal vs vertical scaling, bottleneck analysis]
|
|
86
|
+
- Reliability Characteristics: [failure modes, recovery, fault tolerance]
|
|
87
|
+
- Performance Expectations: [latency, throughput, resource efficiency]
|
|
88
|
+
- Security Model: [authentication, authorization, data protection, attack surface]
|
|
89
|
+
|
|
90
|
+
Implementation Considerations:
|
|
91
|
+
- Technology Stack: [languages, frameworks, databases, infrastructure]
|
|
92
|
+
- Team Structure Fit: [Conway's Law implications, team capabilities]
|
|
93
|
+
- Development Process: [build, test, deploy, monitor workflows]
|
|
94
|
+
- Evolution Strategy: [how architecture can grow and change over time]
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### 3. Scenario Framework Development
|
|
98
|
+
|
|
99
|
+
**Create comprehensive architectural testing scenarios:**
|
|
100
|
+
|
|
101
|
+
#### Usage Scenario Matrix
|
|
102
|
+
```
|
|
103
|
+
Multi-Dimensional Scenario Framework:
|
|
104
|
+
|
|
105
|
+
Load Scenarios:
|
|
106
|
+
- Normal Operation: Typical daily usage patterns and traffic
|
|
107
|
+
- Peak Load: Maximum expected concurrent usage and transaction volume
|
|
108
|
+
- Stress Testing: Beyond normal capacity to identify breaking points
|
|
109
|
+
- Spike Testing: Sudden traffic increases and burst handling
|
|
110
|
+
|
|
111
|
+
Growth Scenarios:
|
|
112
|
+
- Linear Growth: Steady user and data volume increases over time
|
|
113
|
+
- Exponential Growth: Rapid scaling requirements and viral adoption
|
|
114
|
+
- Geographic Expansion: Multi-region deployment and global scaling
|
|
115
|
+
- Feature Expansion: New capabilities and service additions
|
|
116
|
+
|
|
117
|
+
Failure Scenarios:
|
|
118
|
+
- Component Failures: Individual service or database outages
|
|
119
|
+
- Infrastructure Failures: Network, storage, or compute disruptions
|
|
120
|
+
- Cascade Failures: Failure propagation and system-wide impacts
|
|
121
|
+
- Disaster Recovery: Major outage recovery and business continuity
|
|
122
|
+
|
|
123
|
+
Evolution Scenarios:
|
|
124
|
+
- Technology Migration: Framework, language, or platform changes
|
|
125
|
+
- Business Model Changes: New revenue streams or service offerings
|
|
126
|
+
- Regulatory Changes: Compliance requirements and data protection
|
|
127
|
+
- Competitive Response: Market pressures and feature requirements
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### Scenario Impact Modeling
|
|
131
|
+
- Performance impact under each scenario type
|
|
132
|
+
- Cost implications for infrastructure and operations
|
|
133
|
+
- Development velocity and team productivity effects
|
|
134
|
+
- Risk assessment and mitigation requirements
|
|
135
|
+
|
|
136
|
+
### 4. Trade-off Analysis Framework
|
|
137
|
+
|
|
138
|
+
**Systematic evaluation of architectural trade-offs:**
|
|
139
|
+
|
|
140
|
+
#### Quality Attribute Trade-off Matrix
|
|
141
|
+
```
|
|
142
|
+
Architecture Quality Assessment:
|
|
143
|
+
|
|
144
|
+
Performance Trade-offs:
|
|
145
|
+
- Latency vs Throughput: Response time vs maximum concurrent processing
|
|
146
|
+
- Memory vs CPU: Resource utilization optimization strategies
|
|
147
|
+
- Consistency vs Availability: CAP theorem implications and choices
|
|
148
|
+
- Caching vs Freshness: Data staleness vs response speed
|
|
149
|
+
|
|
150
|
+
Scalability Trade-offs:
|
|
151
|
+
- Horizontal vs Vertical: Infrastructure scaling approach and economics
|
|
152
|
+
- Stateless vs Stateful: Session management and performance implications
|
|
153
|
+
- Synchronous vs Asynchronous: Communication complexity vs performance
|
|
154
|
+
- Coupling vs Autonomy: Service independence vs operational overhead
|
|
155
|
+
|
|
156
|
+
Development Trade-offs:
|
|
157
|
+
- Development Speed vs Runtime Performance: Optimization time investment
|
|
158
|
+
- Type Safety vs Flexibility: Compile-time vs runtime error handling
|
|
159
|
+
- Code Reuse vs Service Independence: Shared libraries vs duplication
|
|
160
|
+
- Testing Complexity vs System Reliability: Test investment vs quality
|
|
161
|
+
|
|
162
|
+
Operational Trade-offs:
|
|
163
|
+
- Complexity vs Control: Managed services vs self-managed infrastructure
|
|
164
|
+
- Monitoring vs Privacy: Observability vs data protection
|
|
165
|
+
- Automation vs Flexibility: Standardization vs customization
|
|
166
|
+
- Cost vs Performance: Infrastructure spending vs response times
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
#### Decision Matrix Construction
|
|
170
|
+
- Weight assignment for different quality attributes based on business priorities
|
|
171
|
+
- Scoring methodology for each architecture option across quality dimensions
|
|
172
|
+
- Sensitivity analysis for weight and score variations
|
|
173
|
+
- Pareto frontier identification for non-dominated solutions
|
|
174
|
+
|
|
175
|
+
### 5. Future-Proofing Assessment
|
|
176
|
+
|
|
177
|
+
**Evaluate architectural adaptability and evolution potential:**
|
|
178
|
+
|
|
179
|
+
#### Technology Evolution Scenarios
|
|
180
|
+
```
|
|
181
|
+
Future-Proofing Analysis Framework:
|
|
182
|
+
|
|
183
|
+
Technology Trend Integration:
|
|
184
|
+
- AI/ML Integration: Machine learning capability embedding and scaling
|
|
185
|
+
- Edge Computing: Distributed processing and low-latency requirements
|
|
186
|
+
- Quantum Computing: Post-quantum cryptography and computational impacts
|
|
187
|
+
- Blockchain/DLT: Distributed ledger integration and trust mechanisms
|
|
188
|
+
|
|
189
|
+
Market Evolution Preparation:
|
|
190
|
+
- Business Model Flexibility: Subscription, marketplace, platform pivots
|
|
191
|
+
- Global Expansion: Multi-tenant, multi-region, multi-regulatory compliance
|
|
192
|
+
- Customer Expectation Evolution: Real-time, personalized, omnichannel experiences
|
|
193
|
+
- Competitive Landscape Changes: Feature parity and differentiation requirements
|
|
194
|
+
|
|
195
|
+
Regulatory Future-Proofing:
|
|
196
|
+
- Privacy Regulation: GDPR, CCPA evolution and global privacy requirements
|
|
197
|
+
- Security Standards: Zero-trust, compliance framework evolution
|
|
198
|
+
- Data Sovereignty: Geographic data residency and cross-border restrictions
|
|
199
|
+
- Accessibility Requirements: Inclusive design and assistive technology support
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
#### Adaptability Scoring
|
|
203
|
+
- Architecture flexibility for requirement changes
|
|
204
|
+
- Technology migration feasibility and cost
|
|
205
|
+
- Team skill evolution and learning curve management
|
|
206
|
+
- Investment protection and technical debt management
|
|
207
|
+
|
|
208
|
+
### 6. Architecture Simulation Engine
|
|
209
|
+
|
|
210
|
+
**Model architectural behavior under different scenarios:**
|
|
211
|
+
|
|
212
|
+
#### Performance Simulation Framework
|
|
213
|
+
```
|
|
214
|
+
Multi-Layer Architecture Simulation:
|
|
215
|
+
|
|
216
|
+
Component-Level Simulation:
|
|
217
|
+
- Individual service performance characteristics and resource usage
|
|
218
|
+
- Database query performance and optimization opportunities
|
|
219
|
+
- Cache hit ratios and invalidation strategies
|
|
220
|
+
- Message queue throughput and latency patterns
|
|
221
|
+
|
|
222
|
+
Integration-Level Simulation:
|
|
223
|
+
- Service-to-service communication overhead and optimization
|
|
224
|
+
- API gateway performance and routing efficiency
|
|
225
|
+
- Load balancer distribution and health checking
|
|
226
|
+
- Circuit breaker and retry mechanism effectiveness
|
|
227
|
+
|
|
228
|
+
System-Level Simulation:
|
|
229
|
+
- End-to-end request flow and user experience
|
|
230
|
+
- Peak load distribution and resource allocation
|
|
231
|
+
- Failure propagation and recovery patterns
|
|
232
|
+
- Monitoring and alerting system effectiveness
|
|
233
|
+
|
|
234
|
+
Infrastructure-Level Simulation:
|
|
235
|
+
- Cloud resource utilization and auto-scaling behavior
|
|
236
|
+
- Network bandwidth and latency optimization
|
|
237
|
+
- Storage performance and data consistency patterns
|
|
238
|
+
- Security policy enforcement and performance impact
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
#### Cost Modeling Integration
|
|
242
|
+
- Infrastructure cost estimation across different scenarios
|
|
243
|
+
- Development and operational cost projection
|
|
244
|
+
- Total cost of ownership analysis over multi-year timeline
|
|
245
|
+
- Cost optimization opportunities and trade-off analysis
|
|
246
|
+
|
|
247
|
+
### 7. Risk Assessment and Mitigation
|
|
248
|
+
|
|
249
|
+
**Comprehensive architectural risk evaluation:**
|
|
250
|
+
|
|
251
|
+
#### Technical Risk Framework
|
|
252
|
+
```
|
|
253
|
+
Architecture Risk Assessment:
|
|
254
|
+
|
|
255
|
+
Implementation Risks:
|
|
256
|
+
- Technology Maturity: New vs proven technology adoption risks
|
|
257
|
+
- Complexity Management: System comprehension and debugging challenges
|
|
258
|
+
- Integration Challenges: Third-party service dependencies and compatibility
|
|
259
|
+
- Performance Uncertainty: Untested scaling and optimization requirements
|
|
260
|
+
|
|
261
|
+
Operational Risks:
|
|
262
|
+
- Deployment Complexity: Release management and rollback capabilities
|
|
263
|
+
- Monitoring Gaps: Observability and troubleshooting limitations
|
|
264
|
+
- Scaling Challenges: Auto-scaling reliability and cost control
|
|
265
|
+
- Disaster Recovery: Backup, recovery, and business continuity planning
|
|
266
|
+
|
|
267
|
+
Strategic Risks:
|
|
268
|
+
- Technology Lock-in: Vendor dependency and migration flexibility
|
|
269
|
+
- Skill Dependencies: Team expertise requirements and knowledge gaps
|
|
270
|
+
- Evolution Constraints: Architecture modification and extension limitations
|
|
271
|
+
- Competitive Disadvantage: Time-to-market and feature development speed
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
#### Risk Mitigation Strategy Development
|
|
275
|
+
- Specific mitigation approaches for identified risks
|
|
276
|
+
- Contingency planning and alternative architecture options
|
|
277
|
+
- Early warning indicators and monitoring strategies
|
|
278
|
+
- Risk acceptance criteria and stakeholder communication
|
|
279
|
+
|
|
280
|
+
### 8. Decision Framework and Recommendations
|
|
281
|
+
|
|
282
|
+
**Generate systematic architectural guidance:**
|
|
283
|
+
|
|
284
|
+
#### Architecture Decision Record (ADR) Format
|
|
285
|
+
```
|
|
286
|
+
## Architecture Decision: [System Name] - [Decision Topic]
|
|
287
|
+
|
|
288
|
+
### Context and Problem Statement
|
|
289
|
+
- Business Requirements: [key functional and non-functional requirements]
|
|
290
|
+
- Current Constraints: [technical, resource, and timeline limitations]
|
|
291
|
+
- Decision Drivers: [factors influencing architectural choice]
|
|
292
|
+
|
|
293
|
+
### Architecture Options Considered
|
|
294
|
+
|
|
295
|
+
#### Option 1: [Architecture Name]
|
|
296
|
+
- Description: [architectural approach and key characteristics]
|
|
297
|
+
- Pros: [advantages and benefits]
|
|
298
|
+
- Cons: [disadvantages and risks]
|
|
299
|
+
- Trade-offs: [specific quality attribute impacts]
|
|
300
|
+
|
|
301
|
+
[Repeat for each option]
|
|
302
|
+
|
|
303
|
+
### Decision Outcome
|
|
304
|
+
- Selected Architecture: [chosen approach with rationale]
|
|
305
|
+
- Decision Rationale: [why this option was selected]
|
|
306
|
+
- Expected Benefits: [anticipated advantages and success metrics]
|
|
307
|
+
- Accepted Trade-offs: [compromises and mitigation strategies]
|
|
308
|
+
|
|
309
|
+
### Implementation Strategy
|
|
310
|
+
- Phase 1 (Immediate): [initial implementation steps and validation]
|
|
311
|
+
- Phase 2 (Short-term): [core system development and integration]
|
|
312
|
+
- Phase 3 (Medium-term): [optimization and scaling implementation]
|
|
313
|
+
- Phase 4 (Long-term): [evolution and enhancement roadmap]
|
|
314
|
+
|
|
315
|
+
### Validation and Success Criteria
|
|
316
|
+
- Performance Metrics: [specific KPIs and acceptable ranges]
|
|
317
|
+
- Quality Gates: [architectural compliance and validation checkpoints]
|
|
318
|
+
- Review Schedule: [when to reassess architectural decisions]
|
|
319
|
+
- Adaptation Triggers: [conditions requiring architectural modification]
|
|
320
|
+
|
|
321
|
+
### Risks and Mitigation
|
|
322
|
+
- High-Priority Risks: [most significant concerns and responses]
|
|
323
|
+
- Monitoring Strategy: [early warning systems and health checks]
|
|
324
|
+
- Contingency Plans: [alternative approaches if problems arise]
|
|
325
|
+
- Learning and Adaptation: [how to incorporate feedback and improve]
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
### 9. Continuous Architecture Evolution
|
|
329
|
+
|
|
330
|
+
**Establish ongoing architectural assessment and improvement:**
|
|
331
|
+
|
|
332
|
+
#### Architecture Health Monitoring
|
|
333
|
+
- Performance metric tracking against architectural predictions
|
|
334
|
+
- Technical debt accumulation and remediation planning
|
|
335
|
+
- Team productivity and development velocity measurement
|
|
336
|
+
- User satisfaction and business outcome correlation
|
|
337
|
+
|
|
338
|
+
#### Evolutionary Architecture Practices
|
|
339
|
+
- Regular architecture review and fitness function evaluation
|
|
340
|
+
- Incremental improvement identification and implementation
|
|
341
|
+
- Technology trend assessment and adoption planning
|
|
342
|
+
- Cross-team architecture knowledge sharing and standardization
|
|
343
|
+
|
|
344
|
+
## Usage Examples
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
# Microservices migration planning
|
|
348
|
+
/dev:architecture-scenario-explorer Evaluate monolith to microservices migration for e-commerce platform with 1M+ users
|
|
349
|
+
|
|
350
|
+
# New system architecture design
|
|
351
|
+
/dev:architecture-scenario-explorer Design architecture for real-time analytics platform handling 100k events/second
|
|
352
|
+
|
|
353
|
+
# Scaling architecture assessment
|
|
354
|
+
/dev:architecture-scenario-explorer Analyze architecture options for scaling social media platform from 10k to 1M daily active users
|
|
355
|
+
|
|
356
|
+
# Technology modernization planning
|
|
357
|
+
/dev:architecture-scenario-explorer Compare serverless vs container-native architectures for data processing pipeline modernization
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
## Quality Indicators
|
|
361
|
+
|
|
362
|
+
- **Green**: Multiple architectures analyzed, comprehensive scenarios tested, validated trade-offs
|
|
363
|
+
- **Yellow**: Some architectural options considered, basic scenario coverage, estimated trade-offs
|
|
364
|
+
- **Red**: Single architecture focus, limited scenario analysis, unvalidated assumptions
|
|
365
|
+
|
|
366
|
+
## Common Pitfalls to Avoid
|
|
367
|
+
|
|
368
|
+
- Architecture astronauting: Over-engineering for theoretical rather than real requirements
|
|
369
|
+
- Cargo cult architecture: Copying successful patterns without understanding context
|
|
370
|
+
- Technology bias: Choosing architecture based on technology preferences rather than requirements
|
|
371
|
+
- Premature optimization: Solving performance problems that don't exist yet
|
|
372
|
+
- Scalability obsession: Over-optimizing for scale that may never materialize
|
|
373
|
+
- Evolution blindness: Not planning for architectural change and growth
|
|
374
|
+
|
|
375
|
+
Transform architectural decisions from opinion-based debates into systematic, evidence-driven choices through comprehensive scenario exploration and trade-off analysis.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# File Analysis Tool
|
|
2
|
+
|
|
3
|
+
Perform comprehensive analysis of $ARGUMENTS to identify code quality issues, security vulnerabilities, and optimization opportunities.
|
|
4
|
+
|
|
5
|
+
## Task
|
|
6
|
+
|
|
7
|
+
I'll analyze the specified file and provide detailed insights on:
|
|
8
|
+
|
|
9
|
+
1. Code quality metrics and maintainability
|
|
10
|
+
2. Security vulnerabilities and best practices
|
|
11
|
+
3. Performance bottlenecks and optimization opportunities
|
|
12
|
+
4. Dependency usage and potential issues
|
|
13
|
+
5. TypeScript/JavaScript specific patterns and improvements
|
|
14
|
+
6. Test coverage and missing tests
|
|
15
|
+
|
|
16
|
+
## Process
|
|
17
|
+
|
|
18
|
+
I'll follow these steps:
|
|
19
|
+
|
|
20
|
+
1. Read and parse the target file
|
|
21
|
+
2. Analyze code structure and complexity
|
|
22
|
+
3. Check for security vulnerabilities and anti-patterns
|
|
23
|
+
4. Evaluate performance implications
|
|
24
|
+
5. Review dependency usage and imports
|
|
25
|
+
6. Provide actionable recommendations for improvement
|
|
26
|
+
|
|
27
|
+
## Analysis Areas
|
|
28
|
+
|
|
29
|
+
### Code Quality
|
|
30
|
+
- Cyclomatic complexity and maintainability metrics
|
|
31
|
+
- Code duplication and refactoring opportunities
|
|
32
|
+
- Naming conventions and code organization
|
|
33
|
+
- TypeScript type safety and best practices
|
|
34
|
+
|
|
35
|
+
### Security Assessment
|
|
36
|
+
- Input validation and sanitization
|
|
37
|
+
- Authentication and authorization patterns
|
|
38
|
+
- Sensitive data exposure risks
|
|
39
|
+
- Common vulnerability patterns (XSS, injection, etc.)
|
|
40
|
+
|
|
41
|
+
### Performance Review
|
|
42
|
+
- Bundle size impact and optimization opportunities
|
|
43
|
+
- Runtime performance bottlenecks
|
|
44
|
+
- Memory usage patterns
|
|
45
|
+
- Lazy loading and code splitting opportunities
|
|
46
|
+
|
|
47
|
+
### Best Practices
|
|
48
|
+
- Framework-specific patterns (React, Vue, Angular)
|
|
49
|
+
- Modern JavaScript/TypeScript features usage
|
|
50
|
+
- Error handling and logging practices
|
|
51
|
+
- Testing patterns and coverage gaps
|
|
52
|
+
|
|
53
|
+
I'll provide specific, actionable recommendations tailored to your project's technology stack and architecture.
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
# Clean Branches Command
|
|
2
|
+
|
|
3
|
+
Clean up merged and stale git branches
|
|
4
|
+
|
|
5
|
+
## Instructions
|
|
6
|
+
|
|
7
|
+
Follow this systematic approach to clean up git branches: **$ARGUMENTS**
|
|
8
|
+
|
|
9
|
+
1. **Repository State Analysis**
|
|
10
|
+
- Check current branch and uncommitted changes
|
|
11
|
+
- List all local and remote branches
|
|
12
|
+
- Identify the main/master branch name
|
|
13
|
+
- Review recent branch activity and merge history
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Check current status
|
|
17
|
+
git status
|
|
18
|
+
git branch -a
|
|
19
|
+
git remote -v
|
|
20
|
+
|
|
21
|
+
# Check main branch name
|
|
22
|
+
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
2. **Safety Precautions**
|
|
26
|
+
- Ensure working directory is clean
|
|
27
|
+
- Switch to main/master branch
|
|
28
|
+
- Pull latest changes from remote
|
|
29
|
+
- Create backup of current branch state if needed
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Ensure clean state
|
|
33
|
+
git stash push -m "Backup before branch cleanup"
|
|
34
|
+
git checkout main # or master
|
|
35
|
+
git pull origin main
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
3. **Identify Merged Branches**
|
|
39
|
+
- List branches that have been merged into main
|
|
40
|
+
- Exclude protected branches (main, master, develop)
|
|
41
|
+
- Check both local and remote merged branches
|
|
42
|
+
- Verify merge status to avoid accidental deletion
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
# List merged local branches
|
|
46
|
+
git branch --merged main | grep -v "main\\|master\\|develop\\|\\*"
|
|
47
|
+
|
|
48
|
+
# List merged remote branches
|
|
49
|
+
git branch -r --merged main | grep -v "main\\|master\\|develop\\|HEAD"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
4. **Identify Stale Branches**
|
|
53
|
+
- Find branches with no recent activity
|
|
54
|
+
- Check last commit date for each branch
|
|
55
|
+
- Identify branches older than specified timeframe (e.g., 30 days)
|
|
56
|
+
- Consider branch naming patterns for feature/hotfix branches
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# List branches by last commit date
|
|
60
|
+
git for-each-ref --format='%(committerdate) %(authorname) %(refname)' --sort=committerdate refs/heads
|
|
61
|
+
|
|
62
|
+
# Find branches older than 30 days
|
|
63
|
+
git for-each-ref --format='%(refname:short) %(committerdate)' refs/heads | awk '$2 < "'$(date -d '30 days ago' '+%Y-%m-%d')'"'
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
5. **Interactive Branch Review**
|
|
67
|
+
- Review each branch before deletion
|
|
68
|
+
- Check if branch has unmerged changes
|
|
69
|
+
- Verify branch purpose and status
|
|
70
|
+
- Ask for confirmation before deletion
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Check for unmerged changes
|
|
74
|
+
git log main..branch-name --oneline
|
|
75
|
+
|
|
76
|
+
# Show branch information
|
|
77
|
+
git show-branch branch-name main
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
6. **Protected Branch Configuration**
|
|
81
|
+
- Identify branches that should never be deleted
|
|
82
|
+
- Configure protection rules for important branches
|
|
83
|
+
- Document branch protection policies
|
|
84
|
+
- Set up automated protection for new repositories
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Example protected branches
|
|
88
|
+
PROTECTED_BRANCHES=("main" "master" "develop" "staging" "production")
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
7. **Local Branch Cleanup**
|
|
92
|
+
- Delete merged local branches safely
|
|
93
|
+
- Remove stale feature branches
|
|
94
|
+
- Clean up tracking branches for deleted remotes
|
|
95
|
+
- Update local branch references
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Delete merged branches (interactive)
|
|
99
|
+
git branch --merged main | grep -v "main\\|master\\|develop\\|\\*" | xargs -n 1 -p git branch -d
|
|
100
|
+
|
|
101
|
+
# Force delete if needed (use with caution)
|
|
102
|
+
git branch -D branch-name
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
8. **Remote Branch Cleanup**
|
|
106
|
+
- Remove merged remote branches
|
|
107
|
+
- Clean up remote tracking references
|
|
108
|
+
- Delete obsolete remote branches
|
|
109
|
+
- Update remote branch information
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
# Prune remote tracking branches
|
|
113
|
+
git remote prune origin
|
|
114
|
+
|
|
115
|
+
# Delete remote branch
|
|
116
|
+
git push origin --delete branch-name
|
|
117
|
+
|
|
118
|
+
# Remove local tracking of deleted remote branches
|
|
119
|
+
git branch -dr origin/branch-name
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
9. **Automated Cleanup Script**
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
#!/bin/bash
|
|
126
|
+
|
|
127
|
+
# Git branch cleanup script
|
|
128
|
+
set -e
|
|
129
|
+
|
|
130
|
+
# Configuration
|
|
131
|
+
MAIN_BRANCH="main"
|
|
132
|
+
PROTECTED_BRANCHES=("main" "master" "develop" "staging" "production")
|
|
133
|
+
STALE_DAYS=30
|
|
134
|
+
|
|
135
|
+
# Functions
|
|
136
|
+
is_protected() {
|
|
137
|
+
local branch=$1
|
|
138
|
+
for protected in "${PROTECTED_BRANCHES[@]}"; do
|
|
139
|
+
if [[ "$branch" == "$protected" ]]; then
|
|
140
|
+
return 0
|
|
141
|
+
fi
|
|
142
|
+
done
|
|
143
|
+
return 1
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
# Switch to main branch
|
|
147
|
+
git checkout $MAIN_BRANCH
|
|
148
|
+
git pull origin $MAIN_BRANCH
|
|
149
|
+
|
|
150
|
+
# Clean up merged branches
|
|
151
|
+
echo "Cleaning up merged branches..."
|
|
152
|
+
merged_branches=$(git branch --merged $MAIN_BRANCH | grep -v "\\*\\|$MAIN_BRANCH")
|
|
153
|
+
|
|
154
|
+
for branch in $merged_branches; do
|
|
155
|
+
if ! is_protected "$branch"; then
|
|
156
|
+
echo "Deleting merged branch: $branch"
|
|
157
|
+
git branch -d "$branch"
|
|
158
|
+
fi
|
|
159
|
+
done
|
|
160
|
+
|
|
161
|
+
# Prune remote tracking branches
|
|
162
|
+
echo "Pruning remote tracking branches..."
|
|
163
|
+
git remote prune origin
|
|
164
|
+
|
|
165
|
+
echo "Branch cleanup completed!"
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
10. **Team Coordination**
|
|
169
|
+
- Notify team before cleaning shared branches
|
|
170
|
+
- Check if branches are being used by others
|
|
171
|
+
- Coordinate branch cleanup schedules
|
|
172
|
+
- Document branch cleanup procedures
|
|
173
|
+
|
|
174
|
+
11. **Branch Naming Convention Cleanup**
|
|
175
|
+
- Identify branches with non-standard naming
|
|
176
|
+
- Clean up temporary or experimental branches
|
|
177
|
+
- Remove old hotfix and feature branches
|
|
178
|
+
- Enforce consistent naming conventions
|
|
179
|
+
|
|
180
|
+
12. **Verification and Validation**
|
|
181
|
+
- Verify important branches are still present
|
|
182
|
+
- Check that no active work was deleted
|
|
183
|
+
- Validate remote branch synchronization
|
|
184
|
+
- Confirm team members have no issues
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
# Verify cleanup results
|
|
188
|
+
git branch -a
|
|
189
|
+
git remote show origin
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
13. **Documentation and Reporting**
|
|
193
|
+
- Document what branches were cleaned up
|
|
194
|
+
- Report any issues or conflicts found
|
|
195
|
+
- Update team documentation about branch lifecycle
|
|
196
|
+
- Create branch cleanup schedule and policies
|
|
197
|
+
|
|
198
|
+
14. **Rollback Procedures**
|
|
199
|
+
- Document how to recover deleted branches
|
|
200
|
+
- Use reflog to find deleted branch commits
|
|
201
|
+
- Create emergency recovery procedures
|
|
202
|
+
- Set up branch restoration scripts
|
|
203
|
+
|
|
204
|
+
```bash
|
|
205
|
+
# Recover deleted branch using reflog
|
|
206
|
+
git reflog --no-merges --since="2 weeks ago"
|
|
207
|
+
git checkout -b recovered-branch commit-hash
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
15. **Automation Setup**
|
|
211
|
+
- Set up automated branch cleanup scripts
|
|
212
|
+
- Configure CI/CD pipeline for branch cleanup
|
|
213
|
+
- Create scheduled cleanup jobs
|
|
214
|
+
- Implement branch lifecycle policies
|
|
215
|
+
|
|
216
|
+
16. **Best Practices Implementation**
|
|
217
|
+
- Establish branch lifecycle guidelines
|
|
218
|
+
- Set up automated merge detection
|
|
219
|
+
- Configure branch protection rules
|
|
220
|
+
- Implement code review requirements
|
|
221
|
+
|
|
222
|
+
**Advanced Cleanup Options:**
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
# Clean up all merged branches except protected ones
|
|
226
|
+
git branch --merged main | grep -E "^ (feature|hotfix|bugfix)/" | xargs -n 1 git branch -d
|
|
227
|
+
|
|
228
|
+
# Interactive cleanup with confirmation
|
|
229
|
+
git branch --merged main | grep -v "main\|master\|develop" | xargs -n 1 -p git branch -d
|
|
230
|
+
|
|
231
|
+
# Batch delete remote branches
|
|
232
|
+
git branch -r --merged main | grep origin | grep -v "main\|master\|develop\|HEAD" | cut -d/ -f2- | xargs -n 1 git push origin --delete
|
|
233
|
+
|
|
234
|
+
# Clean up branches older than specific date
|
|
235
|
+
git for-each-ref --format='%(refname:short) %(committerdate:short)' refs/heads | awk '$2 < "2023-01-01"' | cut -d' ' -f1 | xargs -n 1 git branch -D
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
Remember to:
|
|
239
|
+
- Always backup important branches before cleanup
|
|
240
|
+
- Coordinate with team members before deleting shared branches
|
|
241
|
+
- Test cleanup scripts in a safe environment first
|
|
242
|
+
- Document all cleanup procedures and policies
|
|
243
|
+
- Set up regular cleanup schedules to prevent accumulation
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Fix all black, isort, flake8 and mypy issues in the entire codebase
|