ai-playbook 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/README.md +146 -0
- package/agents/README.md +168 -0
- package/agents/SKILL.md +633 -0
- package/agents/architect/AGENT.md +44 -0
- package/agents/architect/README.md +5 -0
- package/agents/coder/AGENT.md +43 -0
- package/agents/coder/README.md +5 -0
- package/agents/debugger/AGENT.md +42 -0
- package/agents/debugger/README.md +6 -0
- package/agents/devops/AGENT.md +43 -0
- package/agents/devops/README.md +5 -0
- package/agents/documentation/AGENT.md +45 -0
- package/agents/documentation/README.md +5 -0
- package/agents/examples.md +550 -0
- package/agents/performance/AGENT.md +45 -0
- package/agents/performance/README.md +6 -0
- package/agents/planner/AGENT.md +44 -0
- package/agents/planner/README.md +6 -0
- package/agents/product-owner/AGENT.md +46 -0
- package/agents/product-owner/README.md +6 -0
- package/agents/refactorer/AGENT.md +44 -0
- package/agents/refactorer/README.md +6 -0
- package/agents/release-manager/AGENT.md +45 -0
- package/agents/release-manager/README.md +6 -0
- package/agents/researcher/AGENT.md +44 -0
- package/agents/researcher/README.md +6 -0
- package/agents/reviewer/AGENT.md +43 -0
- package/agents/reviewer/README.md +6 -0
- package/agents/security/AGENT.md +46 -0
- package/agents/security/README.md +6 -0
- package/agents/support/AGENT.md +45 -0
- package/agents/support/README.md +6 -0
- package/agents/tester/AGENT.md +46 -0
- package/agents/tester/README.md +5 -0
- package/bin/cli.js +186 -0
- package/commands/README.md +266 -0
- package/commands/build.md +135 -0
- package/commands/clean.md +126 -0
- package/commands/deploy-prod.md +171 -0
- package/commands/deploy-staging.md +147 -0
- package/commands/deps.md +169 -0
- package/commands/dev.md +132 -0
- package/commands/format.md +142 -0
- package/commands/lint.md +125 -0
- package/commands/migrate.md +159 -0
- package/commands/release.md +183 -0
- package/commands/rollback.md +152 -0
- package/commands/seed.md +178 -0
- package/commands/setup.md +109 -0
- package/commands/test.md +134 -0
- package/commands/validate.md +147 -0
- package/context/README.md +7 -0
- package/context/aem.md +47 -0
- package/context/architecture.md +51 -0
- package/context/bullminder.md +57 -0
- package/context/coding-style.md +42 -0
- package/context/communication.md +53 -0
- package/context/company.md +46 -0
- package/context/engineering.md +63 -0
- package/context/project-template.md +71 -0
- package/context/trading.md +52 -0
- package/hooks/README.md +326 -0
- package/hooks/code-review/README.md +6 -0
- package/hooks/code-review/check-coverage.md +101 -0
- package/hooks/custom/README.md +6 -0
- package/hooks/custom/project-specific-hooks.md +273 -0
- package/hooks/deployment/README.md +6 -0
- package/hooks/deployment/health-check.md +102 -0
- package/hooks/deployment/pre-deploy-check.md +84 -0
- package/hooks/documentation/README.md +6 -0
- package/hooks/documentation/update-changelog.md +146 -0
- package/hooks/post-task/README.md +5 -0
- package/hooks/post-task/run-tests.md +61 -0
- package/hooks/pre-commit/README.md +6 -0
- package/hooks/pre-commit/format.md +63 -0
- package/hooks/pre-commit/lint.md +62 -0
- package/hooks/pre-commit/type-check.md +78 -0
- package/hooks/pre-task/README.md +6 -0
- package/hooks/pre-task/check-branch.md +48 -0
- package/hooks/pre-task/validate-environment.md +48 -0
- package/hooks/security-check/README.md +6 -0
- package/hooks/security-check/dependency-audit.md +85 -0
- package/hooks/security-check/secrets-scan.md +77 -0
- package/hooks/test-before-finish/README.md +6 -0
- package/hooks/test-before-finish/run-all-tests.md +128 -0
- package/index.js +69 -0
- package/knowledge/README.md +33 -0
- package/knowledge/ai-agents.md +74 -0
- package/knowledge/decision-making.md +73 -0
- package/knowledge/documentation.md +67 -0
- package/knowledge/engineering-principles.md +65 -0
- package/knowledge/product-discovery.md +68 -0
- package/knowledge/security-privacy.md +54 -0
- package/knowledge/testing-quality.md +63 -0
- package/package.json +63 -0
- package/patterns/README.md +7 -0
- package/prompts/README.md +208 -0
- package/prompts/architect/README.md +96 -0
- package/prompts/architect/design-system.md +140 -0
- package/prompts/debugger/README.md +96 -0
- package/prompts/debugger/diagnose-issue.md +141 -0
- package/prompts/developer/README.md +129 -0
- package/prompts/developer/fix-bug.md +136 -0
- package/prompts/developer/implement-feature.md +133 -0
- package/prompts/product-owner/README.md +116 -0
- package/prompts/product-owner/define-feature.md +145 -0
- package/prompts/reviewer/README.md +91 -0
- package/prompts/reviewer/code-review.md +129 -0
- package/prompts/support/README.md +154 -0
- package/prompts/support/resolve-issue.md +124 -0
- package/roles/README.md +6 -0
- package/roles/design-architect/README.md +98 -0
- package/roles/design-architect/accessibility/README.md +33 -0
- package/roles/design-architect/accessibility/checklists.md +29 -0
- package/roles/design-architect/accessibility/examples.md +35 -0
- package/roles/design-architect/checklists.md +76 -0
- package/roles/design-architect/component-library/README.md +35 -0
- package/roles/design-architect/component-library/checklists.md +29 -0
- package/roles/design-architect/component-library/examples.md +35 -0
- package/roles/design-architect/design-system/README.md +35 -0
- package/roles/design-architect/design-system/checklists.md +27 -0
- package/roles/design-architect/design-system/examples.md +41 -0
- package/roles/design-architect/examples/README.md +31 -0
- package/roles/design-architect/examples/checklists.md +26 -0
- package/roles/design-architect/examples/examples.md +46 -0
- package/roles/design-architect/examples.md +90 -0
- package/roles/design-architect/figma/README.md +33 -0
- package/roles/design-architect/figma/checklists.md +27 -0
- package/roles/design-architect/figma/examples.md +38 -0
- package/roles/design-architect/responsibilities.md +73 -0
- package/roles/design-architect/responsive/README.md +34 -0
- package/roles/design-architect/responsive/checklists.md +26 -0
- package/roles/design-architect/responsive/examples.md +39 -0
- package/roles/design-architect/role.md +129 -0
- package/roles/design-architect/skill-map.md +42 -0
- package/roles/design-architect/triggers.md +110 -0
- package/roles/design-architect/ui/README.md +36 -0
- package/roles/design-architect/ui/checklists.md +29 -0
- package/roles/design-architect/ui/examples.md +28 -0
- package/roles/design-architect/usability/README.md +34 -0
- package/roles/design-architect/usability/checklists.md +28 -0
- package/roles/design-architect/usability/examples.md +31 -0
- package/roles/design-architect/ux/README.md +36 -0
- package/roles/design-architect/ux/checklists.md +28 -0
- package/roles/design-architect/ux/examples.md +37 -0
- package/roles/design-architect/wireframes/README.md +34 -0
- package/roles/design-architect/wireframes/checklists.md +25 -0
- package/roles/design-architect/wireframes/examples.md +32 -0
- package/roles/design-architect/workflow.md +80 -0
- package/roles/devops/README.md +101 -0
- package/roles/devops/ansible/README.md +6 -0
- package/roles/devops/checklists.md +413 -0
- package/roles/devops/ci-cd/README.md +169 -0
- package/roles/devops/ci-cd/checklists.md +289 -0
- package/roles/devops/ci-cd/examples.md +429 -0
- package/roles/devops/cloud-platforms/README.md +109 -0
- package/roles/devops/cost-optimization/README.md +131 -0
- package/roles/devops/disaster-recovery/README.md +118 -0
- package/roles/devops/docker/README.md +6 -0
- package/roles/devops/examples/README.md +6 -0
- package/roles/devops/examples.md +775 -0
- package/roles/devops/github-actions/README.md +6 -0
- package/roles/devops/helm/README.md +6 -0
- package/roles/devops/infrastructure-as-code/README.md +160 -0
- package/roles/devops/infrastructure-as-code/checklists.md +124 -0
- package/roles/devops/jenkins/README.md +6 -0
- package/roles/devops/kubernetes/README.md +150 -0
- package/roles/devops/kubernetes/checklists.md +192 -0
- package/roles/devops/kubernetes/examples.md +189 -0
- package/roles/devops/monitoring/README.md +93 -0
- package/roles/devops/networking/README.md +83 -0
- package/roles/devops/performance/README.md +104 -0
- package/roles/devops/responsibilities.md +95 -0
- package/roles/devops/role.md +130 -0
- package/roles/devops/security/README.md +126 -0
- package/roles/devops/skill-map.md +162 -0
- package/roles/devops/terraform/README.md +6 -0
- package/roles/devops/triggers.md +241 -0
- package/roles/devops/workflow.md +197 -0
- package/roles/qa/README.md +16 -0
- package/roles/qa/api-testing/README.md +6 -0
- package/roles/qa/automation/README.md +6 -0
- package/roles/qa/checklists.md +24 -0
- package/roles/qa/examples/README.md +6 -0
- package/roles/qa/examples.md +27 -0
- package/roles/qa/performance/README.md +6 -0
- package/roles/qa/playwright/README.md +6 -0
- package/roles/qa/responsibilities.md +16 -0
- package/roles/qa/role.md +47 -0
- package/roles/qa/selenium/README.md +6 -0
- package/roles/qa/skill-map.md +14 -0
- package/roles/qa/triggers.md +10 -0
- package/roles/qa/workflow.md +9 -0
- package/roles/software-architect/README.md +16 -0
- package/roles/software-architect/agents/README.md +6 -0
- package/roles/software-architect/ai-architecture/README.md +6 -0
- package/roles/software-architect/aws/README.md +6 -0
- package/roles/software-architect/azure/README.md +6 -0
- package/roles/software-architect/caching/README.md +6 -0
- package/roles/software-architect/checklists.md +25 -0
- package/roles/software-architect/cloud/README.md +6 -0
- package/roles/software-architect/database-design/README.md +6 -0
- package/roles/software-architect/diagrams/README.md +6 -0
- package/roles/software-architect/distributed-systems/README.md +7 -0
- package/roles/software-architect/docker/README.md +6 -0
- package/roles/software-architect/event-driven/README.md +7 -0
- package/roles/software-architect/examples/README.md +6 -0
- package/roles/software-architect/examples.md +22 -0
- package/roles/software-architect/gcp/README.md +6 -0
- package/roles/software-architect/kubernetes/README.md +6 -0
- package/roles/software-architect/messaging/README.md +6 -0
- package/roles/software-architect/rag/README.md +7 -0
- package/roles/software-architect/responsibilities.md +17 -0
- package/roles/software-architect/role.md +46 -0
- package/roles/software-architect/scalability/README.md +6 -0
- package/roles/software-architect/security/README.md +6 -0
- package/roles/software-architect/skill-map.md +15 -0
- package/roles/software-architect/system-design/README.md +6 -0
- package/roles/software-architect/triggers.md +10 -0
- package/roles/software-architect/vector-db/README.md +6 -0
- package/roles/software-architect/workflow.md +9 -0
- package/roles/software-developer/README.md +116 -0
- package/roles/software-developer/api/README.md +365 -0
- package/roles/software-developer/api/checklist.md +131 -0
- package/roles/software-developer/api/examples.md +459 -0
- package/roles/software-developer/authentication/README.md +26 -0
- package/roles/software-developer/authentication/checklists.md +22 -0
- package/roles/software-developer/authentication/examples.md +32 -0
- package/roles/software-developer/authorization/README.md +26 -0
- package/roles/software-developer/authorization/checklists.md +21 -0
- package/roles/software-developer/authorization/examples.md +27 -0
- package/roles/software-developer/backend/README.md +26 -0
- package/roles/software-developer/backend/checklists.md +21 -0
- package/roles/software-developer/backend/examples.md +21 -0
- package/roles/software-developer/cache/README.md +25 -0
- package/roles/software-developer/cache/checklists.md +21 -0
- package/roles/software-developer/cache/examples.md +22 -0
- package/roles/software-developer/checklists.md +122 -0
- package/roles/software-developer/code-review/README.md +23 -0
- package/roles/software-developer/code-review/checklists.md +22 -0
- package/roles/software-developer/code-review/examples.md +20 -0
- package/roles/software-developer/database/README.md +27 -0
- package/roles/software-developer/database/checklists.md +21 -0
- package/roles/software-developer/database/examples.md +27 -0
- package/roles/software-developer/debugging/README.md +24 -0
- package/roles/software-developer/debugging/checklists.md +20 -0
- package/roles/software-developer/debugging/examples.md +28 -0
- package/roles/software-developer/examples/README.md +22 -0
- package/roles/software-developer/examples/checklists.md +8 -0
- package/roles/software-developer/examples/examples.md +25 -0
- package/roles/software-developer/examples.md +378 -0
- package/roles/software-developer/frontend/README.md +76 -0
- package/roles/software-developer/frontend/accessibility/README.md +136 -0
- package/roles/software-developer/frontend/accessibility/best-practices.md +368 -0
- package/roles/software-developer/frontend/code-quality/README.md +136 -0
- package/roles/software-developer/frontend/code-quality/best-practices.md +309 -0
- package/roles/software-developer/frontend/components/README.md +65 -0
- package/roles/software-developer/frontend/components/best-practices.md +273 -0
- package/roles/software-developer/frontend/debugging/README.md +149 -0
- package/roles/software-developer/frontend/debugging/best-practices.md +329 -0
- package/roles/software-developer/frontend/examples/README.md +19 -0
- package/roles/software-developer/frontend/examples/checklists.md +8 -0
- package/roles/software-developer/frontend/examples/examples.md +17 -0
- package/roles/software-developer/frontend/logging-observability/README.md +196 -0
- package/roles/software-developer/frontend/logging-observability/best-practices.md +430 -0
- package/roles/software-developer/frontend/performance/README.md +99 -0
- package/roles/software-developer/frontend/performance/best-practices.md +350 -0
- package/roles/software-developer/frontend/state-management/README.md +85 -0
- package/roles/software-developer/frontend/state-management/best-practices.md +344 -0
- package/roles/software-developer/frontend/testing/README.md +114 -0
- package/roles/software-developer/frontend/testing/best-practices.md +272 -0
- package/roles/software-developer/fullstack/README.md +25 -0
- package/roles/software-developer/fullstack/checklists.md +19 -0
- package/roles/software-developer/fullstack/examples.md +14 -0
- package/roles/software-developer/graphql/README.md +24 -0
- package/roles/software-developer/graphql/checklists.md +20 -0
- package/roles/software-developer/graphql/examples.md +24 -0
- package/roles/software-developer/integration-tests/README.md +25 -0
- package/roles/software-developer/integration-tests/checklists.md +20 -0
- package/roles/software-developer/integration-tests/examples.md +18 -0
- package/roles/software-developer/java/README.md +24 -0
- package/roles/software-developer/java/checklists.md +16 -0
- package/roles/software-developer/java/examples.md +22 -0
- package/roles/software-developer/javascript/README.md +24 -0
- package/roles/software-developer/javascript/checklists.md +15 -0
- package/roles/software-developer/javascript/examples.md +18 -0
- package/roles/software-developer/logging/README.md +105 -0
- package/roles/software-developer/logging/checklists.md +48 -0
- package/roles/software-developer/logging/examples.md +135 -0
- package/roles/software-developer/messaging/README.md +24 -0
- package/roles/software-developer/messaging/checklists.md +21 -0
- package/roles/software-developer/messaging/examples.md +26 -0
- package/roles/software-developer/microservices/README.md +25 -0
- package/roles/software-developer/microservices/checklists.md +21 -0
- package/roles/software-developer/microservices/examples.md +21 -0
- package/roles/software-developer/node/README.md +25 -0
- package/roles/software-developer/node/checklists.md +15 -0
- package/roles/software-developer/node/examples.md +15 -0
- package/roles/software-developer/nosql/README.md +24 -0
- package/roles/software-developer/nosql/checklists.md +21 -0
- package/roles/software-developer/nosql/examples.md +20 -0
- package/roles/software-developer/observability/README.md +25 -0
- package/roles/software-developer/observability/checklists.md +21 -0
- package/roles/software-developer/observability/examples.md +22 -0
- package/roles/software-developer/performance/README.md +26 -0
- package/roles/software-developer/performance/checklists.md +20 -0
- package/roles/software-developer/performance/examples.md +20 -0
- package/roles/software-developer/python/README.md +25 -0
- package/roles/software-developer/python/checklists.md +15 -0
- package/roles/software-developer/python/examples.md +17 -0
- package/roles/software-developer/react/README.md +24 -0
- package/roles/software-developer/react/checklists.md +15 -0
- package/roles/software-developer/react/examples.md +22 -0
- package/roles/software-developer/refactoring/README.md +23 -0
- package/roles/software-developer/refactoring/checklists.md +21 -0
- package/roles/software-developer/refactoring/examples.md +11 -0
- package/roles/software-developer/responsibilities.md +58 -0
- package/roles/software-developer/role.md +127 -0
- package/roles/software-developer/skill-map.md +88 -0
- package/roles/software-developer/springboot/README.md +25 -0
- package/roles/software-developer/springboot/checklists.md +15 -0
- package/roles/software-developer/springboot/examples.md +21 -0
- package/roles/software-developer/sql/README.md +24 -0
- package/roles/software-developer/sql/checklists.md +22 -0
- package/roles/software-developer/sql/examples.md +20 -0
- package/roles/software-developer/testing/README.md +25 -0
- package/roles/software-developer/testing/checklists.md +21 -0
- package/roles/software-developer/testing/examples.md +19 -0
- package/roles/software-developer/triggers.md +550 -0
- package/roles/software-developer/typescript/README.md +25 -0
- package/roles/software-developer/typescript/checklists.md +15 -0
- package/roles/software-developer/typescript/examples.md +18 -0
- package/roles/software-developer/unit-tests/README.md +24 -0
- package/roles/software-developer/unit-tests/checklists.md +19 -0
- package/roles/software-developer/unit-tests/examples.md +22 -0
- package/roles/software-developer/workflow.md +196 -0
- package/roles/sre/README.md +16 -0
- package/roles/sre/alerts/README.md +6 -0
- package/roles/sre/availability/README.md +6 -0
- package/roles/sre/chaos/README.md +6 -0
- package/roles/sre/checklists.md +24 -0
- package/roles/sre/examples/README.md +6 -0
- package/roles/sre/examples.md +19 -0
- package/roles/sre/observability/README.md +6 -0
- package/roles/sre/reliability/README.md +6 -0
- package/roles/sre/responsibilities.md +16 -0
- package/roles/sre/role.md +46 -0
- package/roles/sre/skill-map.md +14 -0
- package/roles/sre/slos/README.md +6 -0
- package/roles/sre/triggers.md +10 -0
- package/roles/sre/workflow.md +9 -0
- package/roles/support-engineer/README.md +16 -0
- package/roles/support-engineer/checklists.md +24 -0
- package/roles/support-engineer/datadog/README.md +6 -0
- package/roles/support-engineer/examples/README.md +6 -0
- package/roles/support-engineer/examples.md +17 -0
- package/roles/support-engineer/incident-response/README.md +6 -0
- package/roles/support-engineer/kubernetes/README.md +6 -0
- package/roles/support-engineer/linux/README.md +6 -0
- package/roles/support-engineer/logs/README.md +6 -0
- package/roles/support-engineer/monitoring/README.md +6 -0
- package/roles/support-engineer/networking/README.md +6 -0
- package/roles/support-engineer/newrelic/README.md +6 -0
- package/roles/support-engineer/postmortem/README.md +6 -0
- package/roles/support-engineer/production/README.md +6 -0
- package/roles/support-engineer/responsibilities.md +16 -0
- package/roles/support-engineer/role.md +47 -0
- package/roles/support-engineer/root-cause-analysis/README.md +6 -0
- package/roles/support-engineer/runbooks/README.md +6 -0
- package/roles/support-engineer/skill-map.md +14 -0
- package/roles/support-engineer/splunk/README.md +6 -0
- package/roles/support-engineer/triggers.md +10 -0
- package/roles/support-engineer/troubleshooting/README.md +6 -0
- package/roles/support-engineer/workflow.md +9 -0
- package/setup.sh +204 -0
- package/skills/.claude/README.md +7 -0
- package/skills/README.md +21 -0
- package/skills/ai-agents/README.md +207 -0
- package/skills/ai-agents/examples.md +335 -0
- package/skills/ai-agents/skill.md +392 -0
- package/skills/architecture/README.md +198 -0
- package/skills/architecture/examples.md +316 -0
- package/skills/architecture/skill.md +189 -0
- package/skills/design-architecture/README.md +107 -0
- package/skills/design-architecture/examples.md +84 -0
- package/skills/design-architecture/skill.md +192 -0
- package/skills/devops/README.md +177 -0
- package/skills/devops/examples.md +376 -0
- package/skills/devops/skill.md +210 -0
- package/skills/documentation/README.md +182 -0
- package/skills/documentation/examples.md +364 -0
- package/skills/documentation/skill.md +200 -0
- package/skills/performance/README.md +177 -0
- package/skills/performance/examples.md +376 -0
- package/skills/performance/skill.md +199 -0
- package/skills/qa/README.md +106 -0
- package/skills/qa/examples.md +84 -0
- package/skills/qa/skill.md +384 -0
- package/skills/security/README.md +108 -0
- package/skills/security/examples.md +85 -0
- package/skills/security/skill.md +223 -0
- package/skills/software-development/README.md +239 -0
- package/skills/software-development/assessment.md +0 -0
- package/skills/software-development/checklists.md +0 -0
- package/skills/software-development/examples.md +375 -0
- package/skills/software-development/prompts.md +0 -0
- package/skills/software-development/skill.md +390 -0
- package/skills/software-development/templates/README.md +7 -0
- package/skills/software-development/templates/api-development.md +0 -0
- package/skills/software-development/templates/bug-fix.md +0 -0
- package/skills/software-development/templates/code-review.md +0 -0
- package/skills/software-development/templates/feature-implementation.md +0 -0
- package/skills/software-development/templates/llm-integration.md +0 -0
- package/skills/software-development/templates/performance-review.md +0 -0
- package/skills/software-development/templates/security-review.md +0 -0
- package/skills/software-development/templates/test-generation.md +0 -0
- package/skills/software-development/tools.md +0 -0
- package/skills/software-development/workflows.md +0 -0
- package/skills/sre/README.md +107 -0
- package/skills/sre/examples.md +379 -0
- package/skills/sre/skill.md +256 -0
- package/skills/support-engineering/README.md +107 -0
- package/skills/support-engineering/examples.md +85 -0
- package/skills/support-engineering/skill.md +103 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: debugger
|
|
3
|
+
description: Debugging specialist for diagnosing issues, analyzing logs, and tracing execution paths
|
|
4
|
+
tools: [Read, Grep, Glob, Bash, Edit]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Debugger Agent
|
|
8
|
+
|
|
9
|
+
Specialized agent for diagnosing and fixing issues.
|
|
10
|
+
|
|
11
|
+
## Responsibilities
|
|
12
|
+
|
|
13
|
+
- Reproduce and isolate issues
|
|
14
|
+
- Analyze error logs and stack traces
|
|
15
|
+
- Trace execution paths
|
|
16
|
+
- Identify root causes
|
|
17
|
+
- Propose fixes for bugs
|
|
18
|
+
- Verify bug fixes
|
|
19
|
+
|
|
20
|
+
## When to Use
|
|
21
|
+
|
|
22
|
+
Use this agent when you need to:
|
|
23
|
+
- Debug production issues
|
|
24
|
+
- Investigate unexpected behavior
|
|
25
|
+
- Analyze error logs
|
|
26
|
+
- Trace code execution
|
|
27
|
+
- Find root causes of failures
|
|
28
|
+
- Verify bug fixes work correctly
|
|
29
|
+
|
|
30
|
+
## What It Produces
|
|
31
|
+
|
|
32
|
+
- Root cause analysis
|
|
33
|
+
- Reproduction steps
|
|
34
|
+
- Bug fix proposals
|
|
35
|
+
- Verification that fixes work
|
|
36
|
+
- Documentation of issue and solution
|
|
37
|
+
|
|
38
|
+
## Tools Available
|
|
39
|
+
|
|
40
|
+
- Code analysis: Read, Grep, Glob
|
|
41
|
+
- Log and system inspection: Bash
|
|
42
|
+
- Fix implementation: Edit
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devops
|
|
3
|
+
description: DevOps specialist for infrastructure, deployment pipelines, and operational concerns
|
|
4
|
+
tools: [Read, Grep, Glob, Bash, Write, Edit]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# DevOps Agent
|
|
8
|
+
|
|
9
|
+
Specialized agent for infrastructure and operations.
|
|
10
|
+
|
|
11
|
+
## Responsibilities
|
|
12
|
+
|
|
13
|
+
- Design deployment pipelines
|
|
14
|
+
- Manage infrastructure configuration
|
|
15
|
+
- Set up CI/CD workflows
|
|
16
|
+
- Handle container and orchestration concerns
|
|
17
|
+
- Configure monitoring and alerting
|
|
18
|
+
- Manage environment setup
|
|
19
|
+
|
|
20
|
+
## When to Use
|
|
21
|
+
|
|
22
|
+
Use this agent when you need to:
|
|
23
|
+
- Design deployment strategies
|
|
24
|
+
- Set up CI/CD pipelines
|
|
25
|
+
- Configure Kubernetes or container infrastructure
|
|
26
|
+
- Create Terraform/IaC configurations
|
|
27
|
+
- Set up monitoring and logging
|
|
28
|
+
- Troubleshoot deployment issues
|
|
29
|
+
- Plan infrastructure scaling
|
|
30
|
+
|
|
31
|
+
## What It Produces
|
|
32
|
+
|
|
33
|
+
- Pipeline configurations
|
|
34
|
+
- Infrastructure as code
|
|
35
|
+
- Deployment strategies
|
|
36
|
+
- Monitoring configurations
|
|
37
|
+
- Documentation of operational procedures
|
|
38
|
+
|
|
39
|
+
## Tools Available
|
|
40
|
+
|
|
41
|
+
- Code and config analysis: Read, Grep, Glob
|
|
42
|
+
- System administration: Bash
|
|
43
|
+
- Configuration creation: Write, Edit
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: documentation
|
|
3
|
+
description: Documentation specialist for writing and maintaining system and API documentation
|
|
4
|
+
tools: [Read, Grep, Glob, Bash, Write, Edit, WebFetch]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Documentation Agent
|
|
8
|
+
|
|
9
|
+
Specialized agent for creating and maintaining documentation.
|
|
10
|
+
|
|
11
|
+
## Responsibilities
|
|
12
|
+
|
|
13
|
+
- Write system documentation
|
|
14
|
+
- Create API documentation
|
|
15
|
+
- Write user guides and tutorials
|
|
16
|
+
- Maintain README files
|
|
17
|
+
- Document architecture decisions
|
|
18
|
+
- Create onboarding materials
|
|
19
|
+
|
|
20
|
+
## When to Use
|
|
21
|
+
|
|
22
|
+
Use this agent when you need to:
|
|
23
|
+
- Write system documentation
|
|
24
|
+
- Document APIs and interfaces
|
|
25
|
+
- Create user guides
|
|
26
|
+
- Write installation guides
|
|
27
|
+
- Document architecture decisions
|
|
28
|
+
- Update README files
|
|
29
|
+
- Create contribution guidelines
|
|
30
|
+
|
|
31
|
+
## What It Produces
|
|
32
|
+
|
|
33
|
+
- API documentation
|
|
34
|
+
- System architecture documentation
|
|
35
|
+
- User guides and tutorials
|
|
36
|
+
- README and overview documents
|
|
37
|
+
- Installation and setup guides
|
|
38
|
+
- Architecture decision records (ADRs)
|
|
39
|
+
|
|
40
|
+
## Tools Available
|
|
41
|
+
|
|
42
|
+
- Code analysis: Read, Grep, Glob
|
|
43
|
+
- System inspection: Bash
|
|
44
|
+
- Documentation creation: Write, Edit
|
|
45
|
+
- Reference materials: WebFetch
|
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
# Agent Examples
|
|
2
|
+
|
|
3
|
+
Practical examples showing how to use each specialized agent.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Architect Agent Examples
|
|
8
|
+
|
|
9
|
+
### Example 1: Design a Microservices Architecture
|
|
10
|
+
|
|
11
|
+
**Request:**
|
|
12
|
+
```
|
|
13
|
+
Use architect to design a microservices architecture for an e-commerce platform
|
|
14
|
+
with product catalog, order processing, and payment handling, supporting 10M+ users
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Expected Output:**
|
|
18
|
+
- Service boundary definitions
|
|
19
|
+
- Data flow between services
|
|
20
|
+
- Technology recommendations
|
|
21
|
+
- Scalability approach
|
|
22
|
+
- API contracts
|
|
23
|
+
- Failure handling strategies
|
|
24
|
+
|
|
25
|
+
### Example 2: Plan a Database Migration
|
|
26
|
+
|
|
27
|
+
**Request:**
|
|
28
|
+
```
|
|
29
|
+
Use architect to design migration strategy from monolithic database to sharded architecture
|
|
30
|
+
considering existing 50GB dataset and zero-downtime requirement
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Expected Output:**
|
|
34
|
+
- Sharding strategy
|
|
35
|
+
- Migration phases
|
|
36
|
+
- Rollback plan
|
|
37
|
+
- Performance impact analysis
|
|
38
|
+
- Testing approach
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Coder Agent Examples
|
|
43
|
+
|
|
44
|
+
### Example 1: Implement a Feature
|
|
45
|
+
|
|
46
|
+
**Request:**
|
|
47
|
+
```
|
|
48
|
+
Use coder to implement an authentication middleware for a Node.js Express app
|
|
49
|
+
with JWT token validation and role-based access control
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Expected Output:**
|
|
53
|
+
- Production-ready middleware code
|
|
54
|
+
- Error handling
|
|
55
|
+
- Logging
|
|
56
|
+
- Integration tests
|
|
57
|
+
- Usage documentation
|
|
58
|
+
|
|
59
|
+
### Example 2: Add Database Queries
|
|
60
|
+
|
|
61
|
+
**Request:**
|
|
62
|
+
```
|
|
63
|
+
Use coder to implement pagination and filtering for product search in our Postgres database
|
|
64
|
+
following existing query patterns
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Expected Output:**
|
|
68
|
+
- Query implementation
|
|
69
|
+
- Index recommendations
|
|
70
|
+
- Error handling
|
|
71
|
+
- Performance considerations
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Debugger Agent Examples
|
|
76
|
+
|
|
77
|
+
### Example 1: Diagnose a Performance Issue
|
|
78
|
+
|
|
79
|
+
**Request:**
|
|
80
|
+
```
|
|
81
|
+
Use debugger to diagnose why our API response times spiked from 100ms to 2s after
|
|
82
|
+
the database upgrade yesterday
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Expected Output:**
|
|
86
|
+
- Root cause analysis
|
|
87
|
+
- Performance metrics
|
|
88
|
+
- Query analysis
|
|
89
|
+
- Optimization recommendations
|
|
90
|
+
- Verification steps
|
|
91
|
+
|
|
92
|
+
### Example 2: Investigate a Crash
|
|
93
|
+
|
|
94
|
+
**Request:**
|
|
95
|
+
```
|
|
96
|
+
Use debugger to find the cause of intermittent OutOfMemory crashes in our Python worker
|
|
97
|
+
service that processes batch jobs
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Expected Output:**
|
|
101
|
+
- Reproduction steps
|
|
102
|
+
- Memory profiling results
|
|
103
|
+
- Root cause identification
|
|
104
|
+
- Fix recommendations
|
|
105
|
+
- Monitoring improvements
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## Tester Agent Examples
|
|
110
|
+
|
|
111
|
+
### Example 1: Design Test Strategy
|
|
112
|
+
|
|
113
|
+
**Request:**
|
|
114
|
+
```
|
|
115
|
+
Use tester to create comprehensive test strategy for payment processing service
|
|
116
|
+
covering happy path, failures, edge cases, and concurrency
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Expected Output:**
|
|
120
|
+
- Test plan breakdown
|
|
121
|
+
- Unit test specs
|
|
122
|
+
- Integration test scenarios
|
|
123
|
+
- Load test approach
|
|
124
|
+
- Error case coverage
|
|
125
|
+
|
|
126
|
+
### Example 2: Improve Test Coverage
|
|
127
|
+
|
|
128
|
+
**Request:**
|
|
129
|
+
```
|
|
130
|
+
Use tester to identify gaps in test coverage for our authentication module
|
|
131
|
+
and create tests for missing scenarios
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Expected Output:**
|
|
135
|
+
- Coverage analysis
|
|
136
|
+
- Missing scenario identification
|
|
137
|
+
- Test code implementation
|
|
138
|
+
- Integration with existing tests
|
|
139
|
+
|
|
140
|
+
---
|
|
141
|
+
|
|
142
|
+
## Refactorer Agent Examples
|
|
143
|
+
|
|
144
|
+
### Example 1: Consolidate Duplicate Code
|
|
145
|
+
|
|
146
|
+
**Request:**
|
|
147
|
+
```
|
|
148
|
+
Use refactorer to consolidate duplicate validation logic across 5 API endpoints
|
|
149
|
+
and extract to a reusable validation library
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**Expected Output:**
|
|
153
|
+
- Extracted validation library
|
|
154
|
+
- Updated endpoints
|
|
155
|
+
- Test preservation
|
|
156
|
+
- Documentation
|
|
157
|
+
- Migration plan
|
|
158
|
+
|
|
159
|
+
### Example 2: Modernize Legacy Code
|
|
160
|
+
|
|
161
|
+
**Request:**
|
|
162
|
+
```
|
|
163
|
+
Use refactorer to modernize our 3-year-old Python codebase from Python 3.7 patterns
|
|
164
|
+
to Python 3.11 with async/await and type hints
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**Expected Output:**
|
|
168
|
+
- Modernized code
|
|
169
|
+
- Type annotations
|
|
170
|
+
- Async conversions
|
|
171
|
+
- Test verification
|
|
172
|
+
- Migration guide
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Reviewer Agent Examples
|
|
177
|
+
|
|
178
|
+
### Example 1: Review a Pull Request
|
|
179
|
+
|
|
180
|
+
**Request:**
|
|
181
|
+
```
|
|
182
|
+
Use reviewer to review this pull request adding a caching layer to our API
|
|
183
|
+
for correctness, security, performance, and maintainability
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Expected Output:**
|
|
187
|
+
- Bug identification
|
|
188
|
+
- Security concerns
|
|
189
|
+
- Performance issues
|
|
190
|
+
- Code quality feedback
|
|
191
|
+
- Maintainability suggestions
|
|
192
|
+
|
|
193
|
+
### Example 2: Audit Code Quality
|
|
194
|
+
|
|
195
|
+
**Request:**
|
|
196
|
+
```
|
|
197
|
+
Use reviewer to audit the authentication module for consistency with project standards
|
|
198
|
+
and potential issues before we use it in sensitive flows
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Expected Output:**
|
|
202
|
+
- Standards compliance check
|
|
203
|
+
- Security assessment
|
|
204
|
+
- Performance review
|
|
205
|
+
- Architecture alignment
|
|
206
|
+
- Risk assessment
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Security Agent Examples
|
|
211
|
+
|
|
212
|
+
### Example 1: Perform Security Review
|
|
213
|
+
|
|
214
|
+
**Request:**
|
|
215
|
+
```
|
|
216
|
+
Use security to perform security review of our API authentication and authorization
|
|
217
|
+
looking for OWASP vulnerabilities
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Expected Output:**
|
|
221
|
+
- Vulnerability assessment
|
|
222
|
+
- Threat analysis
|
|
223
|
+
- Compliance gaps
|
|
224
|
+
- Remediation steps
|
|
225
|
+
- Security recommendations
|
|
226
|
+
|
|
227
|
+
### Example 2: Threat Model a Feature
|
|
228
|
+
|
|
229
|
+
**Request:**
|
|
230
|
+
```
|
|
231
|
+
Use security to threat model our new user data export feature looking for
|
|
232
|
+
data exposure risks and unauthorized access vectors
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
**Expected Output:**
|
|
236
|
+
- Threat identification
|
|
237
|
+
- Risk assessment
|
|
238
|
+
- Attack scenarios
|
|
239
|
+
- Mitigation strategies
|
|
240
|
+
- Security architecture recommendations
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Performance Agent Examples
|
|
245
|
+
|
|
246
|
+
### Example 1: Optimize Database Queries
|
|
247
|
+
|
|
248
|
+
**Request:**
|
|
249
|
+
```
|
|
250
|
+
Use performance to analyze and optimize slow product search queries that are
|
|
251
|
+
causing p99 latencies of 3+ seconds
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
**Expected Output:**
|
|
255
|
+
- Query analysis
|
|
256
|
+
- Index recommendations
|
|
257
|
+
- Optimization strategies
|
|
258
|
+
- Benchmark results
|
|
259
|
+
- Monitoring approach
|
|
260
|
+
|
|
261
|
+
### Example 2: Improve Scalability
|
|
262
|
+
|
|
263
|
+
**Request:**
|
|
264
|
+
```
|
|
265
|
+
Use performance to identify bottlenecks in our real-time notification system
|
|
266
|
+
before scaling to 1M concurrent users
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
**Expected Output:**
|
|
270
|
+
- Bottleneck analysis
|
|
271
|
+
- Capacity planning
|
|
272
|
+
- Architecture improvements
|
|
273
|
+
- Scaling strategy
|
|
274
|
+
- Load test results
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## Planner Agent Examples
|
|
279
|
+
|
|
280
|
+
### Example 1: Break Down a Feature
|
|
281
|
+
|
|
282
|
+
**Request:**
|
|
283
|
+
```
|
|
284
|
+
Use planner to break down implementing OAuth2 authentication into tasks,
|
|
285
|
+
estimate effort, and create a timeline for a team of 3
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
**Expected Output:**
|
|
289
|
+
- Task breakdown
|
|
290
|
+
- Effort estimates
|
|
291
|
+
- Dependency map
|
|
292
|
+
- Timeline
|
|
293
|
+
- Risk assessment
|
|
294
|
+
- Testing plan
|
|
295
|
+
|
|
296
|
+
### Example 2: Plan a Migration
|
|
297
|
+
|
|
298
|
+
**Request:**
|
|
299
|
+
```
|
|
300
|
+
Use planner to plan migration from our legacy monolith to microservices,
|
|
301
|
+
breaking into phases that can be done incrementally over 6 months
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
**Expected Output:**
|
|
305
|
+
- Phase breakdown
|
|
306
|
+
- Tasks per phase
|
|
307
|
+
- Resource requirements
|
|
308
|
+
- Risk mitigation
|
|
309
|
+
- Success criteria per phase
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## Product Owner Agent Examples
|
|
314
|
+
|
|
315
|
+
### Example 1: Create User Stories
|
|
316
|
+
|
|
317
|
+
**Request:**
|
|
318
|
+
```
|
|
319
|
+
Use product-owner to create user stories for a new notification preferences feature
|
|
320
|
+
including acceptance criteria and success metrics
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
**Expected Output:**
|
|
324
|
+
- User stories
|
|
325
|
+
- Acceptance criteria
|
|
326
|
+
- Success metrics
|
|
327
|
+
- Edge cases
|
|
328
|
+
- Acceptance tests
|
|
329
|
+
|
|
330
|
+
### Example 2: Define Feature Requirements
|
|
331
|
+
|
|
332
|
+
**Request:**
|
|
333
|
+
```
|
|
334
|
+
Use product-owner to define detailed requirements for mobile app offline mode
|
|
335
|
+
including scope, constraints, and success criteria
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
**Expected Output:**
|
|
339
|
+
- Feature specification
|
|
340
|
+
- Requirements breakdown
|
|
341
|
+
- Constraints and assumptions
|
|
342
|
+
- Success metrics
|
|
343
|
+
- Stakeholder considerations
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Release Manager Agent Examples
|
|
348
|
+
|
|
349
|
+
### Example 1: Plan a Release
|
|
350
|
+
|
|
351
|
+
**Request:**
|
|
352
|
+
```
|
|
353
|
+
Use release-manager to plan v2.0 release including version bump, changelog,
|
|
354
|
+
deployment strategy, and rollback plan
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**Expected Output:**
|
|
358
|
+
- Release timeline
|
|
359
|
+
- Version changes
|
|
360
|
+
- Changelog
|
|
361
|
+
- Deployment steps
|
|
362
|
+
- Rollback procedures
|
|
363
|
+
- Release notes
|
|
364
|
+
|
|
365
|
+
### Example 2: Create Deployment Checklist
|
|
366
|
+
|
|
367
|
+
**Request:**
|
|
368
|
+
```
|
|
369
|
+
Use release-manager to create pre-deployment and post-deployment checklists
|
|
370
|
+
for production release ensuring we catch issues early
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**Expected Output:**
|
|
374
|
+
- Pre-deployment checklist
|
|
375
|
+
- Deployment steps
|
|
376
|
+
- Verification steps
|
|
377
|
+
- Rollback criteria
|
|
378
|
+
- Post-deployment monitoring
|
|
379
|
+
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
## DevOps Agent Examples
|
|
383
|
+
|
|
384
|
+
### Example 1: Design Deployment Pipeline
|
|
385
|
+
|
|
386
|
+
**Request:**
|
|
387
|
+
```
|
|
388
|
+
Use devops to design CI/CD pipeline for our Node.js microservices using GitHub Actions
|
|
389
|
+
and Kubernetes, with automated testing and gradual rollout
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
**Expected Output:**
|
|
393
|
+
- Pipeline configuration
|
|
394
|
+
- Testing stages
|
|
395
|
+
- Deployment strategy
|
|
396
|
+
- Monitoring integration
|
|
397
|
+
- Cost optimization
|
|
398
|
+
|
|
399
|
+
### Example 2: Set Up Infrastructure
|
|
400
|
+
|
|
401
|
+
**Request:**
|
|
402
|
+
```
|
|
403
|
+
Use devops to create Terraform code for our infrastructure: load balancer,
|
|
404
|
+
Kubernetes cluster, RDS database, and monitoring using Prometheus
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
**Expected Output:**
|
|
408
|
+
- Terraform modules
|
|
409
|
+
- VPC and networking
|
|
410
|
+
- Security groups
|
|
411
|
+
- Monitoring setup
|
|
412
|
+
- Documentation
|
|
413
|
+
|
|
414
|
+
---
|
|
415
|
+
|
|
416
|
+
## Support Agent Examples
|
|
417
|
+
|
|
418
|
+
### Example 1: Create Troubleshooting Guide
|
|
419
|
+
|
|
420
|
+
**Request:**
|
|
421
|
+
```
|
|
422
|
+
Use support to create troubleshooting guide for common API errors our customers
|
|
423
|
+
experience, with diagnosis steps and solutions
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
**Expected Output:**
|
|
427
|
+
- Error documentation
|
|
428
|
+
- Diagnosis steps
|
|
429
|
+
- Common causes
|
|
430
|
+
- Solution steps
|
|
431
|
+
- Escalation procedures
|
|
432
|
+
|
|
433
|
+
### Example 2: Diagnose Customer Issue
|
|
434
|
+
|
|
435
|
+
**Request:**
|
|
436
|
+
```
|
|
437
|
+
Use support to diagnose why customer reports payments failing intermittently
|
|
438
|
+
with 503 errors from our payment processor
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
**Expected Output:**
|
|
442
|
+
- Diagnosis steps
|
|
443
|
+
- Root cause analysis
|
|
444
|
+
- Workaround (if needed)
|
|
445
|
+
- Resolution steps
|
|
446
|
+
- Prevention
|
|
447
|
+
|
|
448
|
+
---
|
|
449
|
+
|
|
450
|
+
## Researcher Agent Examples
|
|
451
|
+
|
|
452
|
+
### Example 1: Explore a Codebase
|
|
453
|
+
|
|
454
|
+
**Request:**
|
|
455
|
+
```
|
|
456
|
+
Use researcher to explore the authentication system codebase to understand
|
|
457
|
+
current implementation, patterns, and dependencies before proposing changes
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
**Expected Output:**
|
|
461
|
+
- Architecture overview
|
|
462
|
+
- Code flow documentation
|
|
463
|
+
- Pattern identification
|
|
464
|
+
- Dependency map
|
|
465
|
+
- Integration points
|
|
466
|
+
|
|
467
|
+
### Example 2: Evaluate a Technology
|
|
468
|
+
|
|
469
|
+
**Request:**
|
|
470
|
+
```
|
|
471
|
+
Use researcher to evaluate whether gRPC would be better than REST for our
|
|
472
|
+
inter-service communication needs
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
**Expected Output:**
|
|
476
|
+
- Comparison analysis
|
|
477
|
+
- Use case fit assessment
|
|
478
|
+
- Performance implications
|
|
479
|
+
- Migration effort
|
|
480
|
+
- Recommendation with rationale
|
|
481
|
+
|
|
482
|
+
---
|
|
483
|
+
|
|
484
|
+
## Documentation Agent Examples
|
|
485
|
+
|
|
486
|
+
### Example 1: Write API Documentation
|
|
487
|
+
|
|
488
|
+
**Request:**
|
|
489
|
+
```
|
|
490
|
+
Use documentation to write comprehensive OpenAPI documentation for our payment
|
|
491
|
+
API endpoints including all request/response formats and error codes
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
**Expected Output:**
|
|
495
|
+
- OpenAPI specification
|
|
496
|
+
- Endpoint documentation
|
|
497
|
+
- Error documentation
|
|
498
|
+
- Request/response examples
|
|
499
|
+
- Authentication guide
|
|
500
|
+
|
|
501
|
+
### Example 2: Create Architecture Guide
|
|
502
|
+
|
|
503
|
+
**Request:**
|
|
504
|
+
```
|
|
505
|
+
Use documentation to create architecture guide explaining our microservices design,
|
|
506
|
+
communication patterns, and deployment strategy for new developers
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
**Expected Output:**
|
|
510
|
+
- Architecture overview
|
|
511
|
+
- Component descriptions
|
|
512
|
+
- Data flow diagrams
|
|
513
|
+
- Communication patterns
|
|
514
|
+
- Deployment guide
|
|
515
|
+
- Troubleshooting guide
|
|
516
|
+
|
|
517
|
+
---
|
|
518
|
+
|
|
519
|
+
## Combining Multiple Agents
|
|
520
|
+
|
|
521
|
+
### Example: Complete Feature Development
|
|
522
|
+
|
|
523
|
+
**Task:** Implement a new notification feature end-to-end
|
|
524
|
+
|
|
525
|
+
**Agent Sequence:**
|
|
526
|
+
|
|
527
|
+
1. **planner** - Break down feature into tasks and create timeline
|
|
528
|
+
2. **product-owner** - Define detailed user stories and acceptance criteria
|
|
529
|
+
3. **architect** - Design notification system architecture and data flow
|
|
530
|
+
4. **coder** - Implement notification service and API endpoints
|
|
531
|
+
5. **tester** - Write comprehensive tests and create test strategy
|
|
532
|
+
6. **reviewer** - Review code for quality and correctness
|
|
533
|
+
7. **security** - Perform security review on user data handling
|
|
534
|
+
8. **performance** - Optimize database queries and notification delivery
|
|
535
|
+
9. **documentation** - Write API docs and admin guide
|
|
536
|
+
10. **devops** - Set up monitoring and deployment pipeline
|
|
537
|
+
11. **release-manager** - Plan release and create deployment checklist
|
|
538
|
+
|
|
539
|
+
Each agent builds on previous outputs to create a complete, production-ready feature.
|
|
540
|
+
|
|
541
|
+
---
|
|
542
|
+
|
|
543
|
+
## Tips for Effective Agent Use
|
|
544
|
+
|
|
545
|
+
- **Be specific**: Include constraints, goals, and context
|
|
546
|
+
- **Review outputs**: Verify agent recommendations before acting
|
|
547
|
+
- **Chain agents**: Use multiple agents for complex tasks
|
|
548
|
+
- **Save results**: Keep agent outputs for reference and iteration
|
|
549
|
+
- **Iterate**: Provide feedback to refine outputs
|
|
550
|
+
- **Combine expertise**: Use multiple agents to cover all aspects of a task
|