agentic-qe 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/analysis/code-analyzer.md +209 -0
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +180 -0
- package/.claude/agents/architecture/system-design/arch-system-design.md +156 -0
- package/.claude/agents/base-template-generator.md +42 -0
- package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
- package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
- package/.claude/agents/consensus/gossip-coordinator.md +63 -0
- package/.claude/agents/consensus/performance-benchmarker.md +851 -0
- package/.claude/agents/consensus/quorum-manager.md +823 -0
- package/.claude/agents/consensus/raft-manager.md +63 -0
- package/.claude/agents/consensus/security-manager.md +622 -0
- package/.claude/agents/core/coder.md +266 -0
- package/.claude/agents/core/planner.md +168 -0
- package/.claude/agents/core/researcher.md +190 -0
- package/.claude/agents/core/reviewer.md +326 -0
- package/.claude/agents/core/tester.md +319 -0
- package/.claude/agents/data/ml/data-ml-model.md +193 -0
- package/.claude/agents/development/backend/dev-backend-api.md +142 -0
- package/.claude/agents/devops/ci-cd/ops-cicd-github.md +164 -0
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +174 -0
- package/.claude/agents/flow-nexus/app-store.md +88 -0
- package/.claude/agents/flow-nexus/authentication.md +69 -0
- package/.claude/agents/flow-nexus/challenges.md +81 -0
- package/.claude/agents/flow-nexus/neural-network.md +88 -0
- package/.claude/agents/flow-nexus/payments.md +83 -0
- package/.claude/agents/flow-nexus/sandbox.md +76 -0
- package/.claude/agents/flow-nexus/swarm.md +76 -0
- package/.claude/agents/flow-nexus/user-tools.md +96 -0
- package/.claude/agents/flow-nexus/workflow.md +84 -0
- package/.claude/agents/github/code-review-swarm.md +538 -0
- package/.claude/agents/github/github-modes.md +173 -0
- package/.claude/agents/github/issue-tracker.md +319 -0
- package/.claude/agents/github/multi-repo-swarm.md +553 -0
- package/.claude/agents/github/pr-manager.md +191 -0
- package/.claude/agents/github/project-board-sync.md +509 -0
- package/.claude/agents/github/release-manager.md +367 -0
- package/.claude/agents/github/release-swarm.md +583 -0
- package/.claude/agents/github/repo-architect.md +398 -0
- package/.claude/agents/github/swarm-issue.md +573 -0
- package/.claude/agents/github/swarm-pr.md +428 -0
- package/.claude/agents/github/sync-coordinator.md +452 -0
- package/.claude/agents/github/workflow-automation.md +635 -0
- package/.claude/agents/goal/code-goal-planner.md +446 -0
- package/.claude/agents/goal/goal-planner.md +168 -0
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +130 -0
- package/.claude/agents/hive-mind/queen-coordinator.md +203 -0
- package/.claude/agents/hive-mind/scout-explorer.md +242 -0
- package/.claude/agents/hive-mind/swarm-memory-manager.md +193 -0
- package/.claude/agents/hive-mind/worker-specialist.md +217 -0
- package/.claude/agents/neural/safla-neural.md +74 -0
- package/.claude/agents/optimization/benchmark-suite.md +665 -0
- package/.claude/agents/optimization/load-balancer.md +431 -0
- package/.claude/agents/optimization/performance-monitor.md +672 -0
- package/.claude/agents/optimization/resource-allocator.md +674 -0
- package/.claude/agents/optimization/topology-optimizer.md +808 -0
- package/.claude/agents/qe-api-contract-validator.md +1088 -0
- package/.claude/agents/qe-chaos-engineer.md +736 -0
- package/.claude/agents/qe-coverage-analyzer.md +282 -0
- package/.claude/agents/qe-deployment-readiness.md +1109 -0
- package/.claude/agents/qe-flaky-test-hunter.md +1121 -0
- package/.claude/agents/qe-fleet-commander.md +641 -0
- package/.claude/agents/qe-performance-tester.md +354 -0
- package/.claude/agents/qe-production-intelligence.md +1162 -0
- package/.claude/agents/qe-quality-gate.md +294 -0
- package/.claude/agents/qe-regression-risk-analyzer.md +947 -0
- package/.claude/agents/qe-requirements-validator.md +691 -0
- package/.claude/agents/qe-security-scanner.md +430 -0
- package/.claude/agents/qe-test-data-architect.md +1007 -0
- package/.claude/agents/qe-test-executor.md +365 -0
- package/.claude/agents/qe-test-generator.md +332 -0
- package/.claude/agents/qe-visual-tester.md +754 -0
- package/.claude/agents/sparc/architecture.md +472 -0
- package/.claude/agents/sparc/pseudocode.md +318 -0
- package/.claude/agents/sparc/refinement.md +525 -0
- package/.claude/agents/sparc/specification.md +276 -0
- package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +226 -0
- package/.claude/agents/swarm/adaptive-coordinator.md +396 -0
- package/.claude/agents/swarm/hierarchical-coordinator.md +327 -0
- package/.claude/agents/swarm/mesh-coordinator.md +392 -0
- package/.claude/agents/templates/automation-smart-agent.md +205 -0
- package/.claude/agents/templates/coordinator-swarm-init.md +105 -0
- package/.claude/agents/templates/github-pr-manager.md +177 -0
- package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
- package/.claude/agents/templates/memory-coordinator.md +187 -0
- package/.claude/agents/templates/migration-plan.md +746 -0
- package/.claude/agents/templates/orchestrator-task.md +139 -0
- package/.claude/agents/templates/performance-analyzer.md +199 -0
- package/.claude/agents/templates/sparc-coordinator.md +183 -0
- package/.claude/agents/testing/unit/tdd-london-swarm.md +244 -0
- package/.claude/agents/testing/validation/production-validator.md +395 -0
- package/.claude/aqe-fleet.json +47 -0
- package/.claude/commands/README.md +106 -0
- package/.claude/commands/agents/README.md +10 -0
- package/.claude/commands/agents/agent-capabilities.md +21 -0
- package/.claude/commands/agents/agent-coordination.md +28 -0
- package/.claude/commands/agents/agent-spawning.md +28 -0
- package/.claude/commands/agents/agent-types.md +26 -0
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
- package/.claude/commands/analysis/README.md +9 -0
- package/.claude/commands/analysis/bottleneck-detect.md +162 -0
- package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
- package/.claude/commands/analysis/performance-report.md +25 -0
- package/.claude/commands/analysis/token-efficiency.md +45 -0
- package/.claude/commands/analysis/token-usage.md +25 -0
- package/.claude/commands/aqe-analyze.md +344 -0
- package/.claude/commands/aqe-benchmark.md +466 -0
- package/.claude/commands/aqe-chaos.md +443 -0
- package/.claude/commands/aqe-execute.md +322 -0
- package/.claude/commands/aqe-fleet-status.md +431 -0
- package/.claude/commands/aqe-generate.md +301 -0
- package/.claude/commands/aqe-optimize.md +361 -0
- package/.claude/commands/aqe-report.md +411 -0
- package/.claude/commands/automation/README.md +9 -0
- package/.claude/commands/automation/auto-agent.md +122 -0
- package/.claude/commands/automation/self-healing.md +106 -0
- package/.claude/commands/automation/session-memory.md +90 -0
- package/.claude/commands/automation/smart-agents.md +73 -0
- package/.claude/commands/automation/smart-spawn.md +25 -0
- package/.claude/commands/automation/workflow-select.md +25 -0
- package/.claude/commands/coordination/README.md +9 -0
- package/.claude/commands/coordination/agent-spawn.md +25 -0
- package/.claude/commands/coordination/init.md +44 -0
- package/.claude/commands/coordination/orchestrate.md +43 -0
- package/.claude/commands/coordination/spawn.md +45 -0
- package/.claude/commands/coordination/swarm-init.md +85 -0
- package/.claude/commands/coordination/task-orchestrate.md +25 -0
- package/.claude/commands/flow-nexus/app-store.md +124 -0
- package/.claude/commands/flow-nexus/challenges.md +120 -0
- package/.claude/commands/flow-nexus/login-registration.md +65 -0
- package/.claude/commands/flow-nexus/neural-network.md +134 -0
- package/.claude/commands/flow-nexus/payments.md +116 -0
- package/.claude/commands/flow-nexus/sandbox.md +83 -0
- package/.claude/commands/flow-nexus/swarm.md +87 -0
- package/.claude/commands/flow-nexus/user-tools.md +152 -0
- package/.claude/commands/flow-nexus/workflow.md +115 -0
- package/.claude/commands/github/README.md +11 -0
- package/.claude/commands/github/code-review-swarm.md +514 -0
- package/.claude/commands/github/code-review.md +25 -0
- package/.claude/commands/github/github-modes.md +147 -0
- package/.claude/commands/github/github-swarm.md +121 -0
- package/.claude/commands/github/issue-tracker.md +292 -0
- package/.claude/commands/github/issue-triage.md +25 -0
- package/.claude/commands/github/multi-repo-swarm.md +519 -0
- package/.claude/commands/github/pr-enhance.md +26 -0
- package/.claude/commands/github/pr-manager.md +170 -0
- package/.claude/commands/github/project-board-sync.md +471 -0
- package/.claude/commands/github/release-manager.md +338 -0
- package/.claude/commands/github/release-swarm.md +544 -0
- package/.claude/commands/github/repo-analyze.md +25 -0
- package/.claude/commands/github/repo-architect.md +367 -0
- package/.claude/commands/github/swarm-issue.md +482 -0
- package/.claude/commands/github/swarm-pr.md +285 -0
- package/.claude/commands/github/sync-coordinator.md +301 -0
- package/.claude/commands/github/workflow-automation.md +442 -0
- package/.claude/commands/hive-mind/README.md +17 -0
- package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
- package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
- package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
- package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
- package/.claude/commands/hive-mind/hive-mind.md +27 -0
- package/.claude/commands/hooks/README.md +11 -0
- package/.claude/commands/hooks/overview.md +132 -0
- package/.claude/commands/hooks/post-edit.md +117 -0
- package/.claude/commands/hooks/post-task.md +112 -0
- package/.claude/commands/hooks/pre-edit.md +113 -0
- package/.claude/commands/hooks/pre-task.md +111 -0
- package/.claude/commands/hooks/session-end.md +118 -0
- package/.claude/commands/hooks/setup.md +103 -0
- package/.claude/commands/memory/README.md +9 -0
- package/.claude/commands/memory/memory-persist.md +25 -0
- package/.claude/commands/memory/memory-search.md +25 -0
- package/.claude/commands/memory/memory-usage.md +25 -0
- package/.claude/commands/memory/neural.md +47 -0
- package/.claude/commands/memory/usage.md +46 -0
- package/.claude/commands/monitoring/README.md +9 -0
- package/.claude/commands/monitoring/agent-metrics.md +25 -0
- package/.claude/commands/monitoring/agents.md +44 -0
- package/.claude/commands/monitoring/real-time-view.md +25 -0
- package/.claude/commands/monitoring/status.md +46 -0
- package/.claude/commands/monitoring/swarm-monitor.md +25 -0
- package/.claude/commands/optimization/README.md +9 -0
- package/.claude/commands/optimization/auto-topology.md +62 -0
- package/.claude/commands/optimization/cache-manage.md +25 -0
- package/.claude/commands/optimization/parallel-execute.md +25 -0
- package/.claude/commands/optimization/parallel-execution.md +50 -0
- package/.claude/commands/optimization/topology-optimize.md +25 -0
- package/.claude/commands/pair/commands.md +546 -0
- package/.claude/commands/pair/config.md +510 -0
- package/.claude/commands/pair/examples.md +512 -0
- package/.claude/commands/pair/modes.md +348 -0
- package/.claude/commands/pair/session.md +407 -0
- package/.claude/commands/pair/start.md +209 -0
- package/.claude/commands/sparc/analyzer.md +52 -0
- package/.claude/commands/sparc/architect.md +53 -0
- package/.claude/commands/sparc/batch-executor.md +54 -0
- package/.claude/commands/sparc/coder.md +54 -0
- package/.claude/commands/sparc/debugger.md +54 -0
- package/.claude/commands/sparc/designer.md +53 -0
- package/.claude/commands/sparc/documenter.md +54 -0
- package/.claude/commands/sparc/innovator.md +54 -0
- package/.claude/commands/sparc/memory-manager.md +54 -0
- package/.claude/commands/sparc/optimizer.md +54 -0
- package/.claude/commands/sparc/orchestrator.md +132 -0
- package/.claude/commands/sparc/researcher.md +54 -0
- package/.claude/commands/sparc/reviewer.md +54 -0
- package/.claude/commands/sparc/sparc-modes.md +174 -0
- package/.claude/commands/sparc/swarm-coordinator.md +54 -0
- package/.claude/commands/sparc/tdd.md +54 -0
- package/.claude/commands/sparc/tester.md +54 -0
- package/.claude/commands/sparc/workflow-manager.md +54 -0
- package/.claude/commands/stream-chain/pipeline.md +121 -0
- package/.claude/commands/stream-chain/run.md +70 -0
- package/.claude/commands/swarm/README.md +15 -0
- package/.claude/commands/swarm/analysis.md +95 -0
- package/.claude/commands/swarm/development.md +96 -0
- package/.claude/commands/swarm/examples.md +168 -0
- package/.claude/commands/swarm/maintenance.md +102 -0
- package/.claude/commands/swarm/optimization.md +117 -0
- package/.claude/commands/swarm/research.md +136 -0
- package/.claude/commands/swarm/swarm-analysis.md +8 -0
- package/.claude/commands/swarm/swarm-background.md +8 -0
- package/.claude/commands/swarm/swarm-init.md +19 -0
- package/.claude/commands/swarm/swarm-modes.md +8 -0
- package/.claude/commands/swarm/swarm-monitor.md +8 -0
- package/.claude/commands/swarm/swarm-spawn.md +19 -0
- package/.claude/commands/swarm/swarm-status.md +8 -0
- package/.claude/commands/swarm/swarm-strategies.md +8 -0
- package/.claude/commands/swarm/swarm.md +27 -0
- package/.claude/commands/swarm/testing.md +131 -0
- package/.claude/commands/training/README.md +9 -0
- package/.claude/commands/training/model-update.md +25 -0
- package/.claude/commands/training/neural-patterns.md +74 -0
- package/.claude/commands/training/neural-train.md +25 -0
- package/.claude/commands/training/pattern-learn.md +25 -0
- package/.claude/commands/training/specialization.md +63 -0
- package/.claude/commands/truth/start.md +143 -0
- package/.claude/commands/verify/check.md +50 -0
- package/.claude/commands/verify/start.md +128 -0
- package/.claude/commands/workflows/README.md +9 -0
- package/.claude/commands/workflows/development.md +78 -0
- package/.claude/commands/workflows/research.md +63 -0
- package/.claude/commands/workflows/workflow-create.md +25 -0
- package/.claude/commands/workflows/workflow-execute.md +25 -0
- package/.claude/commands/workflows/workflow-export.md +25 -0
- package/.claude/helpers/checkpoint-manager.sh +251 -0
- package/.claude/helpers/github-safe.js +106 -0
- package/.claude/helpers/github-setup.sh +28 -0
- package/.claude/helpers/quick-start.sh +19 -0
- package/.claude/helpers/setup-mcp.sh +18 -0
- package/.claude/helpers/standard-checkpoint-hooks.sh +179 -0
- package/.claude/settings.json +114 -0
- package/.claude/settings.local.json +10 -0
- package/CONTRIBUTING.md +897 -0
- package/LICENSE +21 -0
- package/README.md +632 -0
- package/bin/aqe +959 -0
- package/config/fleet.yaml +50 -0
- package/dist/agents/ApiContractValidatorAgent.d.ts +222 -0
- package/dist/agents/ApiContractValidatorAgent.d.ts.map +1 -0
- package/dist/agents/ApiContractValidatorAgent.js +787 -0
- package/dist/agents/ApiContractValidatorAgent.js.map +1 -0
- package/dist/agents/BaseAgent.d.ts +147 -0
- package/dist/agents/BaseAgent.d.ts.map +1 -0
- package/dist/agents/BaseAgent.js +374 -0
- package/dist/agents/BaseAgent.js.map +1 -0
- package/dist/agents/CoverageAnalyzerAgent.d.ts +103 -0
- package/dist/agents/CoverageAnalyzerAgent.d.ts.map +1 -0
- package/dist/agents/CoverageAnalyzerAgent.js +466 -0
- package/dist/agents/CoverageAnalyzerAgent.js.map +1 -0
- package/dist/agents/DeploymentReadinessAgent.d.ts +244 -0
- package/dist/agents/DeploymentReadinessAgent.d.ts.map +1 -0
- package/dist/agents/DeploymentReadinessAgent.js +974 -0
- package/dist/agents/DeploymentReadinessAgent.js.map +1 -0
- package/dist/agents/FlakyTestHunterAgent.d.ts +172 -0
- package/dist/agents/FlakyTestHunterAgent.d.ts.map +1 -0
- package/dist/agents/FlakyTestHunterAgent.js +867 -0
- package/dist/agents/FlakyTestHunterAgent.js.map +1 -0
- package/dist/agents/FleetCommanderAgent.d.ts +154 -0
- package/dist/agents/FleetCommanderAgent.d.ts.map +1 -0
- package/dist/agents/FleetCommanderAgent.js +924 -0
- package/dist/agents/FleetCommanderAgent.js.map +1 -0
- package/dist/agents/PerformanceTesterAgent.d.ts +194 -0
- package/dist/agents/PerformanceTesterAgent.d.ts.map +1 -0
- package/dist/agents/PerformanceTesterAgent.js +972 -0
- package/dist/agents/PerformanceTesterAgent.js.map +1 -0
- package/dist/agents/ProductionIntelligenceAgent.d.ts +224 -0
- package/dist/agents/ProductionIntelligenceAgent.d.ts.map +1 -0
- package/dist/agents/ProductionIntelligenceAgent.js +856 -0
- package/dist/agents/ProductionIntelligenceAgent.js.map +1 -0
- package/dist/agents/QualityAnalyzerAgent.d.ts +67 -0
- package/dist/agents/QualityAnalyzerAgent.d.ts.map +1 -0
- package/dist/agents/QualityAnalyzerAgent.js +453 -0
- package/dist/agents/QualityAnalyzerAgent.js.map +1 -0
- package/dist/agents/QualityGateAgent.d.ts +104 -0
- package/dist/agents/QualityGateAgent.d.ts.map +1 -0
- package/dist/agents/QualityGateAgent.js +522 -0
- package/dist/agents/QualityGateAgent.js.map +1 -0
- package/dist/agents/RegressionRiskAnalyzerAgent.d.ts +274 -0
- package/dist/agents/RegressionRiskAnalyzerAgent.d.ts.map +1 -0
- package/dist/agents/RegressionRiskAnalyzerAgent.js +1076 -0
- package/dist/agents/RegressionRiskAnalyzerAgent.js.map +1 -0
- package/dist/agents/RequirementsValidatorAgent.d.ts +195 -0
- package/dist/agents/RequirementsValidatorAgent.d.ts.map +1 -0
- package/dist/agents/RequirementsValidatorAgent.js +992 -0
- package/dist/agents/RequirementsValidatorAgent.js.map +1 -0
- package/dist/agents/SecurityScannerAgent.d.ts +126 -0
- package/dist/agents/SecurityScannerAgent.d.ts.map +1 -0
- package/dist/agents/SecurityScannerAgent.js +695 -0
- package/dist/agents/SecurityScannerAgent.js.map +1 -0
- package/dist/agents/TestDataArchitectAgent.d.ts +452 -0
- package/dist/agents/TestDataArchitectAgent.d.ts.map +1 -0
- package/dist/agents/TestDataArchitectAgent.js +1346 -0
- package/dist/agents/TestDataArchitectAgent.js.map +1 -0
- package/dist/agents/TestExecutorAgent.d.ts +101 -0
- package/dist/agents/TestExecutorAgent.d.ts.map +1 -0
- package/dist/agents/TestExecutorAgent.js +730 -0
- package/dist/agents/TestExecutorAgent.js.map +1 -0
- package/dist/agents/TestGeneratorAgent.d.ts +109 -0
- package/dist/agents/TestGeneratorAgent.d.ts.map +1 -0
- package/dist/agents/TestGeneratorAgent.js +450 -0
- package/dist/agents/TestGeneratorAgent.js.map +1 -0
- package/dist/agents/index.d.ts +51 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +738 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/cli/commands/analyze.d.ts +32 -0
- package/dist/cli/commands/analyze.d.ts.map +1 -0
- package/dist/cli/commands/analyze.js +764 -0
- package/dist/cli/commands/analyze.js.map +1 -0
- package/dist/cli/commands/fleet.d.ts +36 -0
- package/dist/cli/commands/fleet.d.ts.map +1 -0
- package/dist/cli/commands/fleet.js +745 -0
- package/dist/cli/commands/fleet.js.map +1 -0
- package/dist/cli/commands/generate.d.ts +24 -0
- package/dist/cli/commands/generate.d.ts.map +1 -0
- package/dist/cli/commands/generate.js +424 -0
- package/dist/cli/commands/generate.js.map +1 -0
- package/dist/cli/commands/init.d.ts +17 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +570 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/run.d.ts +25 -0
- package/dist/cli/commands/run.d.ts.map +1 -0
- package/dist/cli/commands/run.js +558 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/index-spec.d.ts +3 -0
- package/dist/cli/index-spec.d.ts.map +1 -0
- package/dist/cli/index-spec.js +154 -0
- package/dist/cli/index-spec.js.map +1 -0
- package/dist/cli/index-working.d.ts +7 -0
- package/dist/cli/index-working.d.ts.map +1 -0
- package/dist/cli/index-working.js +470 -0
- package/dist/cli/index-working.js.map +1 -0
- package/dist/cli/index.d.ts +9 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +174 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/core/Agent.d.ts +189 -0
- package/dist/core/Agent.d.ts.map +1 -0
- package/dist/core/Agent.js +288 -0
- package/dist/core/Agent.js.map +1 -0
- package/dist/core/EventBus.d.ts +40 -0
- package/dist/core/EventBus.d.ts.map +1 -0
- package/dist/core/EventBus.js +114 -0
- package/dist/core/EventBus.js.map +1 -0
- package/dist/core/FleetManager.d.ts +219 -0
- package/dist/core/FleetManager.d.ts.map +1 -0
- package/dist/core/FleetManager.js +354 -0
- package/dist/core/FleetManager.js.map +1 -0
- package/dist/core/MemoryManager.d.ts +119 -0
- package/dist/core/MemoryManager.d.ts.map +1 -0
- package/dist/core/MemoryManager.js +460 -0
- package/dist/core/MemoryManager.js.map +1 -0
- package/dist/core/Task.d.ts +264 -0
- package/dist/core/Task.d.ts.map +1 -0
- package/dist/core/Task.js +397 -0
- package/dist/core/Task.js.map +1 -0
- package/dist/core/coverage-analyzer.d.ts +50 -0
- package/dist/core/coverage-analyzer.d.ts.map +1 -0
- package/dist/core/coverage-analyzer.js +146 -0
- package/dist/core/coverage-analyzer.js.map +1 -0
- package/dist/core/index.d.ts +14 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +20 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/quality-gate.d.ts +81 -0
- package/dist/core/quality-gate.d.ts.map +1 -0
- package/dist/core/quality-gate.js +254 -0
- package/dist/core/quality-gate.js.map +1 -0
- package/dist/coverage/coverage-collector.d.ts +62 -0
- package/dist/coverage/coverage-collector.d.ts.map +1 -0
- package/dist/coverage/coverage-collector.js +61 -0
- package/dist/coverage/coverage-collector.js.map +1 -0
- package/dist/coverage/coverage-reporter.d.ts +42 -0
- package/dist/coverage/coverage-reporter.d.ts.map +1 -0
- package/dist/coverage/coverage-reporter.js +53 -0
- package/dist/coverage/coverage-reporter.js.map +1 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +142 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/handlers/agent-spawn.d.ts +72 -0
- package/dist/mcp/handlers/agent-spawn.d.ts.map +1 -0
- package/dist/mcp/handlers/agent-spawn.js +255 -0
- package/dist/mcp/handlers/agent-spawn.js.map +1 -0
- package/dist/mcp/handlers/base-handler.d.ts +53 -0
- package/dist/mcp/handlers/base-handler.d.ts.map +1 -0
- package/dist/mcp/handlers/base-handler.js +77 -0
- package/dist/mcp/handlers/base-handler.js.map +1 -0
- package/dist/mcp/handlers/fleet-init.d.ts +55 -0
- package/dist/mcp/handlers/fleet-init.d.ts.map +1 -0
- package/dist/mcp/handlers/fleet-init.js +149 -0
- package/dist/mcp/handlers/fleet-init.js.map +1 -0
- package/dist/mcp/handlers/fleet-status.d.ts +103 -0
- package/dist/mcp/handlers/fleet-status.d.ts.map +1 -0
- package/dist/mcp/handlers/fleet-status.js +244 -0
- package/dist/mcp/handlers/fleet-status.js.map +1 -0
- package/dist/mcp/handlers/optimize-tests.d.ts +219 -0
- package/dist/mcp/handlers/optimize-tests.d.ts.map +1 -0
- package/dist/mcp/handlers/optimize-tests.js +532 -0
- package/dist/mcp/handlers/optimize-tests.js.map +1 -0
- package/dist/mcp/handlers/predict-defects.d.ts +194 -0
- package/dist/mcp/handlers/predict-defects.d.ts.map +1 -0
- package/dist/mcp/handlers/predict-defects.js +721 -0
- package/dist/mcp/handlers/predict-defects.js.map +1 -0
- package/dist/mcp/handlers/quality-analyze.d.ts +273 -0
- package/dist/mcp/handlers/quality-analyze.d.ts.map +1 -0
- package/dist/mcp/handlers/quality-analyze.js +702 -0
- package/dist/mcp/handlers/quality-analyze.js.map +1 -0
- package/dist/mcp/handlers/task-orchestrate.d.ts +152 -0
- package/dist/mcp/handlers/task-orchestrate.d.ts.map +1 -0
- package/dist/mcp/handlers/task-orchestrate.js +629 -0
- package/dist/mcp/handlers/task-orchestrate.js.map +1 -0
- package/dist/mcp/handlers/test-execute.d.ts +132 -0
- package/dist/mcp/handlers/test-execute.d.ts.map +1 -0
- package/dist/mcp/handlers/test-execute.js +436 -0
- package/dist/mcp/handlers/test-execute.js.map +1 -0
- package/dist/mcp/handlers/test-generate.d.ts +107 -0
- package/dist/mcp/handlers/test-generate.d.ts.map +1 -0
- package/dist/mcp/handlers/test-generate.js +437 -0
- package/dist/mcp/handlers/test-generate.js.map +1 -0
- package/dist/mcp/server.d.ts +99 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +214 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/services/AgentRegistry.d.ts +191 -0
- package/dist/mcp/services/AgentRegistry.d.ts.map +1 -0
- package/dist/mcp/services/AgentRegistry.js +403 -0
- package/dist/mcp/services/AgentRegistry.js.map +1 -0
- package/dist/mcp/services/HookExecutor.d.ts +165 -0
- package/dist/mcp/services/HookExecutor.d.ts.map +1 -0
- package/dist/mcp/services/HookExecutor.js +327 -0
- package/dist/mcp/services/HookExecutor.js.map +1 -0
- package/dist/mcp/start.d.ts +7 -0
- package/dist/mcp/start.d.ts.map +1 -0
- package/dist/mcp/start.js +35 -0
- package/dist/mcp/start.js.map +1 -0
- package/dist/mcp/tools.d.ts +81 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +471 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/optimization/sublinear-solver.d.ts +72 -0
- package/dist/optimization/sublinear-solver.d.ts.map +1 -0
- package/dist/optimization/sublinear-solver.js +263 -0
- package/dist/optimization/sublinear-solver.js.map +1 -0
- package/dist/scripts/verifyComplexity.d.ts +8 -0
- package/dist/scripts/verifyComplexity.d.ts.map +1 -0
- package/dist/scripts/verifyComplexity.js +56 -0
- package/dist/scripts/verifyComplexity.js.map +1 -0
- package/dist/types/api-contract.types.d.ts +273 -0
- package/dist/types/api-contract.types.d.ts.map +1 -0
- package/dist/types/api-contract.types.js +18 -0
- package/dist/types/api-contract.types.js.map +1 -0
- package/dist/types/errors.d.ts +104 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/errors.js +226 -0
- package/dist/types/errors.js.map +1 -0
- package/dist/types/events.d.ts +101 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/events.js +6 -0
- package/dist/types/events.js.map +1 -0
- package/dist/types/index.d.ts +570 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +131 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/Config.d.ts +128 -0
- package/dist/utils/Config.d.ts.map +1 -0
- package/dist/utils/Config.js +232 -0
- package/dist/utils/Config.js.map +1 -0
- package/dist/utils/Database.d.ts +112 -0
- package/dist/utils/Database.d.ts.map +1 -0
- package/dist/utils/Database.js +352 -0
- package/dist/utils/Database.js.map +1 -0
- package/dist/utils/Logger.d.ts +58 -0
- package/dist/utils/Logger.d.ts.map +1 -0
- package/dist/utils/Logger.js +125 -0
- package/dist/utils/Logger.js.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +14 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/sublinear/coverageOptimizer.d.ts +84 -0
- package/dist/utils/sublinear/coverageOptimizer.d.ts.map +1 -0
- package/dist/utils/sublinear/coverageOptimizer.js +415 -0
- package/dist/utils/sublinear/coverageOptimizer.js.map +1 -0
- package/dist/utils/sublinear/index.d.ts +50 -0
- package/dist/utils/sublinear/index.d.ts.map +1 -0
- package/dist/utils/sublinear/index.js +390 -0
- package/dist/utils/sublinear/index.js.map +1 -0
- package/dist/utils/sublinear/matrixSolver.d.ts +132 -0
- package/dist/utils/sublinear/matrixSolver.d.ts.map +1 -0
- package/dist/utils/sublinear/matrixSolver.js +642 -0
- package/dist/utils/sublinear/matrixSolver.js.map +1 -0
- package/dist/utils/sublinear/temporalPredictor.d.ts +195 -0
- package/dist/utils/sublinear/temporalPredictor.d.ts.map +1 -0
- package/dist/utils/sublinear/temporalPredictor.js +474 -0
- package/dist/utils/sublinear/temporalPredictor.js.map +1 -0
- package/dist/utils/sublinear/testSelector.d.ts +81 -0
- package/dist/utils/sublinear/testSelector.d.ts.map +1 -0
- package/dist/utils/sublinear/testSelector.js +303 -0
- package/dist/utils/sublinear/testSelector.js.map +1 -0
- package/package.json +131 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "ml-developer"
|
|
3
|
+
color: "purple"
|
|
4
|
+
type: "data"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
created: "2025-07-25"
|
|
7
|
+
author: "Claude Code"
|
|
8
|
+
metadata:
|
|
9
|
+
description: "Specialized agent for machine learning model development, training, and deployment"
|
|
10
|
+
specialization: "ML model creation, data preprocessing, model evaluation, deployment"
|
|
11
|
+
complexity: "complex"
|
|
12
|
+
autonomous: false # Requires approval for model deployment
|
|
13
|
+
triggers:
|
|
14
|
+
keywords:
|
|
15
|
+
- "machine learning"
|
|
16
|
+
- "ml model"
|
|
17
|
+
- "train model"
|
|
18
|
+
- "predict"
|
|
19
|
+
- "classification"
|
|
20
|
+
- "regression"
|
|
21
|
+
- "neural network"
|
|
22
|
+
file_patterns:
|
|
23
|
+
- "**/*.ipynb"
|
|
24
|
+
- "**/model.py"
|
|
25
|
+
- "**/train.py"
|
|
26
|
+
- "**/*.pkl"
|
|
27
|
+
- "**/*.h5"
|
|
28
|
+
task_patterns:
|
|
29
|
+
- "create * model"
|
|
30
|
+
- "train * classifier"
|
|
31
|
+
- "build ml pipeline"
|
|
32
|
+
domains:
|
|
33
|
+
- "data"
|
|
34
|
+
- "ml"
|
|
35
|
+
- "ai"
|
|
36
|
+
capabilities:
|
|
37
|
+
allowed_tools:
|
|
38
|
+
- Read
|
|
39
|
+
- Write
|
|
40
|
+
- Edit
|
|
41
|
+
- MultiEdit
|
|
42
|
+
- Bash
|
|
43
|
+
- NotebookRead
|
|
44
|
+
- NotebookEdit
|
|
45
|
+
restricted_tools:
|
|
46
|
+
- Task # Focus on implementation
|
|
47
|
+
- WebSearch # Use local data
|
|
48
|
+
max_file_operations: 100
|
|
49
|
+
max_execution_time: 1800 # 30 minutes for training
|
|
50
|
+
memory_access: "both"
|
|
51
|
+
constraints:
|
|
52
|
+
allowed_paths:
|
|
53
|
+
- "data/**"
|
|
54
|
+
- "models/**"
|
|
55
|
+
- "notebooks/**"
|
|
56
|
+
- "src/ml/**"
|
|
57
|
+
- "experiments/**"
|
|
58
|
+
- "*.ipynb"
|
|
59
|
+
forbidden_paths:
|
|
60
|
+
- ".git/**"
|
|
61
|
+
- "secrets/**"
|
|
62
|
+
- "credentials/**"
|
|
63
|
+
max_file_size: 104857600 # 100MB for datasets
|
|
64
|
+
allowed_file_types:
|
|
65
|
+
- ".py"
|
|
66
|
+
- ".ipynb"
|
|
67
|
+
- ".csv"
|
|
68
|
+
- ".json"
|
|
69
|
+
- ".pkl"
|
|
70
|
+
- ".h5"
|
|
71
|
+
- ".joblib"
|
|
72
|
+
behavior:
|
|
73
|
+
error_handling: "adaptive"
|
|
74
|
+
confirmation_required:
|
|
75
|
+
- "model deployment"
|
|
76
|
+
- "large-scale training"
|
|
77
|
+
- "data deletion"
|
|
78
|
+
auto_rollback: true
|
|
79
|
+
logging_level: "verbose"
|
|
80
|
+
communication:
|
|
81
|
+
style: "technical"
|
|
82
|
+
update_frequency: "batch"
|
|
83
|
+
include_code_snippets: true
|
|
84
|
+
emoji_usage: "minimal"
|
|
85
|
+
integration:
|
|
86
|
+
can_spawn: []
|
|
87
|
+
can_delegate_to:
|
|
88
|
+
- "data-etl"
|
|
89
|
+
- "analyze-performance"
|
|
90
|
+
requires_approval_from:
|
|
91
|
+
- "human" # For production models
|
|
92
|
+
shares_context_with:
|
|
93
|
+
- "data-analytics"
|
|
94
|
+
- "data-visualization"
|
|
95
|
+
optimization:
|
|
96
|
+
parallel_operations: true
|
|
97
|
+
batch_size: 32 # For batch processing
|
|
98
|
+
cache_results: true
|
|
99
|
+
memory_limit: "2GB"
|
|
100
|
+
hooks:
|
|
101
|
+
pre_execution: |
|
|
102
|
+
echo "🤖 ML Model Developer initializing..."
|
|
103
|
+
echo "📁 Checking for datasets..."
|
|
104
|
+
find . -name "*.csv" -o -name "*.parquet" | grep -E "(data|dataset)" | head -5
|
|
105
|
+
echo "📦 Checking ML libraries..."
|
|
106
|
+
python -c "import sklearn, pandas, numpy; print('Core ML libraries available')" 2>/dev/null || echo "ML libraries not installed"
|
|
107
|
+
post_execution: |
|
|
108
|
+
echo "✅ ML model development completed"
|
|
109
|
+
echo "📊 Model artifacts:"
|
|
110
|
+
find . -name "*.pkl" -o -name "*.h5" -o -name "*.joblib" | grep -v __pycache__ | head -5
|
|
111
|
+
echo "📋 Remember to version and document your model"
|
|
112
|
+
on_error: |
|
|
113
|
+
echo "❌ ML pipeline error: {{error_message}}"
|
|
114
|
+
echo "🔍 Check data quality and feature compatibility"
|
|
115
|
+
echo "💡 Consider simpler models or more data preprocessing"
|
|
116
|
+
examples:
|
|
117
|
+
- trigger: "create a classification model for customer churn prediction"
|
|
118
|
+
response: "I'll develop a machine learning pipeline for customer churn prediction, including data preprocessing, model selection, training, and evaluation..."
|
|
119
|
+
- trigger: "build neural network for image classification"
|
|
120
|
+
response: "I'll create a neural network architecture for image classification, including data augmentation, model training, and performance evaluation..."
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
# Machine Learning Model Developer
|
|
124
|
+
|
|
125
|
+
You are a Machine Learning Model Developer specializing in end-to-end ML workflows.
|
|
126
|
+
|
|
127
|
+
## Key responsibilities:
|
|
128
|
+
1. Data preprocessing and feature engineering
|
|
129
|
+
2. Model selection and architecture design
|
|
130
|
+
3. Training and hyperparameter tuning
|
|
131
|
+
4. Model evaluation and validation
|
|
132
|
+
5. Deployment preparation and monitoring
|
|
133
|
+
|
|
134
|
+
## ML workflow:
|
|
135
|
+
1. **Data Analysis**
|
|
136
|
+
- Exploratory data analysis
|
|
137
|
+
- Feature statistics
|
|
138
|
+
- Data quality checks
|
|
139
|
+
|
|
140
|
+
2. **Preprocessing**
|
|
141
|
+
- Handle missing values
|
|
142
|
+
- Feature scaling/normalization
|
|
143
|
+
- Encoding categorical variables
|
|
144
|
+
- Feature selection
|
|
145
|
+
|
|
146
|
+
3. **Model Development**
|
|
147
|
+
- Algorithm selection
|
|
148
|
+
- Cross-validation setup
|
|
149
|
+
- Hyperparameter tuning
|
|
150
|
+
- Ensemble methods
|
|
151
|
+
|
|
152
|
+
4. **Evaluation**
|
|
153
|
+
- Performance metrics
|
|
154
|
+
- Confusion matrices
|
|
155
|
+
- ROC/AUC curves
|
|
156
|
+
- Feature importance
|
|
157
|
+
|
|
158
|
+
5. **Deployment Prep**
|
|
159
|
+
- Model serialization
|
|
160
|
+
- API endpoint creation
|
|
161
|
+
- Monitoring setup
|
|
162
|
+
|
|
163
|
+
## Code patterns:
|
|
164
|
+
```python
|
|
165
|
+
# Standard ML pipeline structure
|
|
166
|
+
from sklearn.pipeline import Pipeline
|
|
167
|
+
from sklearn.preprocessing import StandardScaler
|
|
168
|
+
from sklearn.model_selection import train_test_split
|
|
169
|
+
|
|
170
|
+
# Data preprocessing
|
|
171
|
+
X_train, X_test, y_train, y_test = train_test_split(
|
|
172
|
+
X, y, test_size=0.2, random_state=42
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
# Pipeline creation
|
|
176
|
+
pipeline = Pipeline([
|
|
177
|
+
('scaler', StandardScaler()),
|
|
178
|
+
('model', ModelClass())
|
|
179
|
+
])
|
|
180
|
+
|
|
181
|
+
# Training
|
|
182
|
+
pipeline.fit(X_train, y_train)
|
|
183
|
+
|
|
184
|
+
# Evaluation
|
|
185
|
+
score = pipeline.score(X_test, y_test)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
## Best practices:
|
|
189
|
+
- Always split data before preprocessing
|
|
190
|
+
- Use cross-validation for robust evaluation
|
|
191
|
+
- Log all experiments and parameters
|
|
192
|
+
- Version control models and data
|
|
193
|
+
- Document model assumptions and limitations
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "backend-dev"
|
|
3
|
+
color: "blue"
|
|
4
|
+
type: "development"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
created: "2025-07-25"
|
|
7
|
+
author: "Claude Code"
|
|
8
|
+
metadata:
|
|
9
|
+
description: "Specialized agent for backend API development, including REST and GraphQL endpoints"
|
|
10
|
+
specialization: "API design, implementation, and optimization"
|
|
11
|
+
complexity: "moderate"
|
|
12
|
+
autonomous: true
|
|
13
|
+
triggers:
|
|
14
|
+
keywords:
|
|
15
|
+
- "api"
|
|
16
|
+
- "endpoint"
|
|
17
|
+
- "rest"
|
|
18
|
+
- "graphql"
|
|
19
|
+
- "backend"
|
|
20
|
+
- "server"
|
|
21
|
+
file_patterns:
|
|
22
|
+
- "**/api/**/*.js"
|
|
23
|
+
- "**/routes/**/*.js"
|
|
24
|
+
- "**/controllers/**/*.js"
|
|
25
|
+
- "*.resolver.js"
|
|
26
|
+
task_patterns:
|
|
27
|
+
- "create * endpoint"
|
|
28
|
+
- "implement * api"
|
|
29
|
+
- "add * route"
|
|
30
|
+
domains:
|
|
31
|
+
- "backend"
|
|
32
|
+
- "api"
|
|
33
|
+
capabilities:
|
|
34
|
+
allowed_tools:
|
|
35
|
+
- Read
|
|
36
|
+
- Write
|
|
37
|
+
- Edit
|
|
38
|
+
- MultiEdit
|
|
39
|
+
- Bash
|
|
40
|
+
- Grep
|
|
41
|
+
- Glob
|
|
42
|
+
- Task
|
|
43
|
+
restricted_tools:
|
|
44
|
+
- WebSearch # Focus on code, not web searches
|
|
45
|
+
max_file_operations: 100
|
|
46
|
+
max_execution_time: 600
|
|
47
|
+
memory_access: "both"
|
|
48
|
+
constraints:
|
|
49
|
+
allowed_paths:
|
|
50
|
+
- "src/**"
|
|
51
|
+
- "api/**"
|
|
52
|
+
- "routes/**"
|
|
53
|
+
- "controllers/**"
|
|
54
|
+
- "models/**"
|
|
55
|
+
- "middleware/**"
|
|
56
|
+
- "tests/**"
|
|
57
|
+
forbidden_paths:
|
|
58
|
+
- "node_modules/**"
|
|
59
|
+
- ".git/**"
|
|
60
|
+
- "dist/**"
|
|
61
|
+
- "build/**"
|
|
62
|
+
max_file_size: 2097152 # 2MB
|
|
63
|
+
allowed_file_types:
|
|
64
|
+
- ".js"
|
|
65
|
+
- ".ts"
|
|
66
|
+
- ".json"
|
|
67
|
+
- ".yaml"
|
|
68
|
+
- ".yml"
|
|
69
|
+
behavior:
|
|
70
|
+
error_handling: "strict"
|
|
71
|
+
confirmation_required:
|
|
72
|
+
- "database migrations"
|
|
73
|
+
- "breaking API changes"
|
|
74
|
+
- "authentication changes"
|
|
75
|
+
auto_rollback: true
|
|
76
|
+
logging_level: "debug"
|
|
77
|
+
communication:
|
|
78
|
+
style: "technical"
|
|
79
|
+
update_frequency: "batch"
|
|
80
|
+
include_code_snippets: true
|
|
81
|
+
emoji_usage: "none"
|
|
82
|
+
integration:
|
|
83
|
+
can_spawn:
|
|
84
|
+
- "test-unit"
|
|
85
|
+
- "test-integration"
|
|
86
|
+
- "docs-api"
|
|
87
|
+
can_delegate_to:
|
|
88
|
+
- "arch-database"
|
|
89
|
+
- "analyze-security"
|
|
90
|
+
requires_approval_from:
|
|
91
|
+
- "architecture"
|
|
92
|
+
shares_context_with:
|
|
93
|
+
- "dev-backend-db"
|
|
94
|
+
- "test-integration"
|
|
95
|
+
optimization:
|
|
96
|
+
parallel_operations: true
|
|
97
|
+
batch_size: 20
|
|
98
|
+
cache_results: true
|
|
99
|
+
memory_limit: "512MB"
|
|
100
|
+
hooks:
|
|
101
|
+
pre_execution: |
|
|
102
|
+
echo "🔧 Backend API Developer agent starting..."
|
|
103
|
+
echo "📋 Analyzing existing API structure..."
|
|
104
|
+
find . -name "*.route.js" -o -name "*.controller.js" | head -20
|
|
105
|
+
post_execution: |
|
|
106
|
+
echo "✅ API development completed"
|
|
107
|
+
echo "📊 Running API tests..."
|
|
108
|
+
npm run test:api 2>/dev/null || echo "No API tests configured"
|
|
109
|
+
on_error: |
|
|
110
|
+
echo "❌ Error in API development: {{error_message}}"
|
|
111
|
+
echo "🔄 Rolling back changes if needed..."
|
|
112
|
+
examples:
|
|
113
|
+
- trigger: "create user authentication endpoints"
|
|
114
|
+
response: "I'll create comprehensive user authentication endpoints including login, logout, register, and token refresh..."
|
|
115
|
+
- trigger: "implement CRUD API for products"
|
|
116
|
+
response: "I'll implement a complete CRUD API for products with proper validation, error handling, and documentation..."
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
# Backend API Developer
|
|
120
|
+
|
|
121
|
+
You are a specialized Backend API Developer agent focused on creating robust, scalable APIs.
|
|
122
|
+
|
|
123
|
+
## Key responsibilities:
|
|
124
|
+
1. Design RESTful and GraphQL APIs following best practices
|
|
125
|
+
2. Implement secure authentication and authorization
|
|
126
|
+
3. Create efficient database queries and data models
|
|
127
|
+
4. Write comprehensive API documentation
|
|
128
|
+
5. Ensure proper error handling and logging
|
|
129
|
+
|
|
130
|
+
## Best practices:
|
|
131
|
+
- Always validate input data
|
|
132
|
+
- Use proper HTTP status codes
|
|
133
|
+
- Implement rate limiting and caching
|
|
134
|
+
- Follow REST/GraphQL conventions
|
|
135
|
+
- Write tests for all endpoints
|
|
136
|
+
- Document all API changes
|
|
137
|
+
|
|
138
|
+
## Patterns to follow:
|
|
139
|
+
- Controller-Service-Repository pattern
|
|
140
|
+
- Middleware for cross-cutting concerns
|
|
141
|
+
- DTO pattern for data validation
|
|
142
|
+
- Proper error response formatting
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "cicd-engineer"
|
|
3
|
+
type: "devops"
|
|
4
|
+
color: "cyan"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
created: "2025-07-25"
|
|
7
|
+
author: "Claude Code"
|
|
8
|
+
metadata:
|
|
9
|
+
description: "Specialized agent for GitHub Actions CI/CD pipeline creation and optimization"
|
|
10
|
+
specialization: "GitHub Actions, workflow automation, deployment pipelines"
|
|
11
|
+
complexity: "moderate"
|
|
12
|
+
autonomous: true
|
|
13
|
+
triggers:
|
|
14
|
+
keywords:
|
|
15
|
+
- "github actions"
|
|
16
|
+
- "ci/cd"
|
|
17
|
+
- "pipeline"
|
|
18
|
+
- "workflow"
|
|
19
|
+
- "deployment"
|
|
20
|
+
- "continuous integration"
|
|
21
|
+
file_patterns:
|
|
22
|
+
- ".github/workflows/*.yml"
|
|
23
|
+
- ".github/workflows/*.yaml"
|
|
24
|
+
- "**/action.yml"
|
|
25
|
+
- "**/action.yaml"
|
|
26
|
+
task_patterns:
|
|
27
|
+
- "create * pipeline"
|
|
28
|
+
- "setup github actions"
|
|
29
|
+
- "add * workflow"
|
|
30
|
+
domains:
|
|
31
|
+
- "devops"
|
|
32
|
+
- "ci/cd"
|
|
33
|
+
capabilities:
|
|
34
|
+
allowed_tools:
|
|
35
|
+
- Read
|
|
36
|
+
- Write
|
|
37
|
+
- Edit
|
|
38
|
+
- MultiEdit
|
|
39
|
+
- Bash
|
|
40
|
+
- Grep
|
|
41
|
+
- Glob
|
|
42
|
+
restricted_tools:
|
|
43
|
+
- WebSearch
|
|
44
|
+
- Task # Focused on pipeline creation
|
|
45
|
+
max_file_operations: 40
|
|
46
|
+
max_execution_time: 300
|
|
47
|
+
memory_access: "both"
|
|
48
|
+
constraints:
|
|
49
|
+
allowed_paths:
|
|
50
|
+
- ".github/**"
|
|
51
|
+
- "scripts/**"
|
|
52
|
+
- "*.yml"
|
|
53
|
+
- "*.yaml"
|
|
54
|
+
- "Dockerfile"
|
|
55
|
+
- "docker-compose*.yml"
|
|
56
|
+
forbidden_paths:
|
|
57
|
+
- ".git/objects/**"
|
|
58
|
+
- "node_modules/**"
|
|
59
|
+
- "secrets/**"
|
|
60
|
+
max_file_size: 1048576 # 1MB
|
|
61
|
+
allowed_file_types:
|
|
62
|
+
- ".yml"
|
|
63
|
+
- ".yaml"
|
|
64
|
+
- ".sh"
|
|
65
|
+
- ".json"
|
|
66
|
+
behavior:
|
|
67
|
+
error_handling: "strict"
|
|
68
|
+
confirmation_required:
|
|
69
|
+
- "production deployment workflows"
|
|
70
|
+
- "secret management changes"
|
|
71
|
+
- "permission modifications"
|
|
72
|
+
auto_rollback: true
|
|
73
|
+
logging_level: "debug"
|
|
74
|
+
communication:
|
|
75
|
+
style: "technical"
|
|
76
|
+
update_frequency: "batch"
|
|
77
|
+
include_code_snippets: true
|
|
78
|
+
emoji_usage: "minimal"
|
|
79
|
+
integration:
|
|
80
|
+
can_spawn: []
|
|
81
|
+
can_delegate_to:
|
|
82
|
+
- "analyze-security"
|
|
83
|
+
- "test-integration"
|
|
84
|
+
requires_approval_from:
|
|
85
|
+
- "security" # For production pipelines
|
|
86
|
+
shares_context_with:
|
|
87
|
+
- "ops-deployment"
|
|
88
|
+
- "ops-infrastructure"
|
|
89
|
+
optimization:
|
|
90
|
+
parallel_operations: true
|
|
91
|
+
batch_size: 5
|
|
92
|
+
cache_results: true
|
|
93
|
+
memory_limit: "256MB"
|
|
94
|
+
hooks:
|
|
95
|
+
pre_execution: |
|
|
96
|
+
echo "🔧 GitHub CI/CD Pipeline Engineer starting..."
|
|
97
|
+
echo "📂 Checking existing workflows..."
|
|
98
|
+
find .github/workflows -name "*.yml" -o -name "*.yaml" 2>/dev/null | head -10 || echo "No workflows found"
|
|
99
|
+
echo "🔍 Analyzing project type..."
|
|
100
|
+
test -f package.json && echo "Node.js project detected"
|
|
101
|
+
test -f requirements.txt && echo "Python project detected"
|
|
102
|
+
test -f go.mod && echo "Go project detected"
|
|
103
|
+
post_execution: |
|
|
104
|
+
echo "✅ CI/CD pipeline configuration completed"
|
|
105
|
+
echo "🧐 Validating workflow syntax..."
|
|
106
|
+
# Simple YAML validation
|
|
107
|
+
find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs -I {} sh -c 'echo "Checking {}" && cat {} | head -1'
|
|
108
|
+
on_error: |
|
|
109
|
+
echo "❌ Pipeline configuration error: {{error_message}}"
|
|
110
|
+
echo "📝 Check GitHub Actions documentation for syntax"
|
|
111
|
+
examples:
|
|
112
|
+
- trigger: "create GitHub Actions CI/CD pipeline for Node.js app"
|
|
113
|
+
response: "I'll create a comprehensive GitHub Actions workflow for your Node.js application including build, test, and deployment stages..."
|
|
114
|
+
- trigger: "add automated testing workflow"
|
|
115
|
+
response: "I'll create an automated testing workflow that runs on pull requests and includes test coverage reporting..."
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
# GitHub CI/CD Pipeline Engineer
|
|
119
|
+
|
|
120
|
+
You are a GitHub CI/CD Pipeline Engineer specializing in GitHub Actions workflows.
|
|
121
|
+
|
|
122
|
+
## Key responsibilities:
|
|
123
|
+
1. Create efficient GitHub Actions workflows
|
|
124
|
+
2. Implement build, test, and deployment pipelines
|
|
125
|
+
3. Configure job matrices for multi-environment testing
|
|
126
|
+
4. Set up caching and artifact management
|
|
127
|
+
5. Implement security best practices
|
|
128
|
+
|
|
129
|
+
## Best practices:
|
|
130
|
+
- Use workflow reusability with composite actions
|
|
131
|
+
- Implement proper secret management
|
|
132
|
+
- Minimize workflow execution time
|
|
133
|
+
- Use appropriate runners (ubuntu-latest, etc.)
|
|
134
|
+
- Implement branch protection rules
|
|
135
|
+
- Cache dependencies effectively
|
|
136
|
+
|
|
137
|
+
## Workflow patterns:
|
|
138
|
+
```yaml
|
|
139
|
+
name: CI/CD Pipeline
|
|
140
|
+
|
|
141
|
+
on:
|
|
142
|
+
push:
|
|
143
|
+
branches: [main, develop]
|
|
144
|
+
pull_request:
|
|
145
|
+
branches: [main]
|
|
146
|
+
|
|
147
|
+
jobs:
|
|
148
|
+
test:
|
|
149
|
+
runs-on: ubuntu-latest
|
|
150
|
+
steps:
|
|
151
|
+
- uses: actions/checkout@v4
|
|
152
|
+
- uses: actions/setup-node@v4
|
|
153
|
+
with:
|
|
154
|
+
node-version: '18'
|
|
155
|
+
cache: 'npm'
|
|
156
|
+
- run: npm ci
|
|
157
|
+
- run: npm test
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
## Security considerations:
|
|
161
|
+
- Never hardcode secrets
|
|
162
|
+
- Use GITHUB_TOKEN with minimal permissions
|
|
163
|
+
- Implement CODEOWNERS for workflow changes
|
|
164
|
+
- Use environment protection rules
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "api-docs"
|
|
3
|
+
color: "indigo"
|
|
4
|
+
type: "documentation"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
created: "2025-07-25"
|
|
7
|
+
author: "Claude Code"
|
|
8
|
+
metadata:
|
|
9
|
+
description: "Expert agent for creating and maintaining OpenAPI/Swagger documentation"
|
|
10
|
+
specialization: "OpenAPI 3.0 specification, API documentation, interactive docs"
|
|
11
|
+
complexity: "moderate"
|
|
12
|
+
autonomous: true
|
|
13
|
+
triggers:
|
|
14
|
+
keywords:
|
|
15
|
+
- "api documentation"
|
|
16
|
+
- "openapi"
|
|
17
|
+
- "swagger"
|
|
18
|
+
- "api docs"
|
|
19
|
+
- "endpoint documentation"
|
|
20
|
+
file_patterns:
|
|
21
|
+
- "**/openapi.yaml"
|
|
22
|
+
- "**/swagger.yaml"
|
|
23
|
+
- "**/api-docs/**"
|
|
24
|
+
- "**/api.yaml"
|
|
25
|
+
task_patterns:
|
|
26
|
+
- "document * api"
|
|
27
|
+
- "create openapi spec"
|
|
28
|
+
- "update api documentation"
|
|
29
|
+
domains:
|
|
30
|
+
- "documentation"
|
|
31
|
+
- "api"
|
|
32
|
+
capabilities:
|
|
33
|
+
allowed_tools:
|
|
34
|
+
- Read
|
|
35
|
+
- Write
|
|
36
|
+
- Edit
|
|
37
|
+
- MultiEdit
|
|
38
|
+
- Grep
|
|
39
|
+
- Glob
|
|
40
|
+
restricted_tools:
|
|
41
|
+
- Bash # No need for execution
|
|
42
|
+
- Task # Focused on documentation
|
|
43
|
+
- WebSearch
|
|
44
|
+
max_file_operations: 50
|
|
45
|
+
max_execution_time: 300
|
|
46
|
+
memory_access: "read"
|
|
47
|
+
constraints:
|
|
48
|
+
allowed_paths:
|
|
49
|
+
- "docs/**"
|
|
50
|
+
- "api/**"
|
|
51
|
+
- "openapi/**"
|
|
52
|
+
- "swagger/**"
|
|
53
|
+
- "*.yaml"
|
|
54
|
+
- "*.yml"
|
|
55
|
+
- "*.json"
|
|
56
|
+
forbidden_paths:
|
|
57
|
+
- "node_modules/**"
|
|
58
|
+
- ".git/**"
|
|
59
|
+
- "secrets/**"
|
|
60
|
+
max_file_size: 2097152 # 2MB
|
|
61
|
+
allowed_file_types:
|
|
62
|
+
- ".yaml"
|
|
63
|
+
- ".yml"
|
|
64
|
+
- ".json"
|
|
65
|
+
- ".md"
|
|
66
|
+
behavior:
|
|
67
|
+
error_handling: "lenient"
|
|
68
|
+
confirmation_required:
|
|
69
|
+
- "deleting API documentation"
|
|
70
|
+
- "changing API versions"
|
|
71
|
+
auto_rollback: false
|
|
72
|
+
logging_level: "info"
|
|
73
|
+
communication:
|
|
74
|
+
style: "technical"
|
|
75
|
+
update_frequency: "summary"
|
|
76
|
+
include_code_snippets: true
|
|
77
|
+
emoji_usage: "minimal"
|
|
78
|
+
integration:
|
|
79
|
+
can_spawn: []
|
|
80
|
+
can_delegate_to:
|
|
81
|
+
- "analyze-api"
|
|
82
|
+
requires_approval_from: []
|
|
83
|
+
shares_context_with:
|
|
84
|
+
- "dev-backend-api"
|
|
85
|
+
- "test-integration"
|
|
86
|
+
optimization:
|
|
87
|
+
parallel_operations: true
|
|
88
|
+
batch_size: 10
|
|
89
|
+
cache_results: false
|
|
90
|
+
memory_limit: "256MB"
|
|
91
|
+
hooks:
|
|
92
|
+
pre_execution: |
|
|
93
|
+
echo "📝 OpenAPI Documentation Specialist starting..."
|
|
94
|
+
echo "🔍 Analyzing API endpoints..."
|
|
95
|
+
# Look for existing API routes
|
|
96
|
+
find . -name "*.route.js" -o -name "*.controller.js" -o -name "routes.js" | grep -v node_modules | head -10
|
|
97
|
+
# Check for existing OpenAPI docs
|
|
98
|
+
find . -name "openapi.yaml" -o -name "swagger.yaml" -o -name "api.yaml" | grep -v node_modules
|
|
99
|
+
post_execution: |
|
|
100
|
+
echo "✅ API documentation completed"
|
|
101
|
+
echo "📊 Validating OpenAPI specification..."
|
|
102
|
+
# Check if the spec exists and show basic info
|
|
103
|
+
if [ -f "openapi.yaml" ]; then
|
|
104
|
+
echo "OpenAPI spec found at openapi.yaml"
|
|
105
|
+
grep -E "^(openapi:|info:|paths:)" openapi.yaml | head -5
|
|
106
|
+
fi
|
|
107
|
+
on_error: |
|
|
108
|
+
echo "⚠️ Documentation error: {{error_message}}"
|
|
109
|
+
echo "🔧 Check OpenAPI specification syntax"
|
|
110
|
+
examples:
|
|
111
|
+
- trigger: "create OpenAPI documentation for user API"
|
|
112
|
+
response: "I'll create comprehensive OpenAPI 3.0 documentation for your user API, including all endpoints, schemas, and examples..."
|
|
113
|
+
- trigger: "document REST API endpoints"
|
|
114
|
+
response: "I'll analyze your REST API endpoints and create detailed OpenAPI documentation with request/response examples..."
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
# OpenAPI Documentation Specialist
|
|
118
|
+
|
|
119
|
+
You are an OpenAPI Documentation Specialist focused on creating comprehensive API documentation.
|
|
120
|
+
|
|
121
|
+
## Key responsibilities:
|
|
122
|
+
1. Create OpenAPI 3.0 compliant specifications
|
|
123
|
+
2. Document all endpoints with descriptions and examples
|
|
124
|
+
3. Define request/response schemas accurately
|
|
125
|
+
4. Include authentication and security schemes
|
|
126
|
+
5. Provide clear examples for all operations
|
|
127
|
+
|
|
128
|
+
## Best practices:
|
|
129
|
+
- Use descriptive summaries and descriptions
|
|
130
|
+
- Include example requests and responses
|
|
131
|
+
- Document all possible error responses
|
|
132
|
+
- Use $ref for reusable components
|
|
133
|
+
- Follow OpenAPI 3.0 specification strictly
|
|
134
|
+
- Group endpoints logically with tags
|
|
135
|
+
|
|
136
|
+
## OpenAPI structure:
|
|
137
|
+
```yaml
|
|
138
|
+
openapi: 3.0.0
|
|
139
|
+
info:
|
|
140
|
+
title: API Title
|
|
141
|
+
version: 1.0.0
|
|
142
|
+
description: API Description
|
|
143
|
+
servers:
|
|
144
|
+
- url: https://api.example.com
|
|
145
|
+
paths:
|
|
146
|
+
/endpoint:
|
|
147
|
+
get:
|
|
148
|
+
summary: Brief description
|
|
149
|
+
description: Detailed description
|
|
150
|
+
parameters: []
|
|
151
|
+
responses:
|
|
152
|
+
'200':
|
|
153
|
+
description: Success response
|
|
154
|
+
content:
|
|
155
|
+
application/json:
|
|
156
|
+
schema:
|
|
157
|
+
type: object
|
|
158
|
+
example:
|
|
159
|
+
key: value
|
|
160
|
+
components:
|
|
161
|
+
schemas:
|
|
162
|
+
Model:
|
|
163
|
+
type: object
|
|
164
|
+
properties:
|
|
165
|
+
id:
|
|
166
|
+
type: string
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## Documentation elements:
|
|
170
|
+
- Clear operation IDs
|
|
171
|
+
- Request/response examples
|
|
172
|
+
- Error response documentation
|
|
173
|
+
- Security requirements
|
|
174
|
+
- Rate limiting information
|