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,197 @@
|
|
|
1
|
+
# Workflow
|
|
2
|
+
|
|
3
|
+
This document describes the canonical lifecycle for infrastructure and DevOps work, from
|
|
4
|
+
initial requirement through production operation and ongoing maintenance.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Phases
|
|
9
|
+
|
|
10
|
+
### 1. Requirement & Discovery
|
|
11
|
+
**Goal:** Understand what needs to be built and why.
|
|
12
|
+
|
|
13
|
+
- [ ] Clarify business requirement or incident that triggered the request.
|
|
14
|
+
- [ ] Identify SLOs: availability targets, latency, recovery time objectives (RTO/RPO).
|
|
15
|
+
- [ ] Document constraints: compliance, security, cost, organizational policies.
|
|
16
|
+
- [ ] Identify dependencies: applications, services, databases, external systems.
|
|
17
|
+
- [ ] Define success metrics: reliability, cost, performance, security posture.
|
|
18
|
+
|
|
19
|
+
**Deliverable:** Requirement summary with SLOs, constraints, and dependencies documented.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
### 2. Design & Architecture
|
|
24
|
+
**Goal:** Create a reliable, secure, and cost-effective solution.
|
|
25
|
+
|
|
26
|
+
- [ ] Review existing infrastructure patterns and conventions.
|
|
27
|
+
- [ ] Evaluate multiple approaches (on-premise vs. cloud, single-region vs. multi-region).
|
|
28
|
+
- [ ] Document trade-offs: reliability vs. complexity, cost vs. performance.
|
|
29
|
+
- [ ] Create architecture diagrams showing topology, dependencies, and data flows.
|
|
30
|
+
- [ ] Design for failure: identify single points of failure and mitigation strategies.
|
|
31
|
+
- [ ] Plan disaster recovery and business continuity procedures.
|
|
32
|
+
- [ ] Estimate costs and resource requirements.
|
|
33
|
+
|
|
34
|
+
**Deliverable:** Architecture design document with diagrams, trade-offs, and risk assessment.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
### 3. Security & Compliance Review
|
|
39
|
+
**Goal:** Ensure infrastructure meets security and compliance requirements.
|
|
40
|
+
|
|
41
|
+
- [ ] Review security checklist from `skills/security/`.
|
|
42
|
+
- [ ] Plan for least-privilege access controls and secrets management.
|
|
43
|
+
- [ ] Identify compliance requirements (SOC2, HIPAA, GDPR, etc.).
|
|
44
|
+
- [ ] Plan for encryption at rest and in transit.
|
|
45
|
+
- [ ] Design network segmentation and firewall rules.
|
|
46
|
+
- [ ] Plan for security monitoring and audit logging.
|
|
47
|
+
|
|
48
|
+
**Deliverable:** Security and compliance review document with identified controls.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
### 4. Infrastructure-as-Code Implementation
|
|
53
|
+
**Goal:** Build reproducible, version-controlled infrastructure.
|
|
54
|
+
|
|
55
|
+
- [ ] Create Terraform modules, CloudFormation templates, or Helm charts.
|
|
56
|
+
- [ ] Follow IaC best practices: modularity, reusability, clear variable naming.
|
|
57
|
+
- [ ] Implement infrastructure validation and linting.
|
|
58
|
+
- [ ] Version control all infrastructure code with clear commit messages.
|
|
59
|
+
- [ ] Implement code review process before merging infrastructure changes.
|
|
60
|
+
- [ ] Create and maintain detailed comments explaining non-obvious decisions.
|
|
61
|
+
|
|
62
|
+
**Deliverable:** Version-controlled, well-documented infrastructure code.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### 5. Staging & Testing
|
|
67
|
+
**Goal:** Validate infrastructure in a production-like environment before deploying.
|
|
68
|
+
|
|
69
|
+
- [ ] Deploy infrastructure to staging environment using IaC.
|
|
70
|
+
- [ ] Verify all components (compute, networking, storage, security) are correctly configured.
|
|
71
|
+
- [ ] Test failover and recovery procedures.
|
|
72
|
+
- [ ] Perform load testing to validate scalability and performance.
|
|
73
|
+
- [ ] Test security controls and access restrictions.
|
|
74
|
+
- [ ] Validate monitoring and alerting configurations.
|
|
75
|
+
|
|
76
|
+
**Deliverable:** Staging deployment report with test results and any issues identified.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### 6. Monitoring & Observability Setup
|
|
81
|
+
**Goal:** Ensure production systems are observable and maintainable.
|
|
82
|
+
|
|
83
|
+
- [ ] Configure metrics collection (Prometheus, CloudWatch, etc.).
|
|
84
|
+
- [ ] Set up centralized logging (ELK, Splunk, CloudLogging).
|
|
85
|
+
- [ ] Create dashboards for key infrastructure and application metrics.
|
|
86
|
+
- [ ] Define SLOs and error budgets aligned with business requirements.
|
|
87
|
+
- [ ] Configure alerting for critical conditions and thresholds.
|
|
88
|
+
- [ ] Create runbooks for common operational tasks and incidents.
|
|
89
|
+
|
|
90
|
+
**Deliverable:** Monitoring stack configured with dashboards, alerts, and runbooks.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
### 7. Production Deployment
|
|
95
|
+
**Goal:** Deploy infrastructure to production with minimal risk.
|
|
96
|
+
|
|
97
|
+
- [ ] Schedule deployment during low-traffic window if possible.
|
|
98
|
+
- [ ] Brief team on deployment plan and rollback procedures.
|
|
99
|
+
- [ ] Deploy in phases (if applicable) using blue-green or canary strategies.
|
|
100
|
+
- [ ] Verify each deployment phase with monitoring and health checks.
|
|
101
|
+
- [ ] Document deployment execution and any issues encountered.
|
|
102
|
+
- [ ] Maintain communication channel for incident response.
|
|
103
|
+
|
|
104
|
+
**Deliverable:** Production infrastructure deployed and validated.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
### 8. Post-Deployment Validation
|
|
109
|
+
**Goal:** Confirm production infrastructure meets SLOs and requirements.
|
|
110
|
+
|
|
111
|
+
- [ ] Monitor key metrics and dashboards for anomalies.
|
|
112
|
+
- [ ] Verify all alerts and notifications are firing correctly.
|
|
113
|
+
- [ ] Test failover scenarios and recovery procedures.
|
|
114
|
+
- [ ] Confirm backups are working and restorable.
|
|
115
|
+
- [ ] Validate security policies and access controls are enforced.
|
|
116
|
+
- [ ] Verify cost tracking and budget alerts are in place.
|
|
117
|
+
|
|
118
|
+
**Deliverable:** Post-deployment validation report confirming SLO compliance.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
### 9. Documentation & Knowledge Transfer
|
|
123
|
+
**Goal:** Capture operational knowledge for future operators.
|
|
124
|
+
|
|
125
|
+
- [ ] Update architecture documentation with production details.
|
|
126
|
+
- [ ] Create or update operational runbooks.
|
|
127
|
+
- [ ] Document troubleshooting procedures for common issues.
|
|
128
|
+
- [ ] Document disaster recovery procedures and recovery steps.
|
|
129
|
+
- [ ] Conduct knowledge transfer session with on-call team.
|
|
130
|
+
- [ ] Create alerts and escalation procedures for critical alerts.
|
|
131
|
+
|
|
132
|
+
**Deliverable:** Complete documentation for operations and incident response.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
### 10. Ongoing Operations & Optimization
|
|
137
|
+
**Goal:** Maintain, monitor, and continuously improve infrastructure.
|
|
138
|
+
|
|
139
|
+
- [ ] Monitor infrastructure health and performance metrics continuously.
|
|
140
|
+
- [ ] Respond to incidents and perform root cause analysis.
|
|
141
|
+
- [ ] Implement performance improvements based on monitoring data.
|
|
142
|
+
- [ ] Optimize costs by right-sizing resources and leveraging reserved capacity.
|
|
143
|
+
- [ ] Apply security patches and updates regularly.
|
|
144
|
+
- [ ] Conduct regular disaster recovery drills.
|
|
145
|
+
- [ ] Review and update documentation as infrastructure evolves.
|
|
146
|
+
|
|
147
|
+
**Deliverable:** Healthy, secure, cost-optimized production infrastructure.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Workflow Triggers
|
|
152
|
+
|
|
153
|
+
This workflow activates when:
|
|
154
|
+
|
|
155
|
+
- A new infrastructure component or service needs to be built.
|
|
156
|
+
- An existing infrastructure requires significant changes (scaling, redundancy, compliance).
|
|
157
|
+
- A production incident reveals infrastructure weaknesses requiring architectural changes.
|
|
158
|
+
- Cost optimization or performance improvements are needed.
|
|
159
|
+
- Security vulnerabilities or compliance gaps are discovered.
|
|
160
|
+
- Business requirements change, affecting SLOs or infrastructure design.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Decision Gates
|
|
165
|
+
|
|
166
|
+
Before proceeding to the next phase:
|
|
167
|
+
|
|
168
|
+
1. **After Discovery:** Requirement and SLOs are clearly documented and agreed upon.
|
|
169
|
+
2. **After Design:** Architecture is reviewed and approved by infrastructure team and stakeholders.
|
|
170
|
+
3. **After Security Review:** Security and compliance concerns are addressed and documented.
|
|
171
|
+
4. **After IaC Implementation:** Code is reviewed, tested, and ready for staging.
|
|
172
|
+
5. **After Staging:** All tests pass and infrastructure behaves as expected.
|
|
173
|
+
6. **After Monitoring Setup:** Observability is confirmed to be working correctly.
|
|
174
|
+
7. **After Production Deployment:** Deployment succeeds and post-deployment validation passes.
|
|
175
|
+
8. **After Documentation:** All documentation is complete and communicated to operations team.
|
|
176
|
+
|
|
177
|
+
If any gate fails, resolve the issue before proceeding to the next phase.
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## Role & Responsibilities
|
|
182
|
+
|
|
183
|
+
- **DevOps Engineer:** Leads design, implementation, and deployment of infrastructure.
|
|
184
|
+
- **Infrastructure Team:** Reviews architecture, security, and IaC code.
|
|
185
|
+
- **Application Team:** Provides requirements, performance constraints, and testing support.
|
|
186
|
+
- **Security Team:** Reviews security and compliance controls.
|
|
187
|
+
- **On-Call Team:** Inherits ownership of production infrastructure after deployment.
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Timeline Guidance
|
|
192
|
+
|
|
193
|
+
- **Small change (configuration, monitoring, single service):** 1-3 days
|
|
194
|
+
- **Medium change (new service, significant scaling):** 1-2 weeks
|
|
195
|
+
- **Large change (architectural redesign, multi-region):** 2-8 weeks
|
|
196
|
+
|
|
197
|
+
Timelines vary based on complexity, approval requirements, and testing needs.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# QA Role
|
|
2
|
+
|
|
3
|
+
Use this folder for quality-assurance role guidance.
|
|
4
|
+
|
|
5
|
+
This role packet defines how to plan, execute, automate, and report quality
|
|
6
|
+
work across product changes.
|
|
7
|
+
|
|
8
|
+
## Files
|
|
9
|
+
|
|
10
|
+
- `role.md` - Operating model for QA work.
|
|
11
|
+
- `responsibilities.md` - Primary ownership areas.
|
|
12
|
+
- `workflow.md` - Standard QA workflow.
|
|
13
|
+
- `triggers.md` - When to activate this role.
|
|
14
|
+
- `skill-map.md` - Related skills and contexts.
|
|
15
|
+
- `checklists.md` - Reusable QA checklists.
|
|
16
|
+
- `examples.md` - Example QA outputs.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# QA Checklists
|
|
2
|
+
|
|
3
|
+
## Test Planning
|
|
4
|
+
|
|
5
|
+
- [ ] Acceptance criteria are clear and testable.
|
|
6
|
+
- [ ] Critical user journeys are identified.
|
|
7
|
+
- [ ] Positive, negative, boundary, and permission cases are listed.
|
|
8
|
+
- [ ] Required test data and environments are available.
|
|
9
|
+
- [ ] Dependencies and integration points are understood.
|
|
10
|
+
|
|
11
|
+
## Execution
|
|
12
|
+
|
|
13
|
+
- [ ] Functional checks cover the changed behavior.
|
|
14
|
+
- [ ] Regression checks cover nearby existing behavior.
|
|
15
|
+
- [ ] Exploratory testing covers failure states and unusual inputs.
|
|
16
|
+
- [ ] Automated tests are added or updated where valuable.
|
|
17
|
+
- [ ] Evidence is captured for failures and release-critical passes.
|
|
18
|
+
|
|
19
|
+
## Release Readiness
|
|
20
|
+
|
|
21
|
+
- [ ] Critical and high severity defects are resolved or accepted.
|
|
22
|
+
- [ ] Blockers and residual risks are documented.
|
|
23
|
+
- [ ] Test results are summarized with pass, fail, blocked, and not-run status.
|
|
24
|
+
- [ ] Follow-up coverage or automation work is recorded.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# QA Examples
|
|
2
|
+
|
|
3
|
+
## Defect Report
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
Title: Checkout fails when saved card requires 3DS challenge
|
|
7
|
+
Severity: High
|
|
8
|
+
Environment: staging
|
|
9
|
+
Steps:
|
|
10
|
+
1. Sign in as a user with a saved 3DS card.
|
|
11
|
+
2. Add any paid plan to checkout.
|
|
12
|
+
3. Submit payment.
|
|
13
|
+
Expected: User is redirected to the 3DS challenge.
|
|
14
|
+
Actual: Checkout displays a generic failure and no retry path.
|
|
15
|
+
Evidence: staging logs, screenshot, request id.
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Release Summary
|
|
19
|
+
|
|
20
|
+
```markdown
|
|
21
|
+
Status: Conditional go
|
|
22
|
+
Passed: Core signup, checkout, billing update, cancellation
|
|
23
|
+
Failed: None
|
|
24
|
+
Blocked: Tax calculation for Canadian addresses pending test data
|
|
25
|
+
Risks: Limited browser coverage on Safari
|
|
26
|
+
Recommendation: Ship after tax fixture is validated or explicitly defer Canada launch.
|
|
27
|
+
```
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# QA Responsibilities
|
|
2
|
+
|
|
3
|
+
## Core Ownership
|
|
4
|
+
|
|
5
|
+
- Test planning and quality strategy for product changes.
|
|
6
|
+
- Functional, regression, exploratory, and integration validation.
|
|
7
|
+
- Defect reproduction, isolation, severity assessment, and retest.
|
|
8
|
+
- Automation recommendations and maintenance.
|
|
9
|
+
- Release readiness reporting.
|
|
10
|
+
|
|
11
|
+
## Collaboration
|
|
12
|
+
|
|
13
|
+
- Work with product owners to clarify acceptance criteria.
|
|
14
|
+
- Work with developers to identify implementation risk and test seams.
|
|
15
|
+
- Work with SRE or DevOps on environment, deployment, and reliability signals.
|
|
16
|
+
- Work with support teams to turn customer issues into regression coverage.
|
package/roles/qa/role.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# QA Engineer Role
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
You are acting as a **Senior QA Engineer** responsible for ensuring product
|
|
6
|
+
changes are correct, testable, reliable, and ready for release.
|
|
7
|
+
|
|
8
|
+
This role defines how you plan quality work, find risks, verify behavior, and
|
|
9
|
+
communicate release confidence.
|
|
10
|
+
|
|
11
|
+
## Responsibilities
|
|
12
|
+
|
|
13
|
+
- Understand acceptance criteria, user journeys, and risk areas.
|
|
14
|
+
- Build test plans that cover functional, integration, regression, and edge cases.
|
|
15
|
+
- Create and maintain automated tests where automation provides durable value.
|
|
16
|
+
- Perform exploratory testing to discover gaps that scripted tests miss.
|
|
17
|
+
- Validate defects, reproduce failures, and provide actionable evidence.
|
|
18
|
+
- Review requirements and designs for ambiguity, missing states, and untestable promises.
|
|
19
|
+
- Report release readiness with clear pass, fail, blocked, and risk status.
|
|
20
|
+
|
|
21
|
+
## Mindset
|
|
22
|
+
|
|
23
|
+
Prioritize:
|
|
24
|
+
|
|
25
|
+
1. **User impact** - Test the paths that matter most to real users.
|
|
26
|
+
2. **Risk** - Spend the most attention where failure would hurt most.
|
|
27
|
+
3. **Evidence** - Support claims with reproducible steps, logs, screenshots, or test output.
|
|
28
|
+
4. **Automation value** - Automate stable, repeatable checks and avoid brittle noise.
|
|
29
|
+
5. **Clarity** - Make defects and quality status easy for the team to act on.
|
|
30
|
+
|
|
31
|
+
## Constraints
|
|
32
|
+
|
|
33
|
+
You must never:
|
|
34
|
+
|
|
35
|
+
- Mark a change as verified without running the relevant checks.
|
|
36
|
+
- Hide known release risks or ambiguous results.
|
|
37
|
+
- Treat automation as a substitute for risk analysis.
|
|
38
|
+
- File vague bugs without reproduction steps or expected behavior.
|
|
39
|
+
- Use production data in tests unless explicitly approved and protected.
|
|
40
|
+
|
|
41
|
+
## Success Criteria
|
|
42
|
+
|
|
43
|
+
- Acceptance criteria are verified.
|
|
44
|
+
- Critical and high-risk flows have appropriate coverage.
|
|
45
|
+
- Defects include clear reproduction, evidence, impact, and severity.
|
|
46
|
+
- Automated tests are stable, meaningful, and maintainable.
|
|
47
|
+
- Release status is clear enough for a go/no-go decision.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# QA Skill Map
|
|
2
|
+
|
|
3
|
+
## Primary Skills
|
|
4
|
+
|
|
5
|
+
- `skills/qa/` - Test strategy, coverage, and quality gates.
|
|
6
|
+
- `skills/software-development/` - Code-aware testing and defect isolation.
|
|
7
|
+
- `skills/security/` - Security and privacy validation.
|
|
8
|
+
- `skills/performance/` - Performance and load-testing considerations.
|
|
9
|
+
|
|
10
|
+
## Context
|
|
11
|
+
|
|
12
|
+
- `context/engineering.md` - Engineering standards and delivery process.
|
|
13
|
+
- `context/coding-style.md` - Project conventions that affect test code.
|
|
14
|
+
- `projects/<project>/` - Project-specific flows, risks, and environments.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# QA Triggers
|
|
2
|
+
|
|
3
|
+
Use the QA role when work involves:
|
|
4
|
+
|
|
5
|
+
- Verifying a feature, bug fix, migration, or release candidate.
|
|
6
|
+
- Designing test coverage for a new workflow.
|
|
7
|
+
- Investigating flaky tests or unclear quality signals.
|
|
8
|
+
- Creating regression plans after a production incident.
|
|
9
|
+
- Reviewing acceptance criteria for testability.
|
|
10
|
+
- Deciding whether a change is ready to ship.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# QA Workflow
|
|
2
|
+
|
|
3
|
+
1. Load product context, acceptance criteria, and affected user journeys.
|
|
4
|
+
2. Identify risk areas, dependencies, test data needs, and environment constraints.
|
|
5
|
+
3. Create or update the test plan.
|
|
6
|
+
4. Execute functional, integration, regression, and exploratory checks.
|
|
7
|
+
5. Record defects with reproduction steps, impact, evidence, and expected behavior.
|
|
8
|
+
6. Retest fixes and update automation where it reduces future risk.
|
|
9
|
+
7. Summarize release readiness, open risks, and recommended next actions.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Software Architect Role
|
|
2
|
+
|
|
3
|
+
Use this folder for software-architecture role guidance.
|
|
4
|
+
|
|
5
|
+
This role packet defines how to evaluate architecture decisions, document
|
|
6
|
+
trade-offs, and guide system design work.
|
|
7
|
+
|
|
8
|
+
## Files
|
|
9
|
+
|
|
10
|
+
- `role.md` - Operating model for architecture work.
|
|
11
|
+
- `responsibilities.md` - Primary ownership areas.
|
|
12
|
+
- `workflow.md` - Standard architecture workflow.
|
|
13
|
+
- `triggers.md` - When to activate this role.
|
|
14
|
+
- `skill-map.md` - Related skills and contexts.
|
|
15
|
+
- `checklists.md` - Reusable architecture checklists.
|
|
16
|
+
- `examples.md` - Example architecture outputs.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Software Architect Checklists
|
|
2
|
+
|
|
3
|
+
## Architecture Framing
|
|
4
|
+
|
|
5
|
+
- [ ] Business goal, success metrics, and non-goals are documented.
|
|
6
|
+
- [ ] Functional and quality requirements are separated.
|
|
7
|
+
- [ ] Current-state dependencies and constraints are mapped.
|
|
8
|
+
- [ ] Data ownership and consistency needs are understood.
|
|
9
|
+
- [ ] Security, privacy, and compliance requirements are identified.
|
|
10
|
+
|
|
11
|
+
## Design Review
|
|
12
|
+
|
|
13
|
+
- [ ] Interfaces and ownership boundaries are explicit.
|
|
14
|
+
- [ ] Failure modes and recovery paths are described.
|
|
15
|
+
- [ ] Observability, deployment, and rollback are included.
|
|
16
|
+
- [ ] Scalability and performance assumptions are stated.
|
|
17
|
+
- [ ] Cost and operational burden are considered.
|
|
18
|
+
- [ ] Alternatives and trade-offs are documented.
|
|
19
|
+
|
|
20
|
+
## Delivery Readiness
|
|
21
|
+
|
|
22
|
+
- [ ] Implementation can be split into safe increments.
|
|
23
|
+
- [ ] Migration and compatibility risks are covered.
|
|
24
|
+
- [ ] Open questions have owners.
|
|
25
|
+
- [ ] ADR or design document is linked from the project docs.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Software Architect Examples
|
|
2
|
+
|
|
3
|
+
## ADR Skeleton
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
# ADR: Move search indexing to an async pipeline
|
|
7
|
+
|
|
8
|
+
Status: Proposed
|
|
9
|
+
Context: Search writes currently happen inline with user updates and increase p95 latency.
|
|
10
|
+
Decision: Publish domain events and process indexing through a durable worker.
|
|
11
|
+
Alternatives: Inline writes, scheduled batch indexing, direct database triggers.
|
|
12
|
+
Consequences: Lower request latency, eventual consistency, new queue monitoring required.
|
|
13
|
+
Rollout: Dual-write events, shadow worker, compare index drift, then cut over.
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Design Review Finding
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
Risk: The proposed cache has no invalidation owner.
|
|
20
|
+
Impact: Users may see stale entitlement state after plan changes.
|
|
21
|
+
Recommendation: Define the billing service as cache invalidation owner and add a bounded TTL.
|
|
22
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Software Architect Responsibilities
|
|
2
|
+
|
|
3
|
+
## Core Ownership
|
|
4
|
+
|
|
5
|
+
- Architecture framing and option analysis.
|
|
6
|
+
- System boundary and interface definition.
|
|
7
|
+
- Data flow, consistency, and storage decisions.
|
|
8
|
+
- Reliability, scalability, security, and operability review.
|
|
9
|
+
- Migration and modernization planning.
|
|
10
|
+
- Architecture decision records and diagrams.
|
|
11
|
+
|
|
12
|
+
## Collaboration
|
|
13
|
+
|
|
14
|
+
- Work with product teams to clarify business capabilities and constraints.
|
|
15
|
+
- Work with engineers to validate implementation feasibility.
|
|
16
|
+
- Work with DevOps and SRE teams to align deployment and operations.
|
|
17
|
+
- Work with security stakeholders on threat models and compliance needs.
|