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,210 @@
|
|
|
1
|
+
# DevOps Skill
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
The DevOps skill enables organizations to automate infrastructure, deployment pipelines, and operational processes while maintaining reliability, security, and observability. This skill focuses on bridging development and operations through automation, continuous integration/continuous deployment (CI/CD), infrastructure as code, and operational excellence. It encompasses building and maintaining systems that enable rapid, safe deployments while keeping systems stable and secure.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
1. [Core Competencies](#core-competencies)
|
|
12
|
+
2. [Specific Domains & Tools](#specific-domains--tools)
|
|
13
|
+
3. [Best Practices](#best-practices)
|
|
14
|
+
4. [Deliverables](#deliverables)
|
|
15
|
+
5. [Success Criteria](#success-criteria)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Core Competencies
|
|
20
|
+
|
|
21
|
+
### 1. **Continuous Integration (CI)**
|
|
22
|
+
Design and implement CI pipelines that automatically test code changes. Establish build automation that runs on every commit. Implement test coverage requirements and quality gates. Create fast feedback loops that inform developers of issues quickly.
|
|
23
|
+
|
|
24
|
+
**Application**: GitHub Actions, GitLab CI, Jenkins, CircleCI for automated testing and building.
|
|
25
|
+
|
|
26
|
+
### 2. **Continuous Deployment & Delivery (CD)**
|
|
27
|
+
Design deployment pipelines that safely move code from development to production. Implement automated testing across environments. Plan rollback strategies and canary deployments. Enable rapid, frequent deployments with minimal risk.
|
|
28
|
+
|
|
29
|
+
**Application**: Automated deployment to staging/production, blue-green deployments, canary releases.
|
|
30
|
+
|
|
31
|
+
### 3. **Infrastructure as Code (IaC)**
|
|
32
|
+
Define infrastructure using code and version control. Create reproducible infrastructure provisioning. Plan for infrastructure changes and rollbacks. Enable infrastructure testing and validation.
|
|
33
|
+
|
|
34
|
+
**Application**: Terraform, CloudFormation, Ansible for infrastructure definition and provisioning.
|
|
35
|
+
|
|
36
|
+
### 4. **Container Orchestration**
|
|
37
|
+
Design and manage containerized applications at scale. Implement container clustering, scheduling, and resource management. Plan for high availability and self-healing. Design for stateless application deployment.
|
|
38
|
+
|
|
39
|
+
**Application**: Kubernetes, Docker Swarm, container management platforms.
|
|
40
|
+
|
|
41
|
+
### 5. **Service Mesh & Load Balancing**
|
|
42
|
+
Design service discovery, load balancing, and inter-service communication. Implement traffic management, circuit breaking, and retries. Design for resilience and observability across service boundaries.
|
|
43
|
+
|
|
44
|
+
**Application**: Istio, Envoy, service mesh implementations for distributed systems.
|
|
45
|
+
|
|
46
|
+
### 6. **Secrets Management**
|
|
47
|
+
Design systems for securely storing and managing secrets. Implement rotation policies and access controls. Plan for secrets injection into applications. Enable secure secret sharing across teams.
|
|
48
|
+
|
|
49
|
+
**Application**: HashiCorp Vault, AWS Secrets Manager, Kubernetes secrets for secret management.
|
|
50
|
+
|
|
51
|
+
### 7. **Monitoring & Observability**
|
|
52
|
+
Design monitoring systems that provide visibility into application and infrastructure health. Implement metrics collection, logging, and distributed tracing. Create dashboards and alerting. Enable rapid diagnosis of failures.
|
|
53
|
+
|
|
54
|
+
**Application**: Prometheus, Grafana, ELK Stack, Datadog for monitoring and observability.
|
|
55
|
+
|
|
56
|
+
### 8. **Logging & Log Analysis**
|
|
57
|
+
Design logging systems that capture relevant information without overwhelming storage. Implement structured logging and centralized log aggregation. Create search and analysis capabilities. Enable debugging and compliance auditing.
|
|
58
|
+
|
|
59
|
+
**Application**: ELK Stack, Splunk, CloudWatch, Loki for log management.
|
|
60
|
+
|
|
61
|
+
### 9. **Alerting & Incident Response**
|
|
62
|
+
Design alerting systems that notify appropriate teams of issues. Implement escalation policies and on-call rotations. Create runbooks for common issues. Enable rapid incident response and mitigation.
|
|
63
|
+
|
|
64
|
+
**Application**: PagerDuty, Alertmanager, incident management systems.
|
|
65
|
+
|
|
66
|
+
### 10. **Configuration Management**
|
|
67
|
+
Design configuration systems that manage application and infrastructure configuration safely. Implement versioning and rollback capabilities. Plan for environment-specific configurations. Enable rapid configuration changes without redeployment.
|
|
68
|
+
|
|
69
|
+
**Application**: Ansible, Chef, Puppet for configuration management.
|
|
70
|
+
|
|
71
|
+
### 11. **Database Administration & Migrations**
|
|
72
|
+
Design database deployments, scaling, and maintenance. Implement backup and disaster recovery strategies. Plan zero-downtime migrations. Monitor database performance and health.
|
|
73
|
+
|
|
74
|
+
**Application**: Database replication, sharding, backup automation, migration tools.
|
|
75
|
+
|
|
76
|
+
### 12. **Disaster Recovery & Business Continuity**
|
|
77
|
+
Design recovery strategies for various failure scenarios. Plan backup and restoration processes. Implement geo-redundancy and failover mechanisms. Test disaster recovery regularly.
|
|
78
|
+
|
|
79
|
+
**Application**: Backup automation, geo-replication, failover systems, DR testing.
|
|
80
|
+
|
|
81
|
+
### 13. **Security & Compliance Automation**
|
|
82
|
+
Design automated security scanning and compliance checking. Implement vulnerability scanning in CI/CD pipelines. Plan for security policy enforcement. Enable compliance reporting and auditing.
|
|
83
|
+
|
|
84
|
+
**Application**: SAST/DAST scanning, vulnerability management, compliance automation.
|
|
85
|
+
|
|
86
|
+
### 14. **Performance Optimization & Scaling**
|
|
87
|
+
Design auto-scaling policies based on metrics. Optimize infrastructure costs. Plan for load testing and capacity planning. Enable efficient resource utilization.
|
|
88
|
+
|
|
89
|
+
**Application**: Auto-scaling groups, performance testing, cost optimization tools.
|
|
90
|
+
|
|
91
|
+
### 15. **Network Architecture & Security**
|
|
92
|
+
Design network topology and security controls. Implement firewalls, VPNs, and network segmentation. Plan for DDoS protection and load balancing. Enable secure inter-service communication.
|
|
93
|
+
|
|
94
|
+
**Application**: VPC design, security groups, network policies, service mesh.
|
|
95
|
+
|
|
96
|
+
### 16. **Cloud Platform Management**
|
|
97
|
+
Design and manage cloud infrastructure deployments. Implement multi-cloud or hybrid cloud strategies. Plan for vendor lock-in mitigation. Optimize cloud costs.
|
|
98
|
+
|
|
99
|
+
**Application**: AWS, Azure, GCP, cloud management platforms.
|
|
100
|
+
|
|
101
|
+
### 17. **Disaster Recovery Testing**
|
|
102
|
+
Design and execute DR tests regularly. Validate backup restoration processes. Measure recovery time objectives (RTO) and recovery point objectives (RPO). Document learnings and improvements.
|
|
103
|
+
|
|
104
|
+
**Application**: DR drills, chaos engineering, incident simulations.
|
|
105
|
+
|
|
106
|
+
### 18. **GitOps & Declarative Deployment**
|
|
107
|
+
Design systems where desired state is defined in Git. Implement automated reconciliation of actual vs. declared state. Plan for audit trails and rollback. Enable self-healing systems.
|
|
108
|
+
|
|
109
|
+
**Application**: ArgoCD, Flux, GitOps workflows for infrastructure and application deployment.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Specific Domains & Tools
|
|
114
|
+
|
|
115
|
+
### CI/CD Platforms
|
|
116
|
+
- **GitHub Actions**: Workflows integrated with GitHub repositories
|
|
117
|
+
- **GitLab CI**: CI/CD native to GitLab
|
|
118
|
+
- **Jenkins**: Self-hosted CI/CD orchestration
|
|
119
|
+
- **CircleCI**: Cloud-hosted CI/CD platform
|
|
120
|
+
- **Travis CI**: CI/CD for GitHub repositories
|
|
121
|
+
|
|
122
|
+
### Infrastructure & Cloud
|
|
123
|
+
- **AWS**: EC2, RDS, S3, Lambda, CloudFormation
|
|
124
|
+
- **Google Cloud**: Compute Engine, Cloud SQL, Cloud Storage
|
|
125
|
+
- **Azure**: Virtual Machines, SQL Database, App Service
|
|
126
|
+
- **Terraform**: Infrastructure as Code for multiple clouds
|
|
127
|
+
- **Ansible**: Configuration management and automation
|
|
128
|
+
|
|
129
|
+
### Container & Orchestration
|
|
130
|
+
- **Docker**: Container runtime and image creation
|
|
131
|
+
- **Kubernetes**: Container orchestration and management
|
|
132
|
+
- **Docker Compose**: Multi-container application definition
|
|
133
|
+
- **Docker Registry**: Image storage and distribution
|
|
134
|
+
- **Container Network Interface (CNI)**: Networking for containers
|
|
135
|
+
|
|
136
|
+
### Monitoring & Observability
|
|
137
|
+
- **Prometheus**: Metrics collection and alerting
|
|
138
|
+
- **Grafana**: Visualization and dashboarding
|
|
139
|
+
- **ELK Stack**: Elasticsearch, Logstash, Kibana for logging
|
|
140
|
+
- **Datadog**: APM and infrastructure monitoring
|
|
141
|
+
- **New Relic**: Application performance monitoring
|
|
142
|
+
|
|
143
|
+
### Database & Backup
|
|
144
|
+
- **PostgreSQL/MySQL**: Relational databases with replication
|
|
145
|
+
- **MongoDB**: NoSQL database with backup strategies
|
|
146
|
+
- **Redis**: In-memory data store with persistence
|
|
147
|
+
- **Backup Tools**: Velero, pg_dump, mysqldump
|
|
148
|
+
|
|
149
|
+
### Security & Secrets
|
|
150
|
+
- **HashiCorp Vault**: Secrets management
|
|
151
|
+
- **AWS Secrets Manager**: Cloud secrets management
|
|
152
|
+
- **Let's Encrypt**: SSL/TLS certificate automation
|
|
153
|
+
- **Falco**: Container runtime security
|
|
154
|
+
- **Sonarqube**: Code quality and security scanning
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Best Practices
|
|
159
|
+
|
|
160
|
+
1. **Automation First**: Automate repetitive tasks; manual processes introduce errors and delays.
|
|
161
|
+
|
|
162
|
+
2. **Infrastructure as Code**: Define all infrastructure in code; enable version control and reproducibility.
|
|
163
|
+
|
|
164
|
+
3. **Test Thoroughly**: Test code, infrastructure, and deployments automatically; catch issues early.
|
|
165
|
+
|
|
166
|
+
4. **Fail Fast**: Detect issues in CI/CD pipelines quickly; provide rapid feedback to developers.
|
|
167
|
+
|
|
168
|
+
5. **Security in Pipeline**: Scan for vulnerabilities and compliance issues in CI/CD; shift left on security.
|
|
169
|
+
|
|
170
|
+
6. **Observability by Default**: Design applications and infrastructure with observability built-in.
|
|
171
|
+
|
|
172
|
+
7. **Safe Deployments**: Use canary, blue-green, or rolling deployments; enable quick rollbacks.
|
|
173
|
+
|
|
174
|
+
8. **Monitor Everything**: Monitor applications, infrastructure, and business metrics; set up comprehensive alerting.
|
|
175
|
+
|
|
176
|
+
9. **Document Runbooks**: Create clear procedures for common operational tasks and incidents.
|
|
177
|
+
|
|
178
|
+
10. **Continuous Improvement**: Collect metrics on deployment frequency, lead time, MTTR; measure and improve.
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## Deliverables
|
|
183
|
+
|
|
184
|
+
- **CI/CD Pipeline Configuration**: GitHub Actions, GitLab CI, Jenkins pipeline definitions
|
|
185
|
+
- **Infrastructure as Code**: Terraform modules, CloudFormation templates, Ansible playbooks
|
|
186
|
+
- **Container Images**: Dockerfiles, image build pipelines, image registry setup
|
|
187
|
+
- **Kubernetes Manifests**: Deployment, service, configmap, secret definitions
|
|
188
|
+
- **Monitoring & Observability**: Prometheus configs, Grafana dashboards, alert rules, logging setup
|
|
189
|
+
- **Security Configuration**: Network policies, RBAC definitions, secrets management setup
|
|
190
|
+
- **Runbooks**: Procedures for common operational tasks and incident response
|
|
191
|
+
- **Disaster Recovery Plan**: Backup strategies, RTO/RPO definitions, DR test results
|
|
192
|
+
- **Documentation**: Infrastructure documentation, deployment guides, troubleshooting guides
|
|
193
|
+
- **Cost Analysis**: Cloud cost optimization reports, resource utilization analysis
|
|
194
|
+
- **Scaling Policies**: Auto-scaling configurations, load testing results, capacity plans
|
|
195
|
+
- **Security Scanning**: SAST/DAST configurations, vulnerability scan results, compliance reports
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Success Criteria
|
|
200
|
+
|
|
201
|
+
1. **Deployment Frequency**: Deployments occur multiple times per day without manual intervention
|
|
202
|
+
2. **Lead Time**: Changes move from commit to production in minutes to hours
|
|
203
|
+
3. **Mean Time to Recovery**: Systems recover from failures automatically within minutes
|
|
204
|
+
4. **Change Failure Rate**: <15% of deployments cause incidents or require rollback
|
|
205
|
+
5. **Security**: Zero unpatched critical vulnerabilities; compliance maintained automatically
|
|
206
|
+
6. **Reliability**: 99.9%+ availability with clear SLOs and monitoring
|
|
207
|
+
7. **Scalability**: System automatically scales to handle load spikes
|
|
208
|
+
8. **Cost Efficiency**: Cloud costs optimized with appropriate resource allocation
|
|
209
|
+
9. **Visibility**: All deployments, infrastructure, and incidents visible and auditable
|
|
210
|
+
10. **Automation**: >95% of operational tasks automated without manual intervention
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Documentation Skill
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The Documentation skill enables the creation and maintenance of clear, comprehensive technical documentation that enables users, developers, and stakeholders to understand, use, and maintain software systems effectively. This skill encompasses API documentation, user guides, architecture documentation, knowledge bases, and governance processes that ensure documentation evolves alongside systems. Quality documentation reduces support burden, accelerates onboarding, enables self-service problem-solving, and preserves institutional knowledge.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Goals
|
|
10
|
+
|
|
11
|
+
- **Enable Self-Service**: Create documentation that helps users accomplish tasks without support
|
|
12
|
+
- **Accelerate Onboarding**: Enable new team members to become productive quickly
|
|
13
|
+
- **Preserve Knowledge**: Document decisions, architecture, and operational procedures
|
|
14
|
+
- **Reduce Support Burden**: Create FAQ and troubleshooting guides that reduce support requests
|
|
15
|
+
- **Ensure Clarity**: Write clear, well-structured documentation that users understand
|
|
16
|
+
- **Support Discovery**: Make documentation easy to find through search and organization
|
|
17
|
+
- **Maintain Accuracy**: Establish processes to keep documentation synchronized with code
|
|
18
|
+
- **Enable Collaboration**: Create environments where documentation is easy to contribute to and maintain
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
### API Documentation
|
|
25
|
+
- **Endpoint Documentation**: Complete documentation of all API endpoints with parameters and examples
|
|
26
|
+
- **OpenAPI/Swagger**: Creating and maintaining machine-readable API specifications
|
|
27
|
+
- **Code Examples**: Writing working examples in multiple programming languages
|
|
28
|
+
- **Error Documentation**: Explaining error codes and recovery strategies
|
|
29
|
+
- **Authentication**: Documenting authentication and authorization requirements
|
|
30
|
+
|
|
31
|
+
### User Documentation
|
|
32
|
+
- **Getting Started Guides**: Quick start documentation for new users
|
|
33
|
+
- **Feature Documentation**: Step-by-step guides for using features
|
|
34
|
+
- **Tutorials**: Complete walkthroughs of common workflows
|
|
35
|
+
- **Video Tutorials**: Recorded walkthroughs of complex features
|
|
36
|
+
- **FAQ & Troubleshooting**: Addressing common questions and problems
|
|
37
|
+
|
|
38
|
+
### Technical Documentation
|
|
39
|
+
- **Architecture Documentation**: System design, components, and relationships
|
|
40
|
+
- **Design Decisions**: Architecture Decision Records explaining decisions
|
|
41
|
+
- **Configuration Guides**: Documenting all configuration options and effects
|
|
42
|
+
- **Deployment Procedures**: Step-by-step deployment guides
|
|
43
|
+
- **Runbooks**: Operational procedures and incident response
|
|
44
|
+
|
|
45
|
+
### Knowledge Management
|
|
46
|
+
- **Knowledge Bases**: Building searchable, organized documentation sites
|
|
47
|
+
- **Content Organization**: Creating hierarchical structures for easy navigation
|
|
48
|
+
- **Version Control**: Managing documentation versions with code releases
|
|
49
|
+
- **Search & Discovery**: Implementing search and recommendation systems
|
|
50
|
+
- **Maintenance Processes**: Establishing workflows for keeping documentation current
|
|
51
|
+
|
|
52
|
+
### Supporting Capabilities
|
|
53
|
+
- **Diagrams & Visuals**: Creating architecture diagrams and flowcharts
|
|
54
|
+
- **Glossaries**: Defining domain-specific terms and concepts
|
|
55
|
+
- **Accessibility**: Creating documentation accessible to all users
|
|
56
|
+
- **Multi-language Support**: Documenting in multiple languages
|
|
57
|
+
- **Analytics**: Tracking documentation usage and effectiveness
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## When to Use
|
|
62
|
+
|
|
63
|
+
**Use this skill when you need to:**
|
|
64
|
+
- Document an API for third-party developers
|
|
65
|
+
- Create user guides for product features
|
|
66
|
+
- Onboard new team members or engineers
|
|
67
|
+
- Document system architecture and design decisions
|
|
68
|
+
- Build a searchable knowledge base
|
|
69
|
+
- Create deployment and operational runbooks
|
|
70
|
+
- Write FAQ and troubleshooting guides
|
|
71
|
+
- Maintain release notes and changelogs
|
|
72
|
+
- Document configuration options and migrations
|
|
73
|
+
- Create video tutorials for complex features
|
|
74
|
+
|
|
75
|
+
**Typical scenarios:**
|
|
76
|
+
- Pre-launch documentation for new products
|
|
77
|
+
- Post-feature documentation as features are built
|
|
78
|
+
- Knowledge base expansion based on support tickets
|
|
79
|
+
- Onboarding documentation for teams
|
|
80
|
+
- Architecture documentation for legacy systems
|
|
81
|
+
- API documentation for public or internal APIs
|
|
82
|
+
- Migration and upgrade guides
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Expected Workflow
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Define Audience & Goals
|
|
90
|
+
↓
|
|
91
|
+
Plan Content Structure
|
|
92
|
+
↓
|
|
93
|
+
Research & Gather Information
|
|
94
|
+
↓
|
|
95
|
+
Write Documentation
|
|
96
|
+
↓
|
|
97
|
+
Create Examples & Diagrams
|
|
98
|
+
↓
|
|
99
|
+
Review & Edit
|
|
100
|
+
↓
|
|
101
|
+
Test Code Examples
|
|
102
|
+
↓
|
|
103
|
+
Publish & Deploy
|
|
104
|
+
↓
|
|
105
|
+
Gather Feedback
|
|
106
|
+
↓
|
|
107
|
+
Maintain & Update
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Inputs
|
|
113
|
+
|
|
114
|
+
- **Product/System Knowledge**: Understanding of features, architecture, configuration
|
|
115
|
+
- **Audience**: Target users (developers, end-users, operators) and their expertise levels
|
|
116
|
+
- **Goals**: What documentation should enable users to accomplish
|
|
117
|
+
- **Existing Documentation**: Any existing documentation to build upon or refactor
|
|
118
|
+
- **Examples**: Real-world use cases and scenarios to document
|
|
119
|
+
- **Change History**: Recent changes, fixes, and deprecations to document
|
|
120
|
+
- **User Feedback**: Support tickets and questions indicating documentation gaps
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Outputs
|
|
125
|
+
|
|
126
|
+
- **API Documentation**: Complete endpoint documentation with examples
|
|
127
|
+
- **User Guides**: Step-by-step feature guides and tutorials
|
|
128
|
+
- **Architecture Documentation**: System design and component documentation
|
|
129
|
+
- **Getting Started Guide**: Quick start documentation for new users
|
|
130
|
+
- **Troubleshooting Guides**: Common issues and solutions
|
|
131
|
+
- **FAQ**: Frequently asked questions with answers
|
|
132
|
+
- **Release Notes**: Change documentation for each release
|
|
133
|
+
- **Deployment Guides**: Procedures for deploying and configuring systems
|
|
134
|
+
- **Runbooks**: Operational procedures and incident response
|
|
135
|
+
- **Architecture Decision Records**: Documented decisions with rationale
|
|
136
|
+
- **Configuration Documentation**: Reference for all configuration options
|
|
137
|
+
- **Glossary**: Domain-specific term definitions
|
|
138
|
+
- **Video Tutorials**: Recorded walkthroughs
|
|
139
|
+
- **Style Guide**: Writing conventions and standards
|
|
140
|
+
- **Documentation Site**: Searchable, organized documentation platform
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## Related Skills
|
|
145
|
+
|
|
146
|
+
- **Design Architecture**: Creating documentation interfaces and user experiences
|
|
147
|
+
- **Architecture**: Understanding systems to document them effectively
|
|
148
|
+
- **DevOps**: Documenting deployment and operational procedures
|
|
149
|
+
- **Software Development**: Understanding code to document APIs and examples
|
|
150
|
+
- **Performance**: Documenting performance tuning and optimization
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## Best Practices
|
|
155
|
+
|
|
156
|
+
1. **Write for Your Audience**: Understand your readers' expertise and tailor content accordingly
|
|
157
|
+
2. **Keep Docs Current**: Update documentation within 2 weeks of code changes; make docs part of definition of done
|
|
158
|
+
3. **Provide Working Examples**: Give complete, executable examples with expected outputs
|
|
159
|
+
4. **Use Consistent Terminology**: Define terms and use them consistently throughout
|
|
160
|
+
5. **Structure for Scannability**: Use headings, short paragraphs, and formatting for quick scanning
|
|
161
|
+
6. **One Authoritative Version**: Avoid duplication; link to authoritative sources instead
|
|
162
|
+
7. **Version with Code**: Keep documentation versions synchronized with software releases
|
|
163
|
+
8. **Seek Feedback**: Ask users what documentation helped or didn't; iterate based on feedback
|
|
164
|
+
9. **Test Examples**: Verify code examples work; automate example testing when possible
|
|
165
|
+
10. **Make It Discoverable**: Use clear titles, keywords, and implement site search
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Success Criteria
|
|
170
|
+
|
|
171
|
+
1. **Accessibility**: Users find documentation they need within 2-3 clicks
|
|
172
|
+
2. **Clarity**: New users understand features without requiring support
|
|
173
|
+
3. **Completeness**: Documentation answers >95% of user questions
|
|
174
|
+
4. **Accuracy**: Documentation matches current system behavior
|
|
175
|
+
5. **Freshness**: Documentation updated within 2 weeks of code changes
|
|
176
|
+
6. **Searchability**: Users find relevant documentation through search
|
|
177
|
+
7. **Self-Service**: 80%+ of user issues resolved through documentation
|
|
178
|
+
8. **Onboarding**: New team members productive within expected timeframe
|
|
179
|
+
9. **Maintainability**: Documentation easy to update and version control
|
|
180
|
+
10. **Impact**: Reduced support tickets, faster issue resolution, less onboarding time required
|
|
181
|
+
|
|
182
|
+
---
|