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,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"ios-simulator": {
|
|
4
|
+
"description": "Control iOS Simulator directly from Claude Code. Launch apps, take screenshots, manage device states, and streamline mobile development workflows.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "ios-simulator-mcp"]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"just-mcp": {
|
|
4
|
+
"description": "Execute Just commands and task runners seamlessly from Claude Code. Manage project tasks, run build scripts, and automate development workflows with Just integration.",
|
|
5
|
+
"command": "/path/to/just-mcp",
|
|
6
|
+
"args": ["--stdio"]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"bitbucket": {
|
|
4
|
+
"description": "A Node.js/TypeScript Model Context Protocol (MCP) server for Atlassian Bitbucket Cloud. Enables AI systems (e.g., LLMs like Claude or Cursor AI) to securely interact with your repositories, pull requests, workspaces, and code in real time.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@aashari/mcp-server-atlassian-bitbucket"]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"filesystem": {
|
|
4
|
+
"description": "Secure filesystem access for Claude Code with configurable directory permissions and file operations.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": [
|
|
7
|
+
"-y",
|
|
8
|
+
"@modelcontextprotocol/server-filesystem",
|
|
9
|
+
"/path/to/allowed/files"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"github": {
|
|
4
|
+
"description": "Direct GitHub API integration for repository management, issue tracking, pull requests, and collaborative development workflows.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
7
|
+
"env": {
|
|
8
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"memory": {
|
|
4
|
+
"description": "Persistent memory and context management for Claude Code sessions. Store and recall information across conversations and projects.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@modelcontextprotocol/server-memory"]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"fb-ads-mcp-server": {
|
|
4
|
+
"description": "This project provides an MCP server acting as an interface to the Meta Ads, enabling programmatic access to Meta Ads data and management features.",
|
|
5
|
+
"command": "python",
|
|
6
|
+
"args": [
|
|
7
|
+
"/path/to/your/fb-ads-mcp-server/server.py",
|
|
8
|
+
"--fb-token",
|
|
9
|
+
"YOUR_META_ACCESS_TOKEN"
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"google-ads": {
|
|
4
|
+
"description": "A FastMCP-powered Model Context Protocol server for Google Ads API integration with automatic OAuth 2.0 authentication",
|
|
5
|
+
"command": "/full/path/to/your/project/.venv/bin/python",
|
|
6
|
+
"args": [
|
|
7
|
+
"/full/path/to/your/project/server.py"
|
|
8
|
+
]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"fetch": {
|
|
4
|
+
"description": "Web content fetching and data extraction capabilities. Access external APIs, scrape web content, and integrate external data sources.",
|
|
5
|
+
"command": "npx",
|
|
6
|
+
"args": ["-y", "@modelcontextprotocol/server-fetch"]
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# Claude Code Sandbox Components
|
|
2
|
+
|
|
3
|
+
Execute Claude Code in isolated cloud environments for secure code generation and development.
|
|
4
|
+
|
|
5
|
+
## Available Sandbox Providers
|
|
6
|
+
|
|
7
|
+
### E2B Sandbox (`e2b`)
|
|
8
|
+
Run Claude Code in E2B's secure cloud environment with pre-configured development tools.
|
|
9
|
+
|
|
10
|
+
**Component**: `e2b/claude-code-sandbox.md`
|
|
11
|
+
|
|
12
|
+
**Files Created**:
|
|
13
|
+
- `.claude/sandbox/e2b-launcher.py` - Python launcher script
|
|
14
|
+
- `.claude/sandbox/requirements.txt` - Python dependencies
|
|
15
|
+
- `.claude/sandbox/.env.example` - Environment variables template
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Simple execution with API keys as parameters (recommended)
|
|
21
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
22
|
+
--e2b-api-key your_e2b_key \
|
|
23
|
+
--anthropic-api-key your_anthropic_key \
|
|
24
|
+
--prompt "Create a React todo app"
|
|
25
|
+
|
|
26
|
+
# With components installation
|
|
27
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
28
|
+
--e2b-api-key your_e2b_key \
|
|
29
|
+
--anthropic-api-key your_anthropic_key \
|
|
30
|
+
--agent frontend-developer \
|
|
31
|
+
--command setup-react \
|
|
32
|
+
--prompt "Create a modern todo app with TypeScript"
|
|
33
|
+
|
|
34
|
+
# Or use environment variables (set E2B_API_KEY and ANTHROPIC_API_KEY)
|
|
35
|
+
npx claude-code-templates@latest --sandbox e2b --prompt "Create a React todo app"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Environment Setup
|
|
39
|
+
|
|
40
|
+
1. **Get API Keys**:
|
|
41
|
+
- E2B API Key: https://e2b.dev/dashboard
|
|
42
|
+
- Anthropic API Key: https://console.anthropic.com
|
|
43
|
+
|
|
44
|
+
2. **Create Environment File**:
|
|
45
|
+
```bash
|
|
46
|
+
# In your project/.claude/sandbox/.env
|
|
47
|
+
E2B_API_KEY=your_e2b_api_key_here
|
|
48
|
+
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
3. **Install Python Requirements** (handled automatically):
|
|
52
|
+
- Python 3.11+
|
|
53
|
+
- E2B Python SDK
|
|
54
|
+
- python-dotenv
|
|
55
|
+
|
|
56
|
+
## How It Works
|
|
57
|
+
|
|
58
|
+
1. **Component Download**: Downloads sandbox launcher and requirements
|
|
59
|
+
2. **Environment Check**: Validates Python 3.11+ installation
|
|
60
|
+
3. **Dependencies**: Installs E2B Python SDK automatically
|
|
61
|
+
4. **Sandbox Creation**: Creates E2B sandbox with Claude Code template
|
|
62
|
+
5. **Component Installation**: Installs any specified agents/commands/mcps/settings/hooks inside sandbox
|
|
63
|
+
6. **Prompt Execution**: Runs your prompt through Claude Code in the isolated environment
|
|
64
|
+
7. **Result Display**: Shows complete output and generated files
|
|
65
|
+
8. **Cleanup**: Automatically destroys sandbox after execution
|
|
66
|
+
|
|
67
|
+
## Usage Examples
|
|
68
|
+
|
|
69
|
+
### Basic Web Development
|
|
70
|
+
```bash
|
|
71
|
+
npx claude-code-templates@latest --sandbox e2b --prompt "Create an HTML page with modern CSS animations"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Full Stack with Components
|
|
75
|
+
```bash
|
|
76
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
77
|
+
--agent fullstack-developer \
|
|
78
|
+
--command setup-node \
|
|
79
|
+
--prompt "Create a Node.js API with JWT authentication"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Data Analysis
|
|
83
|
+
```bash
|
|
84
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
85
|
+
--agent data-scientist \
|
|
86
|
+
--prompt "Analyze this CSV data and create visualizations"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Security Audit
|
|
90
|
+
```bash
|
|
91
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
92
|
+
--agent security-auditor \
|
|
93
|
+
--command security-audit \
|
|
94
|
+
--prompt "Review this codebase for security vulnerabilities"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Security Benefits
|
|
98
|
+
|
|
99
|
+
- ✅ **Complete Isolation**: Code runs in separate cloud environment
|
|
100
|
+
- ✅ **No Local Impact**: Zero risk to your local system or files
|
|
101
|
+
- ✅ **Temporary Environment**: Sandbox destroyed after execution
|
|
102
|
+
- ✅ **Controlled Access**: Only specified components are installed
|
|
103
|
+
- ✅ **API Key Security**: Keys never leave your local environment
|
|
104
|
+
|
|
105
|
+
## Future Sandbox Providers
|
|
106
|
+
|
|
107
|
+
## ✅ Production Ready Features (v1.20.3+)
|
|
108
|
+
|
|
109
|
+
### Enhanced E2B Integration
|
|
110
|
+
- **Automatic File Download**: Generated files are automatically downloaded to local `./e2b-output/` directory
|
|
111
|
+
- **Extended Timeouts**: 15-minute sandbox lifetime with intelligent timeout management
|
|
112
|
+
- **Detailed Logging**: Step-by-step execution monitoring with debugging information
|
|
113
|
+
- **Environment Verification**: Automatic checks for Claude Code installation and permissions
|
|
114
|
+
- **Error Recovery**: Retry logic for connection issues and comprehensive error handling
|
|
115
|
+
|
|
116
|
+
### Advanced Debugging Tools
|
|
117
|
+
- **Real-time Monitor** (`e2b-monitor.py`): System resource monitoring and performance analysis
|
|
118
|
+
- **Debug Guide** (`SANDBOX_DEBUGGING.md`): Comprehensive troubleshooting documentation
|
|
119
|
+
- **Sandbox State Tracking**: Live monitoring of file system changes and process execution
|
|
120
|
+
|
|
121
|
+
The system is designed to support multiple sandbox providers:
|
|
122
|
+
|
|
123
|
+
- **E2B** (`--sandbox e2b`) - ✅ **Fully Implemented** - Cloud-based isolated execution environment
|
|
124
|
+
- **Docker** (`--sandbox docker`) - 🔄 Future - Local containerized execution
|
|
125
|
+
- **AWS CodeBuild** (`--sandbox aws`) - 🔄 Future - AWS-based sandbox environment
|
|
126
|
+
- **GitHub Codespaces** (`--sandbox github`) - 🔄 Future - GitHub's cloud development environment
|
|
127
|
+
- **Custom** (`--sandbox custom`) - 🔄 Future - User-defined sandbox configurations
|
|
128
|
+
|
|
129
|
+
## Troubleshooting
|
|
130
|
+
|
|
131
|
+
### Python Not Found
|
|
132
|
+
```bash
|
|
133
|
+
# Install Python 3.11+
|
|
134
|
+
brew install python3 # macOS
|
|
135
|
+
# or visit https://python.org/downloads
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### API Keys Not Set
|
|
139
|
+
```bash
|
|
140
|
+
# Create .env file in .claude/sandbox/
|
|
141
|
+
echo "E2B_API_KEY=your_key_here" >> .claude/sandbox/.env
|
|
142
|
+
echo "ANTHROPIC_API_KEY=your_key_here" >> .claude/sandbox/.env
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Dependencies Installation Failed
|
|
146
|
+
```bash
|
|
147
|
+
# Manual installation
|
|
148
|
+
cd .claude/sandbox
|
|
149
|
+
pip3 install -r requirements.txt
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Component Architecture
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
claude-code-templates/
|
|
156
|
+
└── cli-tool/
|
|
157
|
+
└── components/
|
|
158
|
+
└── sandbox/
|
|
159
|
+
├── e2b/ # E2B provider
|
|
160
|
+
│ ├── claude-code-sandbox.md # Component documentation
|
|
161
|
+
│ ├── e2b-launcher.py # Python launcher script
|
|
162
|
+
│ ├── requirements.txt # Python dependencies
|
|
163
|
+
│ └── .env.example # Environment template
|
|
164
|
+
├── docker/ # Future: Docker provider
|
|
165
|
+
├── aws/ # Future: AWS provider
|
|
166
|
+
└── README.md # This file
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
The sandbox system integrates seamlessly with the existing Claude Code Templates component architecture, allowing any combination of agents, commands, MCPs, settings, and hooks to be installed and used within the secure sandbox environment.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# E2B API Configuration
|
|
2
|
+
# Get your API key from: https://e2b.dev/dashboard
|
|
3
|
+
E2B_API_KEY=your_e2b_api_key_here
|
|
4
|
+
|
|
5
|
+
# Anthropic API Configuration
|
|
6
|
+
# Get your API key from: https://console.anthropic.com
|
|
7
|
+
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
8
|
+
|
|
9
|
+
# Optional: Sandbox timeout in seconds (default: 300)
|
|
10
|
+
# E2B_TIMEOUT=300
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# E2B Sandbox Debugging Guide
|
|
2
|
+
|
|
3
|
+
## 🔍 Herramientas de Monitoreo Disponibles
|
|
4
|
+
|
|
5
|
+
### 1. Launcher Principal con Logging Mejorado
|
|
6
|
+
**Archivo**: `e2b-launcher.py`
|
|
7
|
+
- Logging detallado de cada paso
|
|
8
|
+
- Verificación de instalación de Claude Code
|
|
9
|
+
- Monitoreo de permisos y ambiente
|
|
10
|
+
- Timeouts extendidos para operaciones largas
|
|
11
|
+
- Descarga automática de archivos generados
|
|
12
|
+
|
|
13
|
+
### 2. Monitor de Sandbox en Tiempo Real
|
|
14
|
+
**Archivo**: `e2b-monitor.py`
|
|
15
|
+
- Monitoreo de recursos del sistema
|
|
16
|
+
- Tracking de file system en tiempo real
|
|
17
|
+
- Análisis de performance y memory usage
|
|
18
|
+
- Logging con timestamps detallados
|
|
19
|
+
|
|
20
|
+
### 3. Simulador Demo
|
|
21
|
+
Para testing sin API keys válidos, crea un archivo demo que simule el flujo completo.
|
|
22
|
+
|
|
23
|
+
## 🚨 Troubleshooting Común
|
|
24
|
+
|
|
25
|
+
### Problema: "Sandbox timeout"
|
|
26
|
+
**Síntomas**:
|
|
27
|
+
```
|
|
28
|
+
❌ Error: The sandbox was not found: This error is likely due to sandbox timeout
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Soluciones**:
|
|
32
|
+
1. **Aumentar timeout del sandbox**:
|
|
33
|
+
```python
|
|
34
|
+
sbx = Sandbox.create(timeout=600) # 10 minutos
|
|
35
|
+
sbx.set_timeout(900) # Extender a 15 minutos
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. **Usar el monitor para ver qué consume tiempo**:
|
|
39
|
+
```bash
|
|
40
|
+
python e2b-monitor.py "Your prompt here" "" your_e2b_key your_anthropic_key
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Problema: "Claude not found"
|
|
44
|
+
**Síntomas**:
|
|
45
|
+
```
|
|
46
|
+
❌ Claude not found, checking PATH...
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Debugging Steps**:
|
|
50
|
+
1. **Verificar template correcto**:
|
|
51
|
+
```python
|
|
52
|
+
template="anthropic-claude-code" # Debe ser exactamente este
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. **Verificar instalación en sandbox**:
|
|
56
|
+
```bash
|
|
57
|
+
# El launcher ejecuta automáticamente:
|
|
58
|
+
which claude
|
|
59
|
+
claude --version
|
|
60
|
+
echo $PATH
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Problema: "Permission denied"
|
|
64
|
+
**Síntomas**:
|
|
65
|
+
```
|
|
66
|
+
❌ Write permission issue
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Soluciones**:
|
|
70
|
+
1. **Verificar directorio de trabajo**:
|
|
71
|
+
```bash
|
|
72
|
+
pwd
|
|
73
|
+
whoami
|
|
74
|
+
ls -la
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
2. **Cambiar a directorio con permisos**:
|
|
78
|
+
```python
|
|
79
|
+
sbx.commands.run("cd /home/user && mkdir workspace && cd workspace")
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Problema: API Key Issues
|
|
83
|
+
**Síntomas**:
|
|
84
|
+
```
|
|
85
|
+
❌ Error: 401: Invalid API key
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Debugging**:
|
|
89
|
+
1. **Verificar formato de API key**:
|
|
90
|
+
- E2B keys: formato específico de E2B
|
|
91
|
+
- Anthropic keys: empiezan con "sk-ant-"
|
|
92
|
+
|
|
93
|
+
2. **Verificar permisos**:
|
|
94
|
+
- Verificar que la key tenga permisos de sandbox
|
|
95
|
+
- Verificar quota/límites de la cuenta
|
|
96
|
+
|
|
97
|
+
## 📊 Usando el Monitor para Debugging
|
|
98
|
+
|
|
99
|
+
### Comando Básico:
|
|
100
|
+
```bash
|
|
101
|
+
python e2b-monitor.py "Create a React app" "" your_e2b_key your_anthropic_key
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Output del Monitor:
|
|
105
|
+
```
|
|
106
|
+
[14:32:15] INFO: 🚀 Starting enhanced E2B sandbox with monitoring
|
|
107
|
+
[14:32:16] INFO: ✅ Sandbox created: abc123xyz
|
|
108
|
+
[14:32:17] INFO: 🔍 System resources check
|
|
109
|
+
[14:32:17] INFO: Memory usage:
|
|
110
|
+
[14:32:17] INFO: total used free
|
|
111
|
+
[14:32:17] INFO: Mem: 2.0Gi 512Mi 1.5Gi
|
|
112
|
+
[14:32:18] INFO: 📁 Initial file system state
|
|
113
|
+
[14:32:18] INFO: Current directory: /home/user
|
|
114
|
+
[14:32:19] INFO: 🤖 Executing Claude Code with monitoring
|
|
115
|
+
[14:32:19] INFO: Starting monitored execution: echo 'Create a React app'...
|
|
116
|
+
[14:32:22] INFO: Command completed in 3.45 seconds
|
|
117
|
+
[14:32:22] INFO: Exit code: 0
|
|
118
|
+
[14:32:22] INFO: STDOUT length: 2847 characters
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## 🎯 Casos de Uso Específicos
|
|
122
|
+
|
|
123
|
+
### 1. **Debugging Timeouts**
|
|
124
|
+
```bash
|
|
125
|
+
# Usar el monitor para ver exactamente dónde se cuelga
|
|
126
|
+
python e2b-monitor.py "Complex prompt that times out"
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### 2. **Verificar Generación de Archivos**
|
|
130
|
+
El launcher automáticamente descarga archivos generados:
|
|
131
|
+
```
|
|
132
|
+
💾 DOWNLOADING FILES TO LOCAL MACHINE:
|
|
133
|
+
✅ Downloaded: ./index.html → ./e2b-output/index.html
|
|
134
|
+
✅ Downloaded: ./styles.css → ./e2b-output/styles.css
|
|
135
|
+
|
|
136
|
+
📁 All files downloaded to: /path/to/project/e2b-output
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### 3. **Monitoreo de Performance**
|
|
140
|
+
```
|
|
141
|
+
[14:33:20] INFO: Top processes:
|
|
142
|
+
[14:33:20] INFO: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
|
143
|
+
[14:33:20] INFO: user 1234 5.2 2.1 98765 43210 pts/0 S+ 14:32 0:01 claude
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## 🛠 Configuración Avanzada
|
|
147
|
+
|
|
148
|
+
### Variables de Ambiente Útiles:
|
|
149
|
+
```bash
|
|
150
|
+
export E2B_DEBUG=1 # Debug mode
|
|
151
|
+
export ANTHROPIC_API_KEY=your_key # Claude API key
|
|
152
|
+
export E2B_API_KEY=your_key # E2B API key
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Configuración de Timeout Personalizada:
|
|
156
|
+
```python
|
|
157
|
+
# Para operaciones muy largas (ej: compilación completa)
|
|
158
|
+
sbx = Sandbox.create(timeout=1800) # 30 minutos
|
|
159
|
+
sbx.set_timeout(3600) # 1 hora máximo
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## 📋 Checklist de Debugging
|
|
163
|
+
|
|
164
|
+
### Antes de Reportar un Issue:
|
|
165
|
+
- [ ] API keys válidos y con permisos correctos
|
|
166
|
+
- [ ] Template correcto: "anthropic-claude-code"
|
|
167
|
+
- [ ] Timeout suficiente para la operación
|
|
168
|
+
- [ ] Ejecutar con el monitor para logs detallados
|
|
169
|
+
- [ ] Verificar que Claude Code esté instalado en sandbox
|
|
170
|
+
- [ ] Revisar permisos de escritura en directorio
|
|
171
|
+
- [ ] Comprobar memoria/recursos disponibles
|
|
172
|
+
|
|
173
|
+
### Información a Incluir en Reports:
|
|
174
|
+
- Output completo del launcher o monitor
|
|
175
|
+
- Sandbox ID si está disponible
|
|
176
|
+
- Prompt exacto que causa el problema
|
|
177
|
+
- Componentes instalados (si aplica)
|
|
178
|
+
- Tiempo de ejecución antes del fallo
|
|
179
|
+
|
|
180
|
+
## 🚀 Funcionalidades del Sistema
|
|
181
|
+
|
|
182
|
+
### Descarga Automática de Archivos
|
|
183
|
+
El launcher descarga automáticamente todos los archivos generados:
|
|
184
|
+
- HTML, CSS, JS, TS, TSX, Python, JSON, Markdown
|
|
185
|
+
- Se guardan en directorio local `./e2b-output/`
|
|
186
|
+
- Excluye archivos internos de Claude Code
|
|
187
|
+
- Preserva nombres de archivo originales
|
|
188
|
+
|
|
189
|
+
### Logging Detallado
|
|
190
|
+
- Verificación de instalación de Claude Code
|
|
191
|
+
- Monitoreo de permisos y ambiente del sandbox
|
|
192
|
+
- Tracking de exit codes y output length
|
|
193
|
+
- Timestamps para análisis de performance
|
|
194
|
+
|
|
195
|
+
### Timeouts Inteligentes
|
|
196
|
+
- 10 minutos timeout inicial para creación
|
|
197
|
+
- 15 minutos total extendido automáticamente
|
|
198
|
+
- 5 minutos timeout para ejecución de Claude Code
|
|
199
|
+
- Timeouts cortos para verificaciones (5-10 segundos)
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
**Con estas herramientas puedes monitorear exactamente qué está pasando dentro del sandbox E2B y debuggear cualquier problema que surja.**
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# E2B Claude Code Sandbox
|
|
2
|
+
|
|
3
|
+
Execute Claude Code in an isolated E2B cloud sandbox environment.
|
|
4
|
+
|
|
5
|
+
## Description
|
|
6
|
+
|
|
7
|
+
This component sets up E2B (E2B.dev) integration to run Claude Code in a secure, isolated cloud environment. Perfect for executing code safely without affecting your local system.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- **Isolated Execution**: Run Claude Code in a secure cloud sandbox
|
|
12
|
+
- **Pre-configured Environment**: Ships with Claude Code already installed
|
|
13
|
+
- **API Integration**: Seamless connection to Anthropic's Claude API
|
|
14
|
+
- **Safe Code Execution**: Execute prompts without local system risks
|
|
15
|
+
- **Component Installation**: Automatically installs any components specified with CLI flags
|
|
16
|
+
|
|
17
|
+
## Requirements
|
|
18
|
+
|
|
19
|
+
- E2B API Key (get from https://e2b.dev/dashboard)
|
|
20
|
+
- Anthropic API Key
|
|
21
|
+
- Python 3.11+ (for E2B SDK)
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Execute a prompt in E2B sandbox (requires API keys as environment variables or CLI parameters)
|
|
27
|
+
npx claude-code-templates@latest --sandbox e2b --prompt "Create a React todo app"
|
|
28
|
+
|
|
29
|
+
# Pass API keys directly as parameters
|
|
30
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
31
|
+
--e2b-api-key your_e2b_key \
|
|
32
|
+
--anthropic-api-key your_anthropic_key \
|
|
33
|
+
--prompt "Create a React todo app"
|
|
34
|
+
|
|
35
|
+
# Install components and execute in sandbox
|
|
36
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
37
|
+
--agent frontend-developer \
|
|
38
|
+
--command setup-react \
|
|
39
|
+
--e2b-api-key your_e2b_key \
|
|
40
|
+
--anthropic-api-key your_anthropic_key \
|
|
41
|
+
--prompt "Create a modern todo app with TypeScript"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Environment Setup
|
|
45
|
+
|
|
46
|
+
The component will create:
|
|
47
|
+
- `.claude/sandbox/e2b-launcher.py` - Python script to launch E2B sandbox
|
|
48
|
+
- `.claude/sandbox/requirements.txt` - Python dependencies
|
|
49
|
+
- `.claude/sandbox/.env.example` - Environment variables template
|
|
50
|
+
|
|
51
|
+
## API Key Configuration
|
|
52
|
+
|
|
53
|
+
You can provide API keys in two ways:
|
|
54
|
+
|
|
55
|
+
### Option 1: CLI Parameters (Recommended)
|
|
56
|
+
```bash
|
|
57
|
+
# Pass keys directly as command parameters
|
|
58
|
+
npx claude-code-templates@latest --sandbox e2b \
|
|
59
|
+
--e2b-api-key your_e2b_api_key \
|
|
60
|
+
--anthropic-api-key your_anthropic_api_key \
|
|
61
|
+
--prompt "Your prompt here"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Option 2: Environment Variables
|
|
65
|
+
Set these environment variables in your shell or `.env` file:
|
|
66
|
+
```bash
|
|
67
|
+
export E2B_API_KEY=your_e2b_api_key_here
|
|
68
|
+
export ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
69
|
+
|
|
70
|
+
# Or create .claude/sandbox/.env file:
|
|
71
|
+
E2B_API_KEY=your_e2b_api_key_here
|
|
72
|
+
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Note**: CLI parameters take precedence over environment variables.
|
|
76
|
+
|
|
77
|
+
## How it Works
|
|
78
|
+
|
|
79
|
+
1. Creates E2B sandbox with `anthropic-claude-code` template
|
|
80
|
+
2. Installs any specified components (agents, commands, etc.)
|
|
81
|
+
3. Executes your prompt using Claude Code inside the sandbox
|
|
82
|
+
4. Returns the complete output and any generated files
|
|
83
|
+
5. Automatically cleans up the sandbox after execution
|
|
84
|
+
|
|
85
|
+
## Security Benefits
|
|
86
|
+
|
|
87
|
+
- **Isolation**: Code runs in a separate cloud environment
|
|
88
|
+
- **No Local Impact**: No risk to your local system or files
|
|
89
|
+
- **Temporary**: Sandbox is destroyed after execution
|
|
90
|
+
- **Controlled**: Only specified components and prompts are executed
|
|
91
|
+
|
|
92
|
+
## Examples
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Simple web app creation
|
|
96
|
+
npx claude-code-templates@latest --sandbox e2b --prompt "Create an HTML page with CSS animations"
|
|
97
|
+
|
|
98
|
+
# Full stack development
|
|
99
|
+
npx claude-code-templates@latest --sandbox e2b --agent fullstack-developer --prompt "Create a Node.js API with authentication"
|
|
100
|
+
|
|
101
|
+
# Data analysis
|
|
102
|
+
npx claude-code-templates@latest --sandbox e2b --agent data-scientist --prompt "Analyze this CSV data and create visualizations"
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Template Information
|
|
106
|
+
|
|
107
|
+
- **Provider**: E2B (https://e2b.dev)
|
|
108
|
+
- **Base Template**: anthropic-claude-code
|
|
109
|
+
- **Timeout**: 5 minutes (configurable)
|
|
110
|
+
- **Environment**: Ubuntu with Claude Code pre-installed
|