claude-code-templates 1.21.4 → 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,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Read, Write, Edit, Bash
|
|
3
|
+
argument-hint: [project-name] | --2d | --3d | --mobile | --vr | --console
|
|
4
|
+
description: Use PROACTIVELY to set up professional Unity game development projects with industry-standard structure, essential packages, and platform-optimized configurations
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Unity Project Setup & Development Environment
|
|
9
|
+
|
|
10
|
+
Initialize professional Unity game development project: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Unity Environment
|
|
13
|
+
|
|
14
|
+
- Unity version: !`unity-editor --version 2>/dev/null || echo "Unity Editor not found"`
|
|
15
|
+
- Current directory: !`pwd`
|
|
16
|
+
- Available templates: !`find . -name "*.unitypackage" 2>/dev/null | wc -l` Unity packages
|
|
17
|
+
- Git status: !`git status --porcelain 2>/dev/null | wc -l` uncommitted changes
|
|
18
|
+
- System info: !`system_profiler SPSoftwareDataType | grep "System Version" 2>/dev/null || uname -a`
|
|
19
|
+
|
|
20
|
+
## Task
|
|
21
|
+
|
|
22
|
+
Set up a complete Unity project with professional development environment and platform-specific optimizations.
|
|
23
|
+
|
|
24
|
+
## What it creates:
|
|
25
|
+
|
|
26
|
+
### Project Structure
|
|
27
|
+
```
|
|
28
|
+
Assets/
|
|
29
|
+
├── _Project/
|
|
30
|
+
│ ├── Scripts/
|
|
31
|
+
│ │ ├── Managers/
|
|
32
|
+
│ │ ├── Player/
|
|
33
|
+
│ │ ├── UI/
|
|
34
|
+
│ │ ├── Gameplay/
|
|
35
|
+
│ │ └── Utilities/
|
|
36
|
+
│ ├── Art/
|
|
37
|
+
│ │ ├── Textures/
|
|
38
|
+
│ │ ├── Materials/
|
|
39
|
+
│ │ ├── Models/
|
|
40
|
+
│ │ └── Animations/
|
|
41
|
+
│ ├── Audio/
|
|
42
|
+
│ │ ├── Music/
|
|
43
|
+
│ │ ├── SFX/
|
|
44
|
+
│ │ └── Voice/
|
|
45
|
+
│ ├── Prefabs/
|
|
46
|
+
│ │ ├── Characters/
|
|
47
|
+
│ │ ├── Environment/
|
|
48
|
+
│ │ ├── UI/
|
|
49
|
+
│ │ └── Effects/
|
|
50
|
+
│ ├── Scenes/
|
|
51
|
+
│ │ ├── Development/
|
|
52
|
+
│ │ ├── Production/
|
|
53
|
+
│ │ └── Testing/
|
|
54
|
+
│ ├── Settings/
|
|
55
|
+
│ │ ├── Input/
|
|
56
|
+
│ │ ├── Rendering/
|
|
57
|
+
│ │ └── Audio/
|
|
58
|
+
│ └── Resources/
|
|
59
|
+
├── Plugins/
|
|
60
|
+
├── StreamingAssets/
|
|
61
|
+
└── Editor/
|
|
62
|
+
├── Scripts/
|
|
63
|
+
└── Resources/
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Essential Packages
|
|
67
|
+
- Universal Render Pipeline (URP)
|
|
68
|
+
- Input System
|
|
69
|
+
- Cinemachine
|
|
70
|
+
- ProBuilder
|
|
71
|
+
- Timeline
|
|
72
|
+
- Addressables
|
|
73
|
+
- Unity Analytics
|
|
74
|
+
- Version Control (if available)
|
|
75
|
+
|
|
76
|
+
### Project Settings
|
|
77
|
+
- Optimized quality settings for target platforms
|
|
78
|
+
- Input system configuration
|
|
79
|
+
- Physics settings
|
|
80
|
+
- Time and rendering configurations
|
|
81
|
+
- Build settings for multiple platforms
|
|
82
|
+
|
|
83
|
+
### Development Tools
|
|
84
|
+
- Code formatting rules (.editorconfig)
|
|
85
|
+
- Git configuration with Unity-optimized .gitignore
|
|
86
|
+
- Assembly definition files for better compilation
|
|
87
|
+
- Custom editor scripts for workflow improvement
|
|
88
|
+
|
|
89
|
+
### Version Control Setup
|
|
90
|
+
- Git repository initialization
|
|
91
|
+
- Unity-specific .gitignore
|
|
92
|
+
- LFS configuration for large assets
|
|
93
|
+
- Branching strategy documentation
|
|
94
|
+
|
|
95
|
+
## Usage:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
npx claude-code-templates@latest --command unity-project-setup
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Interactive Options:
|
|
102
|
+
|
|
103
|
+
1. **Project Type Selection**
|
|
104
|
+
- 2D Game
|
|
105
|
+
- 3D Game
|
|
106
|
+
- Mobile Game
|
|
107
|
+
- VR/AR Game
|
|
108
|
+
- Hybrid (2D/3D)
|
|
109
|
+
|
|
110
|
+
2. **Target Platforms**
|
|
111
|
+
- PC (Windows/Mac/Linux)
|
|
112
|
+
- Mobile (iOS/Android)
|
|
113
|
+
- Console (PlayStation/Xbox/Nintendo)
|
|
114
|
+
- WebGL
|
|
115
|
+
- VR (Oculus/SteamVR)
|
|
116
|
+
|
|
117
|
+
3. **Version Control**
|
|
118
|
+
- Git
|
|
119
|
+
- Plastic SCM
|
|
120
|
+
- Perforce
|
|
121
|
+
- None
|
|
122
|
+
|
|
123
|
+
4. **Additional Packages**
|
|
124
|
+
- TextMeshPro
|
|
125
|
+
- Post Processing
|
|
126
|
+
- Unity Ads
|
|
127
|
+
- Unity Analytics
|
|
128
|
+
- Unity Cloud Build
|
|
129
|
+
- Custom package selection
|
|
130
|
+
|
|
131
|
+
## Generated Files:
|
|
132
|
+
|
|
133
|
+
### Core Scripts
|
|
134
|
+
- `GameManager.cs` - Main game controller
|
|
135
|
+
- `SceneLoader.cs` - Scene management system
|
|
136
|
+
- `AudioManager.cs` - Audio system controller
|
|
137
|
+
- `InputManager.cs` - Input handling system
|
|
138
|
+
- `UIManager.cs` - UI system manager
|
|
139
|
+
- `SaveSystem.cs` - Save/load functionality
|
|
140
|
+
|
|
141
|
+
### Editor Tools
|
|
142
|
+
- `ProjectSetupWindow.cs` - Custom editor window
|
|
143
|
+
- `SceneQuickStart.cs` - Scene setup automation
|
|
144
|
+
- `AssetValidator.cs` - Asset validation tools
|
|
145
|
+
- `BuildAutomation.cs` - Build pipeline helpers
|
|
146
|
+
|
|
147
|
+
### Configuration Files
|
|
148
|
+
- `ProjectSettings.asset` - Optimized project settings
|
|
149
|
+
- `QualitySettings.asset` - Multi-platform quality tiers
|
|
150
|
+
- `InputActions.inputactions` - Input system configuration
|
|
151
|
+
- `AssemblyDefinitions` - Modular compilation setup
|
|
152
|
+
|
|
153
|
+
### Documentation
|
|
154
|
+
- `README.md` - Project overview and setup instructions
|
|
155
|
+
- `CONTRIBUTING.md` - Development guidelines
|
|
156
|
+
- `CHANGELOG.md` - Version history template
|
|
157
|
+
- `API_REFERENCE.md` - Code documentation template
|
|
158
|
+
|
|
159
|
+
## Post-Setup Checklist:
|
|
160
|
+
|
|
161
|
+
- [ ] Review and adjust quality settings for target platforms
|
|
162
|
+
- [ ] Configure input actions for your game controls
|
|
163
|
+
- [ ] Set up build configurations for all target platforms
|
|
164
|
+
- [ ] Review folder structure and rename as needed
|
|
165
|
+
- [ ] Configure version control and make initial commit
|
|
166
|
+
- [ ] Set up continuous integration if required
|
|
167
|
+
- [ ] Configure analytics and crash reporting
|
|
168
|
+
- [ ] Review and customize coding standards
|
|
169
|
+
|
|
170
|
+
## Platform-Specific Configurations:
|
|
171
|
+
|
|
172
|
+
### Mobile
|
|
173
|
+
- Touch input configuration
|
|
174
|
+
- Performance optimization settings
|
|
175
|
+
- Battery usage optimization
|
|
176
|
+
- App store submission setup
|
|
177
|
+
|
|
178
|
+
### PC
|
|
179
|
+
- Multi-resolution support
|
|
180
|
+
- Keyboard/mouse input setup
|
|
181
|
+
- Graphics options menu template
|
|
182
|
+
- Windows/Mac/Linux build configs
|
|
183
|
+
|
|
184
|
+
### Console
|
|
185
|
+
- Platform-specific input mapping
|
|
186
|
+
- Achievement/trophy integration setup
|
|
187
|
+
- Online services configuration
|
|
188
|
+
- Certification requirement templates
|
|
189
|
+
|
|
190
|
+
This command creates a production-ready Unity project structure that scales from prototype to shipped game, following industry best practices and Unity's recommended patterns.
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Bash(git branch:*), Bash(git checkout:*), Bash(git push:*), Bash(git merge:*), Bash(gh:*), Read, Grep
|
|
3
|
+
argument-hint: [--dry-run] | [--force] | [--remote-only] | [--local-only]
|
|
4
|
+
description: Use PROACTIVELY to clean up merged branches, stale remotes, and organize branch structure
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Git Branch Cleanup & Organization
|
|
9
|
+
|
|
10
|
+
Clean up merged branches and organize repository structure: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Repository State
|
|
13
|
+
|
|
14
|
+
- All branches: !`git branch -a`
|
|
15
|
+
- Recent branches: !`git for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(refname:short) - %(committerdate:relative)'`
|
|
16
|
+
- Remote branches: !`git branch -r`
|
|
17
|
+
- Merged branches: !`git branch --merged main 2>/dev/null || git branch --merged master 2>/dev/null || echo "No main/master branch found"`
|
|
18
|
+
- Current branch: !`git branch --show-current`
|
|
19
|
+
|
|
20
|
+
## Task
|
|
21
|
+
|
|
22
|
+
Perform comprehensive branch cleanup and organization based on the repository state and provided arguments.
|
|
23
|
+
|
|
24
|
+
## Cleanup Operations
|
|
25
|
+
|
|
26
|
+
### 1. Identify Branches for Cleanup
|
|
27
|
+
- **Merged branches**: Find local branches already merged into main/master
|
|
28
|
+
- **Stale remote branches**: Identify remote-tracking branches that no longer exist
|
|
29
|
+
- **Old branches**: Detect branches with no recent activity (>30 days)
|
|
30
|
+
- **Feature branches**: Organize feature/* hotfix/* release/* branches
|
|
31
|
+
|
|
32
|
+
### 2. Safety Checks Before Deletion
|
|
33
|
+
- Verify branches are actually merged using `git merge-base`
|
|
34
|
+
- Check if branches have unpushed commits
|
|
35
|
+
- Confirm branches aren't the current working branch
|
|
36
|
+
- Validate against protected branch patterns
|
|
37
|
+
|
|
38
|
+
### 3. Branch Categories to Handle
|
|
39
|
+
- **Safe to delete**: Merged feature branches, old hotfix branches
|
|
40
|
+
- **Needs review**: Unmerged branches with old commits
|
|
41
|
+
- **Keep**: Main branches (main, master, develop), active feature branches
|
|
42
|
+
- **Archive**: Long-running branches that might need preservation
|
|
43
|
+
|
|
44
|
+
### 4. Remote Branch Synchronization
|
|
45
|
+
- Remove remote-tracking branches for deleted remotes
|
|
46
|
+
- Prune remote references with `git remote prune origin`
|
|
47
|
+
- Update branch tracking relationships
|
|
48
|
+
- Clean up remote branch references
|
|
49
|
+
|
|
50
|
+
## Command Modes
|
|
51
|
+
|
|
52
|
+
### Default Mode (Interactive)
|
|
53
|
+
1. Show branch analysis with recommendations
|
|
54
|
+
2. Ask for confirmation before each deletion
|
|
55
|
+
3. Provide summary of actions taken
|
|
56
|
+
4. Offer to push deletions to remote
|
|
57
|
+
|
|
58
|
+
### Dry Run Mode (`--dry-run`)
|
|
59
|
+
1. Show what would be deleted without making changes
|
|
60
|
+
2. Display branch analysis and recommendations
|
|
61
|
+
3. Provide cleanup statistics
|
|
62
|
+
4. Exit without modifying repository
|
|
63
|
+
|
|
64
|
+
### Force Mode (`--force`)
|
|
65
|
+
1. Delete merged branches without confirmation
|
|
66
|
+
2. Clean up stale remotes automatically
|
|
67
|
+
3. Provide summary of all actions taken
|
|
68
|
+
4. Use with caution - no undo capability
|
|
69
|
+
|
|
70
|
+
### Remote Only (`--remote-only`)
|
|
71
|
+
1. Only clean up remote-tracking branches
|
|
72
|
+
2. Synchronize with actual remote state
|
|
73
|
+
3. Remove stale remote references
|
|
74
|
+
4. Keep all local branches intact
|
|
75
|
+
|
|
76
|
+
### Local Only (`--local-only`)
|
|
77
|
+
1. Only clean up local branches
|
|
78
|
+
2. Don't affect remote-tracking branches
|
|
79
|
+
3. Keep remote synchronization intact
|
|
80
|
+
4. Focus on local workspace organization
|
|
81
|
+
|
|
82
|
+
## Safety Features
|
|
83
|
+
|
|
84
|
+
### Pre-cleanup Validation
|
|
85
|
+
- Ensure working directory is clean
|
|
86
|
+
- Check for uncommitted changes
|
|
87
|
+
- Verify current branch is safe (not target for deletion)
|
|
88
|
+
- Create backup references if requested
|
|
89
|
+
|
|
90
|
+
### Protected Branches
|
|
91
|
+
Never delete branches matching these patterns:
|
|
92
|
+
- `main`, `master`, `develop`, `staging`, `production`
|
|
93
|
+
- `release/*` (unless explicitly confirmed)
|
|
94
|
+
- Current working branch
|
|
95
|
+
- Branches with unpushed commits (unless forced)
|
|
96
|
+
|
|
97
|
+
### Recovery Information
|
|
98
|
+
- Display git reflog references for deleted branches
|
|
99
|
+
- Provide commands to recover accidentally deleted branches
|
|
100
|
+
- Show SHA hashes for branch tips before deletion
|
|
101
|
+
- Create recovery script if multiple branches deleted
|
|
102
|
+
|
|
103
|
+
## Branch Organization Features
|
|
104
|
+
|
|
105
|
+
### Naming Convention Enforcement
|
|
106
|
+
- Suggest renaming branches to follow team conventions
|
|
107
|
+
- Organize branches by type (feature/, bugfix/, hotfix/)
|
|
108
|
+
- Identify branches that don't follow naming patterns
|
|
109
|
+
- Provide batch renaming suggestions
|
|
110
|
+
|
|
111
|
+
### Branch Tracking Setup
|
|
112
|
+
- Set up proper upstream tracking for feature branches
|
|
113
|
+
- Configure push/pull behavior for new branches
|
|
114
|
+
- Identify branches missing upstream configuration
|
|
115
|
+
- Fix broken tracking relationships
|
|
116
|
+
|
|
117
|
+
## Output and Reporting
|
|
118
|
+
|
|
119
|
+
### Cleanup Summary
|
|
120
|
+
```
|
|
121
|
+
Branch Cleanup Summary:
|
|
122
|
+
✅ Deleted 3 merged feature branches
|
|
123
|
+
✅ Removed 5 stale remote references
|
|
124
|
+
✅ Cleaned up 2 old hotfix branches
|
|
125
|
+
⚠️ Found 1 unmerged branch requiring attention
|
|
126
|
+
📊 Repository now has 8 active branches (was 18)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Recovery Instructions
|
|
130
|
+
```
|
|
131
|
+
Branch Recovery Commands:
|
|
132
|
+
git checkout -b feature/user-auth 1a2b3c4d # Recover feature/user-auth
|
|
133
|
+
git push origin feature/user-auth # Restore to remote
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Best Practices
|
|
137
|
+
|
|
138
|
+
### Regular Maintenance Schedule
|
|
139
|
+
- Run cleanup weekly for active repositories
|
|
140
|
+
- Use `--dry-run` first to review changes
|
|
141
|
+
- Coordinate with team before major cleanups
|
|
142
|
+
- Document any non-standard branches to preserve
|
|
143
|
+
|
|
144
|
+
### Team Coordination
|
|
145
|
+
- Communicate branch deletion plans with team
|
|
146
|
+
- Check if anyone has work-in-progress on old branches
|
|
147
|
+
- Use GitHub/GitLab branch protection rules
|
|
148
|
+
- Maintain shared documentation of branch policies
|
|
149
|
+
|
|
150
|
+
### Branch Lifecycle Management
|
|
151
|
+
- Delete feature branches immediately after merge
|
|
152
|
+
- Keep release branches until next major release
|
|
153
|
+
- Archive long-term experimental branches
|
|
154
|
+
- Use tags to mark important branch states before deletion
|
|
155
|
+
|
|
156
|
+
## Example Usage
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
# Safe interactive cleanup
|
|
160
|
+
/branch-cleanup
|
|
161
|
+
|
|
162
|
+
# See what would be cleaned without changes
|
|
163
|
+
/branch-cleanup --dry-run
|
|
164
|
+
|
|
165
|
+
# Clean only remote tracking branches
|
|
166
|
+
/branch-cleanup --remote-only
|
|
167
|
+
|
|
168
|
+
# Force cleanup of merged branches
|
|
169
|
+
/branch-cleanup --force
|
|
170
|
+
|
|
171
|
+
# Clean only local branches
|
|
172
|
+
/branch-cleanup --local-only
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Integration with GitHub/GitLab
|
|
176
|
+
|
|
177
|
+
If GitHub CLI or GitLab CLI is available:
|
|
178
|
+
- Check PR status before deleting branches
|
|
179
|
+
- Verify branches are actually merged in web interface
|
|
180
|
+
- Clean up both local and remote branches consistently
|
|
181
|
+
- Update branch protection rules if needed
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git diff:*), Bash(git log:*)
|
|
3
|
+
argument-hint: [message] | --no-verify | --amend
|
|
4
|
+
description: Create well-formatted commits with conventional commit format and emoji
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Smart Git Commit
|
|
9
|
+
|
|
10
|
+
Create well-formatted commit: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
## Current Repository State
|
|
13
|
+
|
|
14
|
+
- Git status: !`git status --porcelain`
|
|
15
|
+
- Current branch: !`git branch --show-current`
|
|
16
|
+
- Staged changes: !`git diff --cached --stat`
|
|
17
|
+
- Unstaged changes: !`git diff --stat`
|
|
18
|
+
- Recent commits: !`git log --oneline -5`
|
|
19
|
+
|
|
20
|
+
## What This Command Does
|
|
21
|
+
|
|
22
|
+
1. Unless specified with `--no-verify`, automatically runs pre-commit checks:
|
|
23
|
+
- `pnpm lint` to ensure code quality
|
|
24
|
+
- `pnpm build` to verify the build succeeds
|
|
25
|
+
- `pnpm generate:docs` to update documentation
|
|
26
|
+
2. Checks which files are staged with `git status`
|
|
27
|
+
3. If 0 files are staged, automatically adds all modified and new files with `git add`
|
|
28
|
+
4. Performs a `git diff` to understand what changes are being committed
|
|
29
|
+
5. Analyzes the diff to determine if multiple distinct logical changes are present
|
|
30
|
+
6. If multiple distinct changes are detected, suggests breaking the commit into multiple smaller commits
|
|
31
|
+
7. For each commit (or the single commit if not split), creates a commit message using emoji conventional commit format
|
|
32
|
+
|
|
33
|
+
## Best Practices for Commits
|
|
34
|
+
|
|
35
|
+
- **Verify before committing**: Ensure code is linted, builds correctly, and documentation is updated
|
|
36
|
+
- **Atomic commits**: Each commit should contain related changes that serve a single purpose
|
|
37
|
+
- **Split large changes**: If changes touch multiple concerns, split them into separate commits
|
|
38
|
+
- **Conventional commit format**: Use the format `<type>: <description>` where type is one of:
|
|
39
|
+
- `feat`: A new feature
|
|
40
|
+
- `fix`: A bug fix
|
|
41
|
+
- `docs`: Documentation changes
|
|
42
|
+
- `style`: Code style changes (formatting, etc)
|
|
43
|
+
- `refactor`: Code changes that neither fix bugs nor add features
|
|
44
|
+
- `perf`: Performance improvements
|
|
45
|
+
- `test`: Adding or fixing tests
|
|
46
|
+
- `chore`: Changes to the build process, tools, etc.
|
|
47
|
+
- **Present tense, imperative mood**: Write commit messages as commands (e.g., "add feature" not "added feature")
|
|
48
|
+
- **Concise first line**: Keep the first line under 72 characters
|
|
49
|
+
- **Emoji**: Each commit type is paired with an appropriate emoji:
|
|
50
|
+
- ✨ `feat`: New feature
|
|
51
|
+
- 🐛 `fix`: Bug fix
|
|
52
|
+
- 📝 `docs`: Documentation
|
|
53
|
+
- 💄 `style`: Formatting/style
|
|
54
|
+
- ♻️ `refactor`: Code refactoring
|
|
55
|
+
- ⚡️ `perf`: Performance improvements
|
|
56
|
+
- ✅ `test`: Tests
|
|
57
|
+
- 🔧 `chore`: Tooling, configuration
|
|
58
|
+
- 🚀 `ci`: CI/CD improvements
|
|
59
|
+
- 🗑️ `revert`: Reverting changes
|
|
60
|
+
- 🧪 `test`: Add a failing test
|
|
61
|
+
- 🚨 `fix`: Fix compiler/linter warnings
|
|
62
|
+
- 🔒️ `fix`: Fix security issues
|
|
63
|
+
- 👥 `chore`: Add or update contributors
|
|
64
|
+
- 🚚 `refactor`: Move or rename resources
|
|
65
|
+
- 🏗️ `refactor`: Make architectural changes
|
|
66
|
+
- 🔀 `chore`: Merge branches
|
|
67
|
+
- 📦️ `chore`: Add or update compiled files or packages
|
|
68
|
+
- ➕ `chore`: Add a dependency
|
|
69
|
+
- ➖ `chore`: Remove a dependency
|
|
70
|
+
- 🌱 `chore`: Add or update seed files
|
|
71
|
+
- 🧑💻 `chore`: Improve developer experience
|
|
72
|
+
- 🧵 `feat`: Add or update code related to multithreading or concurrency
|
|
73
|
+
- 🔍️ `feat`: Improve SEO
|
|
74
|
+
- 🏷️ `feat`: Add or update types
|
|
75
|
+
- 💬 `feat`: Add or update text and literals
|
|
76
|
+
- 🌐 `feat`: Internationalization and localization
|
|
77
|
+
- 👔 `feat`: Add or update business logic
|
|
78
|
+
- 📱 `feat`: Work on responsive design
|
|
79
|
+
- 🚸 `feat`: Improve user experience / usability
|
|
80
|
+
- 🩹 `fix`: Simple fix for a non-critical issue
|
|
81
|
+
- 🥅 `fix`: Catch errors
|
|
82
|
+
- 👽️ `fix`: Update code due to external API changes
|
|
83
|
+
- 🔥 `fix`: Remove code or files
|
|
84
|
+
- 🎨 `style`: Improve structure/format of the code
|
|
85
|
+
- 🚑️ `fix`: Critical hotfix
|
|
86
|
+
- 🎉 `chore`: Begin a project
|
|
87
|
+
- 🔖 `chore`: Release/Version tags
|
|
88
|
+
- 🚧 `wip`: Work in progress
|
|
89
|
+
- 💚 `fix`: Fix CI build
|
|
90
|
+
- 📌 `chore`: Pin dependencies to specific versions
|
|
91
|
+
- 👷 `ci`: Add or update CI build system
|
|
92
|
+
- 📈 `feat`: Add or update analytics or tracking code
|
|
93
|
+
- ✏️ `fix`: Fix typos
|
|
94
|
+
- ⏪️ `revert`: Revert changes
|
|
95
|
+
- 📄 `chore`: Add or update license
|
|
96
|
+
- 💥 `feat`: Introduce breaking changes
|
|
97
|
+
- 🍱 `assets`: Add or update assets
|
|
98
|
+
- ♿️ `feat`: Improve accessibility
|
|
99
|
+
- 💡 `docs`: Add or update comments in source code
|
|
100
|
+
- 🗃️ `db`: Perform database related changes
|
|
101
|
+
- 🔊 `feat`: Add or update logs
|
|
102
|
+
- 🔇 `fix`: Remove logs
|
|
103
|
+
- 🤡 `test`: Mock things
|
|
104
|
+
- 🥚 `feat`: Add or update an easter egg
|
|
105
|
+
- 🙈 `chore`: Add or update .gitignore file
|
|
106
|
+
- 📸 `test`: Add or update snapshots
|
|
107
|
+
- ⚗️ `experiment`: Perform experiments
|
|
108
|
+
- 🚩 `feat`: Add, update, or remove feature flags
|
|
109
|
+
- 💫 `ui`: Add or update animations and transitions
|
|
110
|
+
- ⚰️ `refactor`: Remove dead code
|
|
111
|
+
- 🦺 `feat`: Add or update code related to validation
|
|
112
|
+
- ✈️ `feat`: Improve offline support
|
|
113
|
+
|
|
114
|
+
## Guidelines for Splitting Commits
|
|
115
|
+
|
|
116
|
+
When analyzing the diff, consider splitting commits based on these criteria:
|
|
117
|
+
|
|
118
|
+
1. **Different concerns**: Changes to unrelated parts of the codebase
|
|
119
|
+
2. **Different types of changes**: Mixing features, fixes, refactoring, etc.
|
|
120
|
+
3. **File patterns**: Changes to different types of files (e.g., source code vs documentation)
|
|
121
|
+
4. **Logical grouping**: Changes that would be easier to understand or review separately
|
|
122
|
+
5. **Size**: Very large changes that would be clearer if broken down
|
|
123
|
+
|
|
124
|
+
## Examples
|
|
125
|
+
|
|
126
|
+
Good commit messages:
|
|
127
|
+
- ✨ feat: add user authentication system
|
|
128
|
+
- 🐛 fix: resolve memory leak in rendering process
|
|
129
|
+
- 📝 docs: update API documentation with new endpoints
|
|
130
|
+
- ♻️ refactor: simplify error handling logic in parser
|
|
131
|
+
- 🚨 fix: resolve linter warnings in component files
|
|
132
|
+
- 🧑💻 chore: improve developer tooling setup process
|
|
133
|
+
- 👔 feat: implement business logic for transaction validation
|
|
134
|
+
- 🩹 fix: address minor styling inconsistency in header
|
|
135
|
+
- 🚑️ fix: patch critical security vulnerability in auth flow
|
|
136
|
+
- 🎨 style: reorganize component structure for better readability
|
|
137
|
+
- 🔥 fix: remove deprecated legacy code
|
|
138
|
+
- 🦺 feat: add input validation for user registration form
|
|
139
|
+
- 💚 fix: resolve failing CI pipeline tests
|
|
140
|
+
- 📈 feat: implement analytics tracking for user engagement
|
|
141
|
+
- 🔒️ fix: strengthen authentication password requirements
|
|
142
|
+
- ♿️ feat: improve form accessibility for screen readers
|
|
143
|
+
|
|
144
|
+
Example of splitting commits:
|
|
145
|
+
- First commit: ✨ feat: add new solc version type definitions
|
|
146
|
+
- Second commit: 📝 docs: update documentation for new solc versions
|
|
147
|
+
- Third commit: 🔧 chore: update package.json dependencies
|
|
148
|
+
- Fourth commit: 🏷️ feat: add type definitions for new API endpoints
|
|
149
|
+
- Fifth commit: 🧵 feat: improve concurrency handling in worker threads
|
|
150
|
+
- Sixth commit: 🚨 fix: resolve linting issues in new code
|
|
151
|
+
- Seventh commit: ✅ test: add unit tests for new solc version features
|
|
152
|
+
- Eighth commit: 🔒️ fix: update dependencies with security vulnerabilities
|
|
153
|
+
|
|
154
|
+
## Command Options
|
|
155
|
+
|
|
156
|
+
- `--no-verify`: Skip running the pre-commit checks (lint, build, generate:docs)
|
|
157
|
+
|
|
158
|
+
## Important Notes
|
|
159
|
+
|
|
160
|
+
- By default, pre-commit checks (`pnpm lint`, `pnpm build`, `pnpm generate:docs`) will run to ensure code quality
|
|
161
|
+
- If these checks fail, you'll be asked if you want to proceed with the commit anyway or fix the issues first
|
|
162
|
+
- If specific files are already staged, the command will only commit those files
|
|
163
|
+
- If no files are staged, it will automatically stage all modified and new files
|
|
164
|
+
- The commit message will be constructed based on the changes detected
|
|
165
|
+
- Before committing, the command will review the diff to identify if multiple commits would be more appropriate
|
|
166
|
+
- If suggesting multiple commits, it will help you stage and commit the changes separately
|
|
167
|
+
- Always reviews the commit diff to ensure the message matches the changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Create Pull Request Command
|
|
2
|
+
|
|
3
|
+
Create a new branch, commit changes, and submit a pull request.
|
|
4
|
+
|
|
5
|
+
## Behavior
|
|
6
|
+
- Creates a new branch based on current changes
|
|
7
|
+
- Formats modified files using Biome
|
|
8
|
+
- Analyzes changes and automatically splits into logical commits when appropriate
|
|
9
|
+
- Each commit focuses on a single logical change or feature
|
|
10
|
+
- Creates descriptive commit messages for each logical unit
|
|
11
|
+
- Pushes branch to remote
|
|
12
|
+
- Creates pull request with proper summary and test plan
|
|
13
|
+
|
|
14
|
+
## Guidelines for Automatic Commit Splitting
|
|
15
|
+
- Split commits by feature, component, or concern
|
|
16
|
+
- Keep related file changes together in the same commit
|
|
17
|
+
- Separate refactoring from feature additions
|
|
18
|
+
- Ensure each commit can be understood independently
|
|
19
|
+
- Multiple unrelated changes should be split into separate commits
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# How to Create a Pull Request Using GitHub CLI
|
|
2
|
+
|
|
3
|
+
This guide explains how to create pull requests using GitHub CLI in our project.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
1. Install GitHub CLI if you haven't already:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
# macOS
|
|
11
|
+
brew install gh
|
|
12
|
+
|
|
13
|
+
# Windows
|
|
14
|
+
winget install --id GitHub.cli
|
|
15
|
+
|
|
16
|
+
# Linux
|
|
17
|
+
# Follow instructions at https://github.com/cli/cli/blob/trunk/docs/install_linux.md
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. Authenticate with GitHub:
|
|
21
|
+
```bash
|
|
22
|
+
gh auth login
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Creating a New Pull Request
|
|
26
|
+
|
|
27
|
+
1. First, prepare your PR description following the template in `.github/pull_request_template.md`
|
|
28
|
+
|
|
29
|
+
2. Use the `gh pr create` command to create a new pull request:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Basic command structure
|
|
33
|
+
gh pr create --title "✨(scope): Your descriptive title" --body "Your PR description" --base main --draft
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
For more complex PR descriptions with proper formatting, use the `--body-file` option with the exact PR template structure:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Create PR with proper template structure
|
|
40
|
+
gh pr create --title "✨(scope): Your descriptive title" --body-file <(echo -e "## Issue\n\n- resolve:\n\n## Why is this change needed?\nYour description here.\n\n## What would you like reviewers to focus on?\n- Point 1\n- Point 2\n\n## Testing Verification\nHow you tested these changes.\n\n## What was done\npr_agent:summary\n\n## Detailed Changes\npr_agent:walkthrough\n\n## Additional Notes\nAny additional notes.") --base main --draft
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Best Practices
|
|
44
|
+
|
|
45
|
+
1. **PR Title Format**: Use conventional commit format with emojis
|
|
46
|
+
|
|
47
|
+
- Always include an appropriate emoji at the beginning of the title
|
|
48
|
+
- Use the actual emoji character (not the code representation like `:sparkles:`)
|
|
49
|
+
- Examples:
|
|
50
|
+
- `✨(supabase): Add staging remote configuration`
|
|
51
|
+
- `🐛(auth): Fix login redirect issue`
|
|
52
|
+
- `📝(readme): Update installation instructions`
|
|
53
|
+
|
|
54
|
+
2. **Description Template**: Always use our PR template structure from `.github/pull_request_template.md`:
|
|
55
|
+
|
|
56
|
+
- Issue reference
|
|
57
|
+
- Why the change is needed
|
|
58
|
+
- Review focus points
|
|
59
|
+
- Testing verification
|
|
60
|
+
- PR-Agent sections (keep `pr_agent:summary` and `pr_agent:walkthrough` tags intact)
|
|
61
|
+
- Additional notes
|
|
62
|
+
|
|
63
|
+
3. **Template Accuracy**: Ensure your PR description precisely follows the template structure:
|
|
64
|
+
|
|
65
|
+
- Don't modify or rename the PR-Agent sections (`pr_agent:summary` and `pr_agent:walkthrough`)
|
|
66
|
+
- Keep all section headers exactly as they appear in the template
|
|
67
|
+
- Don't add custom sections that aren't in the template
|
|
68
|
+
|
|
69
|
+
4. **Draft PRs**: Start as draft when the work is in progress
|
|
70
|
+
- Use `--draft` flag in the command
|
|
71
|
+
- Convert to ready for review when complete using `gh pr ready`
|
|
72
|
+
|
|
73
|
+
### Common Mistakes to Avoid
|
|
74
|
+
|
|
75
|
+
1. **Incorrect Section Headers**: Always use the exact section headers from the template
|
|
76
|
+
2. **Modifying PR-Agent Sections**: Don't remove or modify the `pr_agent:summary` and `pr_agent:walkthrough` placeholders
|
|
77
|
+
3. **Adding Custom Sections**: Stick to the sections defined in the template
|
|
78
|
+
4. **Using Outdated Templates**: Always refer to the current `.github/pull_request_template.md` file
|
|
79
|
+
|
|
80
|
+
### Missing Sections
|
|
81
|
+
|
|
82
|
+
Always include all template sections, even if some are marked as "N/A" or "None"
|
|
83
|
+
|
|
84
|
+
## Additional GitHub CLI PR Commands
|
|
85
|
+
|
|
86
|
+
Here are some additional useful GitHub CLI commands for managing PRs:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# List your open pull requests
|
|
90
|
+
gh pr list --author "@me"
|
|
91
|
+
|
|
92
|
+
# Check PR status
|
|
93
|
+
gh pr status
|
|
94
|
+
|
|
95
|
+
# View a specific PR
|
|
96
|
+
gh pr view <PR-NUMBER>
|
|
97
|
+
|
|
98
|
+
# Check out a PR branch locally
|
|
99
|
+
gh pr checkout <PR-NUMBER>
|
|
100
|
+
|
|
101
|
+
# Convert a draft PR to ready for review
|
|
102
|
+
gh pr ready <PR-NUMBER>
|
|
103
|
+
|
|
104
|
+
# Add reviewers to a PR
|
|
105
|
+
gh pr edit <PR-NUMBER> --add-reviewer username1,username2
|
|
106
|
+
|
|
107
|
+
# Merge a PR
|
|
108
|
+
gh pr merge <PR-NUMBER> --squash
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Using Templates for PR Creation
|
|
112
|
+
|
|
113
|
+
To simplify PR creation with consistent descriptions, you can create a template file:
|
|
114
|
+
|
|
115
|
+
1. Create a file named `pr-template.md` with your PR template
|
|
116
|
+
2. Use it when creating PRs:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
gh pr create --title "feat(scope): Your title" --body-file pr-template.md --base main --draft
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Related Documentation
|
|
123
|
+
|
|
124
|
+
- [PR Template](.github/pull_request_template.md)
|
|
125
|
+
- [Conventional Commits](https://www.conventionalcommits.org/)
|
|
126
|
+
- [GitHub CLI documentation](https://cli.github.com/manual/)
|