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,133 @@
|
|
|
1
|
+
# Implement Feature Prompt
|
|
2
|
+
|
|
3
|
+
**Role:** Developer
|
|
4
|
+
**Type:** Feature Implementation
|
|
5
|
+
**Context Needed:** Feature spec, architecture decisions, project patterns
|
|
6
|
+
|
|
7
|
+
## Template
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Implement [feature name] with the following requirements:
|
|
11
|
+
|
|
12
|
+
## Feature Spec
|
|
13
|
+
[Copy relevant requirements from spec]
|
|
14
|
+
|
|
15
|
+
## Constraints
|
|
16
|
+
- Must follow existing [architecture/patterns]
|
|
17
|
+
- Must support [specific requirements]
|
|
18
|
+
- Cannot use [restricted libraries/patterns]
|
|
19
|
+
- Performance target: [specific metric]
|
|
20
|
+
|
|
21
|
+
## Files to Modify
|
|
22
|
+
- [file1] - What changes
|
|
23
|
+
- [file2] - What changes
|
|
24
|
+
- [file3] - What changes
|
|
25
|
+
|
|
26
|
+
## New Files Needed
|
|
27
|
+
- [path/file1] - Purpose
|
|
28
|
+
- [path/file2] - Purpose
|
|
29
|
+
|
|
30
|
+
## Expected Output
|
|
31
|
+
- Production-ready code
|
|
32
|
+
- Error handling
|
|
33
|
+
- Logging
|
|
34
|
+
- Tests with coverage >= 80%
|
|
35
|
+
- Documentation via code
|
|
36
|
+
|
|
37
|
+
## Verification
|
|
38
|
+
Run these checks before considering complete:
|
|
39
|
+
1. All tests pass: `npm test`
|
|
40
|
+
2. Lint passes: `npm run lint`
|
|
41
|
+
3. Type checks pass: `npm run type-check`
|
|
42
|
+
4. Build succeeds: `npm run build`
|
|
43
|
+
5. Feature works in dev server: `npm run dev`
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## When to Use
|
|
47
|
+
|
|
48
|
+
- Implementing new features
|
|
49
|
+
- Adding functionality to existing modules
|
|
50
|
+
- Extending APIs or services
|
|
51
|
+
- Creating utilities or helpers
|
|
52
|
+
|
|
53
|
+
## Required Context
|
|
54
|
+
|
|
55
|
+
- Feature specification
|
|
56
|
+
- Existing code patterns
|
|
57
|
+
- Architecture decisions
|
|
58
|
+
- Related modules/dependencies
|
|
59
|
+
- Error handling patterns
|
|
60
|
+
|
|
61
|
+
## Expected Output
|
|
62
|
+
|
|
63
|
+
- ✓ Production-ready code
|
|
64
|
+
- ✓ All tests pass
|
|
65
|
+
- ✓ Lint passes
|
|
66
|
+
- ✓ Type checks pass
|
|
67
|
+
- ✓ Error handling
|
|
68
|
+
- ✓ Logging included
|
|
69
|
+
- ✓ Code documented via naming
|
|
70
|
+
|
|
71
|
+
## Quality Gates
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
Code Quality:
|
|
75
|
+
✓ No linting errors
|
|
76
|
+
✓ Type-safe
|
|
77
|
+
✓ Follows patterns
|
|
78
|
+
|
|
79
|
+
Test Coverage:
|
|
80
|
+
✓ >= 80% coverage
|
|
81
|
+
✓ Happy path tested
|
|
82
|
+
✓ Error cases tested
|
|
83
|
+
✓ Edge cases tested
|
|
84
|
+
|
|
85
|
+
Performance:
|
|
86
|
+
✓ No N+1 queries
|
|
87
|
+
✓ Efficient algorithms
|
|
88
|
+
✓ Caching where appropriate
|
|
89
|
+
|
|
90
|
+
Documentation:
|
|
91
|
+
✓ Clear function names
|
|
92
|
+
✓ Comment complex logic
|
|
93
|
+
✓ README updated if needed
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## Example Usage
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Implement user authentication with the following requirements:
|
|
100
|
+
|
|
101
|
+
## Feature Spec
|
|
102
|
+
- Support JWT tokens
|
|
103
|
+
- Validate email/password
|
|
104
|
+
- Create session on login
|
|
105
|
+
- Refresh token on expiry
|
|
106
|
+
- Logout clears session
|
|
107
|
+
|
|
108
|
+
## Constraints
|
|
109
|
+
- Must use bcrypt for passwords
|
|
110
|
+
- Must follow existing middleware patterns
|
|
111
|
+
- Must support OAuth2 integration
|
|
112
|
+
- Cannot use deprecated auth libraries
|
|
113
|
+
|
|
114
|
+
## Files to Modify
|
|
115
|
+
- src/routes/auth.ts - Add login/logout endpoints
|
|
116
|
+
- src/middleware/auth.ts - Add JWT validation
|
|
117
|
+
- src/types/user.ts - Add auth types
|
|
118
|
+
- src/models/user.ts - Add password methods
|
|
119
|
+
|
|
120
|
+
## New Files Needed
|
|
121
|
+
- src/services/auth.ts - Auth business logic
|
|
122
|
+
- tests/auth.test.ts - Auth tests
|
|
123
|
+
- docs/auth.md - Authentication guide
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Tips
|
|
127
|
+
|
|
128
|
+
- Be specific about constraints
|
|
129
|
+
- Include architecture context
|
|
130
|
+
- List all files to modify
|
|
131
|
+
- Provide expected behavior
|
|
132
|
+
- Define quality gates
|
|
133
|
+
- Give code examples if helpful
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Product Owner Prompts
|
|
2
|
+
|
|
3
|
+
Reusable prompts for product management and feature definition.
|
|
4
|
+
|
|
5
|
+
## Available Prompts
|
|
6
|
+
|
|
7
|
+
### [define-feature.md](define-feature.md)
|
|
8
|
+
|
|
9
|
+
**Use when:** Creating new features or defining requirements
|
|
10
|
+
|
|
11
|
+
**Covers:**
|
|
12
|
+
- Problem statement
|
|
13
|
+
- User stories
|
|
14
|
+
- Acceptance criteria
|
|
15
|
+
- Business goals
|
|
16
|
+
- Success metrics
|
|
17
|
+
- Constraints
|
|
18
|
+
|
|
19
|
+
**Good for:**
|
|
20
|
+
- Feature specification
|
|
21
|
+
- Product requirements
|
|
22
|
+
- Prioritization
|
|
23
|
+
- Release planning
|
|
24
|
+
|
|
25
|
+
## Using Product Owner Prompts
|
|
26
|
+
|
|
27
|
+
### Definition Process
|
|
28
|
+
|
|
29
|
+
1. **Understand problem** - What needs are we solving?
|
|
30
|
+
2. **Define users** - Who are they?
|
|
31
|
+
3. **Write stories** - User-centric requirements
|
|
32
|
+
4. **Acceptance criteria** - How to know it's done?
|
|
33
|
+
5. **Goals** - Business outcomes
|
|
34
|
+
6. **Metrics** - How to measure success?
|
|
35
|
+
7. **Constraints** - Limitations
|
|
36
|
+
8. **Scope** - What's included/excluded?
|
|
37
|
+
|
|
38
|
+
## What Gets Delivered
|
|
39
|
+
|
|
40
|
+
✓ Problem statement
|
|
41
|
+
✓ User stories
|
|
42
|
+
✓ Acceptance criteria
|
|
43
|
+
✓ Business goals
|
|
44
|
+
✓ Success metrics
|
|
45
|
+
✓ Constraints documented
|
|
46
|
+
✓ Out of scope clear
|
|
47
|
+
|
|
48
|
+
## Quality Gates
|
|
49
|
+
|
|
50
|
+
Features must define:
|
|
51
|
+
|
|
52
|
+
✓ **Clarity** - Problem understood
|
|
53
|
+
✓ **Completeness** - All requirements covered
|
|
54
|
+
✓ **Feasibility** - Realistic scope and timeline
|
|
55
|
+
✓ **Measurability** - Clear success metrics
|
|
56
|
+
✓ **Alignment** - Supports business goals
|
|
57
|
+
|
|
58
|
+
## Feature Definition Checklist
|
|
59
|
+
|
|
60
|
+
- [ ] Problem clearly stated
|
|
61
|
+
- [ ] User stories written
|
|
62
|
+
- [ ] Acceptance criteria detailed
|
|
63
|
+
- [ ] Business goals defined
|
|
64
|
+
- [ ] Success metrics set
|
|
65
|
+
- [ ] Constraints documented
|
|
66
|
+
- [ ] Out of scope clear
|
|
67
|
+
- [ ] Timeline realistic
|
|
68
|
+
- [ ] Budget understood
|
|
69
|
+
- [ ] Prioritization clear
|
|
70
|
+
|
|
71
|
+
## User Story Format
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
As a [user type]
|
|
75
|
+
I want [capability]
|
|
76
|
+
So that [benefit]
|
|
77
|
+
|
|
78
|
+
Acceptance Criteria:
|
|
79
|
+
- [ ] Criterion 1
|
|
80
|
+
- [ ] Criterion 2
|
|
81
|
+
- [ ] Criterion 3
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Success Metrics Types
|
|
85
|
+
|
|
86
|
+
- **Adoption** - % of users using feature
|
|
87
|
+
- **Engagement** - How often used
|
|
88
|
+
- **Business** - Revenue, retention
|
|
89
|
+
- **Experience** - NPS, satisfaction
|
|
90
|
+
- **Technical** - Performance, reliability
|
|
91
|
+
|
|
92
|
+
## Best Practices
|
|
93
|
+
|
|
94
|
+
### Effective Feature Definition
|
|
95
|
+
|
|
96
|
+
- Start with user problems
|
|
97
|
+
- Be specific about requirements
|
|
98
|
+
- Define measurable outcomes
|
|
99
|
+
- Get stakeholder alignment
|
|
100
|
+
- Validate with users
|
|
101
|
+
- Consider edge cases
|
|
102
|
+
- Plan phases
|
|
103
|
+
- Think about operations
|
|
104
|
+
|
|
105
|
+
### Prioritization Framework
|
|
106
|
+
|
|
107
|
+
- **Importance** - User need level
|
|
108
|
+
- **Urgency** - How soon needed
|
|
109
|
+
- **Effort** - Implementation cost
|
|
110
|
+
- **Impact** - Business value
|
|
111
|
+
|
|
112
|
+
## Related Documentation
|
|
113
|
+
|
|
114
|
+
- See `../README.md` for overview
|
|
115
|
+
- Check patterns/ for design patterns
|
|
116
|
+
- Review knowledge/ for domain knowledge
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Define Feature Prompt
|
|
2
|
+
|
|
3
|
+
**Role:** Product Owner
|
|
4
|
+
**Type:** Feature Definition
|
|
5
|
+
**Context Needed:** Problem statement, user research, business goals, constraints
|
|
6
|
+
|
|
7
|
+
## Template
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Define feature: [Feature Name]
|
|
11
|
+
|
|
12
|
+
## Problem Statement
|
|
13
|
+
[What problem does this solve]
|
|
14
|
+
|
|
15
|
+
## User Stories
|
|
16
|
+
As a [user type]
|
|
17
|
+
I want [capability]
|
|
18
|
+
So that [benefit]
|
|
19
|
+
|
|
20
|
+
Acceptance Criteria:
|
|
21
|
+
- [ ] [Criterion 1]
|
|
22
|
+
- [ ] [Criterion 2]
|
|
23
|
+
- [ ] [Criterion 3]
|
|
24
|
+
|
|
25
|
+
## Business Goals
|
|
26
|
+
- [Goal 1]
|
|
27
|
+
- [Goal 2]
|
|
28
|
+
- [Goal 3]
|
|
29
|
+
|
|
30
|
+
## Success Metrics
|
|
31
|
+
- [Metric 1: Target]
|
|
32
|
+
- [Metric 2: Target]
|
|
33
|
+
- [Metric 3: Target]
|
|
34
|
+
|
|
35
|
+
## Constraints
|
|
36
|
+
- Timeline: [When needed]
|
|
37
|
+
- Budget: [Resource limits]
|
|
38
|
+
- Technical: [Tech constraints]
|
|
39
|
+
- Legal: [Compliance requirements]
|
|
40
|
+
|
|
41
|
+
## Out of Scope
|
|
42
|
+
- [What's not included]
|
|
43
|
+
- [What can be Phase 2]
|
|
44
|
+
|
|
45
|
+
## Open Questions
|
|
46
|
+
1. [Question 1]
|
|
47
|
+
2. [Question 2]
|
|
48
|
+
|
|
49
|
+
## Expected Deliverables
|
|
50
|
+
- Detailed feature specification
|
|
51
|
+
- User stories and acceptance criteria
|
|
52
|
+
- Success metrics
|
|
53
|
+
- Prioritization
|
|
54
|
+
- Wireframes/mockups (if applicable)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## When to Use
|
|
58
|
+
|
|
59
|
+
- Creating new features
|
|
60
|
+
- Defining product requirements
|
|
61
|
+
- Prioritizing work
|
|
62
|
+
- Planning releases
|
|
63
|
+
- Communicating with stakeholders
|
|
64
|
+
|
|
65
|
+
## Required Context
|
|
66
|
+
|
|
67
|
+
- Problem to solve
|
|
68
|
+
- Target users
|
|
69
|
+
- Business goals
|
|
70
|
+
- Constraints
|
|
71
|
+
- Competitive context
|
|
72
|
+
- User research
|
|
73
|
+
|
|
74
|
+
## Expected Output
|
|
75
|
+
|
|
76
|
+
- ✓ Clear problem statement
|
|
77
|
+
- ✓ User stories written
|
|
78
|
+
- ✓ Acceptance criteria defined
|
|
79
|
+
- ✓ Success metrics set
|
|
80
|
+
- ✓ Constraints documented
|
|
81
|
+
- ✓ Prioritized
|
|
82
|
+
|
|
83
|
+
## Quality Gates
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
Clarity:
|
|
87
|
+
✓ Problem understood
|
|
88
|
+
✓ Solution clear
|
|
89
|
+
✓ No ambiguity
|
|
90
|
+
|
|
91
|
+
Completeness:
|
|
92
|
+
✓ All user stories covered
|
|
93
|
+
✓ Acceptance criteria detailed
|
|
94
|
+
✓ Constraints listed
|
|
95
|
+
|
|
96
|
+
Feasibility:
|
|
97
|
+
✓ Timeline realistic
|
|
98
|
+
✓ Budget reasonable
|
|
99
|
+
✓ Tech feasible
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Example Usage
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
Define Feature: Dark Mode Support
|
|
106
|
+
|
|
107
|
+
## Problem Statement
|
|
108
|
+
Users request dark mode for eye strain reduction at night
|
|
109
|
+
|
|
110
|
+
## User Stories
|
|
111
|
+
As a user who works at night
|
|
112
|
+
I want dark mode
|
|
113
|
+
So that I can reduce eye strain
|
|
114
|
+
|
|
115
|
+
Acceptance Criteria:
|
|
116
|
+
- [ ] All pages have dark mode
|
|
117
|
+
- [ ] Toggle to switch modes
|
|
118
|
+
- [ ] Preference persists
|
|
119
|
+
- [ ] High contrast maintained
|
|
120
|
+
|
|
121
|
+
## Business Goals
|
|
122
|
+
- Increase user satisfaction
|
|
123
|
+
- Reduce support requests
|
|
124
|
+
- Competitive feature parity
|
|
125
|
+
|
|
126
|
+
## Success Metrics
|
|
127
|
+
- 40% of users enable dark mode
|
|
128
|
+
- Support requests decrease 5%
|
|
129
|
+
- Feature rating >= 4.5 stars
|
|
130
|
+
|
|
131
|
+
## Constraints
|
|
132
|
+
- Timeline: 2 weeks
|
|
133
|
+
- No new dependencies
|
|
134
|
+
- Must support all browsers
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Tips
|
|
138
|
+
|
|
139
|
+
- Start with user needs
|
|
140
|
+
- Be specific with acceptance criteria
|
|
141
|
+
- Define success metrics
|
|
142
|
+
- Consider edge cases
|
|
143
|
+
- Involve users/research
|
|
144
|
+
- Think about phases
|
|
145
|
+
- Plan follow-ups
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# Reviewer Prompts
|
|
2
|
+
|
|
3
|
+
Reusable prompts for code review and quality assessment.
|
|
4
|
+
|
|
5
|
+
## Available Prompts
|
|
6
|
+
|
|
7
|
+
### [code-review.md](code-review.md)
|
|
8
|
+
|
|
9
|
+
**Use when:** Reviewing pull requests or code changes
|
|
10
|
+
|
|
11
|
+
**Covers:**
|
|
12
|
+
- PR context and scope
|
|
13
|
+
- What to check (correctness, security, performance, style, testing)
|
|
14
|
+
- Project standards
|
|
15
|
+
- Acceptance criteria
|
|
16
|
+
- Expected issues and feedback
|
|
17
|
+
|
|
18
|
+
**Good for:**
|
|
19
|
+
- PR reviews before merge
|
|
20
|
+
- Code quality assessment
|
|
21
|
+
- Issue identification
|
|
22
|
+
- Knowledge sharing
|
|
23
|
+
|
|
24
|
+
## Using Review Prompts
|
|
25
|
+
|
|
26
|
+
### Review Process
|
|
27
|
+
|
|
28
|
+
1. **Understand context** - PR purpose and scope
|
|
29
|
+
2. **Check correctness** - Does it work? Are there bugs?
|
|
30
|
+
3. **Assess security** - Vulnerabilities? Input validation?
|
|
31
|
+
4. **Evaluate performance** - Regressions? Inefficiencies?
|
|
32
|
+
5. **Review style** - Standards? Patterns?
|
|
33
|
+
6. **Verify testing** - Coverage? Meaningful tests?
|
|
34
|
+
7. **Summary** - Approve or request changes
|
|
35
|
+
|
|
36
|
+
## What Gets Reviewed
|
|
37
|
+
|
|
38
|
+
✓ **Correctness** - Logic is sound, no bugs
|
|
39
|
+
✓ **Security** - No vulnerabilities
|
|
40
|
+
✓ **Performance** - No regressions
|
|
41
|
+
✓ **Testing** - Adequate coverage
|
|
42
|
+
✓ **Style** - Follows conventions
|
|
43
|
+
✓ **Maintainability** - Easy to understand
|
|
44
|
+
|
|
45
|
+
## Quality Gates
|
|
46
|
+
|
|
47
|
+
Reviews should verify:
|
|
48
|
+
|
|
49
|
+
✓ **Correctness** - All tests pass, logic is sound
|
|
50
|
+
✓ **Security** - No vulnerabilities introduced
|
|
51
|
+
✓ **Testing** - >= 80% coverage
|
|
52
|
+
✓ **Standards** - Follows project conventions
|
|
53
|
+
✓ **Documentation** - Code is self-documenting
|
|
54
|
+
|
|
55
|
+
## Review Checklist
|
|
56
|
+
|
|
57
|
+
- [ ] Understand the purpose
|
|
58
|
+
- [ ] Code compiles/runs
|
|
59
|
+
- [ ] Tests pass
|
|
60
|
+
- [ ] No obvious bugs
|
|
61
|
+
- [ ] Security reviewed
|
|
62
|
+
- [ ] Performance checked
|
|
63
|
+
- [ ] Style consistent
|
|
64
|
+
- [ ] Documentation clear
|
|
65
|
+
- [ ] Ready to merge
|
|
66
|
+
|
|
67
|
+
## Best Practices
|
|
68
|
+
|
|
69
|
+
### Effective Code Reviews
|
|
70
|
+
|
|
71
|
+
- Be constructive, not critical
|
|
72
|
+
- Focus on important issues first
|
|
73
|
+
- Separate style from substance
|
|
74
|
+
- Suggest improvements
|
|
75
|
+
- Ask clarifying questions
|
|
76
|
+
- Acknowledge good work
|
|
77
|
+
- Provide context
|
|
78
|
+
- Be respectful
|
|
79
|
+
|
|
80
|
+
### Review Priorities
|
|
81
|
+
|
|
82
|
+
1. **Critical** - Security, correctness
|
|
83
|
+
2. **High** - Performance, maintainability
|
|
84
|
+
3. **Medium** - Style, consistency
|
|
85
|
+
4. **Low** - Optimization, minor improvements
|
|
86
|
+
|
|
87
|
+
## Related Documentation
|
|
88
|
+
|
|
89
|
+
- See `../README.md` for overview
|
|
90
|
+
- Check hooks/ for pre-commit checks
|
|
91
|
+
- Review commands/ for test/validate commands
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Code Review Prompt
|
|
2
|
+
|
|
3
|
+
**Role:** Reviewer
|
|
4
|
+
**Type:** Code Review
|
|
5
|
+
**Context Needed:** PR/diff, project standards, acceptance criteria, related PRs
|
|
6
|
+
|
|
7
|
+
## Template
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
Review this code change for [PR title]:
|
|
11
|
+
|
|
12
|
+
## Context
|
|
13
|
+
- PR: [Link or description]
|
|
14
|
+
- Files changed: [List]
|
|
15
|
+
- Lines added/removed: [Stats]
|
|
16
|
+
- Related to: [Related issues/PRs]
|
|
17
|
+
|
|
18
|
+
## What to Check
|
|
19
|
+
- ✓ Correctness - Does it work as intended?
|
|
20
|
+
- ✓ Security - No vulnerabilities?
|
|
21
|
+
- ✓ Performance - No regressions?
|
|
22
|
+
- ✓ Maintainability - Easy to understand?
|
|
23
|
+
- ✓ Testing - Adequate coverage?
|
|
24
|
+
- ✓ Style - Follows conventions?
|
|
25
|
+
|
|
26
|
+
## Project Standards
|
|
27
|
+
[Reference to coding standards, patterns]
|
|
28
|
+
|
|
29
|
+
## Acceptance Criteria
|
|
30
|
+
1. [Criterion 1]
|
|
31
|
+
2. [Criterion 2]
|
|
32
|
+
3. [Criterion 3]
|
|
33
|
+
|
|
34
|
+
## Expected Output
|
|
35
|
+
- Issues found (severity: critical/high/medium/low)
|
|
36
|
+
- Questions for author
|
|
37
|
+
- Suggestions for improvement
|
|
38
|
+
- Approval recommendation
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## When to Use
|
|
42
|
+
|
|
43
|
+
- Reviewing PRs before merge
|
|
44
|
+
- Assessing code quality
|
|
45
|
+
- Catching issues early
|
|
46
|
+
- Knowledge sharing
|
|
47
|
+
- Maintaining standards
|
|
48
|
+
|
|
49
|
+
## Required Context
|
|
50
|
+
|
|
51
|
+
- Full diff/PR
|
|
52
|
+
- Acceptance criteria
|
|
53
|
+
- Project coding standards
|
|
54
|
+
- Related architecture
|
|
55
|
+
- Security requirements
|
|
56
|
+
|
|
57
|
+
## Expected Output
|
|
58
|
+
|
|
59
|
+
- ✓ Bug identification
|
|
60
|
+
- ✓ Security review
|
|
61
|
+
- ✓ Performance check
|
|
62
|
+
- ✓ Style/pattern review
|
|
63
|
+
- ✓ Clear feedback
|
|
64
|
+
- ✓ Approval/concerns
|
|
65
|
+
|
|
66
|
+
## Quality Gates
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Correctness:
|
|
70
|
+
✓ Logic is sound
|
|
71
|
+
✓ Edge cases handled
|
|
72
|
+
✓ No obvious bugs
|
|
73
|
+
|
|
74
|
+
Security:
|
|
75
|
+
✓ No vulnerabilities
|
|
76
|
+
✓ Input validated
|
|
77
|
+
✓ Auth/perms correct
|
|
78
|
+
|
|
79
|
+
Testing:
|
|
80
|
+
✓ Adequate coverage
|
|
81
|
+
✓ Tests meaningful
|
|
82
|
+
✓ No test deletions
|
|
83
|
+
|
|
84
|
+
Standards:
|
|
85
|
+
✓ Follows patterns
|
|
86
|
+
✓ Code readable
|
|
87
|
+
✓ No tech debt
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Example Usage
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Review PR: Add payment retry logic (#1234)
|
|
94
|
+
|
|
95
|
+
## Context
|
|
96
|
+
Files: src/services/payment.ts, tests/payment.test.ts
|
|
97
|
+
Changes: +150 -30 lines
|
|
98
|
+
Related: Issue #1200 (payment failures)
|
|
99
|
+
|
|
100
|
+
## What to Check
|
|
101
|
+
- Does retry logic work for timeouts?
|
|
102
|
+
- Are there exponential backoffs?
|
|
103
|
+
- Does it handle rate limits?
|
|
104
|
+
- Test coverage adequate?
|
|
105
|
+
- Any security issues?
|
|
106
|
+
|
|
107
|
+
## Project Standards
|
|
108
|
+
- Error handling pattern: Custom errors
|
|
109
|
+
- Testing: Jest with 80% coverage
|
|
110
|
+
- Async: Promises/async-await
|
|
111
|
+
- Logging: Winston logger
|
|
112
|
+
|
|
113
|
+
## Acceptance Criteria
|
|
114
|
+
1. Retries up to 3 times
|
|
115
|
+
2. Exponential backoff (1s, 2s, 4s)
|
|
116
|
+
3. Respects rate limit headers
|
|
117
|
+
4. Logs all attempts
|
|
118
|
+
5. >= 85% test coverage
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Tips
|
|
122
|
+
|
|
123
|
+
- Be specific with feedback
|
|
124
|
+
- Separate issues by severity
|
|
125
|
+
- Suggest fixes not just problems
|
|
126
|
+
- Praise good work
|
|
127
|
+
- Consider context
|
|
128
|
+
- Avoid bikeshedding
|
|
129
|
+
- Focus on important issues
|