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,415 @@
|
|
|
1
|
+
# System Behavior Simulator
|
|
2
|
+
|
|
3
|
+
Simulate system performance under various loads with capacity planning, bottleneck identification, and optimization strategies.
|
|
4
|
+
|
|
5
|
+
## Instructions
|
|
6
|
+
|
|
7
|
+
You are tasked with creating comprehensive system behavior simulations to predict performance, identify bottlenecks, and optimize capacity planning. Follow this approach: **$ARGUMENTS**
|
|
8
|
+
|
|
9
|
+
### 1. Prerequisites Assessment
|
|
10
|
+
|
|
11
|
+
**Critical System Context Validation:**
|
|
12
|
+
|
|
13
|
+
- **System Architecture**: What type of system are you simulating behavior for?
|
|
14
|
+
- **Performance Goals**: What are the target performance metrics and SLAs?
|
|
15
|
+
- **Load Characteristics**: What are the expected usage patterns and traffic profiles?
|
|
16
|
+
- **Resource Constraints**: What infrastructure and budget limitations apply?
|
|
17
|
+
- **Optimization Objectives**: What aspects of performance are most critical to optimize?
|
|
18
|
+
|
|
19
|
+
**If context is unclear, guide systematically:**
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
Missing System Architecture:
|
|
23
|
+
"What type of system needs behavior simulation?
|
|
24
|
+
- Web Application: User-facing application with HTTP traffic patterns
|
|
25
|
+
- API Service: Backend service with programmatic access patterns
|
|
26
|
+
- Data Processing: Batch or stream processing with throughput requirements
|
|
27
|
+
- Database System: Data storage and query processing optimization
|
|
28
|
+
- Microservices: Distributed system with inter-service communication
|
|
29
|
+
|
|
30
|
+
Please specify system components, technology stack, and deployment architecture."
|
|
31
|
+
|
|
32
|
+
Missing Performance Goals:
|
|
33
|
+
"What performance objectives need to be met?
|
|
34
|
+
- Response Time: Target latency for user requests (p50, p95, p99)
|
|
35
|
+
- Throughput: Requests per second or transactions per minute
|
|
36
|
+
- Availability: Uptime targets and fault tolerance requirements
|
|
37
|
+
- Scalability: User growth and load handling capabilities
|
|
38
|
+
- Resource Efficiency: CPU, memory, storage, and network optimization"
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 2. System Architecture Modeling
|
|
42
|
+
|
|
43
|
+
**Systematically map system components and interactions:**
|
|
44
|
+
|
|
45
|
+
#### Component Architecture Framework
|
|
46
|
+
```
|
|
47
|
+
System Component Mapping:
|
|
48
|
+
|
|
49
|
+
Application Layer:
|
|
50
|
+
- Frontend Components: User interfaces, single-page applications, mobile apps
|
|
51
|
+
- Application Services: Business logic, workflow processing, API endpoints
|
|
52
|
+
- Background Services: Scheduled jobs, message processing, batch operations
|
|
53
|
+
- Integration Services: External API calls, webhook handling, data synchronization
|
|
54
|
+
|
|
55
|
+
Data Layer:
|
|
56
|
+
- Primary Databases: Transactional data storage and query processing
|
|
57
|
+
- Cache Systems: Redis, Memcached, CDN, and application-level caching
|
|
58
|
+
- Message Queues: Asynchronous communication and event processing
|
|
59
|
+
- Search Systems: Elasticsearch, Solr, or database search capabilities
|
|
60
|
+
|
|
61
|
+
Infrastructure Layer:
|
|
62
|
+
- Load Balancers: Traffic distribution and health checking
|
|
63
|
+
- Web Servers: HTTP request handling and static content serving
|
|
64
|
+
- Application Servers: Dynamic content generation and business logic
|
|
65
|
+
- Network Components: Firewalls, VPNs, and traffic routing
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
#### Interaction Pattern Modeling
|
|
69
|
+
```
|
|
70
|
+
System Interaction Analysis:
|
|
71
|
+
|
|
72
|
+
Synchronous Interactions:
|
|
73
|
+
- Request-Response: Direct API calls and database queries
|
|
74
|
+
- Service Mesh: Inter-service communication with service discovery
|
|
75
|
+
- Database Transactions: ACID compliance and locking mechanisms
|
|
76
|
+
- External API Calls: Third-party service dependencies and timeouts
|
|
77
|
+
|
|
78
|
+
Asynchronous Interactions:
|
|
79
|
+
- Message Queues: Pub/sub patterns and event-driven processing
|
|
80
|
+
- Event Streams: Real-time data processing and analytics
|
|
81
|
+
- Background Jobs: Scheduled tasks and delayed processing
|
|
82
|
+
- Webhooks: External system notifications and callbacks
|
|
83
|
+
|
|
84
|
+
Data Flow Patterns:
|
|
85
|
+
- Read Patterns: Query optimization and caching strategies
|
|
86
|
+
- Write Patterns: Data ingestion and consistency management
|
|
87
|
+
- Batch Processing: ETL operations and data pipeline processing
|
|
88
|
+
- Real-time Processing: Stream processing and live analytics
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 3. Load Modeling Framework
|
|
92
|
+
|
|
93
|
+
**Create realistic traffic and usage pattern simulations:**
|
|
94
|
+
|
|
95
|
+
#### Traffic Pattern Analysis
|
|
96
|
+
```
|
|
97
|
+
Load Characteristics Modeling:
|
|
98
|
+
|
|
99
|
+
User Behavior Patterns:
|
|
100
|
+
- Daily Patterns: Peak hours, lunch dips, overnight minimums
|
|
101
|
+
- Weekly Patterns: Weekday vs weekend usage variations
|
|
102
|
+
- Seasonal Patterns: Holiday traffic, business cycle fluctuations
|
|
103
|
+
- Event-Driven Spikes: Marketing campaigns, viral content, news events
|
|
104
|
+
|
|
105
|
+
Request Distribution:
|
|
106
|
+
- Geographic Distribution: Multi-region traffic and latency patterns
|
|
107
|
+
- Device Distribution: Mobile vs desktop vs API usage patterns
|
|
108
|
+
- Feature Distribution: Popular vs niche feature usage ratios
|
|
109
|
+
- User Type Distribution: New vs returning vs power user behaviors
|
|
110
|
+
|
|
111
|
+
Load Volume Scaling:
|
|
112
|
+
- Concurrent Users: Simultaneous active sessions and request patterns
|
|
113
|
+
- Request Rate: Transactions per second with burst capabilities
|
|
114
|
+
- Data Volume: Payload sizes and data transfer requirements
|
|
115
|
+
- Connection Patterns: Session duration and connection pooling
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### Synthetic Load Generation
|
|
119
|
+
```
|
|
120
|
+
Load Testing Scenario Framework:
|
|
121
|
+
|
|
122
|
+
Baseline Load Testing:
|
|
123
|
+
- Normal Traffic: Typical daily usage patterns and request volumes
|
|
124
|
+
- Sustained Load: Constant traffic over extended periods
|
|
125
|
+
- Gradual Ramp: Slow traffic increase to identify scaling points
|
|
126
|
+
- Steady State: Stable load for performance baseline establishment
|
|
127
|
+
|
|
128
|
+
Stress Testing:
|
|
129
|
+
- Peak Load: Maximum expected traffic during busy periods
|
|
130
|
+
- Capacity Testing: System limits and breaking point identification
|
|
131
|
+
- Spike Testing: Sudden traffic increases and recovery behavior
|
|
132
|
+
- Volume Testing: Large data sets and high-throughput scenarios
|
|
133
|
+
|
|
134
|
+
Resilience Testing:
|
|
135
|
+
- Failure Scenarios: Component outages and degraded service behavior
|
|
136
|
+
- Recovery Testing: System restoration and performance recovery
|
|
137
|
+
- Chaos Engineering: Random failure injection and system adaptation
|
|
138
|
+
- Disaster Simulation: Major outage scenarios and business continuity
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### 4. Performance Modeling Engine
|
|
142
|
+
|
|
143
|
+
**Create comprehensive system performance predictions:**
|
|
144
|
+
|
|
145
|
+
#### Performance Metric Framework
|
|
146
|
+
```
|
|
147
|
+
Multi-Dimensional Performance Analysis:
|
|
148
|
+
|
|
149
|
+
Response Time Metrics:
|
|
150
|
+
- Request Latency: End-to-end response time measurement
|
|
151
|
+
- Processing Time: Application logic execution duration
|
|
152
|
+
- Database Query Time: Data access and retrieval performance
|
|
153
|
+
- Network Latency: Communication overhead and bandwidth utilization
|
|
154
|
+
|
|
155
|
+
Throughput Metrics:
|
|
156
|
+
- Requests per Second: HTTP request handling capacity
|
|
157
|
+
- Transactions per Minute: Business operation completion rate
|
|
158
|
+
- Data Processing Rate: Batch job and stream processing throughput
|
|
159
|
+
- Concurrent User Capacity: Simultaneous session handling capability
|
|
160
|
+
|
|
161
|
+
Resource Utilization Metrics:
|
|
162
|
+
- CPU Usage: Processing power consumption and efficiency
|
|
163
|
+
- Memory Usage: RAM allocation and garbage collection impact
|
|
164
|
+
- Storage I/O: Disk read/write performance and capacity
|
|
165
|
+
- Network Bandwidth: Data transfer rates and congestion management
|
|
166
|
+
|
|
167
|
+
Quality Metrics:
|
|
168
|
+
- Error Rates: Failed requests and transaction failures
|
|
169
|
+
- Availability: System uptime and service reliability
|
|
170
|
+
- Consistency: Data integrity and transaction isolation
|
|
171
|
+
- Security: Authentication, authorization, and data protection overhead
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
#### Performance Prediction Modeling
|
|
175
|
+
```
|
|
176
|
+
Predictive Performance Framework:
|
|
177
|
+
|
|
178
|
+
Analytical Models:
|
|
179
|
+
- Queueing Theory: Wait time and service rate mathematical modeling
|
|
180
|
+
- Little's Law: Relationship between concurrency, throughput, and latency
|
|
181
|
+
- Capacity Planning: Resource requirement forecasting and optimization
|
|
182
|
+
- Bottleneck Analysis: System constraint identification and resolution
|
|
183
|
+
|
|
184
|
+
Simulation Models:
|
|
185
|
+
- Discrete Event Simulation: System behavior modeling with event queues
|
|
186
|
+
- Monte Carlo Simulation: Probabilistic performance outcome analysis
|
|
187
|
+
- Load Testing Data: Historical performance pattern extrapolation
|
|
188
|
+
- Machine Learning: Pattern recognition and predictive analytics
|
|
189
|
+
|
|
190
|
+
Hybrid Models:
|
|
191
|
+
- Analytical + Empirical: Mathematical models calibrated with real data
|
|
192
|
+
- Multi-Layer Modeling: Component-level models aggregated to system level
|
|
193
|
+
- Dynamic Adaptation: Models that adjust based on real-time performance
|
|
194
|
+
- Scenario-Based: Different models for different load and usage patterns
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### 5. Bottleneck Identification System
|
|
198
|
+
|
|
199
|
+
**Systematically identify and analyze performance constraints:**
|
|
200
|
+
|
|
201
|
+
#### Bottleneck Detection Framework
|
|
202
|
+
```
|
|
203
|
+
Performance Constraint Analysis:
|
|
204
|
+
|
|
205
|
+
CPU Bottlenecks:
|
|
206
|
+
- High CPU Utilization: Processing-intensive operations and algorithms
|
|
207
|
+
- Thread Contention: Locking and synchronization overhead
|
|
208
|
+
- Context Switching: Excessive thread creation and management
|
|
209
|
+
- Inefficient Algorithms: Poor time complexity and optimization opportunities
|
|
210
|
+
|
|
211
|
+
Memory Bottlenecks:
|
|
212
|
+
- Memory Leaks: Gradual memory consumption and garbage collection pressure
|
|
213
|
+
- Large Object Allocation: Memory-intensive operations and caching strategies
|
|
214
|
+
- Memory Fragmentation: Allocation patterns and memory pool management
|
|
215
|
+
- Cache Misses: Application and database cache effectiveness
|
|
216
|
+
|
|
217
|
+
I/O Bottlenecks:
|
|
218
|
+
- Database Performance: Query optimization and index effectiveness
|
|
219
|
+
- Disk I/O: Storage access patterns and disk performance limits
|
|
220
|
+
- Network I/O: Bandwidth limitations and latency optimization
|
|
221
|
+
- External Dependencies: Third-party service response times and reliability
|
|
222
|
+
|
|
223
|
+
Application Bottlenecks:
|
|
224
|
+
- Blocking Operations: Synchronous calls and thread pool exhaustion
|
|
225
|
+
- Inefficient Code: Poor algorithms and unnecessary processing
|
|
226
|
+
- Resource Contention: Shared resource access and locking mechanisms
|
|
227
|
+
- Configuration Issues: Suboptimal settings and parameter tuning
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
#### Root Cause Analysis
|
|
231
|
+
- Performance profiling and trace analysis
|
|
232
|
+
- Correlation analysis between metrics and bottlenecks
|
|
233
|
+
- Historical pattern recognition and trend analysis
|
|
234
|
+
- Comparative analysis across different system configurations
|
|
235
|
+
|
|
236
|
+
### 6. Optimization Strategy Generation
|
|
237
|
+
|
|
238
|
+
**Create systematic performance improvement approaches:**
|
|
239
|
+
|
|
240
|
+
#### Performance Optimization Framework
|
|
241
|
+
```
|
|
242
|
+
Multi-Level Optimization Strategies:
|
|
243
|
+
|
|
244
|
+
Code-Level Optimizations:
|
|
245
|
+
- Algorithm Optimization: Improved time and space complexity
|
|
246
|
+
- Database Query Optimization: Index usage and query plan improvement
|
|
247
|
+
- Caching Strategies: Application, database, and CDN caching
|
|
248
|
+
- Asynchronous Processing: Non-blocking operations and parallelization
|
|
249
|
+
|
|
250
|
+
Architecture-Level Optimizations:
|
|
251
|
+
- Horizontal Scaling: Load distribution across multiple instances
|
|
252
|
+
- Vertical Scaling: Resource allocation and capacity increases
|
|
253
|
+
- Caching Layers: Multi-tier caching and cache invalidation strategies
|
|
254
|
+
- Database Sharding: Data partitioning and distributed storage
|
|
255
|
+
|
|
256
|
+
Infrastructure-Level Optimizations:
|
|
257
|
+
- Auto-Scaling: Dynamic resource allocation based on demand
|
|
258
|
+
- Load Balancing: Traffic distribution and health checking optimization
|
|
259
|
+
- CDN Implementation: Geographic content distribution and edge caching
|
|
260
|
+
- Network Optimization: Bandwidth allocation and latency reduction
|
|
261
|
+
|
|
262
|
+
System-Level Optimizations:
|
|
263
|
+
- Monitoring and Alerting: Performance visibility and proactive issue detection
|
|
264
|
+
- Capacity Planning: Resource forecasting and growth accommodation
|
|
265
|
+
- Disaster Recovery: Backup strategies and failover mechanisms
|
|
266
|
+
- Security Optimization: Performance-aware security implementation
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
#### Cost-Benefit Analysis
|
|
270
|
+
- Performance improvement quantification and measurement
|
|
271
|
+
- Infrastructure cost implications and budget optimization
|
|
272
|
+
- Development effort estimation and resource allocation
|
|
273
|
+
- ROI calculation for different optimization strategies
|
|
274
|
+
|
|
275
|
+
### 7. Capacity Planning Integration
|
|
276
|
+
|
|
277
|
+
**Connect performance insights to infrastructure and resource planning:**
|
|
278
|
+
|
|
279
|
+
#### Capacity Planning Framework
|
|
280
|
+
```
|
|
281
|
+
Systematic Capacity Management:
|
|
282
|
+
|
|
283
|
+
Growth Projection:
|
|
284
|
+
- User Growth: Customer acquisition and usage pattern evolution
|
|
285
|
+
- Data Growth: Storage requirements and processing volume increases
|
|
286
|
+
- Feature Growth: New capabilities and functionality impacts
|
|
287
|
+
- Geographic Growth: Multi-region expansion and latency requirements
|
|
288
|
+
|
|
289
|
+
Resource Forecasting:
|
|
290
|
+
- Compute Resources: CPU, memory, and processing power requirements
|
|
291
|
+
- Storage Resources: Database, file system, and backup capacity needs
|
|
292
|
+
- Network Resources: Bandwidth, connectivity, and latency optimization
|
|
293
|
+
- Human Resources: Team scaling and expertise development needs
|
|
294
|
+
|
|
295
|
+
Scaling Strategy:
|
|
296
|
+
- Horizontal Scaling: Instance multiplication and load distribution
|
|
297
|
+
- Vertical Scaling: Resource enhancement and capacity increases
|
|
298
|
+
- Auto-Scaling: Dynamic adjustment based on real-time demand
|
|
299
|
+
- Manual Scaling: Planned capacity increases and maintenance windows
|
|
300
|
+
|
|
301
|
+
Cost Optimization:
|
|
302
|
+
- Reserved Capacity: Long-term resource commitment and cost savings
|
|
303
|
+
- Spot Instances: Variable pricing and cost-effective temporary capacity
|
|
304
|
+
- Right-Sizing: Optimal resource allocation and waste elimination
|
|
305
|
+
- Multi-Cloud: Provider comparison and cost arbitrage opportunities
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### 8. Output Generation and Recommendations
|
|
309
|
+
|
|
310
|
+
**Present simulation insights in actionable performance optimization format:**
|
|
311
|
+
|
|
312
|
+
```
|
|
313
|
+
## System Behavior Simulation: [System Name]
|
|
314
|
+
|
|
315
|
+
### Performance Summary
|
|
316
|
+
- Current Capacity: [baseline performance metrics]
|
|
317
|
+
- Bottleneck Analysis: [primary performance constraints identified]
|
|
318
|
+
- Optimization Potential: [improvement opportunities and expected gains]
|
|
319
|
+
- Scaling Requirements: [resource needs for growth accommodation]
|
|
320
|
+
|
|
321
|
+
### Load Testing Results
|
|
322
|
+
|
|
323
|
+
| Scenario | Throughput | Latency (p95) | Error Rate | Resource Usage |
|
|
324
|
+
|----------|------------|---------------|------------|----------------|
|
|
325
|
+
| Normal Load | 500 RPS | 200ms | 0.1% | 60% CPU |
|
|
326
|
+
| Peak Load | 1000 RPS | 800ms | 2.5% | 85% CPU |
|
|
327
|
+
| Stress Test | 1500 RPS | 2000ms | 15% | 95% CPU |
|
|
328
|
+
|
|
329
|
+
### Bottleneck Analysis
|
|
330
|
+
- Primary Bottleneck: [most limiting performance factor]
|
|
331
|
+
- Secondary Bottlenecks: [additional constraints affecting performance]
|
|
332
|
+
- Cascade Effects: [how bottlenecks impact other system components]
|
|
333
|
+
- Resolution Priority: [recommended order of bottleneck addressing]
|
|
334
|
+
|
|
335
|
+
### Optimization Recommendations
|
|
336
|
+
|
|
337
|
+
#### Immediate Optimizations (0-30 days):
|
|
338
|
+
- Quick Wins: [low-effort, high-impact improvements]
|
|
339
|
+
- Configuration Tuning: [parameter adjustments and settings optimization]
|
|
340
|
+
- Query Optimization: [database and application query improvements]
|
|
341
|
+
- Caching Implementation: [strategic caching layer additions]
|
|
342
|
+
|
|
343
|
+
#### Medium-term Optimizations (1-6 months):
|
|
344
|
+
- Architecture Changes: [structural improvements and scaling strategies]
|
|
345
|
+
- Infrastructure Upgrades: [hardware and platform enhancements]
|
|
346
|
+
- Code Refactoring: [application optimization and efficiency improvements]
|
|
347
|
+
- Monitoring Enhancement: [observability and alerting system improvements]
|
|
348
|
+
|
|
349
|
+
#### Long-term Optimizations (6+ months):
|
|
350
|
+
- Technology Migration: [platform or framework modernization]
|
|
351
|
+
- System Redesign: [fundamental architecture improvements]
|
|
352
|
+
- Capacity Expansion: [infrastructure scaling and geographic distribution]
|
|
353
|
+
- Innovation Integration: [new technology adoption and competitive advantage]
|
|
354
|
+
|
|
355
|
+
### Capacity Planning
|
|
356
|
+
- Current Capacity: [existing system limits and headroom]
|
|
357
|
+
- Growth Accommodation: [resource scaling for projected demand]
|
|
358
|
+
- Cost Implications: [budget requirements for capacity increases]
|
|
359
|
+
- Timeline Requirements: [implementation schedule for capacity improvements]
|
|
360
|
+
|
|
361
|
+
### Monitoring and Alerting Strategy
|
|
362
|
+
- Key Performance Indicators: [critical metrics for ongoing monitoring]
|
|
363
|
+
- Alert Thresholds: [performance degradation warning levels]
|
|
364
|
+
- Escalation Procedures: [response protocols for performance issues]
|
|
365
|
+
- Regular Review Schedule: [ongoing optimization and capacity assessment]
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### 9. Continuous Performance Learning
|
|
369
|
+
|
|
370
|
+
**Establish ongoing simulation refinement and system optimization:**
|
|
371
|
+
|
|
372
|
+
#### Performance Validation
|
|
373
|
+
- Real-world performance comparison to simulation predictions
|
|
374
|
+
- Optimization effectiveness measurement and validation
|
|
375
|
+
- User experience correlation with system performance metrics
|
|
376
|
+
- Business impact assessment of performance improvements
|
|
377
|
+
|
|
378
|
+
#### Model Enhancement
|
|
379
|
+
- Simulation accuracy improvement based on actual system behavior
|
|
380
|
+
- Load pattern refinement and user behavior modeling
|
|
381
|
+
- Bottleneck prediction enhancement and early warning systems
|
|
382
|
+
- Optimization strategy effectiveness tracking and improvement
|
|
383
|
+
|
|
384
|
+
## Usage Examples
|
|
385
|
+
|
|
386
|
+
```bash
|
|
387
|
+
# Web application performance simulation
|
|
388
|
+
/performance:system-behavior-simulator Simulate e-commerce platform performance under Black Friday traffic with 10x normal load
|
|
389
|
+
|
|
390
|
+
# API service scaling analysis
|
|
391
|
+
/performance:system-behavior-simulator Model REST API performance for mobile app with 1M+ daily active users and geographic distribution
|
|
392
|
+
|
|
393
|
+
# Database performance optimization
|
|
394
|
+
/performance:system-behavior-simulator Simulate database performance for analytics workload with real-time reporting requirements
|
|
395
|
+
|
|
396
|
+
# Microservices capacity planning
|
|
397
|
+
/performance:system-behavior-simulator Model microservices mesh performance under various failure scenarios and auto-scaling conditions
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
## Quality Indicators
|
|
401
|
+
|
|
402
|
+
- **Green**: Comprehensive load modeling, validated bottleneck analysis, quantified optimization strategies
|
|
403
|
+
- **Yellow**: Good load coverage, basic bottleneck identification, estimated optimization benefits
|
|
404
|
+
- **Red**: Limited load scenarios, unvalidated bottlenecks, qualitative-only optimization suggestions
|
|
405
|
+
|
|
406
|
+
## Common Pitfalls to Avoid
|
|
407
|
+
|
|
408
|
+
- Load unrealism: Testing with artificial patterns that don't match real usage
|
|
409
|
+
- Bottleneck tunnel vision: Focusing on single constraints while ignoring others
|
|
410
|
+
- Optimization premature: Optimizing for problems that don't exist yet
|
|
411
|
+
- Capacity under-planning: Not accounting for growth and traffic spikes
|
|
412
|
+
- Monitoring blindness: Not establishing ongoing performance visibility
|
|
413
|
+
- Cost ignorance: Optimizing performance without considering budget constraints
|
|
414
|
+
|
|
415
|
+
Transform system performance from reactive firefighting into proactive, data-driven optimization through comprehensive behavior simulation and capacity planning.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Write, Edit, Bash, Glob
|
|
3
|
+
argument-hint: [package-name] [package-type] | --library | --application | --tool
|
|
4
|
+
description: Add and configure new package to workspace with proper structure and dependencies
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Add Package to Workspace
|
|
9
|
+
|
|
10
|
+
Add and configure new project dependencies: **$ARGUMENTS**
|
|
11
|
+
|
|
12
|
+
## Instructions
|
|
13
|
+
|
|
14
|
+
1. **Package Definition and Analysis**
|
|
15
|
+
- Parse package name and type from arguments: `$ARGUMENTS` (format: name [type])
|
|
16
|
+
- If no arguments provided, prompt for package name and type
|
|
17
|
+
- Validate package name follows workspace naming conventions
|
|
18
|
+
- Determine package type: library, application, tool, shared, service, component-library
|
|
19
|
+
- Check for naming conflicts with existing packages
|
|
20
|
+
|
|
21
|
+
2. **Package Structure Creation**
|
|
22
|
+
- Create package directory in appropriate workspace location (packages/, apps/, libs/)
|
|
23
|
+
- Set up standard package directory structure based on type:
|
|
24
|
+
- `src/` for source code
|
|
25
|
+
- `tests/` or `__tests__/` for testing
|
|
26
|
+
- `docs/` for package documentation
|
|
27
|
+
- `examples/` for usage examples (if library)
|
|
28
|
+
- `public/` for static assets (if application)
|
|
29
|
+
- Create package-specific configuration files
|
|
30
|
+
|
|
31
|
+
3. **Package Configuration Setup**
|
|
32
|
+
- Generate package.json with proper metadata:
|
|
33
|
+
- Name following workspace conventions
|
|
34
|
+
- Version aligned with workspace strategy
|
|
35
|
+
- Dependencies and devDependencies
|
|
36
|
+
- Scripts for build, test, lint, dev
|
|
37
|
+
- Entry points and exports configuration
|
|
38
|
+
- Configure TypeScript (tsconfig.json) extending workspace settings
|
|
39
|
+
- Set up package-specific linting and formatting rules
|
|
40
|
+
|
|
41
|
+
4. **Package Type-Specific Setup**
|
|
42
|
+
- **Library**: Configure build system, export definitions, API documentation
|
|
43
|
+
- **Application**: Set up routing, environment configuration, build optimization
|
|
44
|
+
- **Tool**: Configure CLI setup, binary exports, command definitions
|
|
45
|
+
- **Shared**: Set up common utilities, type definitions, shared constants
|
|
46
|
+
- **Service**: Configure server setup, API routes, database connections
|
|
47
|
+
- **Component Library**: Set up Storybook, component exports, styling system
|
|
48
|
+
|
|
49
|
+
5. **Workspace Integration**
|
|
50
|
+
- Register package in workspace configuration (nx.json, lerna.json, etc.)
|
|
51
|
+
- Configure package dependencies and peer dependencies
|
|
52
|
+
- Set up cross-package imports and references
|
|
53
|
+
- Configure workspace-wide build order and dependencies
|
|
54
|
+
- Add package to workspace scripts and task runners
|
|
55
|
+
|
|
56
|
+
6. **Development Environment**
|
|
57
|
+
- Configure package-specific development server (if applicable)
|
|
58
|
+
- Set up hot reloading and watch mode
|
|
59
|
+
- Configure debugging and source maps
|
|
60
|
+
- Set up development proxy and API mocking (if needed)
|
|
61
|
+
- Configure environment variable management
|
|
62
|
+
|
|
63
|
+
7. **Testing Infrastructure**
|
|
64
|
+
- Set up testing framework configuration for the package
|
|
65
|
+
- Create initial test files and examples
|
|
66
|
+
- Configure test coverage reporting
|
|
67
|
+
- Set up package-specific test scripts
|
|
68
|
+
- Configure integration testing with other workspace packages
|
|
69
|
+
|
|
70
|
+
8. **Build and Deployment**
|
|
71
|
+
- Configure build system for the package type
|
|
72
|
+
- Set up build artifacts and output directories
|
|
73
|
+
- Configure bundling and optimization
|
|
74
|
+
- Set up package publishing configuration (if library)
|
|
75
|
+
- Configure deployment scripts (if application)
|
|
76
|
+
|
|
77
|
+
9. **Documentation and Examples**
|
|
78
|
+
- Create package README with installation and usage instructions
|
|
79
|
+
- Set up API documentation generation
|
|
80
|
+
- Create usage examples and demos
|
|
81
|
+
- Document package architecture and design decisions
|
|
82
|
+
- Add package to workspace documentation
|
|
83
|
+
|
|
84
|
+
10. **Validation and Integration Testing**
|
|
85
|
+
- Verify package builds successfully
|
|
86
|
+
- Test package installation and imports
|
|
87
|
+
- Validate workspace dependency resolution
|
|
88
|
+
- Test development workflow and hot reloading
|
|
89
|
+
- Verify CI/CD pipeline includes new package
|
|
90
|
+
- Test cross-package functionality and integration
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Write, Edit, Bash
|
|
3
|
+
argument-hint: [version] [change-type] [message] | --added | --changed | --fixed
|
|
4
|
+
description: Add entry to project changelog following Keep a Changelog format
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Update Changelog
|
|
9
|
+
|
|
10
|
+
Add a new entry to the project's CHANGELOG.md file: **$ARGUMENTS**
|
|
11
|
+
|
|
12
|
+
## Usage Examples
|
|
13
|
+
- `/add-to-changelog 1.1.0 added "New markdown to BlockDoc conversion feature"`
|
|
14
|
+
- `/add-to-changelog 1.0.2 fixed "Bug in HTML renderer causing incorrect output"`
|
|
15
|
+
|
|
16
|
+
## Current Changelog State
|
|
17
|
+
|
|
18
|
+
- Existing changelog: @CHANGELOG.md (if exists)
|
|
19
|
+
- Project version files: @package.json or @setup.py (if exists)
|
|
20
|
+
|
|
21
|
+
## Task
|
|
22
|
+
|
|
23
|
+
Add the specified change entry to CHANGELOG.md:
|
|
24
|
+
|
|
25
|
+
**Arguments**:
|
|
26
|
+
- Version: First argument (e.g., "1.1.0")
|
|
27
|
+
- Change Type: Second argument (added/changed/deprecated/removed/fixed/security)
|
|
28
|
+
- Message: Third argument (description of the change)
|
|
29
|
+
|
|
30
|
+
**Requirements**:
|
|
31
|
+
1. Create CHANGELOG.md with standard header if it doesn't exist
|
|
32
|
+
2. Find or create version section with today's date
|
|
33
|
+
3. Add entry under appropriate change type section
|
|
34
|
+
4. Follow Keep a Changelog format and Semantic Versioning
|
|
35
|
+
5. Update package version files if this is a new version
|
|
36
|
+
|
|
37
|
+
The changelog should follow [Keep a Changelog](https://keepachangelog.com/) format.
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Write, Edit, Bash
|
|
3
|
+
argument-hint: [feature-name] | [feature-type] [name]
|
|
4
|
+
description: Scaffold new feature with boilerplate code, tests, and documentation
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Create Feature
|
|
9
|
+
|
|
10
|
+
Scaffold new feature: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Project Context
|
|
13
|
+
|
|
14
|
+
- Project structure: !`find . -maxdepth 2 -type d -name src -o -name components -o -name features | head -5`
|
|
15
|
+
- Current branch: !`git branch --show-current`
|
|
16
|
+
- Package info: @package.json or @Cargo.toml or @requirements.txt (if exists)
|
|
17
|
+
- Architecture docs: @docs/architecture.md or @README.md (if exists)
|
|
18
|
+
|
|
19
|
+
## Task
|
|
20
|
+
|
|
21
|
+
Follow this systematic approach to create a new feature: $ARGUMENTS
|
|
22
|
+
|
|
23
|
+
1. **Feature Planning**
|
|
24
|
+
- Define the feature requirements and acceptance criteria
|
|
25
|
+
- Break down the feature into smaller, manageable tasks
|
|
26
|
+
- Identify affected components and potential impact areas
|
|
27
|
+
- Plan the API/interface design before implementation
|
|
28
|
+
|
|
29
|
+
2. **Research and Analysis**
|
|
30
|
+
- Study existing codebase patterns and conventions
|
|
31
|
+
- Identify similar features for consistency
|
|
32
|
+
- Research external dependencies or libraries needed
|
|
33
|
+
- Review any relevant documentation or specifications
|
|
34
|
+
|
|
35
|
+
3. **Architecture Design**
|
|
36
|
+
- Design the feature architecture and data flow
|
|
37
|
+
- Plan database schema changes if needed
|
|
38
|
+
- Define API endpoints and contracts
|
|
39
|
+
- Consider scalability and performance implications
|
|
40
|
+
|
|
41
|
+
4. **Environment Setup**
|
|
42
|
+
- Create a new feature branch: `git checkout -b feature/$ARGUMENTS`
|
|
43
|
+
- Ensure development environment is up to date
|
|
44
|
+
- Install any new dependencies required
|
|
45
|
+
- Set up feature flags if applicable
|
|
46
|
+
|
|
47
|
+
5. **Implementation Strategy**
|
|
48
|
+
- Start with core functionality and build incrementally
|
|
49
|
+
- Follow the project's coding standards and patterns
|
|
50
|
+
- Implement proper error handling and validation
|
|
51
|
+
- Use dependency injection and maintain loose coupling
|
|
52
|
+
|
|
53
|
+
6. **Database Changes (if applicable)**
|
|
54
|
+
- Create migration scripts for schema changes
|
|
55
|
+
- Ensure backward compatibility
|
|
56
|
+
- Plan for rollback scenarios
|
|
57
|
+
- Test migrations on sample data
|
|
58
|
+
|
|
59
|
+
7. **API Development**
|
|
60
|
+
- Implement API endpoints with proper HTTP status codes
|
|
61
|
+
- Add request/response validation
|
|
62
|
+
- Implement proper authentication and authorization
|
|
63
|
+
- Document API contracts and examples
|
|
64
|
+
|
|
65
|
+
8. **Frontend Implementation (if applicable)**
|
|
66
|
+
- Create reusable components following project patterns
|
|
67
|
+
- Implement responsive design and accessibility
|
|
68
|
+
- Add proper state management
|
|
69
|
+
- Handle loading and error states
|
|
70
|
+
|
|
71
|
+
9. **Testing Implementation**
|
|
72
|
+
- Write unit tests for core business logic
|
|
73
|
+
- Create integration tests for API endpoints
|
|
74
|
+
- Add end-to-end tests for user workflows
|
|
75
|
+
- Test error scenarios and edge cases
|
|
76
|
+
|
|
77
|
+
10. **Security Considerations**
|
|
78
|
+
- Implement proper input validation and sanitization
|
|
79
|
+
- Add authorization checks for sensitive operations
|
|
80
|
+
- Review for common security vulnerabilities
|
|
81
|
+
- Ensure data protection and privacy compliance
|
|
82
|
+
|
|
83
|
+
11. **Performance Optimization**
|
|
84
|
+
- Optimize database queries and indexes
|
|
85
|
+
- Implement caching where appropriate
|
|
86
|
+
- Monitor memory usage and optimize algorithms
|
|
87
|
+
- Consider lazy loading and pagination
|
|
88
|
+
|
|
89
|
+
12. **Documentation**
|
|
90
|
+
- Add inline code documentation and comments
|
|
91
|
+
- Update API documentation
|
|
92
|
+
- Create user documentation if needed
|
|
93
|
+
- Update project README if applicable
|
|
94
|
+
|
|
95
|
+
13. **Code Review Preparation**
|
|
96
|
+
- Run all tests and ensure they pass
|
|
97
|
+
- Run linting and formatting tools
|
|
98
|
+
- Check for code coverage and quality metrics
|
|
99
|
+
- Perform self-review of the changes
|
|
100
|
+
|
|
101
|
+
14. **Integration Testing**
|
|
102
|
+
- Test feature integration with existing functionality
|
|
103
|
+
- Verify feature flags work correctly
|
|
104
|
+
- Test deployment and rollback procedures
|
|
105
|
+
- Validate monitoring and logging
|
|
106
|
+
|
|
107
|
+
15. **Commit and Push**
|
|
108
|
+
- Create atomic commits with descriptive messages
|
|
109
|
+
- Follow conventional commit format if project uses it
|
|
110
|
+
- Push feature branch: `git push origin feature/$ARGUMENTS`
|
|
111
|
+
|
|
112
|
+
16. **Pull Request Creation**
|
|
113
|
+
- Create PR with comprehensive description
|
|
114
|
+
- Include screenshots or demos if applicable
|
|
115
|
+
- Add appropriate labels and reviewers
|
|
116
|
+
- Link to any related issues or specifications
|
|
117
|
+
|
|
118
|
+
17. **Quality Assurance**
|
|
119
|
+
- Coordinate with QA team for testing
|
|
120
|
+
- Address any bugs or issues found
|
|
121
|
+
- Verify accessibility and usability requirements
|
|
122
|
+
- Test on different environments and browsers
|
|
123
|
+
|
|
124
|
+
18. **Deployment Planning**
|
|
125
|
+
- Plan feature rollout strategy
|
|
126
|
+
- Set up monitoring and alerting
|
|
127
|
+
- Prepare rollback procedures
|
|
128
|
+
- Schedule deployment and communication
|
|
129
|
+
|
|
130
|
+
Remember to maintain code quality, follow project conventions, and prioritize user experience throughout the development process.
|