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,364 @@
|
|
|
1
|
+
# Documentation Skill - Examples
|
|
2
|
+
|
|
3
|
+
## Example 1: Complete API Documentation
|
|
4
|
+
|
|
5
|
+
**User Request**: "Create comprehensive documentation for this REST API that enables developers to integrate without support."
|
|
6
|
+
|
|
7
|
+
**Expected Behavior**:
|
|
8
|
+
- Document all endpoints (GET, POST, PUT, DELETE, PATCH)
|
|
9
|
+
- Define path parameters, query parameters, and request body with types
|
|
10
|
+
- Provide response format with example responses for success and error cases
|
|
11
|
+
- Document all HTTP status codes (200, 201, 400, 401, 403, 404, 429, 500, etc.)
|
|
12
|
+
- Explain authentication requirements (API keys, OAuth, JWT)
|
|
13
|
+
- Document rate limiting (requests per minute, quota strategy)
|
|
14
|
+
- Create code examples in 3+ languages (JavaScript, Python, curl)
|
|
15
|
+
- Explain versioning strategy and deprecation policy
|
|
16
|
+
- Create OpenAPI/Swagger specification
|
|
17
|
+
- Include webhook documentation if applicable
|
|
18
|
+
|
|
19
|
+
**Success Criteria**:
|
|
20
|
+
- Developers can integrate without needing to ask questions
|
|
21
|
+
- Code examples are runnable and tested
|
|
22
|
+
- All endpoints documented with all HTTP methods
|
|
23
|
+
- Error cases documented with recovery strategies
|
|
24
|
+
- <5% of integration issues require documentation clarification
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Example 2: User Guide for Feature
|
|
29
|
+
|
|
30
|
+
**User Request**: "Write a comprehensive user guide for this product feature that enables users to use it without training."
|
|
31
|
+
|
|
32
|
+
**Expected Behavior**:
|
|
33
|
+
- Create overview explaining feature purpose and benefits
|
|
34
|
+
- Write step-by-step getting started guide (5-10 steps)
|
|
35
|
+
- Create how-to guides for common use cases (3-5 scenarios)
|
|
36
|
+
- Include screenshots or videos for each major step
|
|
37
|
+
- Create troubleshooting section with common issues and solutions
|
|
38
|
+
- Write FAQ addressing questions users typically ask
|
|
39
|
+
- Include glossary explaining domain-specific terms
|
|
40
|
+
- Create video walkthrough for complex features
|
|
41
|
+
- Design for multiple user expertise levels
|
|
42
|
+
- Include links to related features/documentation
|
|
43
|
+
|
|
44
|
+
**Success Criteria**:
|
|
45
|
+
- New users can use feature productively within 15 minutes
|
|
46
|
+
- 80%+ of user questions answered in documentation
|
|
47
|
+
- Support tickets related to feature reduced by 70%
|
|
48
|
+
- Users rate documentation as helpful (>4/5 stars)
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Example 3: Architecture Decision Records (ADRs)
|
|
53
|
+
|
|
54
|
+
**User Request**: "Document the architectural decision to use microservices with clear rationale and trade-offs."
|
|
55
|
+
|
|
56
|
+
**Expected Behavior**:
|
|
57
|
+
- Create ADR with standard format (status, context, decision, consequences)
|
|
58
|
+
- Explain context that led to decision
|
|
59
|
+
- Document alternatives considered (monolith, distributed monolith, etc.)
|
|
60
|
+
- Explain chosen decision and rationale
|
|
61
|
+
- Document consequences (positive and negative)
|
|
62
|
+
- Explain effort/cost impact
|
|
63
|
+
- Link to related decisions and architecture diagrams
|
|
64
|
+
- Include date and decision makers
|
|
65
|
+
- Create plan for review/revision
|
|
66
|
+
- Make ADRs searchable and discoverable
|
|
67
|
+
|
|
68
|
+
**Success Criteria**:
|
|
69
|
+
- Future architects understand why decisions were made
|
|
70
|
+
- Prevents recurring discussion of same decisions
|
|
71
|
+
- Informs future architectural choices
|
|
72
|
+
- Used as onboarding material for new architects
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Example 4: Getting Started Guide
|
|
77
|
+
|
|
78
|
+
**User Request**: "Create a getting started guide that gets new developers productive in 30 minutes."
|
|
79
|
+
|
|
80
|
+
**Expected Behavior**:
|
|
81
|
+
- Assume minimal prerequisite knowledge
|
|
82
|
+
- Provide environment setup (OS-specific if needed)
|
|
83
|
+
- List all prerequisites with versions
|
|
84
|
+
- Create step-by-step setup instructions
|
|
85
|
+
- Provide working example (hello world)
|
|
86
|
+
- Explain project structure
|
|
87
|
+
- Document common commands
|
|
88
|
+
- Create troubleshooting section for setup issues
|
|
89
|
+
- Explain next steps for deeper learning
|
|
90
|
+
- Provide links to next documentation sections
|
|
91
|
+
- Include estimated time for each section
|
|
92
|
+
|
|
93
|
+
**Success Criteria**:
|
|
94
|
+
- New developers set up environment in <30 minutes
|
|
95
|
+
- 95%+ success rate without support help
|
|
96
|
+
- Clear next steps guide deeper learning
|
|
97
|
+
- Setup issues resolved from documentation
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Example 5: Troubleshooting Guide
|
|
102
|
+
|
|
103
|
+
**User Request**: "Create a troubleshooting guide for common issues that reduces support tickets."
|
|
104
|
+
|
|
105
|
+
**Expected Behavior**:
|
|
106
|
+
- Document top 15-20 most common issues
|
|
107
|
+
- For each issue: symptoms, root causes, solutions
|
|
108
|
+
- Provide step-by-step diagnostic procedures
|
|
109
|
+
- Include code examples showing issues and fixes
|
|
110
|
+
- Design guide for users with different expertise levels
|
|
111
|
+
- Create flowchart for issue diagnosis
|
|
112
|
+
- Include log analysis tips and error message explanations
|
|
113
|
+
- Link to related issues
|
|
114
|
+
- Include when to escalate to support
|
|
115
|
+
- Create searchable by symptom, error message, and issue name
|
|
116
|
+
|
|
117
|
+
**Success Criteria**:
|
|
118
|
+
- Users resolve 80%+ of issues from documentation
|
|
119
|
+
- Support team spends <5% time on documented issues
|
|
120
|
+
- User satisfaction with self-service troubleshooting >4/5
|
|
121
|
+
- Support tickets related to common issues reduced by 75%
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Example 6: Migration Guide
|
|
126
|
+
|
|
127
|
+
**User Request**: "Create a migration guide helping users upgrade from version 2.0 to 3.0 with breaking changes."
|
|
128
|
+
|
|
129
|
+
**Expected Behavior**:
|
|
130
|
+
- Clearly state breaking changes
|
|
131
|
+
- Document migration steps in logical order
|
|
132
|
+
- Provide before/after code examples
|
|
133
|
+
- Create deprecation timeline
|
|
134
|
+
- Explain benefits of upgrading
|
|
135
|
+
- Document backward compatibility period
|
|
136
|
+
- Provide rollback procedure if needed
|
|
137
|
+
- Include common migration issues and solutions
|
|
138
|
+
- Create testing strategy for migration
|
|
139
|
+
- Provide automated migration tools if applicable
|
|
140
|
+
- Design guide for different data sizes/scenarios
|
|
141
|
+
|
|
142
|
+
**Success Criteria**:
|
|
143
|
+
- 95%+ of users successfully migrate without issues
|
|
144
|
+
- Migration takes <expected time
|
|
145
|
+
- Zero production incidents from migration
|
|
146
|
+
- Users understand deprecation timeline and plan accordingly
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Example 7: API Reference Documentation
|
|
151
|
+
|
|
152
|
+
**User Request**: "Generate API reference documentation from OpenAPI specification with examples."
|
|
153
|
+
|
|
154
|
+
**Expected Behavior**:
|
|
155
|
+
- Generate API documentation from OpenAPI/Swagger spec
|
|
156
|
+
- Create endpoint pages with detailed parameter descriptions
|
|
157
|
+
- Include request/response example for each endpoint
|
|
158
|
+
- Document authentication requirements per endpoint
|
|
159
|
+
- Show rate limiting per endpoint
|
|
160
|
+
- Create sidebar navigation for endpoint discovery
|
|
161
|
+
- Include search functionality
|
|
162
|
+
- Create change log for API versions
|
|
163
|
+
- Link related endpoints
|
|
164
|
+
- Include code examples in multiple languages
|
|
165
|
+
|
|
166
|
+
**Success Criteria**:
|
|
167
|
+
- Developers find endpoints and understand parameters
|
|
168
|
+
- Code examples are immediately usable
|
|
169
|
+
- API specification and documentation synchronized
|
|
170
|
+
- <5% of API integration questions
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## Example 8: Knowledge Base Implementation
|
|
175
|
+
|
|
176
|
+
**User Request**: "Build a searchable knowledge base that helps users find answers without contacting support."
|
|
177
|
+
|
|
178
|
+
**Expected Behavior**:
|
|
179
|
+
- Design content hierarchy with clear categories
|
|
180
|
+
- Create 50+ articles covering product features and common issues
|
|
181
|
+
- Implement full-text search with relevance ranking
|
|
182
|
+
- Create article templates for consistency
|
|
183
|
+
- Design feedback mechanism on article helpfulness
|
|
184
|
+
- Create related articles recommendations
|
|
185
|
+
- Implement article ratings/comments
|
|
186
|
+
- Create analytics to track article usage and gaps
|
|
187
|
+
- Design editorial calendar for content updates
|
|
188
|
+
- Create contributor guidelines
|
|
189
|
+
|
|
190
|
+
**Success Criteria**:
|
|
191
|
+
- 70%+ of user questions answered by knowledge base
|
|
192
|
+
- Average article helpfulness rating >4/5
|
|
193
|
+
- Support tickets reduced by 50%
|
|
194
|
+
- Users find answers in <2 minutes on average
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Example 9: Configuration Documentation
|
|
199
|
+
|
|
200
|
+
**User Request**: "Document all configuration options with clear examples for different use cases."
|
|
201
|
+
|
|
202
|
+
**Expected Behavior**:
|
|
203
|
+
- List all configuration parameters with types and defaults
|
|
204
|
+
- Explain effect of each configuration on system behavior
|
|
205
|
+
- Provide examples for common configuration scenarios
|
|
206
|
+
- Document configuration precedence (CLI > env > config file)
|
|
207
|
+
- Create performance impact analysis for key settings
|
|
208
|
+
- Document environment-specific configurations
|
|
209
|
+
- Include security implications of settings
|
|
210
|
+
- Provide sample configurations for different deployment types
|
|
211
|
+
- Document deprecated configuration options with migration path
|
|
212
|
+
- Create validation rules and constraints
|
|
213
|
+
|
|
214
|
+
**Success Criteria**:
|
|
215
|
+
- Users understand configuration options without experimenting
|
|
216
|
+
- Configuration errors reduced by 80%
|
|
217
|
+
- Users find configuration examples for their use case
|
|
218
|
+
- Performance tuning guidance reduces support questions
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## Example 10: Runbook for Operations
|
|
223
|
+
|
|
224
|
+
**User Request**: "Create operational runbooks for common tasks and incident responses."
|
|
225
|
+
|
|
226
|
+
**Expected Behavior**:
|
|
227
|
+
- Document step-by-step procedures for common operational tasks
|
|
228
|
+
- Create incident response playbooks for critical issues
|
|
229
|
+
- Include decision trees for troubleshooting
|
|
230
|
+
- Document alerting criteria and escalation paths
|
|
231
|
+
- Provide commands with expected outputs
|
|
232
|
+
- Include prerequisites and dependencies
|
|
233
|
+
- Document rollback procedures for each task
|
|
234
|
+
- Create contact and escalation procedures
|
|
235
|
+
- Include safety checks and validation steps
|
|
236
|
+
- Document timing and impact of each step
|
|
237
|
+
|
|
238
|
+
**Success Criteria**:
|
|
239
|
+
- Operations team executes procedures without errors
|
|
240
|
+
- MTTR (mean time to recovery) reduced by 50%
|
|
241
|
+
- Runbooks used for 95%+ of operational tasks
|
|
242
|
+
- Incident severity reduced through better response
|
|
243
|
+
|
|
244
|
+
---
|
|
245
|
+
|
|
246
|
+
## Example 11: Release Notes Template
|
|
247
|
+
|
|
248
|
+
**User Request**: "Create release notes that clearly communicate changes and required actions to users."
|
|
249
|
+
|
|
250
|
+
**Expected Behavior**:
|
|
251
|
+
- Organize changes by category (features, improvements, fixes, breaking changes)
|
|
252
|
+
- Clearly highlight breaking changes with migration path
|
|
253
|
+
- Include impact assessment (who is affected)
|
|
254
|
+
- Document upgrade/deployment procedure
|
|
255
|
+
- Include known issues and limitations
|
|
256
|
+
- Provide rollback procedure if needed
|
|
257
|
+
- Link to detailed documentation
|
|
258
|
+
- Include security update information
|
|
259
|
+
- Document deprecations with timeline
|
|
260
|
+
- Provide download links
|
|
261
|
+
|
|
262
|
+
**Success Criteria**:
|
|
263
|
+
- Users understand what changed and if it affects them
|
|
264
|
+
- Upgrade decisions informed by release notes
|
|
265
|
+
- 0% unplanned outages due to upgrade surprises
|
|
266
|
+
- Users successfully upgrade without issues
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Example 12: Deployment Documentation
|
|
271
|
+
|
|
272
|
+
**User Request**: "Document the deployment process enabling teams to deploy safely and consistently."
|
|
273
|
+
|
|
274
|
+
**Expected Behavior**:
|
|
275
|
+
- Document prerequisites and requirements
|
|
276
|
+
- Create step-by-step deployment procedure
|
|
277
|
+
- Document pre-deployment checklist
|
|
278
|
+
- Include rollback procedure
|
|
279
|
+
- Create health check procedures
|
|
280
|
+
- Document deployment timing and maintenance windows
|
|
281
|
+
- Include performance validation after deployment
|
|
282
|
+
- Document configuration changes needed
|
|
283
|
+
- Include backup/restore procedures
|
|
284
|
+
- Create environment-specific deployment procedures
|
|
285
|
+
|
|
286
|
+
**Success Criteria**:
|
|
287
|
+
- Teams deploy consistently without errors
|
|
288
|
+
- Deployments predictable with clear timeline
|
|
289
|
+
- Rollback executed in <5 minutes if needed
|
|
290
|
+
- Zero production incidents from deployments
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Example 13: Video Tutorial Series
|
|
295
|
+
|
|
296
|
+
**User Request**: "Create 10 video tutorials covering key features and common workflows."
|
|
297
|
+
|
|
298
|
+
**Expected Behavior**:
|
|
299
|
+
- Create 5-15 minute videos for each major feature
|
|
300
|
+
- Show real examples users will recognize
|
|
301
|
+
- Use clear narration explaining steps
|
|
302
|
+
- Include captions/transcripts for accessibility
|
|
303
|
+
- Show common mistakes and how to avoid them
|
|
304
|
+
- Link to related written documentation
|
|
305
|
+
- Include practice exercises
|
|
306
|
+
- Create playlists for learning paths
|
|
307
|
+
- Design progressive difficulty levels
|
|
308
|
+
- Include related articles in video descriptions
|
|
309
|
+
|
|
310
|
+
**Success Criteria**:
|
|
311
|
+
- Users prefer videos for learning (>70% of learners)
|
|
312
|
+
- Video completion rate >70%
|
|
313
|
+
- Users apply knowledge from videos successfully
|
|
314
|
+
- Support questions reduced for video-covered topics
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## Example 14: Style Guide & Standards
|
|
319
|
+
|
|
320
|
+
**User Request**: "Create a documentation style guide ensuring consistency across all documentation."
|
|
321
|
+
|
|
322
|
+
**Expected Behavior**:
|
|
323
|
+
- Document voice and tone guidelines
|
|
324
|
+
- Define heading hierarchy and structure
|
|
325
|
+
- Create code example standards
|
|
326
|
+
- Document link conventions
|
|
327
|
+
- Define terminology standards (glossary)
|
|
328
|
+
- Create formatting conventions (bold, italics, code)
|
|
329
|
+
- Document screenshot/diagram standards
|
|
330
|
+
- Define audience level indicators
|
|
331
|
+
- Create update procedures and ownership
|
|
332
|
+
- Document deprecated concepts and migration paths
|
|
333
|
+
|
|
334
|
+
**Success Criteria**:
|
|
335
|
+
- Documentation has consistent look and feel
|
|
336
|
+
- Writers follow standards without guidance
|
|
337
|
+
- Documentation more maintainable and searchable
|
|
338
|
+
- Users can scan consistently
|
|
339
|
+
|
|
340
|
+
---
|
|
341
|
+
|
|
342
|
+
## Example 15: FAQ & Knowledge Articles
|
|
343
|
+
|
|
344
|
+
**User Request**: "Create comprehensive FAQ addressing common user questions."
|
|
345
|
+
|
|
346
|
+
**Expected Behavior**:
|
|
347
|
+
- Compile 30-50 most common user questions
|
|
348
|
+
- Write clear, concise answers
|
|
349
|
+
- Link answers to related documentation
|
|
350
|
+
- Organize by category/feature
|
|
351
|
+
- Include cross-references
|
|
352
|
+
- Add search keywords for discoverability
|
|
353
|
+
- Include code examples where helpful
|
|
354
|
+
- Link to troubleshooting if applicable
|
|
355
|
+
- Update based on support tickets
|
|
356
|
+
- Include feedback mechanism
|
|
357
|
+
|
|
358
|
+
**Success Criteria**:
|
|
359
|
+
- 80%+ of common questions answered
|
|
360
|
+
- Support team uses FAQ for common questions
|
|
361
|
+
- Users find answers without escalation
|
|
362
|
+
- Support tickets reduced for FAQ-covered questions
|
|
363
|
+
|
|
364
|
+
---
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# Documentation Skill
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
The Documentation skill enables the creation and maintenance of clear, comprehensive technical documentation that enables engineers, users, 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, and enables self-service problem-solving.
|
|
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. **API Documentation**
|
|
22
|
+
Document APIs comprehensively with request/response examples, error codes, and usage patterns. Create OpenAPI/Swagger specifications that serve as both documentation and API contracts. Provide code examples in multiple languages. Maintain API documentation as APIs evolve.
|
|
23
|
+
|
|
24
|
+
**Application**: RESTful API docs, GraphQL schema documentation, SDK documentation, webhook documentation.
|
|
25
|
+
|
|
26
|
+
### 2. **User Guides & Tutorials**
|
|
27
|
+
Create step-by-step guides that help users accomplish goals. Write tutorials for common use cases. Provide getting-started guides for new users. Structure guides for different user expertise levels. Include screenshots and videos.
|
|
28
|
+
|
|
29
|
+
**Application**: Feature guides, configuration guides, troubleshooting guides, video tutorials, interactive walkthroughs.
|
|
30
|
+
|
|
31
|
+
### 3. **Architecture Documentation**
|
|
32
|
+
Document system design, component relationships, and architectural decisions. Create diagrams that explain system structure. Explain trade-offs and alternatives considered. Document evolution strategy and roadmap.
|
|
33
|
+
|
|
34
|
+
**Application**: C4 model documentation, component diagrams, Architecture Decision Records (ADRs), data flow diagrams.
|
|
35
|
+
|
|
36
|
+
### 4. **Technical Writing & Clarity**
|
|
37
|
+
Write clear, concise documentation that serves its audience. Use active voice and simple language. Structure content for scanability. Ensure consistency in terminology. Review for clarity and grammar.
|
|
38
|
+
|
|
39
|
+
**Application**: Creating all documentation types, editing for clarity, establishing style guides, improving readability.
|
|
40
|
+
|
|
41
|
+
### 5. **Knowledge Base Management**
|
|
42
|
+
Build searchable knowledge bases that organize documentation hierarchically. Create consistent navigation. Establish version control for documentation. Design for easy content discovery.
|
|
43
|
+
|
|
44
|
+
**Application**: Documentation sites, internal wikis, knowledge base systems, help centers.
|
|
45
|
+
|
|
46
|
+
### 6. **Examples & Code Samples**
|
|
47
|
+
Create working code examples that users can learn from and adapt. Provide examples in multiple languages/frameworks. Keep examples up-to-date and testable. Explain key concepts in examples.
|
|
48
|
+
|
|
49
|
+
**Application**: Code snippets, complete working examples, sample configurations, boilerplate projects.
|
|
50
|
+
|
|
51
|
+
### 7. **Troubleshooting & FAQ**
|
|
52
|
+
Create FAQ sections that address common questions. Document common issues and solutions. Design troubleshooting guides that help users diagnose problems. Anticipate user confusion points.
|
|
53
|
+
|
|
54
|
+
**Application**: FAQ sections, troubleshooting guides, common issues documentation, error message explanations.
|
|
55
|
+
|
|
56
|
+
### 8. **Release Notes & Changelog**
|
|
57
|
+
Document changes in each release with user impact clearly stated. Highlight breaking changes and migration paths. Organize by feature, fix, and deprecation. Create upgrade guides.
|
|
58
|
+
|
|
59
|
+
**Application**: Release notes, changelog maintenance, migration guides, deprecation notices.
|
|
60
|
+
|
|
61
|
+
### 9. **Onboarding Documentation**
|
|
62
|
+
Create documentation that helps new users and team members get up to speed quickly. Design learning paths. Create environment setup guides. Design progressive onboarding.
|
|
63
|
+
|
|
64
|
+
**Application**: Getting started guides, environment setup, first-run documentation, team onboarding guides.
|
|
65
|
+
|
|
66
|
+
### 10. **API Contract Documentation**
|
|
67
|
+
Document API contracts that enable independent evolution. Use standard formats (OpenAPI, GraphQL schema). Keep contracts synchronized with implementation. Use contracts to generate documentation.
|
|
68
|
+
|
|
69
|
+
**Application**: OpenAPI specifications, GraphQL schema documentation, API contracts, interface documentation.
|
|
70
|
+
|
|
71
|
+
### 11. **Configuration Documentation**
|
|
72
|
+
Document all configuration options with their effects and defaults. Explain configuration precedence and priority. Provide examples for different scenarios. Document environment-specific configurations.
|
|
73
|
+
|
|
74
|
+
**Application**: Configuration guides, environment variable documentation, settings documentation, customization guides.
|
|
75
|
+
|
|
76
|
+
### 12. **Deployment & Operations Documentation**
|
|
77
|
+
Document deployment procedures and operational processes. Create runbooks for common operational tasks. Document monitoring and alerting. Provide incident response procedures.
|
|
78
|
+
|
|
79
|
+
**Application**: Deployment guides, runbooks, operational procedures, incident response guides.
|
|
80
|
+
|
|
81
|
+
### 13. **Decision & Context Documentation**
|
|
82
|
+
Create Architecture Decision Records that explain why decisions were made. Document context that informed decisions. Explain alternatives considered. Update as decisions evolve.
|
|
83
|
+
|
|
84
|
+
**Application**: ADRs, design documents, RFC (Request for Comments) documents, decision logs.
|
|
85
|
+
|
|
86
|
+
### 14. **Diagrams & Visual Documentation**
|
|
87
|
+
Create diagrams that clarify concepts. Use appropriate diagram types (flowcharts, sequence, class, architecture). Keep diagrams synchronized with text. Make diagrams accessible.
|
|
88
|
+
|
|
89
|
+
**Application**: System architecture diagrams, data flow diagrams, sequence diagrams, entity relationship diagrams.
|
|
90
|
+
|
|
91
|
+
### 15. **Documentation Tools & Automation**
|
|
92
|
+
Use tools that enable version control, searchability, and collaboration. Automate documentation generation from code. Implement broken link checking. Automate deployment of documentation.
|
|
93
|
+
|
|
94
|
+
**Application**: MkDocs, Hugo, Sphinx, OpenAPI tools, documentation generators.
|
|
95
|
+
|
|
96
|
+
### 16. **Glossary & Terminology**
|
|
97
|
+
Create glossaries that define domain-specific terms. Maintain consistent terminology across documentation. Explain acronyms and abbreviations. Help users understand new concepts.
|
|
98
|
+
|
|
99
|
+
**Application**: Glossaries, term definitions, concept explanations, abbreviation guides.
|
|
100
|
+
|
|
101
|
+
### 17. **Accessibility in Documentation**
|
|
102
|
+
Create documentation accessible to all users including those with disabilities. Use proper heading hierarchy. Provide alt text for images. Ensure color contrast. Support screen readers.
|
|
103
|
+
|
|
104
|
+
**Application**: WCAG-compliant documentation, alt text for images, caption videos, accessible diagrams.
|
|
105
|
+
|
|
106
|
+
### 18. **Documentation Maintenance & Governance**
|
|
107
|
+
Establish processes to keep documentation accurate and current. Assign ownership. Create review processes. Plan for deprecation. Track user feedback. Measure documentation effectiveness.
|
|
108
|
+
|
|
109
|
+
**Application**: Documentation review process, update schedules, owner assignments, feedback collection.
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Specific Domains & Tools
|
|
114
|
+
|
|
115
|
+
### Documentation Platforms
|
|
116
|
+
- **MkDocs**: Python-based static documentation site generator
|
|
117
|
+
- **Hugo**: General-purpose static site generator
|
|
118
|
+
- **Sphinx**: Documentation generator originally for Python projects
|
|
119
|
+
- **Docusaurus**: React-based documentation site generator
|
|
120
|
+
- **Confluence**: Enterprise wiki and collaboration platform
|
|
121
|
+
- **Notion**: All-in-one workspace for documentation and notes
|
|
122
|
+
|
|
123
|
+
### API Documentation Tools
|
|
124
|
+
- **OpenAPI/Swagger**: Standard for API specification and documentation
|
|
125
|
+
- **Postman**: API documentation and testing
|
|
126
|
+
- **Stoplight**: API design, documentation, and testing
|
|
127
|
+
- **Redoc**: Beautiful API documentation generator
|
|
128
|
+
- **GraphQL**: Built-in schema introspection and documentation
|
|
129
|
+
|
|
130
|
+
### Diagramming Tools
|
|
131
|
+
- **Mermaid**: ASCII-art-style diagrams in Markdown
|
|
132
|
+
- **Draw.io**: Web-based diagramming tool
|
|
133
|
+
- **Lucidchart**: Collaborative diagramming
|
|
134
|
+
- **PlantUML**: Text-based UML diagram generation
|
|
135
|
+
|
|
136
|
+
### Supporting Tools
|
|
137
|
+
- **Git**: Version control for documentation
|
|
138
|
+
- **Algolia**: Fast search for documentation
|
|
139
|
+
- **Netlify/Vercel**: Documentation site hosting and deployment
|
|
140
|
+
- **GitHub Pages**: Free documentation hosting
|
|
141
|
+
- **Vale**: Prose linting for consistency
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## Best Practices
|
|
146
|
+
|
|
147
|
+
1. **Write for Your Audience**: Understand your readers' expertise levels and goals. Tailor content accordingly.
|
|
148
|
+
|
|
149
|
+
2. **Keep Documentation Current**: Establish processes to update documentation when code changes. Make docs part of definition of done.
|
|
150
|
+
|
|
151
|
+
3. **Provide Working Examples**: Give complete, executable examples that readers can learn from and run.
|
|
152
|
+
|
|
153
|
+
4. **Use Consistent Terminology**: Define terms and use them consistently. Create glossaries for domain-specific terms.
|
|
154
|
+
|
|
155
|
+
5. **Structure for Scannability**: Use clear headings, short paragraphs, and visual formatting. Readers scan, not read linearly.
|
|
156
|
+
|
|
157
|
+
6. **Single Source of Truth**: Avoid duplicating information. Link to authoritative sources instead.
|
|
158
|
+
|
|
159
|
+
7. **Version with Code**: Keep documentation in sync with code versions. Version documentation with software releases.
|
|
160
|
+
|
|
161
|
+
8. **Seek Feedback**: Ask users what documentation helped/didn't help. Iterate based on feedback.
|
|
162
|
+
|
|
163
|
+
9. **Test Examples**: Verify that code examples work. Automate example testing when possible.
|
|
164
|
+
|
|
165
|
+
10. **Make It Searchable**: Use clear titles and headings. Include relevant keywords. Implement site search.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Deliverables
|
|
170
|
+
|
|
171
|
+
- **API Documentation**: Complete endpoint documentation with examples and error codes
|
|
172
|
+
- **User Guides**: Step-by-step guides for common tasks and features
|
|
173
|
+
- **Getting Started Guide**: Quick start for new users with minimal prerequisites
|
|
174
|
+
- **Architecture Documentation**: System design, components, and integration architecture
|
|
175
|
+
- **Code Examples**: Working examples in relevant languages and frameworks
|
|
176
|
+
- **Troubleshooting Guide**: Common issues and solutions
|
|
177
|
+
- **FAQ**: Answers to frequently asked questions
|
|
178
|
+
- **Release Notes**: Changes in each release with user impact highlighted
|
|
179
|
+
- **Deployment Guide**: Procedures for deploying and configuring systems
|
|
180
|
+
- **Runbooks**: Procedures for common operational tasks
|
|
181
|
+
- **Architecture Decision Records**: Documented decisions with rationale
|
|
182
|
+
- **Glossary**: Domain-specific terms and definitions
|
|
183
|
+
- **Video Tutorials**: Recorded walkthroughs of common tasks
|
|
184
|
+
- **Style Guide**: Writing conventions and documentation standards
|
|
185
|
+
- **Documentation Site**: Searchable, well-organized documentation
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Success Criteria
|
|
190
|
+
|
|
191
|
+
1. **Accessibility**: Users can find documentation they need within 2-3 clicks
|
|
192
|
+
2. **Clarity**: New users understand concepts without requiring support
|
|
193
|
+
3. **Completeness**: Documentation answers questions users ask
|
|
194
|
+
4. **Accuracy**: Documentation matches current code/system behavior
|
|
195
|
+
5. **Freshness**: Documentation updated within 2 weeks of code changes
|
|
196
|
+
6. **Searchability**: Users find relevant documentation through search
|
|
197
|
+
7. **Engagement**: Users reference documentation rather than asking for help
|
|
198
|
+
8. **Onboarding**: New team members productive within expected timeframe
|
|
199
|
+
9. **Maintainability**: Documentation easy to update and version
|
|
200
|
+
10. **Impact**: Reduced support tickets, faster issue resolution, less onboarding time
|