claude-code-templates 1.20.3 → 1.21.1
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/.claude/agents/agent-expert.md +477 -0
- package/.claude/agents/cli-ui-designer.md +405 -0
- package/.claude/agents/command-expert.md +421 -0
- package/.claude/agents/docusaurus-expert.md +51 -0
- package/.claude/agents/mcp-expert.md +258 -0
- package/.claude/commands/lint.md +111 -0
- package/.claude/commands/test.md +73 -0
- package/.claude/settings.local.json +34 -0
- package/.github/WORKFLOWS_REFERENCE.md +88 -0
- package/.github/workflows/deploy-docusaurus.yml +31 -0
- package/.github/workflows/deploy.yml +33 -0
- package/.github/workflows/publish-package.yml +125 -0
- package/.mcp.json +4 -0
- package/CLAUDE.md +482 -0
- package/CODE_OF_CONDUCT.md +82 -0
- package/CONTRIBUTING.md +505 -0
- package/DEPLOYMENT.md +60 -0
- package/LICENSE +21 -0
- package/README.md +77 -79
- package/ROADMAP.md +278 -0
- package/SECURITY.md +65 -0
- package/api/index.html +1 -0
- package/api/package.json +7 -0
- package/api/track-download-supabase.js +150 -0
- package/cli-tool/Makefile +102 -0
- package/cli-tool/README.md +126 -0
- package/cli-tool/TESTING.md +262 -0
- package/{bin → cli-tool/bin}/create-claude-config.js +5 -1
- package/cli-tool/components/agents/ai-specialists/ai-ethics-advisor.md +195 -0
- package/cli-tool/components/agents/ai-specialists/hackathon-ai-strategist.md +46 -0
- package/cli-tool/components/agents/ai-specialists/llms-maintainer.md +94 -0
- package/cli-tool/components/agents/ai-specialists/model-evaluator.md +150 -0
- package/cli-tool/components/agents/ai-specialists/prompt-engineer.md +112 -0
- package/cli-tool/components/agents/ai-specialists/search-specialist.md +59 -0
- package/cli-tool/components/agents/ai-specialists/task-decomposition-expert.md +97 -0
- package/cli-tool/components/agents/api-graphql/graphql-architect.md +208 -0
- package/cli-tool/components/agents/api-graphql/graphql-performance-optimizer.md +357 -0
- package/cli-tool/components/agents/api-graphql/graphql-security-specialist.md +519 -0
- package/cli-tool/components/agents/blockchain-web3/smart-contract-auditor.md +32 -0
- package/cli-tool/components/agents/blockchain-web3/smart-contract-specialist.md +32 -0
- package/cli-tool/components/agents/blockchain-web3/web3-integration-specialist.md +32 -0
- package/cli-tool/components/agents/business-marketing/business-analyst.md +194 -0
- package/cli-tool/components/agents/business-marketing/content-marketer.md +36 -0
- package/cli-tool/components/agents/business-marketing/customer-support.md +36 -0
- package/cli-tool/components/agents/business-marketing/legal-advisor.md +50 -0
- package/cli-tool/components/agents/business-marketing/marketing-attribution-analyst.md +352 -0
- package/cli-tool/components/agents/business-marketing/payment-integration.md +33 -0
- package/cli-tool/components/agents/business-marketing/product-strategist.md +212 -0
- package/cli-tool/components/agents/business-marketing/risk-manager.md +42 -0
- package/cli-tool/components/agents/business-marketing/sales-automator.md +36 -0
- package/cli-tool/components/agents/data-ai/ai-engineer.md +33 -0
- package/cli-tool/components/agents/data-ai/computer-vision-engineer.md +562 -0
- package/cli-tool/components/agents/data-ai/data-engineer.md +33 -0
- package/cli-tool/components/agents/data-ai/data-scientist.md +337 -0
- package/cli-tool/components/agents/data-ai/ml-engineer.md +33 -0
- package/cli-tool/components/agents/data-ai/mlops-engineer.md +58 -0
- package/cli-tool/components/agents/data-ai/nlp-engineer.md +680 -0
- package/cli-tool/components/agents/data-ai/quant-analyst.md +33 -0
- package/cli-tool/components/agents/database/database-admin.md +33 -0
- package/cli-tool/components/agents/database/database-architect.md +590 -0
- package/cli-tool/components/agents/database/database-optimization.md +33 -0
- package/cli-tool/components/agents/database/database-optimizer.md +33 -0
- package/cli-tool/components/agents/database/nosql-specialist.md +708 -0
- package/cli-tool/components/agents/database/supabase-schema-architect.md +138 -0
- package/cli-tool/components/agents/deep-research-team/academic-researcher.md +33 -0
- package/cli-tool/components/agents/deep-research-team/agent-overview.md +235 -0
- package/cli-tool/components/agents/deep-research-team/competitive-intelligence-analyst.md +530 -0
- package/cli-tool/components/agents/deep-research-team/data-analyst.md +112 -0
- package/cli-tool/components/agents/deep-research-team/fact-checker.md +553 -0
- package/cli-tool/components/agents/deep-research-team/query-clarifier.md +73 -0
- package/cli-tool/components/agents/deep-research-team/report-generator.md +108 -0
- package/cli-tool/components/agents/deep-research-team/research-brief-generator.md +108 -0
- package/cli-tool/components/agents/deep-research-team/research-coordinator.md +94 -0
- package/cli-tool/components/agents/deep-research-team/research-orchestrator.md +119 -0
- package/cli-tool/components/agents/deep-research-team/research-synthesizer.md +109 -0
- package/cli-tool/components/agents/deep-research-team/technical-researcher.md +95 -0
- package/cli-tool/components/agents/development-team/backend-architect.md +31 -0
- package/cli-tool/components/agents/development-team/cli-ui-designer.md +405 -0
- package/cli-tool/components/agents/development-team/devops-engineer.md +886 -0
- package/cli-tool/components/agents/development-team/frontend-developer.md +32 -0
- package/cli-tool/components/agents/development-team/fullstack-developer.md +1205 -0
- package/cli-tool/components/agents/development-team/ios-developer.md +36 -0
- package/cli-tool/components/agents/development-team/mobile-developer.md +33 -0
- package/cli-tool/components/agents/development-team/ui-ux-designer.md +36 -0
- package/cli-tool/components/agents/development-tools/code-reviewer.md +30 -0
- package/cli-tool/components/agents/development-tools/command-expert.md +422 -0
- package/cli-tool/components/agents/development-tools/context-manager.md +65 -0
- package/cli-tool/components/agents/development-tools/debugger.md +31 -0
- package/cli-tool/components/agents/development-tools/dx-optimizer.md +64 -0
- package/cli-tool/components/agents/development-tools/error-detective.md +33 -0
- package/cli-tool/components/agents/development-tools/mcp-expert.md +259 -0
- package/cli-tool/components/agents/development-tools/performance-profiler.md +799 -0
- package/cli-tool/components/agents/development-tools/test-engineer.md +936 -0
- package/cli-tool/components/agents/devops-infrastructure/cloud-architect.md +33 -0
- package/cli-tool/components/agents/devops-infrastructure/deployment-engineer.md +33 -0
- package/cli-tool/components/agents/devops-infrastructure/devops-troubleshooter.md +33 -0
- package/cli-tool/components/agents/devops-infrastructure/monitoring-specialist.md +36 -0
- package/cli-tool/components/agents/devops-infrastructure/network-engineer.md +33 -0
- package/cli-tool/components/agents/devops-infrastructure/security-engineer.md +971 -0
- package/cli-tool/components/agents/devops-infrastructure/terraform-specialist.md +36 -0
- package/cli-tool/components/agents/devops-infrastructure/vercel-deployment-specialist.md +357 -0
- package/cli-tool/components/agents/documentation/api-documenter.md +33 -0
- package/cli-tool/components/agents/documentation/changelog-generator.md +37 -0
- package/cli-tool/components/agents/documentation/docusaurus-expert.md +52 -0
- package/cli-tool/components/agents/documentation/technical-writer.md +37 -0
- package/cli-tool/components/agents/expert-advisors/agent-expert.md +477 -0
- package/cli-tool/components/agents/expert-advisors/architect-review.md +50 -0
- package/cli-tool/components/agents/expert-advisors/dependency-manager.md +45 -0
- package/cli-tool/components/agents/expert-advisors/documentation-expert.md +47 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/audio-mixer.md +37 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/audio-quality-controller.md +100 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/podcast-content-analyzer.md +60 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/podcast-metadata-specialist.md +46 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/podcast-transcriber.md +68 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/social-media-clip-creator.md +69 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/timestamp-precision-specialist.md +98 -0
- package/cli-tool/components/agents/ffmpeg-clip-team/video-editor.md +37 -0
- package/cli-tool/components/agents/game-development/3d-artist.md +37 -0
- package/cli-tool/components/agents/game-development/game-designer.md +37 -0
- package/cli-tool/components/agents/game-development/unity-game-developer.md +110 -0
- package/cli-tool/components/agents/game-development/unreal-engine-developer.md +128 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-deployment-orchestrator.md +101 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-integration-engineer.md +37 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-protocol-specialist.md +37 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-registry-navigator.md +112 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-security-auditor.md +70 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-server-architect.md +74 -0
- package/cli-tool/components/agents/mcp-dev-team/mcp-testing-engineer.md +106 -0
- package/cli-tool/components/agents/modernization/architecture-modernizer.md +37 -0
- package/cli-tool/components/agents/modernization/cloud-migration-specialist.md +37 -0
- package/cli-tool/components/agents/modernization/legacy-modernizer.md +33 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/daily_notes_connector.py +306 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/enhance_tag_standardizer.py +343 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/find_keyword_connections.py +216 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/fix_quoted_tags.py +82 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/implement_entity_connections.py +195 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/link_suggester.py +301 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/metadata_adder.py +197 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/moc_generator.py +296 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/parse_keyword_connections.py +122 -0
- package/cli-tool/components/agents/obsidian-ops-team/Scripts/tag_standardizer.py +387 -0
- package/cli-tool/components/agents/obsidian-ops-team/connection-agent.md +67 -0
- package/cli-tool/components/agents/obsidian-ops-team/content-curator.md +81 -0
- package/cli-tool/components/agents/obsidian-ops-team/metadata-agent.md +51 -0
- package/cli-tool/components/agents/obsidian-ops-team/moc-agent.md +112 -0
- package/cli-tool/components/agents/obsidian-ops-team/review-agent.md +94 -0
- package/cli-tool/components/agents/obsidian-ops-team/tag-agent.md +92 -0
- package/cli-tool/components/agents/obsidian-ops-team/vault-optimizer.md +76 -0
- package/cli-tool/components/agents/ocr-extraction-team/document-structure-analyzer.md +37 -0
- package/cli-tool/components/agents/ocr-extraction-team/markdown-syntax-formatter.md +58 -0
- package/cli-tool/components/agents/ocr-extraction-team/ocr-grammar-fixer.md +36 -0
- package/cli-tool/components/agents/ocr-extraction-team/ocr-preprocessing-optimizer.md +37 -0
- package/cli-tool/components/agents/ocr-extraction-team/ocr-quality-assurance.md +62 -0
- package/cli-tool/components/agents/ocr-extraction-team/text-comparison-validator.md +60 -0
- package/cli-tool/components/agents/ocr-extraction-team/visual-analysis-ocr.md +52 -0
- package/cli-tool/components/agents/performance-testing/load-testing-specialist.md +37 -0
- package/cli-tool/components/agents/performance-testing/performance-engineer.md +33 -0
- package/cli-tool/components/agents/performance-testing/react-performance-optimization.md +65 -0
- package/cli-tool/components/agents/performance-testing/test-automator.md +33 -0
- package/cli-tool/components/agents/performance-testing/web-vitals-optimizer.md +37 -0
- package/cli-tool/components/agents/podcast-creator-team/academic-research-synthesizer.md +61 -0
- package/cli-tool/components/agents/podcast-creator-team/comprehensive-researcher.md +49 -0
- package/cli-tool/components/agents/podcast-creator-team/episode-orchestrator.md +52 -0
- package/cli-tool/components/agents/podcast-creator-team/guest-outreach-coordinator.md +37 -0
- package/cli-tool/components/agents/podcast-creator-team/market-research-analyst.md +54 -0
- package/cli-tool/components/agents/podcast-creator-team/podcast-editor.md +37 -0
- package/cli-tool/components/agents/podcast-creator-team/podcast-trend-scout.md +60 -0
- package/cli-tool/components/agents/podcast-creator-team/project-supervisor-orchestrator.md +48 -0
- package/cli-tool/components/agents/podcast-creator-team/seo-podcast-optimizer.md +58 -0
- package/cli-tool/components/agents/podcast-creator-team/social-media-copywriter.md +57 -0
- package/cli-tool/components/agents/podcast-creator-team/twitter-ai-influencer-manager.md +62 -0
- package/cli-tool/components/agents/programming-languages/c-pro.md +36 -0
- package/cli-tool/components/agents/programming-languages/c-sharp-pro.md +40 -0
- package/cli-tool/components/agents/programming-languages/cpp-pro.md +39 -0
- package/cli-tool/components/agents/programming-languages/golang-pro.md +33 -0
- package/cli-tool/components/agents/programming-languages/javascript-pro.md +36 -0
- package/cli-tool/components/agents/programming-languages/php-pro.md +44 -0
- package/cli-tool/components/agents/programming-languages/python-pro.md +33 -0
- package/cli-tool/components/agents/programming-languages/rust-pro.md +36 -0
- package/cli-tool/components/agents/programming-languages/shell-scripting-pro.md +38 -0
- package/cli-tool/components/agents/programming-languages/sql-pro.md +36 -0
- package/cli-tool/components/agents/programming-languages/typescript-pro.md +38 -0
- package/cli-tool/components/agents/realtime/supabase-realtime-optimizer.md +193 -0
- package/cli-tool/components/agents/security/api-security-audit.md +93 -0
- package/cli-tool/components/agents/security/compliance-specialist.md +37 -0
- package/cli-tool/components/agents/security/incident-responder.md +75 -0
- package/cli-tool/components/agents/security/penetration-tester.md +37 -0
- package/cli-tool/components/agents/security/security-auditor.md +33 -0
- package/cli-tool/components/agents/web-tools/nextjs-architecture-expert.md +194 -0
- package/cli-tool/components/agents/web-tools/react-performance-optimizer.md +425 -0
- package/cli-tool/components/agents/web-tools/seo-analyzer.md +37 -0
- package/cli-tool/components/agents/web-tools/url-context-validator.md +61 -0
- package/cli-tool/components/agents/web-tools/url-link-extractor.md +59 -0
- package/cli-tool/components/agents/web-tools/web-accessibility-checker.md +37 -0
- package/cli-tool/components/commands/automation/act.md +57 -0
- package/cli-tool/components/commands/automation/ci-pipeline.md +378 -0
- package/cli-tool/components/commands/automation/husky.md +130 -0
- package/cli-tool/components/commands/automation/workflow-orchestrator.md +576 -0
- package/cli-tool/components/commands/database/supabase-backup-manager.md +37 -0
- package/cli-tool/components/commands/database/supabase-data-explorer.md +37 -0
- package/cli-tool/components/commands/database/supabase-migration-assistant.md +37 -0
- package/cli-tool/components/commands/database/supabase-performance-optimizer.md +37 -0
- package/cli-tool/components/commands/database/supabase-realtime-monitor.md +37 -0
- package/cli-tool/components/commands/database/supabase-schema-sync.md +37 -0
- package/cli-tool/components/commands/database/supabase-security-audit.md +37 -0
- package/cli-tool/components/commands/database/supabase-type-generator.md +37 -0
- package/cli-tool/components/commands/deployment/add-changelog.md +92 -0
- package/cli-tool/components/commands/deployment/blue-green-deployment.md +824 -0
- package/cli-tool/components/commands/deployment/changelog-demo-command.md +43 -0
- package/cli-tool/components/commands/deployment/ci-setup.md +323 -0
- package/cli-tool/components/commands/deployment/containerize-application.md +93 -0
- package/cli-tool/components/commands/deployment/deployment-monitoring.md +1228 -0
- package/cli-tool/components/commands/deployment/hotfix-deploy.md +283 -0
- package/cli-tool/components/commands/deployment/prepare-release.md +357 -0
- package/cli-tool/components/commands/deployment/rollback-deploy.md +145 -0
- package/cli-tool/components/commands/deployment/setup-automated-releases.md +143 -0
- package/cli-tool/components/commands/deployment/setup-kubernetes-deployment.md +93 -0
- package/cli-tool/components/commands/documentation/create-architecture-documentation.md +95 -0
- package/cli-tool/components/commands/documentation/create-onboarding-guide.md +93 -0
- package/cli-tool/components/commands/documentation/doc-api.md +242 -0
- package/cli-tool/components/commands/documentation/docs-maintenance.md +119 -0
- package/cli-tool/components/commands/documentation/generate-api-documentation.md +97 -0
- package/cli-tool/components/commands/documentation/interactive-documentation.md +133 -0
- package/cli-tool/components/commands/documentation/load-llms-txt.md +39 -0
- package/cli-tool/components/commands/documentation/migration-guide.md +250 -0
- package/cli-tool/components/commands/documentation/troubleshooting-guide.md +370 -0
- package/cli-tool/components/commands/documentation/update-docs.md +107 -0
- package/cli-tool/components/commands/game-development/game-analytics-integration.md +128 -0
- package/cli-tool/components/commands/game-development/game-asset-pipeline.md +108 -0
- package/cli-tool/components/commands/game-development/game-performance-profiler.md +78 -0
- package/cli-tool/components/commands/game-development/game-testing-framework.md +112 -0
- package/cli-tool/components/commands/game-development/unity-project-setup.md +190 -0
- package/cli-tool/components/commands/git-workflow/branch-cleanup.md +181 -0
- package/cli-tool/components/commands/git-workflow/commit.md +167 -0
- package/cli-tool/components/commands/git-workflow/create-pr.md +19 -0
- package/cli-tool/components/commands/git-workflow/create-pull-request.md +126 -0
- package/cli-tool/components/commands/git-workflow/create-worktrees.md +174 -0
- package/cli-tool/components/commands/git-workflow/fix-github-issue.md +13 -0
- package/cli-tool/components/commands/git-workflow/git-bisect-helper.md +261 -0
- package/cli-tool/components/commands/git-workflow/pr-review.md +76 -0
- package/cli-tool/components/commands/git-workflow/update-branch-name.md +9 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-api-tester.md +480 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-bundle-analyzer.md +406 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-component-generator.md +489 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-middleware-creator.md +712 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-migration-helper.md +778 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-performance-audit.md +653 -0
- package/cli-tool/components/commands/nextjs-vercel/nextjs-scaffold.md +237 -0
- package/cli-tool/components/commands/nextjs-vercel/vercel-deploy-optimize.md +341 -0
- package/cli-tool/components/commands/nextjs-vercel/vercel-edge-function.md +810 -0
- package/cli-tool/components/commands/nextjs-vercel/vercel-env-sync.md +666 -0
- package/cli-tool/components/commands/orchestration/archive.md +414 -0
- package/cli-tool/components/commands/orchestration/commit.md +305 -0
- package/cli-tool/components/commands/orchestration/find.md +272 -0
- package/cli-tool/components/commands/orchestration/log.md +355 -0
- package/cli-tool/components/commands/orchestration/move.md +220 -0
- package/cli-tool/components/commands/orchestration/optimize.md +375 -0
- package/cli-tool/components/commands/orchestration/remove.md +301 -0
- package/cli-tool/components/commands/orchestration/report.md +292 -0
- package/cli-tool/components/commands/orchestration/resume.md +256 -0
- package/cli-tool/components/commands/orchestration/start.md +169 -0
- package/cli-tool/components/commands/orchestration/status.md +219 -0
- package/cli-tool/components/commands/orchestration/sync.md +294 -0
- package/cli-tool/components/commands/performance/add-performance-monitoring.md +84 -0
- package/cli-tool/components/commands/performance/implement-caching-strategy.md +84 -0
- package/cli-tool/components/commands/performance/optimize-api-performance.md +119 -0
- package/cli-tool/components/commands/performance/optimize-build.md +139 -0
- package/cli-tool/components/commands/performance/optimize-bundle-size.md +84 -0
- package/cli-tool/components/commands/performance/optimize-database-performance.md +84 -0
- package/cli-tool/components/commands/performance/optimize-memory-usage.md +91 -0
- package/cli-tool/components/commands/performance/performance-audit.md +89 -0
- package/cli-tool/components/commands/performance/setup-cdn-optimization.md +84 -0
- package/cli-tool/components/commands/performance/system-behavior-simulator.md +415 -0
- package/cli-tool/components/commands/project-management/add-package.md +90 -0
- package/cli-tool/components/commands/project-management/add-to-changelog.md +37 -0
- package/cli-tool/components/commands/project-management/create-feature.md +130 -0
- package/cli-tool/components/commands/project-management/create-jtbd.md +37 -0
- package/cli-tool/components/commands/project-management/create-prd.md +36 -0
- package/cli-tool/components/commands/project-management/create-prp.md +37 -0
- package/cli-tool/components/commands/project-management/init-project.md +80 -0
- package/cli-tool/components/commands/project-management/milestone-tracker.md +44 -0
- package/cli-tool/components/commands/project-management/pac-configure.md +32 -0
- package/cli-tool/components/commands/project-management/pac-create-epic.md +41 -0
- package/cli-tool/components/commands/project-management/pac-create-ticket.md +42 -0
- package/cli-tool/components/commands/project-management/pac-update-status.md +39 -0
- package/cli-tool/components/commands/project-management/pac-validate.md +35 -0
- package/cli-tool/components/commands/project-management/project-health-check.md +58 -0
- package/cli-tool/components/commands/project-management/project-timeline-simulator.md +37 -0
- package/cli-tool/components/commands/project-management/project-to-linear.md +38 -0
- package/cli-tool/components/commands/project-management/release.md +31 -0
- package/cli-tool/components/commands/project-management/todo.md +62 -0
- package/cli-tool/components/commands/security/add-authentication-system.md +34 -0
- package/cli-tool/components/commands/security/dependency-audit.md +32 -0
- package/cli-tool/components/commands/security/penetration-test.md +40 -0
- package/cli-tool/components/commands/security/secrets-scanner.md +39 -0
- package/cli-tool/components/commands/security/security-audit.md +82 -0
- package/cli-tool/components/commands/security/security-hardening.md +33 -0
- package/cli-tool/components/commands/setup/create-database-migrations.md +35 -0
- package/cli-tool/components/commands/setup/design-database-schema.md +37 -0
- package/cli-tool/components/commands/setup/design-rest-api.md +37 -0
- package/cli-tool/components/commands/setup/implement-graphql-api.md +37 -0
- package/cli-tool/components/commands/setup/migrate-to-typescript.md +37 -0
- package/cli-tool/components/commands/setup/setup-ci-cd-pipeline.md +37 -0
- package/cli-tool/components/commands/setup/setup-development-environment.md +37 -0
- package/cli-tool/components/commands/setup/setup-docker-containers.md +37 -0
- package/cli-tool/components/commands/setup/setup-formatting.md +37 -0
- package/cli-tool/components/commands/setup/setup-linting.md +37 -0
- package/cli-tool/components/commands/setup/setup-monitoring-observability.md +37 -0
- package/cli-tool/components/commands/setup/setup-monorepo.md +37 -0
- package/cli-tool/components/commands/setup/setup-rate-limiting.md +37 -0
- package/cli-tool/components/commands/setup/update-dependencies.md +35 -0
- package/cli-tool/components/commands/simulation/business-scenario-explorer.md +37 -0
- package/cli-tool/components/commands/simulation/constraint-modeler.md +37 -0
- package/cli-tool/components/commands/simulation/decision-tree-explorer.md +37 -0
- package/cli-tool/components/commands/simulation/digital-twin-creator.md +37 -0
- package/cli-tool/components/commands/simulation/future-scenario-generator.md +37 -0
- package/cli-tool/components/commands/simulation/market-response-modeler.md +37 -0
- package/cli-tool/components/commands/simulation/monte-carlo-simulator.md +37 -0
- package/cli-tool/components/commands/simulation/simulation-calibrator.md +37 -0
- package/cli-tool/components/commands/simulation/system-dynamics-modeler.md +37 -0
- package/cli-tool/components/commands/simulation/timeline-compressor.md +37 -0
- package/cli-tool/components/commands/svelte/svelte:a11y.md +105 -0
- package/cli-tool/components/commands/svelte/svelte:component.md +81 -0
- package/cli-tool/components/commands/svelte/svelte:debug.md +48 -0
- package/cli-tool/components/commands/svelte/svelte:migrate.md +79 -0
- package/cli-tool/components/commands/svelte/svelte:optimize.md +99 -0
- package/cli-tool/components/commands/svelte/svelte:scaffold.md +89 -0
- package/cli-tool/components/commands/svelte/svelte:storybook-migrate.md +204 -0
- package/cli-tool/components/commands/svelte/svelte:storybook-mock.md +213 -0
- package/cli-tool/components/commands/svelte/svelte:storybook-setup.md +113 -0
- package/cli-tool/components/commands/svelte/svelte:storybook-story.md +145 -0
- package/cli-tool/components/commands/svelte/svelte:storybook-troubleshoot.md +191 -0
- package/cli-tool/components/commands/svelte/svelte:storybook.md +48 -0
- package/cli-tool/components/commands/svelte/svelte:test-coverage.md +77 -0
- package/cli-tool/components/commands/svelte/svelte:test-fix.md +74 -0
- package/cli-tool/components/commands/svelte/svelte:test-setup.md +85 -0
- package/cli-tool/components/commands/svelte/svelte:test.md +60 -0
- package/cli-tool/components/commands/sync/bidirectional-sync.md +37 -0
- package/cli-tool/components/commands/sync/bulk-import-issues.md +37 -0
- package/cli-tool/components/commands/sync/cross-reference-manager.md +37 -0
- package/cli-tool/components/commands/sync/issue-to-linear-task.md +37 -0
- package/cli-tool/components/commands/sync/linear-task-to-issue.md +37 -0
- package/cli-tool/components/commands/sync/sync-automation-setup.md +37 -0
- package/cli-tool/components/commands/sync/sync-conflict-resolver.md +37 -0
- package/cli-tool/components/commands/sync/sync-health-monitor.md +37 -0
- package/cli-tool/components/commands/sync/sync-issues-to-linear.md +37 -0
- package/cli-tool/components/commands/sync/sync-linear-to-issues.md +37 -0
- package/cli-tool/components/commands/sync/sync-migration-assistant.md +37 -0
- package/cli-tool/components/commands/sync/sync-pr-to-task.md +37 -0
- package/cli-tool/components/commands/sync/sync-status.md +391 -0
- package/cli-tool/components/commands/sync/task-from-pr.md +37 -0
- package/cli-tool/components/commands/team/architecture-review.md +37 -0
- package/cli-tool/components/commands/team/decision-quality-analyzer.md +37 -0
- package/cli-tool/components/commands/team/dependency-mapper.md +37 -0
- package/cli-tool/components/commands/team/estimate-assistant.md +37 -0
- package/cli-tool/components/commands/team/issue-triage.md +37 -0
- package/cli-tool/components/commands/team/memory-spring-cleaning.md +37 -0
- package/cli-tool/components/commands/team/migration-assistant.md +37 -0
- package/cli-tool/components/commands/team/retrospective-analyzer.md +37 -0
- package/cli-tool/components/commands/team/session-learning-capture.md +37 -0
- package/cli-tool/components/commands/team/sprint-planning.md +189 -0
- package/cli-tool/components/commands/team/standup-report.md +37 -0
- package/cli-tool/components/commands/team/team-knowledge-mapper.md +37 -0
- package/cli-tool/components/commands/team/team-velocity-tracker.md +37 -0
- package/cli-tool/components/commands/team/team-workload-balancer.md +37 -0
- package/cli-tool/components/commands/testing/add-mutation-testing.md +37 -0
- package/cli-tool/components/commands/testing/add-property-based-testing.md +37 -0
- package/cli-tool/components/commands/testing/e2e-setup.md +37 -0
- package/cli-tool/components/commands/testing/generate-test-cases.md +37 -0
- package/cli-tool/components/commands/testing/generate-tests.md +82 -0
- package/cli-tool/components/commands/testing/setup-comprehensive-testing.md +37 -0
- package/cli-tool/components/commands/testing/setup-load-testing.md +37 -0
- package/cli-tool/components/commands/testing/setup-visual-testing.md +37 -0
- package/cli-tool/components/commands/testing/test-automation-orchestrator.md +37 -0
- package/cli-tool/components/commands/testing/test-changelog-automation.md +37 -0
- package/cli-tool/components/commands/testing/test-coverage.md +37 -0
- package/cli-tool/components/commands/testing/test-quality-analyzer.md +37 -0
- package/cli-tool/components/commands/testing/testing_plan_integration.md +37 -0
- package/cli-tool/components/commands/testing/write-tests.md +37 -0
- package/cli-tool/components/commands/utilities/all-tools.md +31 -0
- package/cli-tool/components/commands/utilities/architecture-scenario-explorer.md +375 -0
- package/cli-tool/components/commands/utilities/check-file.md +53 -0
- package/cli-tool/components/commands/utilities/clean-branches.md +243 -0
- package/cli-tool/components/commands/utilities/clean.md +1 -0
- package/cli-tool/components/commands/utilities/code-permutation-tester.md +341 -0
- package/cli-tool/components/commands/utilities/code-review.md +70 -0
- package/cli-tool/components/commands/utilities/code-to-task.md +583 -0
- package/cli-tool/components/commands/utilities/context-prime.md +1 -0
- package/cli-tool/components/commands/utilities/debug-error.md +121 -0
- package/cli-tool/components/commands/utilities/directory-deep-dive.md +34 -0
- package/cli-tool/components/commands/utilities/explain-code.md +194 -0
- package/cli-tool/components/commands/utilities/fix-issue.md +85 -0
- package/cli-tool/components/commands/utilities/generate-linear-worklog.md +113 -0
- package/cli-tool/components/commands/utilities/git-status.md +39 -0
- package/cli-tool/components/commands/utilities/initref.md +3 -0
- package/cli-tool/components/commands/utilities/prime.md +41 -0
- package/cli-tool/components/commands/utilities/refactor-code.md +116 -0
- package/cli-tool/components/commands/utilities/ultra-think.md +153 -0
- package/cli-tool/components/hooks/HOOK_PATTERNS_COMPRESSED.json +1 -0
- package/cli-tool/components/hooks/automation/build-on-change.json +16 -0
- package/cli-tool/components/hooks/automation/dependency-checker.json +16 -0
- package/cli-tool/components/hooks/automation/deployment-health-monitor.json +29 -0
- package/cli-tool/components/hooks/automation/discord-detailed-notifications.json +26 -0
- package/cli-tool/components/hooks/automation/discord-error-notifications.json +37 -0
- package/cli-tool/components/hooks/automation/discord-notifications.json +25 -0
- package/cli-tool/components/hooks/automation/simple-notifications.json +16 -0
- package/cli-tool/components/hooks/automation/slack-detailed-notifications.json +26 -0
- package/cli-tool/components/hooks/automation/slack-error-notifications.json +37 -0
- package/cli-tool/components/hooks/automation/slack-notifications.json +25 -0
- package/cli-tool/components/hooks/automation/telegram-detailed-notifications.json +26 -0
- package/cli-tool/components/hooks/automation/telegram-error-notifications.json +37 -0
- package/cli-tool/components/hooks/automation/telegram-notifications.json +25 -0
- package/cli-tool/components/hooks/automation/vercel-auto-deploy.json +17 -0
- package/cli-tool/components/hooks/automation/vercel-environment-sync.json +29 -0
- package/cli-tool/components/hooks/development-tools/change-tracker.json +25 -0
- package/cli-tool/components/hooks/development-tools/command-logger.json +16 -0
- package/cli-tool/components/hooks/development-tools/file-backup.json +16 -0
- package/cli-tool/components/hooks/development-tools/lint-on-save.json +16 -0
- package/cli-tool/components/hooks/development-tools/nextjs-code-quality-enforcer.json +17 -0
- package/cli-tool/components/hooks/development-tools/smart-formatting.json +16 -0
- package/cli-tool/components/hooks/git-workflow/auto-git-add.json +16 -0
- package/cli-tool/components/hooks/git-workflow/smart-commit.json +25 -0
- package/cli-tool/components/hooks/performance/performance-budget-guard.json +27 -0
- package/cli-tool/components/hooks/performance/performance-monitor.json +27 -0
- package/cli-tool/components/hooks/post-tool/format-javascript-files.json +16 -0
- package/cli-tool/components/hooks/post-tool/format-python-files.json +16 -0
- package/cli-tool/components/hooks/post-tool/git-add-changes.json +25 -0
- package/cli-tool/components/hooks/post-tool/run-tests-after-changes.json +16 -0
- package/cli-tool/components/hooks/pre-tool/backup-before-edit.json +16 -0
- package/cli-tool/components/hooks/pre-tool/notify-before-bash.json +16 -0
- package/cli-tool/components/hooks/security/file-protection.json +16 -0
- package/cli-tool/components/hooks/security/security-scanner.json +16 -0
- package/cli-tool/components/hooks/testing/test-runner.json +16 -0
- package/cli-tool/components/mcps/browser_automation/browser-use-mcp-server.json +20 -0
- package/cli-tool/components/mcps/browser_automation/browsermcp.json +9 -0
- package/cli-tool/components/mcps/browser_automation/mcp-server-browserbase.json +14 -0
- package/cli-tool/components/mcps/browser_automation/mcp-server-playwright.json +9 -0
- package/cli-tool/components/mcps/browser_automation/playwright-mcp-server.json +9 -0
- package/cli-tool/components/mcps/browser_automation/playwright-mcp.json +11 -0
- package/cli-tool/components/mcps/database/mysql-integration.json +12 -0
- package/cli-tool/components/mcps/database/postgresql-integration.json +12 -0
- package/cli-tool/components/mcps/database/supabase.json +17 -0
- package/cli-tool/components/mcps/deepgraph/deepgraph-nextjs.json +13 -0
- package/cli-tool/components/mcps/deepgraph/deepgraph-react.json +13 -0
- package/cli-tool/components/mcps/deepgraph/deepgraph-typescript.json +13 -0
- package/cli-tool/components/mcps/deepgraph/deepgraph-vue.json +13 -0
- package/cli-tool/components/mcps/devtools/circleci.json +13 -0
- package/cli-tool/components/mcps/devtools/context7.json +9 -0
- package/cli-tool/components/mcps/devtools/firefly-mcp.json +13 -0
- package/cli-tool/components/mcps/devtools/ios-simulator-mcp.json +9 -0
- package/cli-tool/components/mcps/devtools/just-mcp.json +9 -0
- package/cli-tool/components/mcps/devtools/leetcode.json +8 -0
- package/cli-tool/components/mcps/devtools/mcp-server-atlassian-bitbucket.json +9 -0
- package/cli-tool/components/mcps/devtools/mcp-server-trello.json +12 -0
- package/cli-tool/components/mcps/filesystem/filesystem-access.json +13 -0
- package/cli-tool/components/mcps/integration/github-integration.json +12 -0
- package/cli-tool/components/mcps/integration/memory-integration.json +9 -0
- package/cli-tool/components/mcps/marketing/facebook-ads-mcp-server.json +13 -0
- package/cli-tool/components/mcps/marketing/google-ads-mcp-server.json +11 -0
- package/cli-tool/components/mcps/web/web-fetch.json +9 -0
- package/cli-tool/components/sandbox/README.md +169 -0
- package/cli-tool/components/sandbox/e2b/.env.example +10 -0
- package/cli-tool/components/sandbox/e2b/SANDBOX_DEBUGGING.md +203 -0
- package/cli-tool/components/sandbox/e2b/claude-code-sandbox.md +110 -0
- package/cli-tool/components/sandbox/e2b/e2b-launcher.py +355 -0
- package/cli-tool/components/sandbox/e2b/e2b-monitor.py +229 -0
- package/cli-tool/components/sandbox/e2b/requirements.txt +1 -0
- package/cli-tool/components/settings/api/bedrock-configuration.json +7 -0
- package/cli-tool/components/settings/api/corporate-proxy.json +7 -0
- package/cli-tool/components/settings/api/custom-headers.json +6 -0
- package/cli-tool/components/settings/api/vertex-configuration.json +8 -0
- package/cli-tool/components/settings/authentication/api-key-helper.json +7 -0
- package/cli-tool/components/settings/authentication/force-claudeai-login.json +4 -0
- package/cli-tool/components/settings/authentication/force-console-login.json +4 -0
- package/cli-tool/components/settings/cleanup/retention-7-days.json +4 -0
- package/cli-tool/components/settings/cleanup/retention-90-days.json +4 -0
- package/cli-tool/components/settings/environment/bash-timeouts.json +8 -0
- package/cli-tool/components/settings/environment/development-utils.json +8 -0
- package/cli-tool/components/settings/environment/performance-optimization.json +8 -0
- package/cli-tool/components/settings/environment/privacy-focused.json +10 -0
- package/cli-tool/components/settings/global/aws-credentials.json +5 -0
- package/cli-tool/components/settings/global/custom-model.json +7 -0
- package/cli-tool/components/settings/global/git-commit-settings.json +4 -0
- package/cli-tool/components/settings/mcp/disable-risky-servers.json +8 -0
- package/cli-tool/components/settings/mcp/enable-all-project-servers.json +4 -0
- package/cli-tool/components/settings/mcp/enable-specific-servers.json +8 -0
- package/cli-tool/components/settings/mcp/mcp-timeouts.json +8 -0
- package/cli-tool/components/settings/model/use-haiku.json +4 -0
- package/cli-tool/components/settings/model/use-sonnet.json +4 -0
- package/cli-tool/components/settings/permissions/additional-directories.json +11 -0
- package/cli-tool/components/settings/permissions/allow-git-operations.json +14 -0
- package/cli-tool/components/settings/permissions/allow-npm-commands.json +11 -0
- package/cli-tool/components/settings/permissions/deny-sensitive-files.json +11 -0
- package/cli-tool/components/settings/permissions/development-mode.json +31 -0
- package/cli-tool/components/settings/permissions/read-only-mode.json +18 -0
- package/cli-tool/components/settings/statusline/asset-pipeline-controller-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/bug-circus-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/code-casino-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/code-spaceship-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/colorful-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/command-statusline.json +8 -0
- package/cli-tool/components/settings/statusline/context-monitor.json +7 -0
- package/cli-tool/components/settings/statusline/context-monitor.py +236 -0
- package/cli-tool/components/settings/statusline/data-ocean-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/emotion-theater-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/game-performance-monitor-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/git-branch-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/minimal-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/multiplatform-build-status-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/productivity-rainbow-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/programmer-tamagotchi-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/programming-fitness-tracker-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/project-info-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/rpg-status-bar-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/time-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/unity-project-dashboard-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/vercel-deployment-monitor.json +7 -0
- package/cli-tool/components/settings/statusline/vercel-error-alert-system.json +7 -0
- package/cli-tool/components/settings/statusline/vercel-multi-env-status.json +7 -0
- package/cli-tool/components/settings/statusline/virtual-code-garden-statusline.json +7 -0
- package/cli-tool/components/settings/statusline/zero-config-deployment-monitor.json +7 -0
- package/cli-tool/components/settings/telemetry/custom-telemetry.json +7 -0
- package/cli-tool/components/settings/telemetry/disable-telemetry.json +6 -0
- package/cli-tool/components/settings/telemetry/enable-telemetry.json +6 -0
- package/cli-tool/docs_to_claude/ANALYTICS_STATE_DETECTION.md +183 -0
- package/cli-tool/docs_to_claude/ARCHITECTURE.md +472 -0
- package/cli-tool/docs_to_claude/BLOG_WRITING_GUIDE.md +438 -0
- package/cli-tool/docs_to_claude/CLAUDE_DATA_STRUCTURE.md +400 -0
- package/cli-tool/docs_to_claude/COMMANDS_GUIDE.md +909 -0
- package/cli-tool/docs_to_claude/CONVERSATION_STATE_IMPROVEMENTS.md +154 -0
- package/cli-tool/docs_to_claude/DEBUG_TYPING_DETECTION.md +95 -0
- package/cli-tool/docs_to_claude/DOWNLOAD_TRACKING.md +291 -0
- package/cli-tool/docs_to_claude/ENHANCED_STATE_DETECTION.md +122 -0
- package/cli-tool/docs_to_claude/HEALTH_CHECK_IMPLEMENTATION.md +135 -0
- package/cli-tool/docs_to_claude/HOOKS_GUIDE.md +1249 -0
- package/cli-tool/docs_to_claude/STATUSLINE_GUIDE.md +1123 -0
- package/cli-tool/docs_to_claude/SUBAGENTS_GUIDE.md +566 -0
- package/cli-tool/docs_to_claude/SUB_AGENTS.md +329 -0
- package/cli-tool/jest.config.js +84 -0
- package/cli-tool/package-lock.json +5471 -0
- package/cli-tool/package.json +95 -0
- package/{src → cli-tool/src}/analytics-web/components/ActivityHeatmap.js +50 -6
- package/{src → cli-tool/src}/analytics-web/components/DashboardPage.js +4 -0
- package/{src → cli-tool/src}/analytics-web/services/DataService.js +7 -0
- package/{src → cli-tool/src}/analytics.js +67 -20
- package/{src → cli-tool/src}/index.js +526 -8
- package/cli-tool/src/sandbox-server.js +555 -0
- package/cli-tool/src/test-activity-data.json +1094 -0
- package/cli-tool/templates/common/.claude/commands/git-workflow.md +239 -0
- package/cli-tool/templates/common/.claude/commands/project-setup.md +316 -0
- package/cli-tool/templates/common/.mcp.json +41 -0
- package/cli-tool/templates/common/CLAUDE.md +109 -0
- package/cli-tool/templates/common/README.md +96 -0
- package/cli-tool/templates/go/.mcp.json +78 -0
- package/cli-tool/templates/go/README.md +25 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/api-endpoint.md +51 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/debug.md +52 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/lint.md +48 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/npm-scripts.md +48 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/refactor.md +55 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/test.md +61 -0
- package/cli-tool/templates/javascript-typescript/.claude/commands/typescript-migrate.md +51 -0
- package/cli-tool/templates/javascript-typescript/.claude/settings.json +142 -0
- package/cli-tool/templates/javascript-typescript/.mcp.json +80 -0
- package/cli-tool/templates/javascript-typescript/CLAUDE.md +185 -0
- package/cli-tool/templates/javascript-typescript/README.md +259 -0
- package/cli-tool/templates/javascript-typescript/examples/angular-app/.claude/commands/components.md +63 -0
- package/cli-tool/templates/javascript-typescript/examples/angular-app/.claude/commands/services.md +62 -0
- package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/api-endpoint.md +46 -0
- package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/database.md +56 -0
- package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/middleware.md +61 -0
- package/cli-tool/templates/javascript-typescript/examples/node-api/.claude/commands/route.md +57 -0
- package/cli-tool/templates/javascript-typescript/examples/node-api/CLAUDE.md +102 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/component.md +29 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/hooks.md +44 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/.claude/commands/state-management.md +45 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/CLAUDE.md +81 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/agents/react-performance-optimization.md +530 -0
- package/cli-tool/templates/javascript-typescript/examples/react-app/agents/react-state-management.md +295 -0
- package/cli-tool/templates/javascript-typescript/examples/vue-app/.claude/commands/components.md +46 -0
- package/cli-tool/templates/javascript-typescript/examples/vue-app/.claude/commands/composables.md +51 -0
- package/cli-tool/templates/python/.claude/commands/lint.md +111 -0
- package/cli-tool/templates/python/.claude/commands/test.md +73 -0
- package/cli-tool/templates/python/.claude/settings.json +153 -0
- package/cli-tool/templates/python/.mcp.json +78 -0
- package/cli-tool/templates/python/CLAUDE.md +276 -0
- package/cli-tool/templates/python/examples/django-app/.claude/commands/admin.md +264 -0
- package/cli-tool/templates/python/examples/django-app/.claude/commands/django-model.md +124 -0
- package/cli-tool/templates/python/examples/django-app/.claude/commands/views.md +222 -0
- package/cli-tool/templates/python/examples/django-app/CLAUDE.md +313 -0
- package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/api-endpoints.md +513 -0
- package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/auth.md +775 -0
- package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/database.md +657 -0
- package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/deployment.md +160 -0
- package/cli-tool/templates/python/examples/fastapi-app/.claude/commands/testing.md +927 -0
- package/cli-tool/templates/python/examples/fastapi-app/CLAUDE.md +229 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/app-factory.md +384 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/blueprint.md +243 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/database.md +410 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/deployment.md +620 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/flask-route.md +217 -0
- package/cli-tool/templates/python/examples/flask-app/.claude/commands/testing.md +559 -0
- package/cli-tool/templates/python/examples/flask-app/CLAUDE.md +391 -0
- package/cli-tool/templates/ruby/.claude/commands/model.md +360 -0
- package/cli-tool/templates/ruby/.claude/commands/test.md +480 -0
- package/cli-tool/templates/ruby/.claude/settings.json +146 -0
- package/cli-tool/templates/ruby/.mcp.json +83 -0
- package/cli-tool/templates/ruby/CLAUDE.md +284 -0
- package/cli-tool/templates/ruby/examples/rails-app/.claude/commands/authentication.md +490 -0
- package/cli-tool/templates/ruby/examples/rails-app/CLAUDE.md +376 -0
- package/cli-tool/templates/rust/.mcp.json +78 -0
- package/cli-tool/templates/rust/README.md +26 -0
- package/cli-tool/test-commands.sh +85 -0
- package/cli-tool/test-detailed.sh +267 -0
- package/docs/CNAME +1 -0
- package/docs/README.md +49 -0
- package/docs/_config.yml +43 -0
- package/docs/blog/assets/aitmpl-nextjs-search.png +0 -0
- package/docs/blog/assets/aitmpl-supabase-search.png +0 -0
- package/docs/blog/assets/nextjs-vercel-claude-code-templates-cover.png +0 -0
- package/docs/blog/assets/supabase-claude-code-templates-cover.png +0 -0
- package/docs/blog/e2b-claude-code-sandbox/index.html +1061 -0
- package/docs/blog/index.html +239 -0
- package/docs/blog/nextjs-vercel-claude-code-integration/index.html +1021 -0
- package/docs/blog/supabase-claude-code-integration/index.html +837 -0
- package/docs/components-metadata.json +303 -0
- package/docs/components.json +4072 -0
- package/docs/css/blog.css +821 -0
- package/docs/css/stack-page.css +776 -0
- package/docs/css/styles.css +4480 -0
- package/docs/css/trending.css +971 -0
- package/docs/css/workflows-modal.css +739 -0
- package/docs/css/workflows.css +1234 -0
- package/docs/download-stats.html +514 -0
- package/docs/index.html +634 -0
- package/docs/js/carousel.js +177 -0
- package/docs/js/cart-manager.js +529 -0
- package/docs/js/data-loader.js +626 -0
- package/docs/js/generate-search-data.js +82 -0
- package/docs/js/index-events.js +1707 -0
- package/docs/js/modal-helpers.js +334 -0
- package/docs/js/script.js +2167 -0
- package/docs/js/search-functionality.js +992 -0
- package/docs/js/stack-router.js +561 -0
- package/docs/js/trending.js +493 -0
- package/docs/js/utils.js +43 -0
- package/docs/js/workflows-events.js +1146 -0
- package/docs/js/workflows.js +627 -0
- package/docs/sandbox-interface.html +1406 -0
- package/docs/static/img/logo.svg +23 -0
- package/docs/trending-data.json +579 -0
- package/docs/trending.html +179 -0
- package/docs/workflows.html +379 -0
- package/docu/README.md +41 -0
- package/docu/docs/analytics/agent-chats-manager.md +33 -0
- package/docu/docs/analytics/analysis-tools.md +54 -0
- package/docu/docs/analytics/overview.md +48 -0
- package/docu/docs/analytics/real-time-monitoring.md +16 -0
- package/docu/docs/cli-options.md +90 -0
- package/docu/docs/components/agents.md +296 -0
- package/docu/docs/components/commands.md +426 -0
- package/docu/docs/components/discord-notifications.md +59 -0
- package/docu/docs/components/hooks.md +381 -0
- package/docu/docs/components/mcps.md +510 -0
- package/docu/docs/components/overview.md +287 -0
- package/docu/docs/components/settings.md +223 -0
- package/docu/docs/components/slack-notifications.md +67 -0
- package/docu/docs/components/telegram-notifications.md +73 -0
- package/docu/docs/contributing.md +11 -0
- package/docu/docs/health-check/overview.md +33 -0
- package/docu/docs/intro.md +109 -0
- package/docu/docs/project-setup/automation-hooks.md +14 -0
- package/docu/docs/project-setup/framework-specific-setup.md +86 -0
- package/docu/docs/project-setup/interactive-setup.md +59 -0
- package/docu/docs/project-setup/mcp-integration.md +17 -0
- package/docu/docs/project-setup/supported-languages-frameworks.md +15 -0
- package/docu/docs/project-setup/what-gets-installed.md +176 -0
- package/docu/docs/safety-features.md +13 -0
- package/docu/docs/support.md +13 -0
- package/docu/docs/usage-examples/advanced-options.md +87 -0
- package/docu/docs/usage-examples/alternative-commands.md +31 -0
- package/docu/docs/usage-examples/framework-specific-quick-setup.md +47 -0
- package/docu/docs/usage-examples/interactive-setup.md +16 -0
- package/docu/docusaurus.config.ts +163 -0
- package/docu/package-lock.json +16185 -0
- package/docu/package.json +47 -0
- package/docu/sidebars.ts +85 -0
- package/docu/src/components/HomepageFeatures/index.tsx +82 -0
- package/docu/src/components/HomepageFeatures/styles.module.css +131 -0
- package/docu/src/css/custom.css +475 -0
- package/docu/src/pages/index.module.css +109 -0
- package/docu/src/pages/index.tsx +65 -0
- package/docu/src/pages/markdown-page.md +7 -0
- package/docu/static/img/favicon.ico +0 -0
- package/docu/static/img/logo.svg +23 -0
- package/docu/tsconfig.json +8 -0
- package/generate_components_json.py +199 -0
- package/package.json +19 -86
- package/social-preview.png +0 -0
- package/vercel.json +75 -0
- /package/{src → cli-tool/src}/agents.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/AgentAnalyzer.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/ConversationAnalyzer.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/FileWatcher.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/ProcessDetector.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/SessionAnalyzer.js +0 -0
- /package/{src → cli-tool/src}/analytics/core/StateCalculator.js +0 -0
- /package/{src → cli-tool/src}/analytics/data/DataCache.js +0 -0
- /package/{src → cli-tool/src}/analytics/notifications/NotificationManager.js +0 -0
- /package/{src → cli-tool/src}/analytics/notifications/WebSocketServer.js +0 -0
- /package/{src → cli-tool/src}/analytics/utils/PerformanceMonitor.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/FRONT_ARCHITECTURE.md +0 -0
- /package/{src → cli-tool/src}/analytics-web/assets/js/main.js.deprecated +0 -0
- /package/{src → cli-tool/src}/analytics-web/chats_mobile.html +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/AgentAnalytics.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/App.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/Charts.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/ConversationTable.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/HeaderComponent.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/SessionTimer.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/Sidebar.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/components/ToolDisplay.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/index.html +0 -0
- /package/{src → cli-tool/src}/analytics-web/index.html.original +0 -0
- /package/{src → cli-tool/src}/analytics-web/services/StateService.js +0 -0
- /package/{src → cli-tool/src}/analytics-web/services/WebSocketService.js +0 -0
- /package/{src → cli-tool/src}/chats-mobile.js +0 -0
- /package/{src → cli-tool/src}/claude-api-proxy.js +0 -0
- /package/{src → cli-tool/src}/command-scanner.js +0 -0
- /package/{src → cli-tool/src}/command-stats.js +0 -0
- /package/{src → cli-tool/src}/console-bridge.js +0 -0
- /package/{src → cli-tool/src}/file-operations.js +0 -0
- /package/{src → cli-tool/src}/health-check.js +0 -0
- /package/{src → cli-tool/src}/hook-scanner.js +0 -0
- /package/{src → cli-tool/src}/hook-stats.js +0 -0
- /package/{src → cli-tool/src}/mcp-stats.js +0 -0
- /package/{src → cli-tool/src}/prompts.js +0 -0
- /package/{src → cli-tool/src}/sdk/global-agent-manager.js +0 -0
- /package/{src → cli-tool/src}/templates.js +0 -0
- /package/{src → cli-tool/src}/test-console-bridge.js +0 -0
- /package/{src → cli-tool/src}/tracking-service.js +0 -0
- /package/{src → cli-tool/src}/utils.js +0 -0
- /package/{src/analytics.log → docu/static/.nojekyll} +0 -0
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Edit, Bash
|
|
3
|
+
argument-hint: [hotfix-type] | --security | --critical | --rollback-ready | --emergency
|
|
4
|
+
description: Deploy critical hotfixes with emergency procedures, validation, and rollback capabilities
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Emergency Hotfix Deployment
|
|
9
|
+
|
|
10
|
+
Deploy critical hotfix: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Production State
|
|
13
|
+
|
|
14
|
+
- Current version: !`git describe --tags --abbrev=0 2>/dev/null || echo "No tags found"`
|
|
15
|
+
- Production branch: !`git branch --show-current`
|
|
16
|
+
- Recent commits: !`git log --oneline -5`
|
|
17
|
+
- Deployment status: !`curl -s https://api.example.com/health 2>/dev/null | jq -r '.version // "Unknown"' || echo "Health check failed"`
|
|
18
|
+
- Staging environment: Check for staging deployment capabilities
|
|
19
|
+
|
|
20
|
+
## Emergency Response Protocol
|
|
21
|
+
|
|
22
|
+
Execute emergency hotfix deployment: $ARGUMENTS
|
|
23
|
+
|
|
24
|
+
1. **Emergency Assessment and Triage**
|
|
25
|
+
- Assess the severity and impact of the issue
|
|
26
|
+
- Determine if a hotfix is necessary or if it can wait
|
|
27
|
+
- Identify affected systems and user impact
|
|
28
|
+
- Estimate time sensitivity and business impact
|
|
29
|
+
- Document the incident and decision rationale
|
|
30
|
+
|
|
31
|
+
2. **Incident Response Setup**
|
|
32
|
+
- Create incident tracking in your incident management system
|
|
33
|
+
- Set up war room or communication channel
|
|
34
|
+
- Notify stakeholders and on-call team members
|
|
35
|
+
- Establish clear communication protocols
|
|
36
|
+
- Document initial incident details and timeline
|
|
37
|
+
|
|
38
|
+
3. **Branch and Environment Setup**
|
|
39
|
+
```bash
|
|
40
|
+
# Create hotfix branch from production tag
|
|
41
|
+
git fetch --tags
|
|
42
|
+
git checkout tags/v1.2.3 # Latest production version
|
|
43
|
+
git checkout -b hotfix/critical-auth-fix
|
|
44
|
+
|
|
45
|
+
# Alternative: Branch from main if using trunk-based development
|
|
46
|
+
git checkout main
|
|
47
|
+
git pull origin main
|
|
48
|
+
git checkout -b hotfix/critical-auth-fix
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
4. **Rapid Development Process**
|
|
52
|
+
- Keep changes minimal and focused on the critical issue only
|
|
53
|
+
- Avoid refactoring, optimization, or unrelated improvements
|
|
54
|
+
- Use well-tested patterns and established approaches
|
|
55
|
+
- Add minimal logging for troubleshooting purposes
|
|
56
|
+
- Follow existing code conventions and patterns
|
|
57
|
+
|
|
58
|
+
5. **Accelerated Testing**
|
|
59
|
+
```bash
|
|
60
|
+
# Run focused tests related to the fix
|
|
61
|
+
npm test -- --testPathPattern=auth
|
|
62
|
+
npm run test:security
|
|
63
|
+
|
|
64
|
+
# Manual testing checklist
|
|
65
|
+
# [ ] Core functionality works correctly
|
|
66
|
+
# [ ] Hotfix resolves the critical issue
|
|
67
|
+
# [ ] No new issues introduced
|
|
68
|
+
# [ ] Critical user flows remain functional
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
6. **Fast-Track Code Review**
|
|
72
|
+
- Get expedited review from senior team member
|
|
73
|
+
- Focus review on security and correctness
|
|
74
|
+
- Use pair programming if available and time permits
|
|
75
|
+
- Document review decisions and rationale quickly
|
|
76
|
+
- Ensure proper approval process even under time pressure
|
|
77
|
+
|
|
78
|
+
7. **Version and Tagging**
|
|
79
|
+
```bash
|
|
80
|
+
# Update version for hotfix
|
|
81
|
+
# 1.2.3 -> 1.2.4 (patch version)
|
|
82
|
+
# or 1.2.3 -> 1.2.3-hotfix.1 (hotfix identifier)
|
|
83
|
+
|
|
84
|
+
# Commit with detailed message
|
|
85
|
+
git add .
|
|
86
|
+
git commit -m "hotfix: fix critical authentication vulnerability
|
|
87
|
+
|
|
88
|
+
- Fix password validation logic
|
|
89
|
+
- Resolve security issue allowing bypass
|
|
90
|
+
- Minimal change to reduce deployment risk
|
|
91
|
+
|
|
92
|
+
Fixes: #1234"
|
|
93
|
+
|
|
94
|
+
# Tag the hotfix version
|
|
95
|
+
git tag -a v1.2.4 -m "Hotfix v1.2.4: Critical auth security fix"
|
|
96
|
+
git push origin hotfix/critical-auth-fix
|
|
97
|
+
git push origin v1.2.4
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
8. **Staging Deployment and Validation**
|
|
101
|
+
```bash
|
|
102
|
+
# Deploy to staging environment for final validation
|
|
103
|
+
./deploy-staging.sh v1.2.4
|
|
104
|
+
|
|
105
|
+
# Critical path testing
|
|
106
|
+
curl -X POST staging.example.com/api/auth/login \
|
|
107
|
+
-H "Content-Type: application/json" \
|
|
108
|
+
-d '{"email":"test@example.com","password":"testpass"}'
|
|
109
|
+
|
|
110
|
+
# Run smoke tests
|
|
111
|
+
npm run test:smoke:staging
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
9. **Production Deployment Strategy**
|
|
115
|
+
|
|
116
|
+
**Blue-Green Deployment:**
|
|
117
|
+
```bash
|
|
118
|
+
# Deploy to blue environment
|
|
119
|
+
./deploy-blue.sh v1.2.4
|
|
120
|
+
|
|
121
|
+
# Validate blue environment health
|
|
122
|
+
./health-check-blue.sh
|
|
123
|
+
|
|
124
|
+
# Switch traffic to blue environment
|
|
125
|
+
./switch-to-blue.sh
|
|
126
|
+
|
|
127
|
+
# Monitor deployment metrics
|
|
128
|
+
./monitor-deployment.sh
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Rolling Deployment:**
|
|
132
|
+
```bash
|
|
133
|
+
# Deploy to subset of servers first
|
|
134
|
+
./deploy-rolling.sh v1.2.4 --batch-size 1
|
|
135
|
+
|
|
136
|
+
# Monitor each batch deployment
|
|
137
|
+
./monitor-batch.sh
|
|
138
|
+
|
|
139
|
+
# Continue with next batch if healthy
|
|
140
|
+
./deploy-next-batch.sh
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
10. **Pre-Deployment Checklist**
|
|
144
|
+
```bash
|
|
145
|
+
# Verify all prerequisites are met
|
|
146
|
+
# [ ] Database backup completed successfully
|
|
147
|
+
# [ ] Rollback plan documented and ready
|
|
148
|
+
# [ ] Monitoring alerts configured and active
|
|
149
|
+
# [ ] Team members standing by for support
|
|
150
|
+
# [ ] Communication channels established
|
|
151
|
+
|
|
152
|
+
# Execute production deployment
|
|
153
|
+
./deploy-production.sh v1.2.4
|
|
154
|
+
|
|
155
|
+
# Run immediate post-deployment validation
|
|
156
|
+
./validate-hotfix.sh
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
11. **Real-Time Monitoring**
|
|
160
|
+
```bash
|
|
161
|
+
# Monitor key application metrics
|
|
162
|
+
watch -n 10 'curl -s https://api.example.com/health | jq .'
|
|
163
|
+
|
|
164
|
+
# Monitor error rates and logs
|
|
165
|
+
tail -f /var/log/app/error.log | grep -i "auth"
|
|
166
|
+
|
|
167
|
+
# Track critical metrics:
|
|
168
|
+
# - Response times and latency
|
|
169
|
+
# - Error rates and exception counts
|
|
170
|
+
# - User authentication success rates
|
|
171
|
+
# - System resource usage (CPU, memory)
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
12. **Post-Deployment Validation**
|
|
175
|
+
```bash
|
|
176
|
+
# Run comprehensive validation tests
|
|
177
|
+
./test-critical-paths.sh
|
|
178
|
+
|
|
179
|
+
# Test user authentication functionality
|
|
180
|
+
curl -X POST https://api.example.com/auth/login \
|
|
181
|
+
-H "Content-Type: application/json" \
|
|
182
|
+
-d '{"email":"test@example.com","password":"testpass"}'
|
|
183
|
+
|
|
184
|
+
# Validate security fix effectiveness
|
|
185
|
+
./security-validation.sh
|
|
186
|
+
|
|
187
|
+
# Check overall system performance
|
|
188
|
+
./performance-check.sh
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
13. **Communication and Status Updates**
|
|
192
|
+
- Provide regular status updates to stakeholders
|
|
193
|
+
- Use consistent communication channels
|
|
194
|
+
- Document deployment progress and results
|
|
195
|
+
- Update incident tracking systems
|
|
196
|
+
- Notify relevant teams of deployment completion
|
|
197
|
+
|
|
198
|
+
14. **Rollback Procedures**
|
|
199
|
+
```bash
|
|
200
|
+
# Automated rollback script
|
|
201
|
+
#!/bin/bash
|
|
202
|
+
PREVIOUS_VERSION="v1.2.3"
|
|
203
|
+
|
|
204
|
+
if [ "$1" = "rollback" ]; then
|
|
205
|
+
echo "Rolling back to $PREVIOUS_VERSION"
|
|
206
|
+
./deploy-production.sh $PREVIOUS_VERSION
|
|
207
|
+
./validate-rollback.sh
|
|
208
|
+
echo "Rollback completed successfully"
|
|
209
|
+
fi
|
|
210
|
+
|
|
211
|
+
# Manual rollback steps if automation fails:
|
|
212
|
+
# 1. Switch load balancer back to previous version
|
|
213
|
+
# 2. Validate previous version health and functionality
|
|
214
|
+
# 3. Monitor system stability after rollback
|
|
215
|
+
# 4. Communicate rollback status to team
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
15. **Post-Deployment Monitoring Period**
|
|
219
|
+
- Monitor system for 2-4 hours after deployment
|
|
220
|
+
- Watch error rates and performance metrics closely
|
|
221
|
+
- Check user feedback and support ticket volume
|
|
222
|
+
- Validate that the hotfix resolves the original issue
|
|
223
|
+
- Document any issues or unexpected behaviors
|
|
224
|
+
|
|
225
|
+
16. **Documentation and Incident Reporting**
|
|
226
|
+
- Document the complete hotfix process and timeline
|
|
227
|
+
- Record lessons learned and process improvements
|
|
228
|
+
- Update incident management systems with resolution
|
|
229
|
+
- Create post-incident review materials
|
|
230
|
+
- Share knowledge with team for future reference
|
|
231
|
+
|
|
232
|
+
17. **Merge Back to Main Branch**
|
|
233
|
+
```bash
|
|
234
|
+
# After successful hotfix deployment and validation
|
|
235
|
+
git checkout main
|
|
236
|
+
git pull origin main
|
|
237
|
+
git merge hotfix/critical-auth-fix
|
|
238
|
+
git push origin main
|
|
239
|
+
|
|
240
|
+
# Clean up hotfix branch
|
|
241
|
+
git branch -d hotfix/critical-auth-fix
|
|
242
|
+
git push origin --delete hotfix/critical-auth-fix
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
18. **Post-Incident Activities**
|
|
246
|
+
- Schedule and conduct post-incident review meeting
|
|
247
|
+
- Update runbooks and emergency procedures
|
|
248
|
+
- Identify and implement process improvements
|
|
249
|
+
- Update monitoring and alerting configurations
|
|
250
|
+
- Plan preventive measures to avoid similar issues
|
|
251
|
+
|
|
252
|
+
**Hotfix Best Practices:**
|
|
253
|
+
|
|
254
|
+
- **Keep It Simple:** Make minimal changes focused only on the critical issue
|
|
255
|
+
- **Test Thoroughly:** Maintain testing standards even under time pressure
|
|
256
|
+
- **Communicate Clearly:** Keep all stakeholders informed throughout the process
|
|
257
|
+
- **Monitor Closely:** Watch the fix carefully in production environment
|
|
258
|
+
- **Document Everything:** Record all decisions and actions for post-incident review
|
|
259
|
+
- **Plan for Rollback:** Always have a tested way to revert changes quickly
|
|
260
|
+
- **Learn and Improve:** Use each incident to strengthen processes and procedures
|
|
261
|
+
|
|
262
|
+
**Emergency Escalation Guidelines:**
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
# Emergency contact information
|
|
266
|
+
ON_CALL_ENGINEER="+1-555-0123"
|
|
267
|
+
SENIOR_ENGINEER="+1-555-0124"
|
|
268
|
+
ENGINEERING_MANAGER="+1-555-0125"
|
|
269
|
+
INCIDENT_COMMANDER="+1-555-0126"
|
|
270
|
+
|
|
271
|
+
# Escalation timeline thresholds:
|
|
272
|
+
# 15 minutes: Escalate to senior engineer
|
|
273
|
+
# 30 minutes: Escalate to engineering manager
|
|
274
|
+
# 60 minutes: Escalate to incident commander
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
**Important Reminders:**
|
|
278
|
+
|
|
279
|
+
- Hotfixes should only be used for genuine production emergencies
|
|
280
|
+
- When in doubt about severity, follow the normal release process
|
|
281
|
+
- Always prioritize system stability over speed of deployment
|
|
282
|
+
- Maintain clear audit trails for all emergency changes
|
|
283
|
+
- Regular drills help ensure team readiness for real emergencies
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Write, Edit, Bash
|
|
3
|
+
argument-hint: [version-type] | patch | minor | major | --pre-release | --hotfix
|
|
4
|
+
description: Prepare and validate release packages with comprehensive testing, documentation, and automation
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Release Preparation
|
|
9
|
+
|
|
10
|
+
Prepare and validate release: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Release Context
|
|
13
|
+
|
|
14
|
+
- Current version: !`git describe --tags --abbrev=0 2>/dev/null || echo "No previous releases"`
|
|
15
|
+
- Package version: @package.json or @setup.py or @pyproject.toml or @go.mod (if exists)
|
|
16
|
+
- Unreleased changes: !`git log $(git describe --tags --abbrev=0)..HEAD --oneline 2>/dev/null | wc -l || echo "All commits"`
|
|
17
|
+
- Branch status: !`git status --porcelain | wc -l || echo "0"` uncommitted changes
|
|
18
|
+
- Build status: !`npm test 2>/dev/null || python -m pytest 2>/dev/null || go test ./... 2>/dev/null || echo "Test framework detection needed"`
|
|
19
|
+
|
|
20
|
+
## Task
|
|
21
|
+
|
|
22
|
+
Systematic release preparation: $ARGUMENTS
|
|
23
|
+
|
|
24
|
+
1. **Release Planning and Validation**
|
|
25
|
+
- Determine release version number (semantic versioning)
|
|
26
|
+
- Review and validate all features included in release
|
|
27
|
+
- Check that all planned issues and features are complete
|
|
28
|
+
- Verify release criteria and acceptance requirements
|
|
29
|
+
|
|
30
|
+
2. **Pre-Release Checklist**
|
|
31
|
+
- Ensure all tests are passing (unit, integration, E2E)
|
|
32
|
+
- Verify code coverage meets project standards
|
|
33
|
+
- Complete security vulnerability scanning
|
|
34
|
+
- Perform performance testing and validation
|
|
35
|
+
- Review and approve all pending pull requests
|
|
36
|
+
|
|
37
|
+
3. **Version Management**
|
|
38
|
+
```bash
|
|
39
|
+
# Check current version
|
|
40
|
+
git describe --tags --abbrev=0
|
|
41
|
+
|
|
42
|
+
# Determine next version (semantic versioning)
|
|
43
|
+
# MAJOR.MINOR.PATCH
|
|
44
|
+
# MAJOR: Breaking changes
|
|
45
|
+
# MINOR: New features (backward compatible)
|
|
46
|
+
# PATCH: Bug fixes (backward compatible)
|
|
47
|
+
|
|
48
|
+
# Example version updates
|
|
49
|
+
# 1.2.3 -> 1.2.4 (patch)
|
|
50
|
+
# 1.2.3 -> 1.3.0 (minor)
|
|
51
|
+
# 1.2.3 -> 2.0.0 (major)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
4. **Code Freeze and Branch Management**
|
|
55
|
+
```bash
|
|
56
|
+
# Create release branch from main
|
|
57
|
+
git checkout main
|
|
58
|
+
git pull origin main
|
|
59
|
+
git checkout -b release/v1.2.3
|
|
60
|
+
|
|
61
|
+
# Alternative: Use main branch directly for smaller releases
|
|
62
|
+
# Ensure no new features are merged during release process
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
5. **Version Number Updates**
|
|
66
|
+
- Update package.json, setup.py, or equivalent version files
|
|
67
|
+
- Update version in application configuration
|
|
68
|
+
- Update version in documentation and README
|
|
69
|
+
- Update API version if applicable
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Node.js projects
|
|
73
|
+
npm version patch # or minor, major
|
|
74
|
+
|
|
75
|
+
# Python projects
|
|
76
|
+
# Update version in setup.py, __init__.py, or pyproject.toml
|
|
77
|
+
|
|
78
|
+
# Manual version update
|
|
79
|
+
sed -i 's/"version": "1.2.2"/"version": "1.2.3"/' package.json
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
6. **Changelog Generation**
|
|
83
|
+
```markdown
|
|
84
|
+
# CHANGELOG.md
|
|
85
|
+
|
|
86
|
+
## [1.2.3] - 2024-01-15
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
- New user authentication system
|
|
90
|
+
- Dark mode support for UI
|
|
91
|
+
- API rate limiting functionality
|
|
92
|
+
|
|
93
|
+
### Changed
|
|
94
|
+
- Improved database query performance
|
|
95
|
+
- Updated user interface design
|
|
96
|
+
- Enhanced error handling
|
|
97
|
+
|
|
98
|
+
### Fixed
|
|
99
|
+
- Fixed memory leak in background tasks
|
|
100
|
+
- Resolved issue with file upload validation
|
|
101
|
+
- Fixed timezone handling in date calculations
|
|
102
|
+
|
|
103
|
+
### Security
|
|
104
|
+
- Updated dependencies with security patches
|
|
105
|
+
- Improved input validation and sanitization
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
7. **Documentation Updates**
|
|
109
|
+
- Update API documentation with new endpoints
|
|
110
|
+
- Revise user documentation and guides
|
|
111
|
+
- Update installation and deployment instructions
|
|
112
|
+
- Review and update README.md
|
|
113
|
+
- Update migration guides if needed
|
|
114
|
+
|
|
115
|
+
8. **Dependency Management**
|
|
116
|
+
```bash
|
|
117
|
+
# Update and audit dependencies
|
|
118
|
+
npm audit fix
|
|
119
|
+
npm update
|
|
120
|
+
|
|
121
|
+
# Python
|
|
122
|
+
pip-audit
|
|
123
|
+
pip freeze > requirements.txt
|
|
124
|
+
|
|
125
|
+
# Review security vulnerabilities
|
|
126
|
+
npm audit
|
|
127
|
+
snyk test
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
9. **Build and Artifact Generation**
|
|
131
|
+
```bash
|
|
132
|
+
# Clean build environment
|
|
133
|
+
npm run clean
|
|
134
|
+
rm -rf dist/ build/
|
|
135
|
+
|
|
136
|
+
# Build production artifacts
|
|
137
|
+
npm run build
|
|
138
|
+
|
|
139
|
+
# Verify build artifacts
|
|
140
|
+
ls -la dist/
|
|
141
|
+
|
|
142
|
+
# Test built artifacts
|
|
143
|
+
npm run test:build
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
10. **Testing and Quality Assurance**
|
|
147
|
+
- Run comprehensive test suite
|
|
148
|
+
- Perform manual testing of critical features
|
|
149
|
+
- Execute regression testing
|
|
150
|
+
- Conduct user acceptance testing
|
|
151
|
+
- Validate in staging environment
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
# Run all tests
|
|
155
|
+
npm test
|
|
156
|
+
npm run test:integration
|
|
157
|
+
npm run test:e2e
|
|
158
|
+
|
|
159
|
+
# Check code coverage
|
|
160
|
+
npm run test:coverage
|
|
161
|
+
|
|
162
|
+
# Performance testing
|
|
163
|
+
npm run test:performance
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
11. **Security and Compliance Verification**
|
|
167
|
+
- Run security scans and penetration testing
|
|
168
|
+
- Verify compliance with security standards
|
|
169
|
+
- Check for exposed secrets or credentials
|
|
170
|
+
- Validate data protection and privacy measures
|
|
171
|
+
|
|
172
|
+
12. **Release Notes Preparation**
|
|
173
|
+
```markdown
|
|
174
|
+
# Release Notes v1.2.3
|
|
175
|
+
|
|
176
|
+
## 🎉 What's New
|
|
177
|
+
- **Dark Mode**: Users can now switch to dark mode in settings
|
|
178
|
+
- **Enhanced Security**: Improved authentication with 2FA support
|
|
179
|
+
- **Performance**: 40% faster page load times
|
|
180
|
+
|
|
181
|
+
## 🔧 Improvements
|
|
182
|
+
- Better error messages for form validation
|
|
183
|
+
- Improved mobile responsiveness
|
|
184
|
+
- Enhanced accessibility features
|
|
185
|
+
|
|
186
|
+
## 🐛 Bug Fixes
|
|
187
|
+
- Fixed issue with file downloads in Safari
|
|
188
|
+
- Resolved memory leak in background tasks
|
|
189
|
+
- Fixed timezone display issues
|
|
190
|
+
|
|
191
|
+
## 📚 Documentation
|
|
192
|
+
- Updated API documentation
|
|
193
|
+
- New user onboarding guide
|
|
194
|
+
- Enhanced troubleshooting section
|
|
195
|
+
|
|
196
|
+
## 🔄 Migration Guide
|
|
197
|
+
- No breaking changes in this release
|
|
198
|
+
- Automatic database migrations included
|
|
199
|
+
- See [Migration Guide](link) for details
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
13. **Release Tagging and Versioning**
|
|
203
|
+
```bash
|
|
204
|
+
# Create annotated tag
|
|
205
|
+
git add .
|
|
206
|
+
git commit -m "chore: prepare release v1.2.3"
|
|
207
|
+
git tag -a v1.2.3 -m "Release version 1.2.3
|
|
208
|
+
|
|
209
|
+
Features:
|
|
210
|
+
- Dark mode support
|
|
211
|
+
- Enhanced authentication
|
|
212
|
+
|
|
213
|
+
Bug fixes:
|
|
214
|
+
- Fixed file upload issues
|
|
215
|
+
- Resolved memory leaks"
|
|
216
|
+
|
|
217
|
+
# Push tag to remote
|
|
218
|
+
git push origin v1.2.3
|
|
219
|
+
git push origin release/v1.2.3
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
14. **Deployment Preparation**
|
|
223
|
+
- Prepare deployment scripts and configurations
|
|
224
|
+
- Update environment variables and secrets
|
|
225
|
+
- Plan deployment strategy (blue-green, rolling, canary)
|
|
226
|
+
- Set up monitoring and alerting for release
|
|
227
|
+
- Prepare rollback procedures
|
|
228
|
+
|
|
229
|
+
15. **Staging Environment Validation**
|
|
230
|
+
```bash
|
|
231
|
+
# Deploy to staging
|
|
232
|
+
./deploy-staging.sh v1.2.3
|
|
233
|
+
|
|
234
|
+
# Run smoke tests
|
|
235
|
+
npm run test:smoke:staging
|
|
236
|
+
|
|
237
|
+
# Manual validation checklist
|
|
238
|
+
# [ ] User login/logout
|
|
239
|
+
# [ ] Core functionality
|
|
240
|
+
# [ ] New features
|
|
241
|
+
# [ ] Performance metrics
|
|
242
|
+
# [ ] Security checks
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
16. **Production Deployment Planning**
|
|
246
|
+
- Schedule deployment window
|
|
247
|
+
- Notify stakeholders and users
|
|
248
|
+
- Prepare maintenance mode if needed
|
|
249
|
+
- Set up deployment monitoring
|
|
250
|
+
- Plan communication strategy
|
|
251
|
+
|
|
252
|
+
17. **Release Automation Setup**
|
|
253
|
+
```yaml
|
|
254
|
+
# GitHub Actions Release Workflow
|
|
255
|
+
name: Release
|
|
256
|
+
|
|
257
|
+
on:
|
|
258
|
+
push:
|
|
259
|
+
tags:
|
|
260
|
+
- 'v*'
|
|
261
|
+
|
|
262
|
+
jobs:
|
|
263
|
+
release:
|
|
264
|
+
runs-on: ubuntu-latest
|
|
265
|
+
steps:
|
|
266
|
+
- uses: actions/checkout@v3
|
|
267
|
+
- name: Setup Node.js
|
|
268
|
+
uses: actions/setup-node@v3
|
|
269
|
+
with:
|
|
270
|
+
node-version: '18'
|
|
271
|
+
|
|
272
|
+
- name: Install dependencies
|
|
273
|
+
run: npm ci
|
|
274
|
+
|
|
275
|
+
- name: Run tests
|
|
276
|
+
run: npm test
|
|
277
|
+
|
|
278
|
+
- name: Build
|
|
279
|
+
run: npm run build
|
|
280
|
+
|
|
281
|
+
- name: Create Release
|
|
282
|
+
uses: actions/create-release@v1
|
|
283
|
+
env:
|
|
284
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
285
|
+
with:
|
|
286
|
+
tag_name: ${{ github.ref }}
|
|
287
|
+
release_name: Release ${{ github.ref }}
|
|
288
|
+
draft: false
|
|
289
|
+
prerelease: false
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
18. **Communication and Announcements**
|
|
293
|
+
- Prepare release announcement
|
|
294
|
+
- Update status page and documentation
|
|
295
|
+
- Notify customers and users
|
|
296
|
+
- Share on relevant communication channels
|
|
297
|
+
- Update social media and marketing materials
|
|
298
|
+
|
|
299
|
+
19. **Post-Release Monitoring**
|
|
300
|
+
- Monitor application performance and errors
|
|
301
|
+
- Track user adoption of new features
|
|
302
|
+
- Monitor system metrics and alerts
|
|
303
|
+
- Collect user feedback and issues
|
|
304
|
+
- Prepare hotfix procedures if needed
|
|
305
|
+
|
|
306
|
+
20. **Release Retrospective**
|
|
307
|
+
- Document lessons learned
|
|
308
|
+
- Review release process effectiveness
|
|
309
|
+
- Identify improvement opportunities
|
|
310
|
+
- Update release procedures
|
|
311
|
+
- Plan for next release cycle
|
|
312
|
+
|
|
313
|
+
**Release Types and Considerations:**
|
|
314
|
+
|
|
315
|
+
**Patch Release (1.2.3 → 1.2.4):**
|
|
316
|
+
- Bug fixes only
|
|
317
|
+
- No new features
|
|
318
|
+
- Minimal testing required
|
|
319
|
+
- Quick deployment
|
|
320
|
+
|
|
321
|
+
**Minor Release (1.2.3 → 1.3.0):**
|
|
322
|
+
- New features (backward compatible)
|
|
323
|
+
- Enhanced functionality
|
|
324
|
+
- Comprehensive testing
|
|
325
|
+
- User communication needed
|
|
326
|
+
|
|
327
|
+
**Major Release (1.2.3 → 2.0.0):**
|
|
328
|
+
- Breaking changes
|
|
329
|
+
- Significant new features
|
|
330
|
+
- Migration guide required
|
|
331
|
+
- Extended testing period
|
|
332
|
+
- User training and support
|
|
333
|
+
|
|
334
|
+
**Hotfix Release:**
|
|
335
|
+
```bash
|
|
336
|
+
# Emergency hotfix process
|
|
337
|
+
git checkout main
|
|
338
|
+
git pull origin main
|
|
339
|
+
git checkout -b hotfix/critical-bug-fix
|
|
340
|
+
|
|
341
|
+
# Make minimal fix
|
|
342
|
+
git add .
|
|
343
|
+
git commit -m "hotfix: fix critical security vulnerability"
|
|
344
|
+
|
|
345
|
+
# Fast-track testing and deployment
|
|
346
|
+
npm test
|
|
347
|
+
git tag -a v1.2.4-hotfix.1 -m "Hotfix for critical security issue"
|
|
348
|
+
git push origin hotfix/critical-bug-fix
|
|
349
|
+
git push origin v1.2.4-hotfix.1
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
Remember to:
|
|
353
|
+
- Test everything thoroughly before release
|
|
354
|
+
- Communicate clearly with all stakeholders
|
|
355
|
+
- Have rollback procedures ready
|
|
356
|
+
- Monitor the release closely after deployment
|
|
357
|
+
- Document everything for future releases
|