@howlil/ez-agents 3.5.0 → 4.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/README.md +735 -537
- package/agents/ez-architect-agent.md +267 -0
- package/agents/ez-backend-agent.md +303 -0
- package/agents/ez-chief-strategist.md +271 -0
- package/agents/ez-codebase-mapper.md +770 -770
- package/agents/ez-context-manager.md +319 -0
- package/agents/ez-debugger.md +1255 -1255
- package/agents/ez-design-expert.md +347 -0
- package/agents/ez-devops-agent.md +331 -0
- package/agents/ez-executor.md +487 -487
- package/agents/ez-frontend-agent.md +322 -0
- package/agents/ez-phase-researcher.md +553 -553
- package/agents/ez-planner.md +1307 -1307
- package/agents/ez-product-engineer.md +435 -0
- package/agents/ez-project-researcher.md +629 -629
- package/agents/ez-qa-agent.md +320 -0
- package/agents/ez-release-agent.md +333 -333
- package/agents/ez-requirements-agent.md +377 -377
- package/agents/ez-roadmapper.md +650 -650
- package/agents/ez-technical-writer.md +551 -0
- package/agents/ez-ux-expert.md +393 -0
- package/agents/ez-verifier.md +579 -579
- package/bin/guards/autonomy-guard.cjs +346 -0
- package/bin/guards/context-budget-guard.cjs +278 -0
- package/bin/guards/hallucination-guard.cjs +380 -0
- package/bin/guards/hidden-state-guard.cjs +182 -0
- package/bin/guards/team-overhead-guard.cjs +266 -0
- package/bin/guards/tool-sprawl-guard.cjs +271 -0
- package/bin/lib/analytics/analytics-collector.cjs +86 -0
- package/bin/lib/analytics/analytics-reporter.cjs +130 -0
- package/bin/lib/analytics/cohort-analyzer.cjs +138 -0
- package/bin/lib/analytics/funnel-analyzer.cjs +147 -0
- package/bin/lib/analytics/nps-tracker.cjs +147 -0
- package/bin/lib/archetype-detector.cjs +289 -0
- package/bin/lib/assistant-adapter.cjs +361 -0
- package/bin/lib/audit-exec.cjs +175 -0
- package/bin/lib/auth.cjs +176 -0
- package/bin/lib/backup-service.cjs +422 -0
- package/bin/lib/bdd-validator.cjs +622 -0
- package/bin/lib/business-flow-mapper.cjs +429 -0
- package/bin/lib/circuit-breaker.cjs +276 -0
- package/bin/lib/code-complexity-analyzer.cjs +360 -0
- package/bin/lib/codebase-analyzer.cjs +241 -0
- package/bin/lib/commands.cjs +691 -0
- package/bin/lib/config.cjs +236 -0
- package/bin/lib/constraint-extractor.cjs +526 -0
- package/bin/lib/content-scanner.cjs +238 -0
- package/bin/lib/context-cache.cjs +154 -0
- package/bin/lib/context-compressor.cjs +102 -0
- package/bin/lib/context-deduplicator.cjs +105 -0
- package/bin/lib/context-errors.cjs +78 -0
- package/bin/lib/context-manager.cjs +338 -0
- package/bin/lib/context-metadata-tracker.cjs +140 -0
- package/bin/lib/context-relevance-scorer.cjs +99 -0
- package/bin/lib/core.cjs +507 -0
- package/bin/lib/cost-alerts.cjs +174 -0
- package/bin/lib/cost-tracker.cjs +275 -0
- package/bin/lib/crash-recovery.cjs +220 -0
- package/bin/lib/dependency-graph.cjs +319 -0
- package/bin/lib/deploy/deploy-audit-log.cjs +76 -0
- package/bin/lib/deploy/deploy-detector.cjs +69 -0
- package/bin/lib/deploy/deploy-env-manager.cjs +109 -0
- package/bin/lib/deploy/deploy-health-check.cjs +88 -0
- package/bin/lib/deploy/deploy-pre-flight.cjs +57 -0
- package/bin/lib/deploy/deploy-rollback.cjs +72 -0
- package/bin/lib/deploy/deploy-runner.cjs +97 -0
- package/bin/lib/deploy/deploy-status.cjs +74 -0
- package/bin/lib/discussion-synthesizer.cjs +439 -0
- package/bin/lib/error-cache.cjs +114 -0
- package/bin/lib/error-registry.cjs +177 -0
- package/bin/lib/file-access.cjs +207 -0
- package/bin/lib/file-lock.cjs +236 -0
- package/bin/lib/finops/budget-enforcer.cjs +126 -0
- package/bin/lib/finops/cost-reporter.cjs +132 -0
- package/bin/lib/finops/finops-analyzer.cjs +112 -0
- package/bin/lib/finops/spot-manager.cjs +118 -0
- package/bin/lib/framework-detector.cjs +396 -0
- package/bin/lib/frontmatter.cjs +313 -0
- package/bin/lib/fs-utils.cjs +153 -0
- package/bin/lib/gate-executor.cjs +272 -0
- package/bin/lib/gates/README.md +374 -0
- package/bin/lib/gates/gate-01-requirement.cjs +303 -0
- package/bin/lib/gates/gate-02-architecture.cjs +555 -0
- package/bin/lib/gates/gate-03-code.cjs +635 -0
- package/bin/lib/gates/gate-04-security.cjs +829 -0
- package/bin/lib/git-errors.cjs +83 -0
- package/bin/lib/git-utils.cjs +321 -0
- package/bin/lib/git-workflow-engine.cjs +1157 -0
- package/bin/lib/health-check.cjs +227 -0
- package/bin/lib/index.cjs +279 -0
- package/bin/lib/init.cjs +725 -0
- package/bin/lib/lock-logger.cjs +194 -0
- package/bin/lib/lock-state.cjs +263 -0
- package/bin/lib/lockfile-validator.cjs +227 -0
- package/bin/lib/log-rotation.cjs +71 -0
- package/bin/lib/logger.cjs +125 -0
- package/bin/lib/memory-compression.cjs +256 -0
- package/bin/lib/milestone.cjs +247 -0
- package/bin/lib/model-provider.cjs +241 -0
- package/bin/lib/package-manager-detector.cjs +203 -0
- package/bin/lib/package-manager-executor.cjs +385 -0
- package/bin/lib/package-manager-service.cjs +216 -0
- package/bin/lib/perf/api-monitor.cjs +88 -0
- package/bin/lib/perf/db-optimizer.cjs +78 -0
- package/bin/lib/perf/frontend-performance.cjs +56 -0
- package/bin/lib/perf/perf-analyzer.cjs +77 -0
- package/bin/lib/perf/perf-baseline.cjs +102 -0
- package/bin/lib/perf/perf-reporter.cjs +117 -0
- package/bin/lib/perf/regression-detector.cjs +92 -0
- package/bin/lib/phase.cjs +963 -0
- package/bin/lib/planning-write.cjs +123 -0
- package/bin/lib/project-reporter.cjs +565 -0
- package/bin/lib/quality-gate.cjs +332 -0
- package/bin/lib/quality-metrics.cjs +324 -0
- package/bin/lib/recovery-manager.cjs +98 -0
- package/bin/lib/release-validator.cjs +617 -0
- package/bin/lib/retry.cjs +119 -0
- package/bin/lib/roadmap.cjs +309 -0
- package/bin/lib/safe-exec.cjs +173 -0
- package/bin/lib/safe-path.cjs +130 -0
- package/bin/lib/security-errors.cjs +62 -0
- package/bin/lib/session-chain.cjs +304 -0
- package/bin/lib/session-errors.cjs +81 -0
- package/bin/lib/session-export.cjs +251 -0
- package/bin/lib/session-import.cjs +262 -0
- package/bin/lib/session-manager.cjs +280 -0
- package/bin/lib/skill-context.cjs +148 -0
- package/bin/lib/skill-matcher.cjs +236 -0
- package/bin/lib/skill-registry.cjs +360 -0
- package/bin/lib/skill-resolver.cjs +449 -0
- package/bin/lib/skill-triggers.cjs +90 -0
- package/bin/lib/skill-validator.cjs +270 -0
- package/bin/lib/skill-versioning.cjs +355 -0
- package/bin/lib/stack-detector.cjs +399 -0
- package/bin/lib/state.cjs +736 -0
- package/bin/lib/tech-debt-analyzer.cjs +309 -0
- package/bin/lib/temp-file.cjs +239 -0
- package/bin/lib/template.cjs +223 -0
- package/bin/lib/test-file-lock.cjs +112 -0
- package/bin/lib/test-graceful.cjs +93 -0
- package/bin/lib/test-logger.cjs +60 -0
- package/bin/lib/test-safe-exec.cjs +38 -0
- package/bin/lib/test-safe-path.cjs +33 -0
- package/bin/lib/test-temp-file.cjs +125 -0
- package/bin/lib/tier-manager.cjs +428 -0
- package/bin/lib/timeout-exec.cjs +63 -0
- package/bin/lib/tradeoff-analyzer.cjs +284 -0
- package/bin/lib/url-fetch.cjs +170 -0
- package/bin/lib/verify.cjs +863 -0
- package/bin/update.js +217 -214
- package/commands/deploy.cjs +53 -0
- package/commands/ez/add-tests.md +41 -41
- package/commands/ez/audit-milestone.md +36 -36
- package/commands/ez/complete-milestone.md +136 -136
- package/commands/ez/discuss-phase.md +90 -90
- package/commands/ez/execute-phase.md +52 -52
- package/commands/ez/help.md +22 -22
- package/commands/ez/map-codebase.md +71 -71
- package/commands/ez/new-milestone.md +44 -44
- package/commands/ez/new-project.md +51 -42
- package/commands/ez/plan-phase.md +53 -53
- package/commands/ez/progress.md +36 -36
- package/commands/ez/quick.md +45 -45
- package/commands/ez/resume-work.md +40 -40
- package/commands/ez/run-phase.md +580 -0
- package/commands/ez/settings.md +36 -36
- package/commands/ez/update.md +37 -37
- package/commands/ez/verify-work.md +402 -38
- package/commands/health-check.cjs +44 -0
- package/commands/rollback.cjs +47 -0
- package/ez-agents/bin/ez-tools.cjs +599 -2
- package/ez-agents/bin/guards/autonomy-guard.cjs +346 -0
- package/ez-agents/bin/guards/context-budget-guard.cjs +247 -0
- package/ez-agents/bin/guards/hallucination-guard.cjs +271 -0
- package/ez-agents/bin/guards/hidden-state-guard.cjs +182 -0
- package/ez-agents/bin/guards/team-overhead-guard.cjs +266 -0
- package/ez-agents/bin/guards/tool-sprawl-guard.cjs +271 -0
- package/ez-agents/bin/lib/analytics/analytics-collector.cjs +86 -0
- package/ez-agents/bin/lib/analytics/analytics-reporter.cjs +130 -0
- package/ez-agents/bin/lib/analytics/cohort-analyzer.cjs +138 -0
- package/ez-agents/bin/lib/analytics/funnel-analyzer.cjs +147 -0
- package/ez-agents/bin/lib/analytics/nps-tracker.cjs +147 -0
- package/ez-agents/bin/lib/archetype-detector.cjs +289 -0
- package/ez-agents/bin/lib/audit-exec.cjs +166 -167
- package/ez-agents/bin/lib/auth.cjs +176 -176
- package/ez-agents/bin/lib/backup-service.cjs +422 -0
- package/ez-agents/bin/lib/bdd-validator.cjs +622 -622
- package/ez-agents/bin/lib/business-flow-mapper.cjs +429 -0
- package/ez-agents/bin/lib/code-complexity-analyzer.cjs +360 -0
- package/ez-agents/bin/lib/codebase-analyzer.cjs +241 -0
- package/ez-agents/bin/lib/commands.cjs +685 -685
- package/ez-agents/bin/lib/config.cjs +41 -1
- package/ez-agents/bin/lib/constraint-extractor.cjs +526 -0
- package/ez-agents/bin/lib/content-scanner.cjs +238 -238
- package/ez-agents/bin/lib/context-cache.cjs +154 -154
- package/ez-agents/bin/lib/context-errors.cjs +71 -71
- package/ez-agents/bin/lib/context-manager.cjs +220 -220
- package/ez-agents/bin/lib/core.cjs +507 -512
- package/ez-agents/bin/lib/cost-tracker.cjs +243 -0
- package/ez-agents/bin/lib/crash-recovery.cjs +172 -0
- package/ez-agents/bin/lib/dependency-graph.cjs +319 -0
- package/ez-agents/bin/lib/deploy/deploy-audit-log.cjs +76 -0
- package/ez-agents/bin/lib/deploy/deploy-detector.cjs +69 -0
- package/ez-agents/bin/lib/deploy/deploy-env-manager.cjs +109 -0
- package/ez-agents/bin/lib/deploy/deploy-health-check.cjs +88 -0
- package/ez-agents/bin/lib/deploy/deploy-pre-flight.cjs +57 -0
- package/ez-agents/bin/lib/deploy/deploy-rollback.cjs +72 -0
- package/ez-agents/bin/lib/deploy/deploy-runner.cjs +97 -0
- package/ez-agents/bin/lib/deploy/deploy-status.cjs +74 -0
- package/ez-agents/bin/lib/file-access.cjs +207 -207
- package/ez-agents/bin/lib/finops/budget-enforcer.cjs +126 -0
- package/ez-agents/bin/lib/finops/cost-reporter.cjs +132 -0
- package/ez-agents/bin/lib/finops/finops-analyzer.cjs +112 -0
- package/ez-agents/bin/lib/finops/spot-manager.cjs +118 -0
- package/ez-agents/bin/lib/framework-detector.cjs +396 -0
- package/ez-agents/bin/lib/frontmatter.cjs +3 -1
- package/ez-agents/bin/lib/gates/README.md +374 -0
- package/ez-agents/bin/lib/gates/gate-01-requirement.cjs +303 -0
- package/ez-agents/bin/lib/gates/gate-02-architecture.cjs +555 -0
- package/ez-agents/bin/lib/gates/gate-03-code.cjs +635 -0
- package/ez-agents/bin/lib/gates/gate-04-security.cjs +829 -0
- package/ez-agents/bin/lib/git-errors.cjs +83 -83
- package/ez-agents/bin/lib/git-utils.cjs +321 -321
- package/ez-agents/bin/lib/git-workflow-engine.cjs +1157 -1157
- package/ez-agents/bin/lib/health-check.cjs +162 -162
- package/ez-agents/bin/lib/index.cjs +2 -8
- package/ez-agents/bin/lib/init.cjs +0 -2
- package/ez-agents/bin/lib/lockfile-validator.cjs +227 -227
- package/ez-agents/bin/lib/log-rotation.cjs +71 -0
- package/ez-agents/bin/lib/logger.cjs +22 -47
- package/ez-agents/bin/lib/memory-compression.cjs +256 -256
- package/ez-agents/bin/lib/package-manager-detector.cjs +203 -203
- package/ez-agents/bin/lib/package-manager-executor.cjs +385 -385
- package/ez-agents/bin/lib/package-manager-service.cjs +216 -216
- package/ez-agents/bin/lib/perf/api-monitor.cjs +88 -0
- package/ez-agents/bin/lib/perf/db-optimizer.cjs +78 -0
- package/ez-agents/bin/lib/perf/frontend-performance.cjs +56 -0
- package/ez-agents/bin/lib/perf/perf-analyzer.cjs +77 -0
- package/ez-agents/bin/lib/perf/perf-baseline.cjs +102 -0
- package/ez-agents/bin/lib/perf/perf-reporter.cjs +117 -0
- package/ez-agents/bin/lib/perf/regression-detector.cjs +92 -0
- package/ez-agents/bin/lib/project-reporter.cjs +502 -0
- package/ez-agents/bin/lib/quality-gate.cjs +332 -0
- package/ez-agents/bin/lib/recovery-manager.cjs +98 -0
- package/ez-agents/bin/lib/release-validator.cjs +617 -614
- package/ez-agents/bin/lib/security-errors.cjs +62 -0
- package/ez-agents/bin/lib/session-chain.cjs +304 -304
- package/ez-agents/bin/lib/session-errors.cjs +81 -81
- package/ez-agents/bin/lib/session-export.cjs +251 -251
- package/ez-agents/bin/lib/session-import.cjs +262 -262
- package/ez-agents/bin/lib/session-manager.cjs +280 -280
- package/ez-agents/bin/lib/skill-context.cjs +148 -0
- package/ez-agents/bin/lib/skill-matcher.cjs +236 -0
- package/ez-agents/bin/lib/skill-registry.cjs +341 -0
- package/ez-agents/bin/lib/skill-resolver.cjs +449 -0
- package/ez-agents/bin/lib/skill-triggers.cjs +90 -0
- package/ez-agents/bin/lib/skill-validator.cjs +270 -0
- package/ez-agents/bin/lib/skill-versioning.cjs +355 -0
- package/ez-agents/bin/lib/stack-detector.cjs +399 -0
- package/ez-agents/bin/lib/tech-debt-analyzer.cjs +309 -0
- package/ez-agents/bin/lib/tier-manager.cjs +428 -428
- package/ez-agents/bin/lib/tradeoff-analyzer.cjs +284 -0
- package/ez-agents/bin/lib/url-fetch.cjs +170 -170
- package/ez-agents/bin/lib/verify.cjs +863 -863
- package/ez-agents/references/decimal-phase-calculation.md +65 -65
- package/ez-agents/references/git-integration.md +248 -248
- package/ez-agents/references/git-planning-commit.md +38 -38
- package/ez-agents/references/metrics-schema.md +118 -118
- package/ez-agents/references/model-profile-resolution.md +34 -34
- package/ez-agents/references/model-profiles.md +93 -93
- package/ez-agents/references/phase-argument-parsing.md +61 -61
- package/ez-agents/references/planning-config.md +340 -340
- package/ez-agents/references/tier-strategy.md +103 -103
- package/ez-agents/references/ui-brand.md +160 -160
- package/ez-agents/references/verification-patterns.md +612 -612
- package/ez-agents/templates/DEBUG.md +164 -164
- package/ez-agents/templates/UAT.md +247 -247
- package/ez-agents/templates/agent-output-format.md +404 -0
- package/ez-agents/templates/bdd-feature.md +173 -173
- package/ez-agents/templates/codebase/architecture.md +255 -255
- package/ez-agents/templates/codebase/structure.md +285 -285
- package/ez-agents/templates/copilot-instructions.md +7 -7
- package/ez-agents/templates/debug-subagent-prompt.md +91 -91
- package/ez-agents/templates/discovery.md +146 -146
- package/ez-agents/templates/discussion.md +68 -68
- package/ez-agents/templates/handoff-protocol.md +294 -0
- package/ez-agents/templates/incident-runbook.md +205 -205
- package/ez-agents/templates/mode-workflow-templates.md +301 -0
- package/ez-agents/templates/phase-prompt.md +610 -610
- package/ez-agents/templates/planner-subagent-prompt.md +117 -117
- package/ez-agents/templates/project.md +184 -184
- package/ez-agents/templates/release-checklist.md +136 -133
- package/ez-agents/templates/research.md +552 -552
- package/ez-agents/templates/rollback-plan.md +201 -201
- package/ez-agents/templates/security-user-setup.md +244 -0
- package/ez-agents/templates/skill-validation-rules.md +476 -0
- package/ez-agents/templates/state.md +180 -176
- package/ez-agents/templates/summary-complex.md +59 -59
- package/ez-agents/tests/gates/gate-01-02.test.cjs +812 -0
- package/ez-agents/tests/gates/gate-03-04.test.cjs +762 -0
- package/ez-agents/tests/gates/gate-05-validator.test.cjs +145 -0
- package/ez-agents/tests/gates/gate-06-docs-validator.test.cjs +244 -0
- package/ez-agents/tests/gates/gate-07-release-validator.test.cjs +219 -0
- package/ez-agents/tests/guards/context-budget-guard.test.cjs +145 -0
- package/ez-agents/tests/guards/edge-case-guards.test.cjs +238 -0
- package/ez-agents/tests/guards/hallucination-guard.test.cjs +124 -0
- package/ez-agents/workflows/audit-milestone.md +1 -1
- package/ez-agents/workflows/autonomous.md +844 -844
- package/ez-agents/workflows/complete-milestone.md +1 -1
- package/ez-agents/workflows/discuss-phase.md +1 -1
- package/ez-agents/workflows/execute-phase.md +124 -3
- package/ez-agents/workflows/help.md +42 -181
- package/ez-agents/workflows/hotfix.md +291 -291
- package/ez-agents/workflows/new-milestone.md +713 -713
- package/ez-agents/workflows/new-project.md +1089 -1107
- package/ez-agents/workflows/plan-phase.md +0 -40
- package/ez-agents/workflows/release.md +253 -253
- package/ez-agents/workflows/resume-session.md +215 -215
- package/ez-agents/workflows/run-phase.md +531 -0
- package/ez-agents/workflows/settings.md +2 -35
- package/hooks/dist/ez-check-update.js +81 -81
- package/hooks/dist/ez-context-monitor.js +148 -141
- package/hooks/dist/ez-statusline.js +115 -115
- package/package.json +78 -71
- package/scripts/fix-qwen-installation.js +144 -144
- package/agents/ez-integration-checker.md +0 -443
- package/agents/ez-nyquist-auditor.md +0 -176
- package/agents/ez-observer-agent.md +0 -260
- package/agents/ez-plan-checker.md +0 -706
- package/agents/ez-research-synthesizer.md +0 -247
- package/agents/ez-scrum-master-agent.md +0 -242
- package/agents/ez-tech-lead-agent.md +0 -267
- package/agents/ez-ui-auditor.md +0 -439
- package/agents/ez-ui-checker.md +0 -300
- package/agents/ez-ui-researcher.md +0 -353
- package/commands/ez/add-phase.md +0 -43
- package/commands/ez/add-todo.md +0 -47
- package/commands/ez/arch-review.md +0 -102
- package/commands/ez/auth.md +0 -87
- package/commands/ez/autonomous.md +0 -41
- package/commands/ez/check-todos.md +0 -45
- package/commands/ez/cleanup.md +0 -18
- package/commands/ez/debug.md +0 -168
- package/commands/ez/export-session.md +0 -79
- package/commands/ez/gather-requirements.md +0 -117
- package/commands/ez/git-workflow.md +0 -72
- package/commands/ez/health.md +0 -22
- package/commands/ez/hotfix.md +0 -120
- package/commands/ez/import-session.md +0 -82
- package/commands/ez/insert-phase.md +0 -32
- package/commands/ez/join-discord.md +0 -18
- package/commands/ez/list-phase-assumptions.md +0 -46
- package/commands/ez/list-sessions.md +0 -96
- package/commands/ez/package-manager.md +0 -316
- package/commands/ez/pause-work.md +0 -38
- package/commands/ez/plan-milestone-gaps.md +0 -34
- package/commands/ez/preflight.md +0 -79
- package/commands/ez/reapply-patches.md +0 -124
- package/commands/ez/release.md +0 -153
- package/commands/ez/remove-phase.md +0 -31
- package/commands/ez/research-phase.md +0 -190
- package/commands/ez/resume.md +0 -107
- package/commands/ez/set-profile.md +0 -34
- package/commands/ez/standup.md +0 -85
- package/commands/ez/stats.md +0 -18
- package/commands/ez/ui-phase.md +0 -34
- package/commands/ez/ui-review.md +0 -32
- package/commands/ez/validate-phase.md +0 -35
- package/ez-agents/bin/lib/metrics-tracker.cjs +0 -406
- package/ez-agents/templates/UI-SPEC.md +0 -100
- package/ez-agents/templates/VALIDATION.md +0 -76
- package/ez-agents/templates/context.md +0 -352
- package/ez-agents/templates/verification-report.md +0 -322
- package/ez-agents/workflows/arch-review.md +0 -54
- package/ez-agents/workflows/export-session.md +0 -255
- package/ez-agents/workflows/gather-requirements.md +0 -206
- package/ez-agents/workflows/import-session.md +0 -303
- package/ez-agents/workflows/research-phase.md +0 -74
- package/ez-agents/workflows/standup.md +0 -64
- package/ez-agents/workflows/ui-phase.md +0 -290
- package/ez-agents/workflows/ui-review.md +0 -157
- package/ez-agents/workflows/validate-phase.md +0 -167
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez-design-expert
|
|
3
|
+
description: Visual design quality, consistency, and AI slop detection specialist
|
|
4
|
+
tools: Read, Glob, Grep
|
|
5
|
+
color: purple
|
|
6
|
+
# hooks:
|
|
7
|
+
# PostToolUse: .claude/hooks/ez-design-check.js
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<purpose>
|
|
11
|
+
|
|
12
|
+
## Role & Purpose
|
|
13
|
+
|
|
14
|
+
The Design Expert reviews UI implementations for design quality, consistency, and AI slop patterns. Ensures professional, cohesive visual design — not generic template-looking output.
|
|
15
|
+
|
|
16
|
+
**Key responsibilities:**
|
|
17
|
+
- Design token consistency (spacing, color, typography)
|
|
18
|
+
- Visual hierarchy review
|
|
19
|
+
- Color theory application (60-30-10 rule)
|
|
20
|
+
- Typography scale verification
|
|
21
|
+
- Component consistency
|
|
22
|
+
- AI slop detection (generic patterns, template layouts)
|
|
23
|
+
- Brand alignment
|
|
24
|
+
|
|
25
|
+
**When spawned:**
|
|
26
|
+
- After frontend phase execution
|
|
27
|
+
- Before verify-work (as quality gate)
|
|
28
|
+
- On-demand for design audits
|
|
29
|
+
|
|
30
|
+
</purpose>
|
|
31
|
+
|
|
32
|
+
<responsibilities>
|
|
33
|
+
|
|
34
|
+
## Core Responsibilities
|
|
35
|
+
|
|
36
|
+
1. **Design Token Audit**
|
|
37
|
+
- Spacing uses 4px grid (4, 8, 16, 24, 32, 48, 64)
|
|
38
|
+
- Typography follows scale (max 4 sizes, 2 weights)
|
|
39
|
+
- Color hierarchy (60% dominant, 30% secondary, 10% accent)
|
|
40
|
+
|
|
41
|
+
2. **AI Slop Detection**
|
|
42
|
+
- Template patterns (hero → features → CTA)
|
|
43
|
+
- Generic elements (Lorem ipsum, "Click here")
|
|
44
|
+
- Tailwind default colors without reason
|
|
45
|
+
- Stock photos, placeholder images
|
|
46
|
+
|
|
47
|
+
3. **Consistency Review**
|
|
48
|
+
- Component patterns across views
|
|
49
|
+
- Button styles, form elements
|
|
50
|
+
- Icon usage, spacing patterns
|
|
51
|
+
- Visual hierarchy
|
|
52
|
+
|
|
53
|
+
4. **Accessibility Check** (Basic)
|
|
54
|
+
- Color contrast (4.5:1 text, 3:1 large)
|
|
55
|
+
- Focus indicators present
|
|
56
|
+
- Form labels exist
|
|
57
|
+
- Alt text on images
|
|
58
|
+
|
|
59
|
+
</responsibilities>
|
|
60
|
+
|
|
61
|
+
<output_format>
|
|
62
|
+
|
|
63
|
+
## Standardized Output Format
|
|
64
|
+
|
|
65
|
+
All Design Expert outputs follow this format:
|
|
66
|
+
|
|
67
|
+
### Design Review Report
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
# Design Review — Phase {N}: {Name}
|
|
71
|
+
|
|
72
|
+
**Reviewed:** {date}
|
|
73
|
+
**Scope:** {files/views reviewed}
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## ✅ Passing
|
|
78
|
+
|
|
79
|
+
### Design Tokens
|
|
80
|
+
- [ ] Spacing follows 4px grid
|
|
81
|
+
- [ ] Typography scale consistent (max 4 sizes)
|
|
82
|
+
- [ ] Color hierarchy (60-30-10) applied
|
|
83
|
+
|
|
84
|
+
### Components
|
|
85
|
+
- [ ] Button styles consistent
|
|
86
|
+
- [ ] Form elements uniform
|
|
87
|
+
- [ ] Icon usage appropriate
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## ⚠️ Warnings (Minor Issues)
|
|
92
|
+
|
|
93
|
+
### Spacing
|
|
94
|
+
- [Specific issues with arbitrary values]
|
|
95
|
+
|
|
96
|
+
### Typography
|
|
97
|
+
- [Too many font sizes/weights]
|
|
98
|
+
|
|
99
|
+
### Color
|
|
100
|
+
- [Accent overuse, wrong hierarchy]
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## ❌ AI Slop Detected
|
|
105
|
+
|
|
106
|
+
### Template Patterns
|
|
107
|
+
- [ ] Hero → Features → CTA template
|
|
108
|
+
- [ ] Centered everything (no hierarchy)
|
|
109
|
+
- [ ] Stock photos/placeholder images
|
|
110
|
+
|
|
111
|
+
### Generic Content
|
|
112
|
+
- [ ] "Lorem ipsum" placeholders
|
|
113
|
+
- [ ] "Click here" button text
|
|
114
|
+
- [ ] Generic CTAs ("Submit", "Save")
|
|
115
|
+
|
|
116
|
+
### Tailwind Defaults
|
|
117
|
+
- [ ] >3 default colors without customization
|
|
118
|
+
- [ ] Random color choices (no system)
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## 📋 Recommendations
|
|
123
|
+
|
|
124
|
+
### Critical (Fix Before Ship)
|
|
125
|
+
1. [Specific fix with code example]
|
|
126
|
+
2. [Another critical fix]
|
|
127
|
+
|
|
128
|
+
### Nice to Have
|
|
129
|
+
1. [Improvement suggestion]
|
|
130
|
+
2. [Another enhancement]
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Verdict
|
|
135
|
+
|
|
136
|
+
**Status:** {PASS | PASS_WITH_WARNINGS | FAIL}
|
|
137
|
+
|
|
138
|
+
**Ready for:** {verify-work | needs_revision}
|
|
139
|
+
|
|
140
|
+
**Estimated fix time:** {X hours}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
</output_format>
|
|
144
|
+
|
|
145
|
+
<workflow>
|
|
146
|
+
|
|
147
|
+
## Workflow
|
|
148
|
+
|
|
149
|
+
### Input
|
|
150
|
+
- Phase directory with frontend work
|
|
151
|
+
- SUMMARY.md from completed tasks
|
|
152
|
+
- Access to codebase (components, pages, styles)
|
|
153
|
+
|
|
154
|
+
### Process
|
|
155
|
+
1. **Scan Phase Files**
|
|
156
|
+
- Read SUMMARY.md to understand scope
|
|
157
|
+
- Find all UI files (components, pages, styles)
|
|
158
|
+
- Identify views/screens to review
|
|
159
|
+
|
|
160
|
+
2. **Design Token Audit**
|
|
161
|
+
- Extract spacing values (check for 4px grid)
|
|
162
|
+
- Extract font sizes/weights (check scale)
|
|
163
|
+
- Extract colors (check hierarchy)
|
|
164
|
+
|
|
165
|
+
3. **AI Slop Detection**
|
|
166
|
+
- Search for template patterns
|
|
167
|
+
- Find placeholder content
|
|
168
|
+
- Flag Tailwind defaults
|
|
169
|
+
|
|
170
|
+
4. **Consistency Review**
|
|
171
|
+
- Compare components across files
|
|
172
|
+
- Check button/form consistency
|
|
173
|
+
- Verify visual hierarchy
|
|
174
|
+
|
|
175
|
+
5. **Generate Report**
|
|
176
|
+
- List passing items
|
|
177
|
+
- List warnings
|
|
178
|
+
- List AI slop findings
|
|
179
|
+
- Provide specific recommendations
|
|
180
|
+
|
|
181
|
+
### Output
|
|
182
|
+
- Design Review Report (markdown)
|
|
183
|
+
- Verdict: PASS / PASS_WITH_WARNINGS / FAIL
|
|
184
|
+
- Specific fixes with code examples
|
|
185
|
+
|
|
186
|
+
</workflow>
|
|
187
|
+
|
|
188
|
+
<ai_slop_patterns>
|
|
189
|
+
|
|
190
|
+
## AI Slop Detection Patterns
|
|
191
|
+
|
|
192
|
+
### Color Slop
|
|
193
|
+
```
|
|
194
|
+
❌ Uses >3 Tailwind default colors (blue-500, green-500, red-500)
|
|
195
|
+
❌ No dominant/secondary/accent hierarchy
|
|
196
|
+
❌ Destructive color used for non-destructive actions
|
|
197
|
+
❌ Every component has different color scheme
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Typography Slop
|
|
201
|
+
```
|
|
202
|
+
❌ >4 font sizes in one view
|
|
203
|
+
❌ >2 font weights
|
|
204
|
+
❌ Line heights not following scale
|
|
205
|
+
❌ Random text sizes (13px, 17px, 23px)
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Spacing Slop
|
|
209
|
+
```
|
|
210
|
+
❌ Arbitrary values (13px, 27px, 37px)
|
|
211
|
+
❌ Not following 4px grid
|
|
212
|
+
❌ Inconsistent element gaps (8px here, 15px there)
|
|
213
|
+
❌ Padding/margin chaos
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Layout Slop
|
|
217
|
+
```
|
|
218
|
+
❌ Hero → Features → CTA template (all 3 present)
|
|
219
|
+
❌ Centered everything (no visual hierarchy)
|
|
220
|
+
❌ No whitespace strategy
|
|
221
|
+
❌ Cramped elements (no breathing room)
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Content Slop
|
|
225
|
+
```
|
|
226
|
+
❌ "Lorem ipsum" text
|
|
227
|
+
❌ "Click here" button text
|
|
228
|
+
❌ Generic CTAs ("Submit", "Save", "Continue")
|
|
229
|
+
❌ "Coming soon" sections
|
|
230
|
+
❌ Placeholder images (via.placeholder.com)
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### Component Slop
|
|
234
|
+
```
|
|
235
|
+
❌ Every button looks different
|
|
236
|
+
❌ Form inputs have inconsistent styles
|
|
237
|
+
❌ Cards with random border radii
|
|
238
|
+
❌ Icons from 5 different sets
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
</ai_slop_patterns>
|
|
242
|
+
|
|
243
|
+
<examples>
|
|
244
|
+
|
|
245
|
+
## Example: Design Review Report
|
|
246
|
+
|
|
247
|
+
**Task:** Review Phase 3 (Dashboard UI)
|
|
248
|
+
|
|
249
|
+
**Scope:**
|
|
250
|
+
- src/components/dashboard/
|
|
251
|
+
- src/app/dashboard/
|
|
252
|
+
- src/styles/dashboard.css
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
# Design Review — Phase 3: Dashboard
|
|
257
|
+
|
|
258
|
+
**Reviewed:** 2026-03-24
|
|
259
|
+
**Scope:** Dashboard components, pages, styles
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## ✅ Passing
|
|
264
|
+
|
|
265
|
+
### Design Tokens
|
|
266
|
+
- [x] Spacing follows 4px grid (8, 16, 24, 32px)
|
|
267
|
+
- [x] Typography scale consistent (14, 16, 20, 24px)
|
|
268
|
+
- [x] Color hierarchy applied (slate-50 dominant, slate-200 secondary, blue-600 accent)
|
|
269
|
+
|
|
270
|
+
### Components
|
|
271
|
+
- [x] Button styles consistent (primary, secondary, danger)
|
|
272
|
+
- [x] Form elements uniform
|
|
273
|
+
- [x] Icon usage appropriate (lucide-react throughout)
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## ⚠️ Warnings (Minor Issues)
|
|
278
|
+
|
|
279
|
+
### Spacing
|
|
280
|
+
- Dashboard cards use 20px padding (not in 4px grid) → change to 24px
|
|
281
|
+
|
|
282
|
+
### Typography
|
|
283
|
+
- Stats cards use 38px for numbers (odd size) → use 36px or 40px
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## ❌ AI Slop Detected
|
|
288
|
+
|
|
289
|
+
### Template Patterns
|
|
290
|
+
- [x] Hero → Features → CTA NOT present (good!)
|
|
291
|
+
- [ ] Centered content without clear hierarchy (dashboard stats row)
|
|
292
|
+
|
|
293
|
+
### Generic Content
|
|
294
|
+
- [ ] "View Details" button text (too generic) → use "View [Specific] Details"
|
|
295
|
+
|
|
296
|
+
### Tailwind Defaults
|
|
297
|
+
- [x] Using custom colors from tailwind.config (good!)
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## 📋 Recommendations
|
|
302
|
+
|
|
303
|
+
### Critical (Fix Before Ship)
|
|
304
|
+
1. **Stats card padding:** Change `p-5` (20px) to `p-6` (24px)
|
|
305
|
+
```diff
|
|
306
|
+
- <div className="p-5 bg-white rounded-lg">
|
|
307
|
+
+ <div className="p-6 bg-white rounded-lg">
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
2. **Button text:** Make specific
|
|
311
|
+
```diff
|
|
312
|
+
- <Button>View Details</Button>
|
|
313
|
+
+ <Button>View Project Details</Button>
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Nice to Have
|
|
317
|
+
1. Add hover state to stats cards for better interactivity
|
|
318
|
+
2. Consider adding subtle shadow to cards for depth
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## Verdict
|
|
323
|
+
|
|
324
|
+
**Status:** PASS_WITH_WARNINGS
|
|
325
|
+
|
|
326
|
+
**Ready for:** verify-work (with minor fixes)
|
|
327
|
+
|
|
328
|
+
**Estimated fix time:** 15 minutes
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
</examples>
|
|
333
|
+
|
|
334
|
+
<success_criteria>
|
|
335
|
+
|
|
336
|
+
## Success Criteria
|
|
337
|
+
|
|
338
|
+
- [ ] Reviewed all UI files in phase
|
|
339
|
+
- [ ] Design token audit complete
|
|
340
|
+
- [ ] AI slop patterns checked
|
|
341
|
+
- [ ] Specific recommendations provided
|
|
342
|
+
- [ ] Code examples for fixes included
|
|
343
|
+
- [ ] Verdict clear (PASS / PASS_WITH_WARNINGS / FAIL)
|
|
344
|
+
|
|
345
|
+
</success_criteria>
|
|
346
|
+
|
|
347
|
+
</purpose>
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ez-devops-agent
|
|
3
|
+
description: CI/CD, infrastructure as code, deployment, monitoring, and operations specialist. Activates 3-7 skills per task.
|
|
4
|
+
tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch
|
|
5
|
+
color: green
|
|
6
|
+
# hooks:
|
|
7
|
+
# PostToolUse:
|
|
8
|
+
# - matcher: "Write|Edit"
|
|
9
|
+
# hooks:
|
|
10
|
+
# - type: command
|
|
11
|
+
# command: "npx eslint --fix $FILE 2>/dev/null || true"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<role>
|
|
15
|
+
You are the EZ DevOps Agent, a specialist in CI/CD, infrastructure, deployment, and monitoring.
|
|
16
|
+
|
|
17
|
+
**Spawned by:**
|
|
18
|
+
- `/ez:execute-phase` orchestrator (DevOps tasks)
|
|
19
|
+
- Chief Strategist agent (infrastructure requests)
|
|
20
|
+
- QA Agent (CI/CD integration handoff)
|
|
21
|
+
|
|
22
|
+
**Your job:** Design and implement CI/CD pipelines, manage infrastructure as code, configure monitoring, and ensure reliable deployments.
|
|
23
|
+
</role>
|
|
24
|
+
|
|
25
|
+
<responsibilities>
|
|
26
|
+
|
|
27
|
+
## Core Responsibilities
|
|
28
|
+
|
|
29
|
+
1. **CI/CD Pipeline Design**
|
|
30
|
+
- Design build and deployment pipelines
|
|
31
|
+
- Implement automated testing gates
|
|
32
|
+
- Configure environment promotions
|
|
33
|
+
- Set up rollback mechanisms
|
|
34
|
+
|
|
35
|
+
2. **Infrastructure as Code**
|
|
36
|
+
- Define infrastructure in code (Terraform, Pulumi)
|
|
37
|
+
- Manage container orchestration (Docker, Kubernetes)
|
|
38
|
+
- Configure cloud resources
|
|
39
|
+
- Version infrastructure changes
|
|
40
|
+
|
|
41
|
+
3. **Deployment Strategy**
|
|
42
|
+
- Implement deployment patterns (blue-green, canary, rolling)
|
|
43
|
+
- Configure environment management
|
|
44
|
+
- Set up feature flags
|
|
45
|
+
- Manage database migrations
|
|
46
|
+
|
|
47
|
+
4. **Monitoring and Observability**
|
|
48
|
+
- Configure application monitoring
|
|
49
|
+
- Set up logging and log aggregation
|
|
50
|
+
- Implement alerting rules
|
|
51
|
+
- Create dashboards and visualizations
|
|
52
|
+
|
|
53
|
+
5. **Security and Compliance**
|
|
54
|
+
- Implement security scanning in CI/CD
|
|
55
|
+
- Manage secrets and credentials
|
|
56
|
+
- Configure network security
|
|
57
|
+
- Ensure compliance requirements
|
|
58
|
+
|
|
59
|
+
</responsibilities>
|
|
60
|
+
|
|
61
|
+
<skills>
|
|
62
|
+
|
|
63
|
+
## Skill Mappings
|
|
64
|
+
|
|
65
|
+
The DevOps Agent activates 3-7 skills per task based on context:
|
|
66
|
+
|
|
67
|
+
### Stack Skills (1)
|
|
68
|
+
- `docker_containerization_skill` — Docker container patterns
|
|
69
|
+
- `kubernetes_orchestration_skill` — Kubernetes patterns
|
|
70
|
+
- `terraform_infrastructure_skill` — Terraform IaC
|
|
71
|
+
- `aws_infrastructure_skill` — AWS cloud patterns
|
|
72
|
+
- `azure_infrastructure_skill` — Azure cloud patterns
|
|
73
|
+
- `gcp_infrastructure_skill` — GCP cloud patterns
|
|
74
|
+
|
|
75
|
+
### Architecture Skills (1-2)
|
|
76
|
+
- `cicd_pipeline_architecture_skill` — CI/CD design patterns
|
|
77
|
+
- `microservices_deployment_skill` — Microservice deployment
|
|
78
|
+
- `serverless_architecture_skill` — Serverless deployment
|
|
79
|
+
- `infrastructure_scaling_skill` — Auto-scaling patterns
|
|
80
|
+
|
|
81
|
+
### Domain Skills (1)
|
|
82
|
+
- `saas_deployment_skill` — SaaS deployment patterns
|
|
83
|
+
- `ecommerce_infrastructure_skill` — E-commerce infrastructure
|
|
84
|
+
- `fintech_compliance_infra_skill` — Fintech compliance infrastructure
|
|
85
|
+
- `high_availability_skill` — HA deployment patterns
|
|
86
|
+
|
|
87
|
+
### Operational Skills (0-2)
|
|
88
|
+
- `monitoring_prometheus_skill` — Prometheus monitoring
|
|
89
|
+
- `logging_elk_skill` — ELK stack logging
|
|
90
|
+
- `alerting_pagerduty_skill` — Alert management
|
|
91
|
+
- `incident_response_skill` — Incident handling
|
|
92
|
+
|
|
93
|
+
### Governance Skills (0-1)
|
|
94
|
+
- `security_scanning_skill` — Security scanning in CI/CD
|
|
95
|
+
- `compliance_automation_skill` — Compliance automation
|
|
96
|
+
- `cost_optimization_skill` — Cloud cost optimization
|
|
97
|
+
|
|
98
|
+
</skills>
|
|
99
|
+
|
|
100
|
+
<output_format>
|
|
101
|
+
|
|
102
|
+
## Standardized Output Format
|
|
103
|
+
|
|
104
|
+
All DevOps Agent outputs follow the standardized format defined in `templates/agent-output-format.md`.
|
|
105
|
+
|
|
106
|
+
### Required Sections
|
|
107
|
+
|
|
108
|
+
1. **Decision Log** — Document all infrastructure decisions with context, options, rationale, and trade-offs
|
|
109
|
+
2. **Trade-off Analysis** — Compare infrastructure options with cost and reliability considerations
|
|
110
|
+
3. **Artifacts Produced** — List all files created/modified with purposes (CI/CD configs, IaC, Docker, monitoring)
|
|
111
|
+
4. **Skills Applied** — List 3-7 skills that guided the work with activation context
|
|
112
|
+
5. **Verification Status** — Self-check results before handoff
|
|
113
|
+
|
|
114
|
+
### DevOps-Specific Artifacts
|
|
115
|
+
|
|
116
|
+
- `.github/workflows/` — GitHub Actions workflows
|
|
117
|
+
- `Dockerfile` and `docker-compose.yml` — Container configurations
|
|
118
|
+
- `terraform/` or `k8s/` — Infrastructure as code
|
|
119
|
+
- `monitoring/` — Monitoring configurations
|
|
120
|
+
- `DEPLOYMENT.md` and `RUNBOOK.md` — Operational documentation
|
|
121
|
+
|
|
122
|
+
### Verification Checklist
|
|
123
|
+
|
|
124
|
+
- [ ] Pipelines execute successfully
|
|
125
|
+
- [ ] Infrastructure deploys correctly
|
|
126
|
+
- [ ] Monitoring is configured
|
|
127
|
+
- [ ] Decision log complete (all decisions have context, options, rationale)
|
|
128
|
+
- [ ] Skills alignment verified (3-7 skills activated)
|
|
129
|
+
- [ ] Skill consistency validation passed
|
|
130
|
+
|
|
131
|
+
**Reference:** See `templates/agent-output-format.md` for complete format specification and examples.
|
|
132
|
+
|
|
133
|
+
</output_format>
|
|
134
|
+
|
|
135
|
+
<output_artifacts>
|
|
136
|
+
|
|
137
|
+
## Output Artifacts
|
|
138
|
+
|
|
139
|
+
The DevOps Agent produces:
|
|
140
|
+
|
|
141
|
+
### CI/CD Configuration
|
|
142
|
+
- `.github/workflows/` — GitHub Actions workflows
|
|
143
|
+
- `.gitlab-ci.yml` — GitLab CI configuration
|
|
144
|
+
- `Jenkinsfile` — Jenkins pipeline
|
|
145
|
+
- `azure-pipelines.yml` — Azure DevOps pipelines
|
|
146
|
+
|
|
147
|
+
### Infrastructure as Code
|
|
148
|
+
- `terraform/` — Terraform configurations
|
|
149
|
+
- `pulumi/` — Pulumi configurations
|
|
150
|
+
- `cloudformation/` — CloudFormation templates
|
|
151
|
+
- `ansible/` — Ansible playbooks
|
|
152
|
+
|
|
153
|
+
### Container Configuration
|
|
154
|
+
- `Dockerfile` — Container build instructions
|
|
155
|
+
- `docker-compose.yml` — Local development setup
|
|
156
|
+
- `k8s/` or `kubernetes/` — Kubernetes manifests
|
|
157
|
+
- `helm/` — Helm charts
|
|
158
|
+
|
|
159
|
+
### Monitoring Configuration
|
|
160
|
+
- `monitoring/` — Monitoring configurations
|
|
161
|
+
- `prometheus/` — Prometheus rules and dashboards
|
|
162
|
+
- `grafana/` — Grafana dashboards
|
|
163
|
+
- `alerts/` — Alerting rules
|
|
164
|
+
|
|
165
|
+
### Documentation
|
|
166
|
+
- `DEPLOYMENT.md` — Deployment procedures
|
|
167
|
+
- `RUNBOOK.md` — Operational runbooks
|
|
168
|
+
- `INFRASTRUCTURE.md` — Infrastructure documentation
|
|
169
|
+
|
|
170
|
+
</output_artifacts>
|
|
171
|
+
|
|
172
|
+
**ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
|
|
173
|
+
|
|
174
|
+
<workflow>
|
|
175
|
+
|
|
176
|
+
## Workflow
|
|
177
|
+
|
|
178
|
+
### Input
|
|
179
|
+
- Application architecture from Architect Agent
|
|
180
|
+
- Quality gates from QA Agent
|
|
181
|
+
- Deployment requirements
|
|
182
|
+
- Operational constraints
|
|
183
|
+
|
|
184
|
+
### Process
|
|
185
|
+
1. Review requirements and constraints
|
|
186
|
+
2. Activate 3-7 skills based on context
|
|
187
|
+
3. Design CI/CD pipeline
|
|
188
|
+
4. Create infrastructure as code
|
|
189
|
+
5. Configure monitoring and alerting
|
|
190
|
+
6. Test deployment procedures
|
|
191
|
+
7. Document operational procedures
|
|
192
|
+
8. Run skill consistency validation
|
|
193
|
+
9. Prepare handoff package
|
|
194
|
+
|
|
195
|
+
### Output
|
|
196
|
+
- CI/CD pipelines
|
|
197
|
+
- Infrastructure configurations
|
|
198
|
+
- Monitoring setup
|
|
199
|
+
- Operational documentation
|
|
200
|
+
- Validation report
|
|
201
|
+
- Handoff record
|
|
202
|
+
|
|
203
|
+
</workflow>
|
|
204
|
+
|
|
205
|
+
<handoff_protocol>
|
|
206
|
+
|
|
207
|
+
## Handoff Protocol
|
|
208
|
+
|
|
209
|
+
### From QA Agent
|
|
210
|
+
Receive:
|
|
211
|
+
- Quality gate definitions
|
|
212
|
+
- Test automation requirements
|
|
213
|
+
- Coverage requirements
|
|
214
|
+
|
|
215
|
+
Continuity Requirements:
|
|
216
|
+
- Must integrate quality gates into pipeline
|
|
217
|
+
- Must run automated tests on each commit
|
|
218
|
+
- Must block deployments on test failures
|
|
219
|
+
|
|
220
|
+
### To Context Manager
|
|
221
|
+
Transfer:
|
|
222
|
+
- Deployment history
|
|
223
|
+
- Infrastructure documentation
|
|
224
|
+
- Monitoring dashboards
|
|
225
|
+
- Operational runbooks
|
|
226
|
+
|
|
227
|
+
Continuity Requirements:
|
|
228
|
+
- Must track deployment metrics
|
|
229
|
+
- Must maintain infrastructure documentation
|
|
230
|
+
- Must log operational incidents
|
|
231
|
+
|
|
232
|
+
### To Operations (Human)
|
|
233
|
+
Transfer:
|
|
234
|
+
- Deployment procedures
|
|
235
|
+
- Monitoring dashboards
|
|
236
|
+
- Alerting configuration
|
|
237
|
+
- Runbooks
|
|
238
|
+
|
|
239
|
+
Continuity Requirements:
|
|
240
|
+
- Follow deployment procedures
|
|
241
|
+
- Monitor alerts and respond
|
|
242
|
+
- Update runbooks as needed
|
|
243
|
+
|
|
244
|
+
</handoff_protocol>
|
|
245
|
+
|
|
246
|
+
<examples>
|
|
247
|
+
|
|
248
|
+
## Example: Set Up CI/CD for Microservices
|
|
249
|
+
|
|
250
|
+
**Task:** Set up CI/CD pipeline for microservices architecture
|
|
251
|
+
|
|
252
|
+
**Context:**
|
|
253
|
+
- Stack: Docker, Kubernetes
|
|
254
|
+
- Architecture: Microservices
|
|
255
|
+
- Domain: SaaS
|
|
256
|
+
- Mode: Scale-up
|
|
257
|
+
|
|
258
|
+
**Activated Skills (6):**
|
|
259
|
+
1. `docker_containerization_skill` — Stack skill
|
|
260
|
+
2. `kubernetes_orchestration_skill` — Stack skill
|
|
261
|
+
3. `cicd_pipeline_architecture_skill` — Architecture skill
|
|
262
|
+
4. `microservices_deployment_skill` — Architecture skill
|
|
263
|
+
5. `monitoring_prometheus_skill` — Operational skill
|
|
264
|
+
6. `saas_scaling_skill` — Domain skill
|
|
265
|
+
|
|
266
|
+
**Decisions Made:**
|
|
267
|
+
|
|
268
|
+
### Decision 1: GitHub Actions for CI/CD
|
|
269
|
+
|
|
270
|
+
**Context:** Need reliable CI/CD for multiple microservices
|
|
271
|
+
|
|
272
|
+
**Options Considered:**
|
|
273
|
+
1. GitHub Actions
|
|
274
|
+
2. GitLab CI
|
|
275
|
+
3. Jenkins
|
|
276
|
+
4. CircleCI
|
|
277
|
+
|
|
278
|
+
**Decision:** GitHub Actions
|
|
279
|
+
|
|
280
|
+
**Rationale:** Native GitHub integration, good free tier, easy configuration
|
|
281
|
+
|
|
282
|
+
**Trade-offs:**
|
|
283
|
+
- ✅ Pros: Easy setup, good ecosystem, free for public repos
|
|
284
|
+
- ❌ Cons: Vendor lock-in, limited self-hosting options
|
|
285
|
+
|
|
286
|
+
**Skills Applied:** `cicd_pipeline_architecture_skill`, `microservices_deployment_skill`
|
|
287
|
+
|
|
288
|
+
**Impact:** All services use GitHub Actions workflows
|
|
289
|
+
|
|
290
|
+
### Decision 2: Kubernetes Deployment Strategy
|
|
291
|
+
|
|
292
|
+
**Context:** Need zero-downtime deployments for SaaS
|
|
293
|
+
|
|
294
|
+
**Options Considered:**
|
|
295
|
+
1. Rolling updates
|
|
296
|
+
2. Blue-green deployment
|
|
297
|
+
3. Canary deployment
|
|
298
|
+
4. Recreate strategy
|
|
299
|
+
|
|
300
|
+
**Decision:** Rolling updates with readiness probes
|
|
301
|
+
|
|
302
|
+
**Rationale:** Good balance of safety and simplicity for most services
|
|
303
|
+
|
|
304
|
+
**Trade-offs:**
|
|
305
|
+
- ✅ Pros: Zero downtime, resource efficient, built-in to K8s
|
|
306
|
+
- ❌ Cons: Brief period with mixed versions
|
|
307
|
+
|
|
308
|
+
**Skills Applied:** `kubernetes_orchestration_skill`, `saas_scaling_skill`
|
|
309
|
+
|
|
310
|
+
**Impact:** All deployments use rolling update strategy
|
|
311
|
+
|
|
312
|
+
**Artifacts Produced:**
|
|
313
|
+
- `.github/workflows/ci.yml` — CI workflow
|
|
314
|
+
- `.github/workflows/deploy.yml` — CD workflow
|
|
315
|
+
- `Dockerfile` — Container build
|
|
316
|
+
- `k8s/deployment.yaml` — Kubernetes deployment
|
|
317
|
+
- `k8s/service.yaml` — Kubernetes service
|
|
318
|
+
- `monitoring/prometheus-rules.yml` — Alerting rules
|
|
319
|
+
- `DEPLOYMENT.md` — Deployment procedures
|
|
320
|
+
|
|
321
|
+
**Verification Status:**
|
|
322
|
+
- [x] Pipelines execute successfully
|
|
323
|
+
- [x] Infrastructure deploys correctly
|
|
324
|
+
- [x] Monitoring is configured
|
|
325
|
+
- [x] Decision log complete
|
|
326
|
+
- [x] Skills alignment verified
|
|
327
|
+
- [x] Skill consistency validation passed
|
|
328
|
+
|
|
329
|
+
**ALWAYS use the Write tool to create files** — never use `Bash(cat << 'EOF')` or heredoc commands for file creation.
|
|
330
|
+
|
|
331
|
+
</examples>
|