dojo.md 0.1.0 → 0.2.1
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/courses/GENERATION_LOG.md +72 -0
- package/courses/api-error-handling/course.yaml +16 -0
- package/courses/api-error-handling/scenarios/level-1/error-response-format.yaml +131 -0
- package/courses/api-error-handling/scenarios/level-1/http-status-codes-basics.yaml +90 -0
- package/courses/api-error-handling/scenarios/level-1/rate-limiting-basics.yaml +135 -0
- package/courses/api-error-handling/scenarios/level-1/request-validation-errors.yaml +208 -0
- package/courses/api-error-handling/scenarios/level-2/circuit-breaker-pattern.yaml +189 -0
- package/courses/api-error-handling/scenarios/level-2/idempotency-retry-logic.yaml +159 -0
- package/courses/api-error-handling/scenarios/level-2/rfc-7807-problem-details.yaml +178 -0
- package/courses/api-error-handling/scenarios/level-2/webhook-error-handling.yaml +211 -0
- package/courses/api-error-handling/scenarios/level-3/distributed-tracing-errors.yaml +275 -0
- package/courses/aws-lambda-debugging/course.yaml +11 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/api-gateway-integration.yaml +71 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/cloudwatch-logs-basics.yaml +64 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/cold-start-basics.yaml +70 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/environment-variable-issues.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/first-debugging-shift.yaml +73 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/handler-import-errors.yaml +71 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/iam-permission-errors.yaml +68 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/invocation-errors.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/lambda-timeout-errors.yaml +65 -0
- package/courses/aws-lambda-debugging/scenarios/level-1/memory-and-oom.yaml +70 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/async-invocation-failures.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/cold-start-optimization.yaml +76 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/dynamodb-streams-debugging.yaml +70 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/intermediate-debugging-shift.yaml +71 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/lambda-concurrency-management.yaml +70 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/lambda-layers-debugging.yaml +76 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/sam-local-debugging.yaml +74 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/sqs-event-source.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/vpc-networking-issues.yaml +71 -0
- package/courses/aws-lambda-debugging/scenarios/level-2/xray-tracing.yaml +62 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/advanced-debugging-shift.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/container-image-lambda.yaml +79 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/cross-account-invocation.yaml +72 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/eventbridge-patterns.yaml +79 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/iac-deployment-debugging.yaml +68 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/kinesis-stream-processing.yaml +64 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/lambda-at-edge.yaml +64 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/lambda-extensions-debugging.yaml +67 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/powertools-observability.yaml +79 -0
- package/courses/aws-lambda-debugging/scenarios/level-3/step-functions-debugging.yaml +80 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/cost-optimization-strategy.yaml +67 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/expert-debugging-shift.yaml +62 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/incident-management-serverless.yaml +61 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/multi-region-serverless.yaml +67 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/observability-platform-design.yaml +71 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/serverless-architecture-design.yaml +64 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/serverless-data-architecture.yaml +66 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/serverless-migration-strategy.yaml +65 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/serverless-security-design.yaml +60 -0
- package/courses/aws-lambda-debugging/scenarios/level-4/serverless-testing-strategy.yaml +62 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/board-serverless-strategy.yaml +63 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/consulting-serverless-adoption.yaml +57 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/industry-serverless-patterns.yaml +62 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/ma-serverless-integration.yaml +75 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/master-debugging-shift.yaml +61 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/organizational-serverless-transformation.yaml +65 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/regulatory-serverless.yaml +61 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/serverless-economics.yaml +65 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/serverless-future-technology.yaml +66 -0
- package/courses/aws-lambda-debugging/scenarios/level-5/serverless-platform-design.yaml +71 -0
- package/courses/docker-container-debugging/course.yaml +11 -0
- package/courses/docker-container-debugging/scenarios/level-1/container-exit-codes.yaml +59 -0
- package/courses/docker-container-debugging/scenarios/level-1/container-networking-basics.yaml +69 -0
- package/courses/docker-container-debugging/scenarios/level-1/docker-logs-debugging.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-1/dockerfile-build-failures.yaml +71 -0
- package/courses/docker-container-debugging/scenarios/level-1/environment-variable-issues.yaml +74 -0
- package/courses/docker-container-debugging/scenarios/level-1/first-debugging-shift.yaml +70 -0
- package/courses/docker-container-debugging/scenarios/level-1/image-pull-failures.yaml +68 -0
- package/courses/docker-container-debugging/scenarios/level-1/port-mapping-issues.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-1/resource-limits-oom.yaml +70 -0
- package/courses/docker-container-debugging/scenarios/level-1/volume-mount-problems.yaml +66 -0
- package/courses/docker-container-debugging/scenarios/level-2/container-health-checks.yaml +73 -0
- package/courses/docker-container-debugging/scenarios/level-2/docker-compose-debugging.yaml +66 -0
- package/courses/docker-container-debugging/scenarios/level-2/docker-exec-debugging.yaml +71 -0
- package/courses/docker-container-debugging/scenarios/level-2/image-layer-optimization.yaml +81 -0
- package/courses/docker-container-debugging/scenarios/level-2/intermediate-debugging-shift.yaml +73 -0
- package/courses/docker-container-debugging/scenarios/level-2/logging-and-log-rotation.yaml +76 -0
- package/courses/docker-container-debugging/scenarios/level-2/multi-stage-build-debugging.yaml +76 -0
- package/courses/docker-container-debugging/scenarios/level-2/network-debugging-tools.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-2/pid1-signal-handling.yaml +71 -0
- package/courses/docker-container-debugging/scenarios/level-2/security-scanning-basics.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-3/advanced-debugging-shift.yaml +77 -0
- package/courses/docker-container-debugging/scenarios/level-3/buildkit-optimization.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-3/container-filesystem-debugging.yaml +70 -0
- package/courses/docker-container-debugging/scenarios/level-3/container-security-hardening.yaml +74 -0
- package/courses/docker-container-debugging/scenarios/level-3/disk-space-management.yaml +74 -0
- package/courses/docker-container-debugging/scenarios/level-3/docker-api-automation.yaml +72 -0
- package/courses/docker-container-debugging/scenarios/level-3/docker-daemon-issues.yaml +73 -0
- package/courses/docker-container-debugging/scenarios/level-3/docker-in-docker-ci.yaml +69 -0
- package/courses/docker-container-debugging/scenarios/level-3/overlay-network-debugging.yaml +70 -0
- package/courses/docker-container-debugging/scenarios/level-3/production-container-ops.yaml +71 -0
- package/courses/docker-container-debugging/scenarios/level-4/cicd-pipeline-design.yaml +66 -0
- package/courses/docker-container-debugging/scenarios/level-4/container-monitoring-observability.yaml +63 -0
- package/courses/docker-container-debugging/scenarios/level-4/container-orchestration-strategy.yaml +62 -0
- package/courses/docker-container-debugging/scenarios/level-4/container-performance-engineering.yaml +64 -0
- package/courses/docker-container-debugging/scenarios/level-4/container-security-architecture.yaml +66 -0
- package/courses/docker-container-debugging/scenarios/level-4/enterprise-image-management.yaml +58 -0
- package/courses/docker-container-debugging/scenarios/level-4/expert-debugging-shift.yaml +63 -0
- package/courses/docker-container-debugging/scenarios/level-4/incident-response-containers.yaml +70 -0
- package/courses/docker-container-debugging/scenarios/level-4/multi-environment-management.yaml +65 -0
- package/courses/docker-container-debugging/scenarios/level-4/stateful-service-containers.yaml +65 -0
- package/courses/docker-container-debugging/scenarios/level-5/board-infrastructure-strategy.yaml +58 -0
- package/courses/docker-container-debugging/scenarios/level-5/consulting-container-strategy.yaml +61 -0
- package/courses/docker-container-debugging/scenarios/level-5/container-platform-architecture.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-5/container-platform-economics.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-5/container-technology-evolution.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-5/disaster-recovery-containers.yaml +66 -0
- package/courses/docker-container-debugging/scenarios/level-5/industry-container-patterns.yaml +71 -0
- package/courses/docker-container-debugging/scenarios/level-5/master-debugging-shift.yaml +62 -0
- package/courses/docker-container-debugging/scenarios/level-5/organizational-transformation.yaml +67 -0
- package/courses/docker-container-debugging/scenarios/level-5/regulatory-compliance-containers.yaml +61 -0
- package/courses/github-actions-cicd/course.yaml +10 -0
- package/courses/github-actions-cicd/scenarios/level-1/actions-and-runners.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-1/basic-workflow-syntax.yaml +52 -0
- package/courses/github-actions-cicd/scenarios/level-1/branch-protection-checks.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-1/environment-variables-secrets.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-1/first-cicd-shift.yaml +62 -0
- package/courses/github-actions-cicd/scenarios/level-1/job-dependencies-outputs.yaml +62 -0
- package/courses/github-actions-cicd/scenarios/level-1/simple-ci-pipeline.yaml +57 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-debugging.yaml +90 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-status-notifications.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-1/workflow-triggers.yaml +56 -0
- package/courses/github-actions-cicd/scenarios/level-2/concurrency-control.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-2/conditional-execution.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-2/custom-actions-development.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-2/dependency-caching.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-2/deployment-workflows.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-2/github-packages-publishing.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-2/intermediate-cicd-shift.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-2/matrix-builds.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-2/reusable-workflows.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-2/workflow-cost-optimization.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-3/advanced-cicd-shift.yaml +64 -0
- package/courses/github-actions-cicd/scenarios/level-3/compliance-automation.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-3/docker-action-development.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-3/github-environments.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-3/monorepo-ci.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-3/oidc-cloud-deployments.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-3/release-automation.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-3/security-hardening.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-3/self-hosted-runners.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-3/workflow-optimization.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-data-architecture.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-economics-roi.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-executive-communication.yaml +58 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-incident-response.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-org-design.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-platform-architecture.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-training-program.yaml +65 -0
- package/courses/github-actions-cicd/scenarios/level-4/cicd-vendor-evaluation.yaml +59 -0
- package/courses/github-actions-cicd/scenarios/level-4/enterprise-cicd-governance.yaml +55 -0
- package/courses/github-actions-cicd/scenarios/level-4/expert-cicd-shift.yaml +60 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-ai-future.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-behavioral-science.yaml +70 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-board-strategy.yaml +56 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-consulting-engagement.yaml +61 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-industry-benchmarks.yaml +63 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-ma-integration.yaml +73 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-product-development.yaml +68 -0
- package/courses/github-actions-cicd/scenarios/level-5/cicd-regulatory-landscape.yaml +72 -0
- package/courses/github-actions-cicd/scenarios/level-5/comprehensive-cicd-system.yaml +66 -0
- package/courses/github-actions-cicd/scenarios/level-5/master-cicd-shift.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-2/api-change-review.yaml +82 -0
- package/courses/github-pr-review/scenarios/level-2/automated-review-tooling.yaml +53 -0
- package/courses/github-pr-review/scenarios/level-2/cross-team-review.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-2/intermediate-review-shift.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-2/performance-review-patterns.yaml +99 -0
- package/courses/github-pr-review/scenarios/level-2/review-disagreement-resolution.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-2/review-metrics-analysis.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-2/review-turnaround-sla.yaml +54 -0
- package/courses/github-pr-review/scenarios/level-2/stacked-pr-review.yaml +65 -0
- package/courses/github-pr-review/scenarios/level-3/advanced-review-shift.yaml +65 -0
- package/courses/github-pr-review/scenarios/level-3/ai-powered-review.yaml +58 -0
- package/courses/github-pr-review/scenarios/level-3/compliance-review-process.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-3/cross-functional-review.yaml +60 -0
- package/courses/github-pr-review/scenarios/level-3/incident-driven-review.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-3/large-scale-review-operations.yaml +55 -0
- package/courses/github-pr-review/scenarios/level-3/monorepo-review-process.yaml +68 -0
- package/courses/github-pr-review/scenarios/level-3/review-automation-platform.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-3/review-culture-design.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-3/review-data-pipeline.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/enterprise-review-operations.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-4/expert-review-shift.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/review-data-architecture.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-4/review-economics-roi.yaml +63 -0
- package/courses/github-pr-review/scenarios/level-4/review-executive-communication.yaml +61 -0
- package/courses/github-pr-review/scenarios/level-4/review-incident-postmortem.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-4/review-org-design.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-4/review-platform-architecture.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-4/review-training-program.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-4/review-vendor-evaluation.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-5/comprehensive-review-system.yaml +68 -0
- package/courses/github-pr-review/scenarios/level-5/master-review-shift.yaml +73 -0
- package/courses/github-pr-review/scenarios/level-5/review-ai-future.yaml +69 -0
- package/courses/github-pr-review/scenarios/level-5/review-behavioral-science.yaml +66 -0
- package/courses/github-pr-review/scenarios/level-5/review-board-strategy.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-5/review-consulting-engagement.yaml +62 -0
- package/courses/github-pr-review/scenarios/level-5/review-devtools-product.yaml +71 -0
- package/courses/github-pr-review/scenarios/level-5/review-industry-benchmarks.yaml +64 -0
- package/courses/github-pr-review/scenarios/level-5/review-ma-integration.yaml +76 -0
- package/courses/github-pr-review/scenarios/level-5/review-regulatory-landscape.yaml +78 -0
- package/courses/kubernetes-deployment-troubleshooting/course.yaml +12 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/configmap-secret-issues.yaml +69 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/crashloopbackoff.yaml +68 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/deployment-rollout.yaml +56 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/first-troubleshooting-shift.yaml +65 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/health-probe-failures.yaml +70 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/imagepullbackoff.yaml +57 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/kubectl-debugging-basics.yaml +56 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/oomkilled.yaml +70 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/pending-pods.yaml +68 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-1/service-not-reachable.yaml +66 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/dns-resolution-failures.yaml +63 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/helm-deployment-failures.yaml +63 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/hpa-scaling-issues.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/ingress-routing-issues.yaml +63 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/init-container-failures.yaml +63 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/intermediate-troubleshooting-shift.yaml +66 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/network-policy-blocking.yaml +67 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/persistent-volume-issues.yaml +69 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/rbac-permission-denied.yaml +57 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-2/resource-quota-limits.yaml +64 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/advanced-troubleshooting-shift.yaml +69 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/cluster-upgrade-failures.yaml +71 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/gitops-drift-detection.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/job-cronjob-failures.yaml +67 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/monitoring-alerting-gaps.yaml +64 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/multi-container-debugging.yaml +68 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/node-pressure-evictions.yaml +70 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/pod-disruption-budgets.yaml +59 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/service-mesh-debugging.yaml +64 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-3/statefulset-troubleshooting.yaml +69 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/capacity-planning.yaml +65 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/cost-optimization.yaml +57 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/disaster-recovery-design.yaml +56 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/executive-communication.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/expert-troubleshooting-shift.yaml +65 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/incident-management-process.yaml +59 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/multi-cluster-operations.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/multi-tenancy-design.yaml +55 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/platform-engineering.yaml +59 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-4/security-hardening.yaml +58 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/behavioral-science.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/board-strategy.yaml +61 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/cloud-native-future.yaml +65 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/comprehensive-platform.yaml +57 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/consulting-engagement.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/industry-benchmarks.yaml +58 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/ma-integration.yaml +62 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/master-troubleshooting-shift.yaml +73 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/product-development.yaml +65 -0
- package/courses/kubernetes-deployment-troubleshooting/scenarios/level-5/regulatory-compliance.yaml +76 -0
- package/courses/mysql-query-optimization/course.yaml +11 -0
- package/courses/mysql-query-optimization/scenarios/level-1/buffer-pool-basics.yaml +65 -0
- package/courses/mysql-query-optimization/scenarios/level-1/explain-basics.yaml +66 -0
- package/courses/mysql-query-optimization/scenarios/level-1/first-optimization-shift.yaml +78 -0
- package/courses/mysql-query-optimization/scenarios/level-1/innodb-index-fundamentals.yaml +68 -0
- package/courses/mysql-query-optimization/scenarios/level-1/join-basics.yaml +66 -0
- package/courses/mysql-query-optimization/scenarios/level-1/n-plus-one-queries.yaml +67 -0
- package/courses/mysql-query-optimization/scenarios/level-1/query-rewriting-basics.yaml +66 -0
- package/courses/mysql-query-optimization/scenarios/level-1/select-star-problems.yaml +68 -0
- package/courses/mysql-query-optimization/scenarios/level-1/slow-query-diagnosis.yaml +65 -0
- package/courses/mysql-query-optimization/scenarios/level-1/where-clause-optimization.yaml +65 -0
- package/courses/mysql-query-optimization/scenarios/level-2/buffer-pool-tuning.yaml +64 -0
- package/courses/mysql-query-optimization/scenarios/level-2/composite-index-design.yaml +71 -0
- package/courses/mysql-query-optimization/scenarios/level-2/covering-and-invisible-indexes.yaml +69 -0
- package/courses/mysql-query-optimization/scenarios/level-2/cte-and-window-functions.yaml +78 -0
- package/courses/mysql-query-optimization/scenarios/level-2/intermediate-optimization-shift.yaml +68 -0
- package/courses/mysql-query-optimization/scenarios/level-2/join-optimization.yaml +67 -0
- package/courses/mysql-query-optimization/scenarios/level-2/performance-schema-analysis.yaml +69 -0
- package/courses/mysql-query-optimization/scenarios/level-2/query-optimizer-hints.yaml +74 -0
- package/courses/mysql-query-optimization/scenarios/level-2/subquery-optimization.yaml +70 -0
- package/courses/mysql-query-optimization/scenarios/level-2/write-optimization.yaml +63 -0
- package/courses/mysql-query-optimization/scenarios/level-3/advanced-optimization-shift.yaml +71 -0
- package/courses/mysql-query-optimization/scenarios/level-3/connection-management.yaml +67 -0
- package/courses/mysql-query-optimization/scenarios/level-3/full-text-search.yaml +77 -0
- package/courses/mysql-query-optimization/scenarios/level-3/json-optimization.yaml +87 -0
- package/courses/mysql-query-optimization/scenarios/level-3/lock-contention-analysis.yaml +68 -0
- package/courses/mysql-query-optimization/scenarios/level-3/monitoring-alerting.yaml +63 -0
- package/courses/mysql-query-optimization/scenarios/level-3/online-schema-changes.yaml +79 -0
- package/courses/mysql-query-optimization/scenarios/level-3/partitioning-strategies.yaml +83 -0
- package/courses/mysql-query-optimization/scenarios/level-3/query-profiling-deep-dive.yaml +84 -0
- package/courses/mysql-query-optimization/scenarios/level-3/replication-optimization.yaml +66 -0
- package/courses/mysql-query-optimization/scenarios/level-4/aurora-vs-rds-evaluation.yaml +61 -0
- package/courses/mysql-query-optimization/scenarios/level-4/data-architecture.yaml +62 -0
- package/courses/mysql-query-optimization/scenarios/level-4/database-migration-planning.yaml +59 -0
- package/courses/mysql-query-optimization/scenarios/level-4/enterprise-governance.yaml +50 -0
- package/courses/mysql-query-optimization/scenarios/level-4/executive-communication.yaml +54 -0
- package/courses/mysql-query-optimization/scenarios/level-4/expert-optimization-shift.yaml +67 -0
- package/courses/mysql-query-optimization/scenarios/level-4/high-availability-architecture.yaml +60 -0
- package/courses/mysql-query-optimization/scenarios/level-4/optimizer-internals.yaml +62 -0
- package/courses/mysql-query-optimization/scenarios/level-4/performance-sla-design.yaml +52 -0
- package/courses/mysql-query-optimization/scenarios/level-4/read-replica-scaling.yaml +51 -0
- package/courses/mysql-query-optimization/scenarios/level-5/ai-database-future.yaml +45 -0
- package/courses/mysql-query-optimization/scenarios/level-5/behavioral-science.yaml +44 -0
- package/courses/mysql-query-optimization/scenarios/level-5/benchmark-design.yaml +47 -0
- package/courses/mysql-query-optimization/scenarios/level-5/board-strategy.yaml +48 -0
- package/courses/mysql-query-optimization/scenarios/level-5/comprehensive-platform.yaml +49 -0
- package/courses/mysql-query-optimization/scenarios/level-5/consulting-engagement.yaml +52 -0
- package/courses/mysql-query-optimization/scenarios/level-5/ma-database-integration.yaml +47 -0
- package/courses/mysql-query-optimization/scenarios/level-5/master-optimization-shift.yaml +56 -0
- package/courses/mysql-query-optimization/scenarios/level-5/product-development.yaml +48 -0
- package/courses/mysql-query-optimization/scenarios/level-5/regulatory-compliance.yaml +48 -0
- package/courses/postgresql-query-optimization/course.yaml +11 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/explain-analyze-basics.yaml +80 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/first-optimization-shift.yaml +77 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/index-fundamentals.yaml +76 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/join-basics.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/n-plus-one-queries.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/query-rewriting-basics.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/select-star-problems.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/slow-query-diagnosis.yaml +63 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/vacuum-and-statistics.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-1/where-clause-optimization.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/autovacuum-tuning.yaml +76 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/composite-index-design.yaml +81 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/covering-indexes.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/cte-optimization.yaml +83 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/intermediate-optimization-shift.yaml +66 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/join-optimization.yaml +72 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/partial-and-expression-indexes.yaml +75 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/query-planner-settings.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/subquery-optimization.yaml +67 -0
- package/courses/postgresql-query-optimization/scenarios/level-2/window-function-optimization.yaml +63 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/advanced-optimization-shift.yaml +71 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/connection-pooling.yaml +60 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/full-text-search-optimization.yaml +66 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/jsonb-optimization.yaml +88 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/lock-contention-analysis.yaml +80 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/materialized-view-optimization.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/parallel-query-execution.yaml +74 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/partitioning-strategies.yaml +71 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/specialized-index-types.yaml +67 -0
- package/courses/postgresql-query-optimization/scenarios/level-3/write-optimization.yaml +65 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/data-architecture-analytics.yaml +64 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/database-executive-communication.yaml +64 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/database-migration-planning.yaml +57 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/enterprise-database-governance.yaml +52 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/expert-optimization-shift.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/high-availability-architecture.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/optimizer-internals.yaml +69 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/performance-sla-design.yaml +58 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/read-replica-optimization.yaml +62 -0
- package/courses/postgresql-query-optimization/scenarios/level-4/vendor-evaluation.yaml +73 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/comprehensive-database-system.yaml +70 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-ai-future.yaml +81 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-behavioral-science.yaml +63 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-board-strategy.yaml +77 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-consulting-engagement.yaml +61 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-industry-benchmarks.yaml +64 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-ma-integration.yaml +71 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-product-development.yaml +72 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/database-regulatory-landscape.yaml +76 -0
- package/courses/postgresql-query-optimization/scenarios/level-5/master-optimization-shift.yaml +66 -0
- package/courses/rest-api-error-handling/course.yaml +11 -0
- package/courses/rest-api-error-handling/scenarios/level-1/authentication-errors.yaml +71 -0
- package/courses/rest-api-error-handling/scenarios/level-1/content-negotiation-errors.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-1/error-logging-basics.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-1/error-response-format.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-1/first-error-handling-shift.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-1/http-status-codes.yaml +46 -0
- package/courses/rest-api-error-handling/scenarios/level-1/not-found-errors.yaml +52 -0
- package/courses/rest-api-error-handling/scenarios/level-1/rate-limiting-errors.yaml +56 -0
- package/courses/rest-api-error-handling/scenarios/level-1/request-validation-errors.yaml +59 -0
- package/courses/rest-api-error-handling/scenarios/level-1/server-error-handling.yaml +55 -0
- package/courses/rest-api-error-handling/scenarios/level-2/api-versioning-errors.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-2/batch-request-errors.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-2/circuit-breaker-pattern.yaml +52 -0
- package/courses/rest-api-error-handling/scenarios/level-2/error-code-taxonomy.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-2/error-monitoring-alerting.yaml +53 -0
- package/courses/rest-api-error-handling/scenarios/level-2/intermediate-error-shift.yaml +69 -0
- package/courses/rest-api-error-handling/scenarios/level-2/pagination-errors.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-2/retry-and-idempotency.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-2/rfc7807-problem-details.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-2/webhook-error-handling.yaml +55 -0
- package/courses/rest-api-error-handling/scenarios/level-3/advanced-error-shift.yaml +72 -0
- package/courses/rest-api-error-handling/scenarios/level-3/api-gateway-errors.yaml +71 -0
- package/courses/rest-api-error-handling/scenarios/level-3/async-api-errors.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-3/caching-error-scenarios.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-3/chaos-engineering-apis.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-3/database-error-handling.yaml +79 -0
- package/courses/rest-api-error-handling/scenarios/level-3/distributed-error-propagation.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-3/error-budgets-sre.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-3/error-correlation.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-3/graphql-vs-rest-errors.yaml +73 -0
- package/courses/rest-api-error-handling/scenarios/level-4/compliance-error-handling.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/enterprise-error-governance.yaml +62 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-analytics-platform.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-cost-optimization.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-executive-communication.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-handling-architecture.yaml +67 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-org-design.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-sla-design.yaml +65 -0
- package/courses/rest-api-error-handling/scenarios/level-4/error-training-program.yaml +61 -0
- package/courses/rest-api-error-handling/scenarios/level-4/expert-error-shift.yaml +63 -0
- package/courses/rest-api-error-handling/scenarios/level-5/comprehensive-error-system.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-ai-future.yaml +75 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-behavioral-science.yaml +73 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-board-strategy.yaml +60 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-consulting-engagement.yaml +58 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-industry-benchmarks.yaml +72 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-ma-integration.yaml +68 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-product-development.yaml +66 -0
- package/courses/rest-api-error-handling/scenarios/level-5/error-regulatory-landscape.yaml +80 -0
- package/courses/rest-api-error-handling/scenarios/level-5/master-error-shift.yaml +73 -0
- package/courses/terraform-infrastructure-setup/course.yaml +11 -0
- package/courses/terraform-infrastructure-setup/scenarios/level-1/terraform-init-errors.yaml +72 -0
- package/dist/cli/commands/add.d.ts.map +1 -1
- package/dist/cli/commands/add.js +6 -5
- package/dist/cli/commands/add.js.map +1 -1
- package/dist/cli/commands/generate.d.ts.map +1 -1
- package/dist/cli/commands/generate.js +4 -0
- package/dist/cli/commands/generate.js.map +1 -1
- package/dist/cli/commands/list.d.ts.map +1 -1
- package/dist/cli/commands/list.js +6 -18
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/train.d.ts.map +1 -1
- package/dist/cli/commands/train.js +18 -18
- package/dist/cli/commands/train.js.map +1 -1
- package/dist/cli/index.js +93 -55
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/run-demo.js +2 -1
- package/dist/cli/run-demo.js.map +1 -1
- package/dist/cli/setup.d.ts +18 -0
- package/dist/cli/setup.d.ts.map +1 -0
- package/dist/cli/setup.js +154 -0
- package/dist/cli/setup.js.map +1 -0
- package/dist/engine/agent-bridge.d.ts +5 -2
- package/dist/engine/agent-bridge.d.ts.map +1 -1
- package/dist/engine/agent-bridge.js +36 -9
- package/dist/engine/agent-bridge.js.map +1 -1
- package/dist/engine/loader.d.ts +21 -0
- package/dist/engine/loader.d.ts.map +1 -1
- package/dist/engine/loader.js +54 -1
- package/dist/engine/loader.js.map +1 -1
- package/dist/engine/training-loop.d.ts.map +1 -1
- package/dist/engine/training-loop.js +1 -0
- package/dist/engine/training-loop.js.map +1 -1
- package/dist/engine/training.d.ts.map +1 -1
- package/dist/engine/training.js +1 -0
- package/dist/engine/training.js.map +1 -1
- package/dist/generator/skill-generator.d.ts +1 -1
- package/dist/generator/skill-generator.d.ts.map +1 -1
- package/dist/generator/skill-generator.js +21 -2
- package/dist/generator/skill-generator.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +11 -26
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/session-manager.d.ts +9 -4
- package/dist/mcp/session-manager.d.ts.map +1 -1
- package/dist/mcp/session-manager.js +65 -28
- package/dist/mcp/session-manager.js.map +1 -1
- package/dist/types/schemas.d.ts +38 -13
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +9 -5
- package/dist/types/schemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-platform-architecture
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Architect a review platform — design the technical architecture for a company-wide review automation and analytics platform"
|
|
7
|
+
tags: [github, pr-review, architecture, platform, automation, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Staff Engineer tasked with building an internal "Review
|
|
13
|
+
Platform" — a centralized system that orchestrates code review across
|
|
14
|
+
your 600-engineer organization. The platform replaces a patchwork of
|
|
15
|
+
scripts, bots, and manual processes.
|
|
16
|
+
|
|
17
|
+
Platform requirements:
|
|
18
|
+
1. Unified reviewer assignment across all repos and GitHub orgs
|
|
19
|
+
2. Risk-based review routing (auto-classify PRs by risk level and
|
|
20
|
+
route to appropriate reviewers)
|
|
21
|
+
3. Real-time review analytics dashboard
|
|
22
|
+
4. Compliance audit trail generator
|
|
23
|
+
5. Integration with GitHub, GitLab, Slack, Jira, PagerDuty
|
|
24
|
+
6. AI-assisted review suggestions (flag potential issues before human
|
|
25
|
+
review)
|
|
26
|
+
7. Custom review workflows (different flows for different teams/repos)
|
|
27
|
+
|
|
28
|
+
Scale requirements:
|
|
29
|
+
- 200+ repos across 3 GitHub orgs
|
|
30
|
+
- 1,500 PRs per week
|
|
31
|
+
- 50ms p99 latency for webhook processing
|
|
32
|
+
- 99.9% uptime (review platform down = all merges blocked)
|
|
33
|
+
- 30-day event replay for debugging
|
|
34
|
+
- Horizontal scalability for 3x growth
|
|
35
|
+
|
|
36
|
+
Technical constraints:
|
|
37
|
+
- Must run on existing Kubernetes cluster
|
|
38
|
+
- Must use existing PostgreSQL and Redis infrastructure
|
|
39
|
+
- GitHub API rate limits: 5,000/hour per installation
|
|
40
|
+
- Must handle GitHub webhook delivery guarantees (at-least-once)
|
|
41
|
+
- Must support gradual rollout (repo by repo)
|
|
42
|
+
|
|
43
|
+
Task: Design the platform architecture. Write: the system design
|
|
44
|
+
(components, data flow, storage, event processing), the API design
|
|
45
|
+
(internal APIs for team customization), the scalability strategy
|
|
46
|
+
(how to handle 1,500 PRs/week within rate limits, horizontal scaling
|
|
47
|
+
plan), the reliability design (what happens when the platform is down,
|
|
48
|
+
circuit breakers, graceful degradation), and the deployment strategy
|
|
49
|
+
(gradual rollout, feature flags, rollback plan). Include architecture
|
|
50
|
+
diagrams (text-based) and key technical decisions with trade-offs.
|
|
51
|
+
|
|
52
|
+
assertions:
|
|
53
|
+
- type: llm_judge
|
|
54
|
+
criteria: "Architecture handles the scale — event-driven design with webhook receivers, job queues, and workers that handle 1,500 PRs/week within API rate limits. Includes rate limit pooling across 3 GitHub orgs and back-pressure mechanisms"
|
|
55
|
+
weight: 0.35
|
|
56
|
+
description: "Scale-handling architecture"
|
|
57
|
+
- type: llm_judge
|
|
58
|
+
criteria: "Reliability is enterprise-grade — graceful degradation when platform is down (PRs can still be merged manually), circuit breakers for external services, idempotent webhook processing (at-least-once handling), and 30-day event replay for debugging"
|
|
59
|
+
weight: 0.35
|
|
60
|
+
description: "Enterprise-grade reliability"
|
|
61
|
+
- type: llm_judge
|
|
62
|
+
criteria: "Deployment strategy is low-risk — gradual rollout repo by repo, feature flags for each capability, rollback plan that doesn't disrupt ongoing reviews, and the platform can be disabled per-repo without affecting others"
|
|
63
|
+
weight: 0.30
|
|
64
|
+
description: "Low-risk deployment strategy"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-training-program
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design reviewer training program — create a comprehensive curriculum for building review expertise across seniority levels"
|
|
7
|
+
tags: [github, pr-review, training, education, certification, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're designing a company-wide code review training program for your
|
|
13
|
+
600-engineer organization. The program should transform review from a
|
|
14
|
+
chore into a valued skill with career impact.
|
|
15
|
+
|
|
16
|
+
Current problems the training must address:
|
|
17
|
+
- New hires take 3+ months before their reviews add value
|
|
18
|
+
- 30% of review comments are preferences, not issues
|
|
19
|
+
- Reviewers miss bugs because they focus on style
|
|
20
|
+
- Senior engineers' reviews are rubber-stamped ("too experienced to
|
|
21
|
+
question")
|
|
22
|
+
- No one teaches how to write good review comments
|
|
23
|
+
- Reviewers don't know when to approve vs request changes
|
|
24
|
+
- Cross-domain reviews (backend reviewer on frontend PR) are shallow
|
|
25
|
+
|
|
26
|
+
Target audience tiers:
|
|
27
|
+
1. New hires / juniors: First-time reviewers who need fundamentals
|
|
28
|
+
2. Mid-level engineers: Competent reviewers who need depth and breadth
|
|
29
|
+
3. Senior / staff engineers: Experienced reviewers who need to review
|
|
30
|
+
architecture and mentor through reviews
|
|
31
|
+
4. Engineering managers: Need to evaluate review quality and coach
|
|
32
|
+
|
|
33
|
+
Available formats:
|
|
34
|
+
- Self-paced online modules (budget: $50K to build)
|
|
35
|
+
- Live workshops (budget: $30K/year, monthly cadence)
|
|
36
|
+
- Shadow reviewing program (pair reviewing with a mentor)
|
|
37
|
+
- Review certification (gamification to incentivize learning)
|
|
38
|
+
- Practice exercises with curated PRs (real anonymized examples)
|
|
39
|
+
|
|
40
|
+
Constraints:
|
|
41
|
+
- Maximum 2 hours/month of training time per engineer
|
|
42
|
+
- Must show measurable improvement within 3 months
|
|
43
|
+
- Must not feel punitive (training shouldn't be "you review badly")
|
|
44
|
+
- Must work for remote-first company (75% remote)
|
|
45
|
+
|
|
46
|
+
Task: Design the complete training program. Write: the curriculum for
|
|
47
|
+
each tier (learning objectives, modules, exercises), the shadow
|
|
48
|
+
reviewing program design (matching, structure, graduation criteria),
|
|
49
|
+
the certification system (levels, requirements, incentives, badge
|
|
50
|
+
visibility), the measurement framework (how to prove training works),
|
|
51
|
+
and the rollout plan (who goes first, how to drive adoption without
|
|
52
|
+
mandating). Include sample exercise materials for each tier.
|
|
53
|
+
|
|
54
|
+
assertions:
|
|
55
|
+
- type: llm_judge
|
|
56
|
+
criteria: "Curriculum is tier-appropriate — juniors learn fundamentals (comment types, approval criteria, etiquette), mid-level learn depth (security review, performance review, architecture), seniors learn strategic review and mentoring, and managers learn to evaluate and coach review quality"
|
|
57
|
+
weight: 0.35
|
|
58
|
+
description: "Tier-appropriate curriculum"
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "Shadow reviewing program is well-structured — includes matching criteria (expertise, personality, timezone), session structure (observe → co-review → independent with feedback), graduation criteria, and scales beyond 1:1 mentoring"
|
|
61
|
+
weight: 0.35
|
|
62
|
+
description: "Well-structured shadow program"
|
|
63
|
+
- type: llm_judge
|
|
64
|
+
criteria: "Measurement framework proves ROI — tracks leading indicators (comment quality scores, training completion) and lagging indicators (review-related incidents, merge time, developer satisfaction), with a control group or before/after comparison design"
|
|
65
|
+
weight: 0.30
|
|
66
|
+
description: "ROI-proving measurement framework"
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-vendor-evaluation
|
|
3
|
+
level: 4
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Evaluate review tool vendors — conduct a thorough evaluation of code review platforms, AI review tools, and analytics vendors"
|
|
7
|
+
tags: [github, pr-review, vendor-evaluation, procurement, tooling, expert]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're leading the vendor evaluation for code review tooling. The
|
|
13
|
+
company has budget for 1-2 tools and needs a recommendation within
|
|
14
|
+
30 days. Your 600-engineer organization currently uses GitHub's native
|
|
15
|
+
review features with some custom scripts.
|
|
16
|
+
|
|
17
|
+
Vendors to evaluate:
|
|
18
|
+
|
|
19
|
+
Vendor A — ReviewBot Pro ($15/user/month):
|
|
20
|
+
- AI-powered code review with custom model training
|
|
21
|
+
- Automated reviewer assignment based on expertise
|
|
22
|
+
- Review analytics dashboard
|
|
23
|
+
- Claims: "Reduces review time by 50%"
|
|
24
|
+
- Integration: GitHub, GitLab, Bitbucket
|
|
25
|
+
- Security: SOC 2 Type II certified, code never leaves your network
|
|
26
|
+
- Concerns: requires GitHub App with broad repo permissions, new
|
|
27
|
+
startup (2 years old, Series A)
|
|
28
|
+
|
|
29
|
+
Vendor B — CodeGuard Enterprise ($25/user/month):
|
|
30
|
+
- Security-focused review automation (SAST, dependency scanning)
|
|
31
|
+
- Compliance reporting (SOC 2, PCI, HIPAA)
|
|
32
|
+
- Custom policy engine (enforce review rules per repo)
|
|
33
|
+
- Claims: "Catches 70% of security issues before human review"
|
|
34
|
+
- Integration: GitHub only
|
|
35
|
+
- Security: FedRAMP authorized, self-hosted option available
|
|
36
|
+
- Concerns: expensive, long implementation timeline (3-6 months)
|
|
37
|
+
|
|
38
|
+
Vendor C — DevMetrics ($8/user/month):
|
|
39
|
+
- Review analytics and team performance dashboards
|
|
40
|
+
- Review SLA tracking and alerting
|
|
41
|
+
- Developer experience surveys integrated with review data
|
|
42
|
+
- Claims: "Teams using DevMetrics improve merge time by 35%"
|
|
43
|
+
- Integration: GitHub, Jira, Slack
|
|
44
|
+
- Security: SOC 2 Type I, cloud only
|
|
45
|
+
- Concerns: analytics only (no automation), uses anonymized data for
|
|
46
|
+
their own ML model training
|
|
47
|
+
|
|
48
|
+
Vendor D — Open source alternative (Danger.js + custom GitHub Actions):
|
|
49
|
+
- Free, fully customizable
|
|
50
|
+
- Active community
|
|
51
|
+
- No vendor lock-in
|
|
52
|
+
- Concerns: maintenance burden (estimated 0.5 FTE), limited analytics,
|
|
53
|
+
no AI capabilities, no support SLA
|
|
54
|
+
|
|
55
|
+
Task: Conduct the vendor evaluation. Write: the evaluation framework
|
|
56
|
+
(weighted criteria matrix), the detailed assessment of each vendor
|
|
57
|
+
(strengths, weaknesses, risks), the total cost of ownership analysis
|
|
58
|
+
(3-year TCO including implementation, maintenance, training), the
|
|
59
|
+
security and privacy assessment (data handling, permissions, vendor
|
|
60
|
+
risk), and the recommendation memo (which vendor(s) to choose, with
|
|
61
|
+
implementation plan and exit strategy). Include the pilot program
|
|
62
|
+
design to validate the choice.
|
|
63
|
+
|
|
64
|
+
assertions:
|
|
65
|
+
- type: llm_judge
|
|
66
|
+
criteria: "Evaluation framework is rigorous — weighted criteria include functionality, security, cost, integration complexity, vendor viability (startup risk for Vendor A), scalability, and exit strategy. Weights reflect the organization's priorities"
|
|
67
|
+
weight: 0.35
|
|
68
|
+
description: "Rigorous evaluation framework"
|
|
69
|
+
- type: llm_judge
|
|
70
|
+
criteria: "TCO analysis is complete — includes license costs, implementation effort, ongoing maintenance, training, and hidden costs (productivity loss during migration, vendor lock-in costs). Compares 3-year TCO across all options including the open-source alternative"
|
|
71
|
+
weight: 0.35
|
|
72
|
+
description: "Complete TCO analysis"
|
|
73
|
+
- type: llm_judge
|
|
74
|
+
criteria: "Recommendation is well-reasoned — makes a specific recommendation (not 'it depends'), addresses security concerns (especially Vendor C's data usage), includes a pilot program to validate before full rollout, and has an exit strategy for each vendor"
|
|
75
|
+
weight: 0.30
|
|
76
|
+
description: "Well-reasoned recommendation"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: comprehensive-review-system
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design comprehensive review system — architect a 5-layer review system for a Fortune 500 technology company"
|
|
7
|
+
tags: [github, pr-review, comprehensive, enterprise, architecture, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO of a Fortune 500 technology company ($8B revenue, 3,000
|
|
13
|
+
engineers) designing a unified code review system. The company has 6
|
|
14
|
+
business units acquired over 10 years, each with different tooling,
|
|
15
|
+
processes, and cultures. The board has mandated unification after a
|
|
16
|
+
regulatory finding that change management controls were "inconsistent
|
|
17
|
+
and insufficient."
|
|
18
|
+
|
|
19
|
+
Current state by business unit:
|
|
20
|
+
- Cloud Platform (600 eng): GitHub Enterprise, mature review process
|
|
21
|
+
- Consumer Apps (500 eng): GitHub Cloud, fast-moving, minimal process
|
|
22
|
+
- Enterprise Software (400 eng): GitLab, heavyweight review gates
|
|
23
|
+
- Data & Analytics (300 eng): Mix of GitHub and Jupyter, informal
|
|
24
|
+
- IoT/Embedded (200 eng): Gerrit, hardware-focused review needs
|
|
25
|
+
- Recently acquired AI startup (200 eng): No formal process, pair
|
|
26
|
+
programming culture
|
|
27
|
+
|
|
28
|
+
Design the review system in 5 layers:
|
|
29
|
+
|
|
30
|
+
Layer 1 — Governance: Universal policies, compliance mapping (SOX,
|
|
31
|
+
SOC 2, PCI DSS, HIPAA, FedRAMP across different BUs), audit trail
|
|
32
|
+
Layer 2 — Platform: Unified tooling, migration from 4 VCS platforms
|
|
33
|
+
to GitHub Enterprise, custom automation
|
|
34
|
+
Layer 3 — Process: Review workflows per risk level, SLAs, escalation,
|
|
35
|
+
cross-BU reviews for shared code
|
|
36
|
+
Layer 4 — Intelligence: AI-powered review, analytics, predictive
|
|
37
|
+
quality, anomaly detection
|
|
38
|
+
Layer 5 — Culture: Training, certification, incentives, career paths,
|
|
39
|
+
developer experience
|
|
40
|
+
|
|
41
|
+
Constraints:
|
|
42
|
+
- $10M budget over 3 years
|
|
43
|
+
- Cannot disrupt any BU's shipping velocity during migration
|
|
44
|
+
- Must satisfy 6 different compliance frameworks simultaneously
|
|
45
|
+
- Must handle 5,000+ PRs per week across all BUs
|
|
46
|
+
- IoT/Embedded team has legitimate needs for Gerrit's change-based
|
|
47
|
+
review model
|
|
48
|
+
- Board expects quarterly progress reports
|
|
49
|
+
|
|
50
|
+
Task: Design all 5 layers. For each, write: the detailed design, the
|
|
51
|
+
migration/implementation plan, the interaction with other layers, and
|
|
52
|
+
the success metrics. Then write: the 3-year phased roadmap with
|
|
53
|
+
quarterly milestones, the $10M budget allocation, the organizational
|
|
54
|
+
model (who owns each layer), and the board presentation for approval.
|
|
55
|
+
|
|
56
|
+
assertions:
|
|
57
|
+
- type: llm_judge
|
|
58
|
+
criteria: "5-layer design is coherent — each layer builds on the one below, there are clear interfaces between layers, and the design handles the complexity of 6 BUs without over-simplifying. The IoT/Gerrit exception is handled gracefully (bridge or adapter, not forced migration)"
|
|
59
|
+
weight: 0.35
|
|
60
|
+
description: "Coherent 5-layer design"
|
|
61
|
+
- type: llm_judge
|
|
62
|
+
criteria: "Migration plan is realistic — handles the 4-to-1 VCS consolidation without disrupting shipping, phases the migration BU by BU, has rollback plans for each phase, and the 3-year timeline with quarterly milestones is achievable"
|
|
63
|
+
weight: 0.35
|
|
64
|
+
description: "Realistic migration plan"
|
|
65
|
+
- type: llm_judge
|
|
66
|
+
criteria: "Budget allocation is justified — the $10M is distributed across layers and years with clear rationale, the build-vs-buy decisions are made for each component, and the ROI projection shows when the investment pays back through reduced incidents, compliance costs, and engineering productivity"
|
|
67
|
+
weight: 0.30
|
|
68
|
+
description: "Justified budget allocation"
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: master-review-shift
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Master review shift — navigate existential threats to the review function while maintaining organizational trust and shipping velocity"
|
|
7
|
+
tags: [github, pr-review, shift-simulation, crisis, existential, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO facing a perfect storm of review-related challenges
|
|
13
|
+
that threaten the company's engineering capability, compliance
|
|
14
|
+
posture, and competitive position simultaneously.
|
|
15
|
+
|
|
16
|
+
Crisis 1 — Regulatory investigation:
|
|
17
|
+
The SEC is investigating your company's software change management
|
|
18
|
+
practices after a financial reporting error was traced to a code
|
|
19
|
+
change that bypassed review. They've subpoenaed 2 years of code
|
|
20
|
+
review records. Your legal team discovers that 12% of production
|
|
21
|
+
changes in the financial reporting codebase have incomplete review
|
|
22
|
+
trails. The SEC hearing is in 6 weeks.
|
|
23
|
+
|
|
24
|
+
Crisis 2 — Competitive disruption:
|
|
25
|
+
Your main competitor just announced "Zero-Review Deployment" — they
|
|
26
|
+
claim AI reviews 100% of their code and human review is optional.
|
|
27
|
+
Their merge time is 30 minutes vs your 2 days. Your board is asking
|
|
28
|
+
why you're "falling behind on AI adoption." Three VP-level candidates
|
|
29
|
+
withdrew from your hiring pipeline citing your "slow engineering
|
|
30
|
+
culture."
|
|
31
|
+
|
|
32
|
+
Crisis 3 — Platform outage:
|
|
33
|
+
Your GitHub Enterprise instance suffered a data corruption event.
|
|
34
|
+
The review history for 6 months of PRs is unrecoverable. This affects
|
|
35
|
+
your SOC 2 audit evidence, your review analytics baseline, and your
|
|
36
|
+
AI review model training data. GitHub's recovery ETA is "weeks."
|
|
37
|
+
|
|
38
|
+
Crisis 4 — Talent exodus:
|
|
39
|
+
Your top 3 review tooling engineers (out of 12) just gave notice —
|
|
40
|
+
they're joining the competitor from Crisis 2. They built the core
|
|
41
|
+
review automation platform and have institutional knowledge that's
|
|
42
|
+
not documented. Their last day is in 2 weeks.
|
|
43
|
+
|
|
44
|
+
Crisis 5 — Board pressure:
|
|
45
|
+
The board is meeting in 48 hours for an emergency session. They want
|
|
46
|
+
a unified briefing on all 4 crises above and a strategic response.
|
|
47
|
+
Two board members are pushing to "just adopt AI review like the
|
|
48
|
+
competitor." One board member (former regulator) is pushing to "freeze
|
|
49
|
+
all deployments until review gaps are fixed."
|
|
50
|
+
|
|
51
|
+
Task: Navigate all 5 crises. Write: the 48-hour action plan for the
|
|
52
|
+
board meeting, the SEC response strategy (what to present, what to
|
|
53
|
+
remediate, legal coordination), the competitive response (how to
|
|
54
|
+
address the AI review narrative without panic), the platform recovery
|
|
55
|
+
plan (data recovery, interim process, audit evidence reconstruction),
|
|
56
|
+
the talent retention and knowledge transfer plan, and the board
|
|
57
|
+
presentation that unifies all crises into a coherent strategic
|
|
58
|
+
response. Show how the crises interconnect and the risks of solving
|
|
59
|
+
one at the expense of others.
|
|
60
|
+
|
|
61
|
+
assertions:
|
|
62
|
+
- type: llm_judge
|
|
63
|
+
criteria: "Board presentation unifies the crises — shows the interconnections (SEC investigation + data loss = compounded compliance risk, competitor + talent loss = capability risk), doesn't present 5 separate plans but a unified strategy, and addresses both board member extremes (AI adoption vs deployment freeze)"
|
|
64
|
+
weight: 0.35
|
|
65
|
+
description: "Unified crisis board presentation"
|
|
66
|
+
- type: llm_judge
|
|
67
|
+
criteria: "SEC response is legally sound — coordinates with legal counsel, presents a proactive remediation plan rather than defensive posture, addresses the 12% review gap with root cause analysis and corrective actions, and the audit evidence reconstruction plan is credible"
|
|
68
|
+
weight: 0.35
|
|
69
|
+
description: "Legally sound SEC response"
|
|
70
|
+
- type: llm_judge
|
|
71
|
+
criteria: "Competitive response is strategic not reactive — doesn't panic-adopt AI review to match competitor, analyzes the competitor's claim critically (is 'zero-review' actually safe for financial software?), proposes an AI adoption roadmap that's faster but responsible, and addresses the hiring pipeline impact"
|
|
72
|
+
weight: 0.30
|
|
73
|
+
description: "Strategic competitive response"
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-ai-future
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design the future of AI-powered review — architect next-generation review systems where AI and humans collaborate on code quality"
|
|
7
|
+
tags: [github, pr-review, AI, future, ML-systems, architecture, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the VP of AI/ML at a developer tools company building the
|
|
13
|
+
next generation of AI-powered code review. Your product serves 10,000
|
|
14
|
+
organizations and reviews 2M PRs per month. You need to design the
|
|
15
|
+
AI system that will define how code review works in 2027-2030.
|
|
16
|
+
|
|
17
|
+
Current capabilities (baseline):
|
|
18
|
+
- Style and formatting checks (commoditized, 95% accuracy)
|
|
19
|
+
- Common bug pattern detection (70% accuracy, 15% false positive rate)
|
|
20
|
+
- Automated review comment generation (50% helpfulness rating)
|
|
21
|
+
- PR risk scoring based on file types and historical data
|
|
22
|
+
|
|
23
|
+
Target capabilities (next 3 years):
|
|
24
|
+
1. Semantic code understanding: Understand what code does (not just
|
|
25
|
+
syntax), detect logical errors, and reason about business logic
|
|
26
|
+
2. Repository-aware review: Understand the full codebase context,
|
|
27
|
+
architectural patterns, and team conventions
|
|
28
|
+
3. Personalized review: Adapt review depth and style to the author's
|
|
29
|
+
experience level and team's preferences
|
|
30
|
+
4. Predictive review: Flag potential issues before they become bugs
|
|
31
|
+
based on historical patterns and similar code in other repos
|
|
32
|
+
5. Review orchestration: Dynamically assign human reviewers based on
|
|
33
|
+
what AI can vs cannot confidently review, optimizing human time
|
|
34
|
+
|
|
35
|
+
Constraints:
|
|
36
|
+
- Customer code must never leave their tenant (privacy-critical)
|
|
37
|
+
- False positives destroy trust — must be under 5%
|
|
38
|
+
- Must work with GitHub's review UI (not a separate tool)
|
|
39
|
+
- Must handle 2M PRs/month at current scale, 10M at target scale
|
|
40
|
+
- Enterprise customers require explainable AI decisions
|
|
41
|
+
|
|
42
|
+
Ethical considerations:
|
|
43
|
+
- AI review shouldn't replace the learning benefits of human review
|
|
44
|
+
- AI shouldn't create surveillance of developer performance
|
|
45
|
+
- AI decisions on code quality must be transparent and contestable
|
|
46
|
+
- AI training data must not leak code between customers
|
|
47
|
+
|
|
48
|
+
Task: Design the next-generation AI review system. Write: the product
|
|
49
|
+
vision (what review looks like in 2030), the technical architecture
|
|
50
|
+
(models, training, inference, privacy), the human-AI collaboration
|
|
51
|
+
model (when AI leads, when humans lead, how they interact), the
|
|
52
|
+
ethical framework (principles, guardrails, transparency mechanisms),
|
|
53
|
+
and the go-to-market roadmap (what to ship when, how to build trust
|
|
54
|
+
progressively). Include the key technical challenges and proposed
|
|
55
|
+
solutions.
|
|
56
|
+
|
|
57
|
+
assertions:
|
|
58
|
+
- type: llm_judge
|
|
59
|
+
criteria: "Product vision is compelling and specific — paints a concrete picture of review in 2030 (not vague 'AI will review everything'), with specific scenarios showing human-AI collaboration, and acknowledges what AI will and won't be able to do"
|
|
60
|
+
weight: 0.35
|
|
61
|
+
description: "Compelling specific product vision"
|
|
62
|
+
- type: llm_judge
|
|
63
|
+
criteria: "Technical architecture handles constraints — solves the privacy problem (per-tenant models or federated learning), scales to 10M PRs/month, keeps false positives under 5% with confidence calibration, and integrates with GitHub's UI natively"
|
|
64
|
+
weight: 0.35
|
|
65
|
+
description: "Constraint-handling technical architecture"
|
|
66
|
+
- type: llm_judge
|
|
67
|
+
criteria: "Ethical framework is substantive — goes beyond platitudes to specific guardrails (e.g., AI review scores are never used in performance reviews, developers can always override AI, AI explanations are required for any blocking comment), with enforcement mechanisms"
|
|
68
|
+
weight: 0.30
|
|
69
|
+
description: "Substantive ethical framework"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-behavioral-science
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Apply behavioral science to code review — use psychology and behavioral economics to improve review quality, speed, and developer experience"
|
|
7
|
+
tags: [github, pr-review, behavioral-science, psychology, nudges, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Head of Developer Experience applying behavioral science
|
|
13
|
+
principles to code review. Despite having good tools, processes, and
|
|
14
|
+
training, review quality and speed haven't improved in 18 months.
|
|
15
|
+
You hypothesize that cognitive biases and behavioral patterns are the
|
|
16
|
+
root cause.
|
|
17
|
+
|
|
18
|
+
Observed behavioral patterns:
|
|
19
|
+
1. Authority bias: Senior engineers' PRs get approved 2x faster with
|
|
20
|
+
50% fewer comments than junior engineers' identical code changes
|
|
21
|
+
(tested with anonymized blind reviews)
|
|
22
|
+
2. Anchoring effect: The first reviewer's decision heavily influences
|
|
23
|
+
subsequent reviewers — if the first review is "LGTM," 85% of
|
|
24
|
+
second reviewers also approve without substantive feedback
|
|
25
|
+
3. Sunk cost fallacy: Large PRs that have been in review for days
|
|
26
|
+
get approved despite issues because "we've already invested so
|
|
27
|
+
much time reviewing this"
|
|
28
|
+
4. Status quo bias: Reviewers are 3x more likely to approve code that
|
|
29
|
+
follows existing patterns (even bad patterns) than code that
|
|
30
|
+
introduces better but unfamiliar patterns
|
|
31
|
+
5. Social loafing: PRs with 3+ required reviewers get less thorough
|
|
32
|
+
individual reviews than PRs with 1 required reviewer (diffusion
|
|
33
|
+
of responsibility)
|
|
34
|
+
6. Peak-end rule: Developers' overall satisfaction with review is
|
|
35
|
+
determined by their worst review experience and their most recent
|
|
36
|
+
experience, not the average
|
|
37
|
+
|
|
38
|
+
Available data:
|
|
39
|
+
- 2 years of review data (50,000 PRs) with timestamps, comments,
|
|
40
|
+
outcomes, and post-merge incident correlation
|
|
41
|
+
- Developer satisfaction surveys (quarterly, 600 respondents)
|
|
42
|
+
- Blind review experiment results (100 anonymized PRs)
|
|
43
|
+
- Focus group transcripts from 8 teams
|
|
44
|
+
|
|
45
|
+
Task: Design a behavioral intervention program. For each bias, write:
|
|
46
|
+
the evidence from your data, the behavioral intervention (nudge,
|
|
47
|
+
choice architecture, or environmental design), the implementation
|
|
48
|
+
plan (how to embed the intervention in the review workflow), and the
|
|
49
|
+
measurement approach (A/B test design to prove the intervention works).
|
|
50
|
+
Then write the unified "Behavioral Code Review" framework that ties
|
|
51
|
+
all interventions together, and the ethical considerations (when does
|
|
52
|
+
nudging become manipulation?).
|
|
53
|
+
|
|
54
|
+
assertions:
|
|
55
|
+
- type: llm_judge
|
|
56
|
+
criteria: "Behavioral interventions are evidence-based — each intervention addresses a specific bias with a specific mechanism (e.g., randomized review order to reduce anchoring, blind review for authority bias, single-reviewer assignment to reduce social loafing), not generic 'educate people about biases'"
|
|
57
|
+
weight: 0.35
|
|
58
|
+
description: "Evidence-based interventions"
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "A/B test designs are rigorous — each intervention has a testable hypothesis, control group, sample size consideration, and success metric. The experiment design accounts for confounding variables and ethical review"
|
|
61
|
+
weight: 0.35
|
|
62
|
+
description: "Rigorous A/B test designs"
|
|
63
|
+
- type: llm_judge
|
|
64
|
+
criteria: "Ethical framework is thoughtful — distinguishes between nudging (preserving choice) and manipulation, addresses transparency (should developers know they're being nudged?), and sets limits on behavioral interventions in the workplace"
|
|
65
|
+
weight: 0.30
|
|
66
|
+
description: "Thoughtful ethical framework"
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-board-strategy
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Board-level review strategy — present code review as a strategic capability to the board of directors of a public company"
|
|
7
|
+
tags: [github, pr-review, board, strategy, governance, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO of a $3B public company presenting to the board of
|
|
13
|
+
directors. The board has 3 agenda items related to code review, driven
|
|
14
|
+
by recent events.
|
|
15
|
+
|
|
16
|
+
Agenda Item 1 — Risk governance after a competitor's review failure:
|
|
17
|
+
A competitor had a catastrophic production failure (48-hour outage,
|
|
18
|
+
$200M revenue impact) traced to a code change that bypassed review.
|
|
19
|
+
The board wants assurance that "it can't happen here." They want to
|
|
20
|
+
understand your change management controls and whether code review
|
|
21
|
+
is a governance strength or weakness.
|
|
22
|
+
|
|
23
|
+
Your data:
|
|
24
|
+
- 99.7% of production changes go through code review
|
|
25
|
+
- 0.3% are emergency changes with post-deployment review
|
|
26
|
+
- No review-related incidents exceeded $500K in the last 3 years
|
|
27
|
+
- SOC 2, PCI DSS, and SOX compliance are current
|
|
28
|
+
- Review process is audited quarterly
|
|
29
|
+
|
|
30
|
+
Agenda Item 2 — AI strategy for code review:
|
|
31
|
+
The board read about AI replacing code review in a McKinsey report.
|
|
32
|
+
They want to know: (a) Should the company invest in AI-powered review?
|
|
33
|
+
(b) What's the competitive advantage? (c) What are the risks of AI
|
|
34
|
+
reviewing code that handles $50B in annual transactions?
|
|
35
|
+
|
|
36
|
+
Agenda Item 3 — M&A due diligence:
|
|
37
|
+
The company is acquiring a 200-engineer startup. During due diligence,
|
|
38
|
+
you discovered the startup has no formal code review process — they
|
|
39
|
+
rely on pair programming and trust. The board wants to know the
|
|
40
|
+
integration risk and timeline to bring them to your review standards.
|
|
41
|
+
|
|
42
|
+
Task: Prepare the board presentation. For each agenda item, write:
|
|
43
|
+
the board-ready materials (1-page brief per item), the data
|
|
44
|
+
visualizations you would present (described in text), the Q&A
|
|
45
|
+
preparation (likely board questions and answers), and the governance
|
|
46
|
+
recommendations (what the board should approve or direct). End with
|
|
47
|
+
a unified strategic narrative connecting all 3 items to the company's
|
|
48
|
+
competitive position.
|
|
49
|
+
|
|
50
|
+
assertions:
|
|
51
|
+
- type: llm_judge
|
|
52
|
+
criteria: "Risk governance answer is reassuring without being complacent — presents strong controls with data, acknowledges the competitor's failure couldn't 'absolutely never happen' but shows defense-in-depth, and proposes board-level oversight mechanisms (quarterly review health reports)"
|
|
53
|
+
weight: 0.35
|
|
54
|
+
description: "Reassuring risk governance"
|
|
55
|
+
- type: llm_judge
|
|
56
|
+
criteria: "AI strategy is pragmatic — doesn't over-promise AI capabilities, identifies specific use cases where AI review adds value ($50B transaction context requires human judgment for business logic), proposes a measured adoption approach, and addresses the risk question honestly"
|
|
57
|
+
weight: 0.35
|
|
58
|
+
description: "Pragmatic AI strategy"
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "M&A integration plan is realistic — acknowledges that pair programming has value (not just 'they're doing it wrong'), proposes a phased integration (not day-1 mandate), quantifies the risk timeline, and connects to the AI strategy (AI tools can accelerate integration)"
|
|
61
|
+
weight: 0.30
|
|
62
|
+
description: "Realistic M&A integration plan"
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: review-consulting-engagement
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Lead a review consulting engagement — diagnose and transform a client's broken code review process as an external consultant"
|
|
7
|
+
tags: [github, pr-review, consulting, transformation, engagement, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're a senior engineering consultant hired for a 16-week, $250K
|
|
13
|
+
engagement to transform code review at a 400-engineer fintech company.
|
|
14
|
+
They've had 5 production incidents in 6 months traced to review
|
|
15
|
+
failures, lost 2 enterprise customers due to compliance gaps, and
|
|
16
|
+
their Glassdoor reviews specifically mention "toxic code reviews."
|
|
17
|
+
|
|
18
|
+
Client diagnostic findings (Week 1):
|
|
19
|
+
- 12 teams, 3 GitHub organizations, no consistent review process
|
|
20
|
+
- Average merge time: 5.2 days (industry benchmark: 1.5 days)
|
|
21
|
+
- 28% of PRs are abandoned (never merged)
|
|
22
|
+
- Developer satisfaction with review: 32% (industry benchmark: 70%)
|
|
23
|
+
- Top reviewer does 40% of all reviews (single point of failure)
|
|
24
|
+
- No reviewer training program exists
|
|
25
|
+
- CODEOWNERS files exist but 60% are outdated (point to departed employees)
|
|
26
|
+
- Branch protection varies: some repos require 0 approvals, payment
|
|
27
|
+
repos require 4 approvals (both extremes are problematic)
|
|
28
|
+
- The security team does a "security review gate" that adds 2 weeks
|
|
29
|
+
to any PR touching auth/payment code
|
|
30
|
+
- 15% of review comments contain personal attacks or dismissive
|
|
31
|
+
language (analyzed via NLP on comment history)
|
|
32
|
+
- No review metrics are tracked or reported
|
|
33
|
+
|
|
34
|
+
Client stakeholders:
|
|
35
|
+
- CTO: "Fix this fast, we can't keep losing customers"
|
|
36
|
+
- VP Engineering: "My team leads don't see this as their problem"
|
|
37
|
+
- Head of Security: "If we relax security reviews, we'll get breached"
|
|
38
|
+
- Engineering Manager (vocal critic): "We tried improving review
|
|
39
|
+
before. Consultants don't understand our codebase."
|
|
40
|
+
|
|
41
|
+
Task: Design the complete consulting engagement. Write: the client
|
|
42
|
+
diagnostic report (executive summary, findings, risk assessment), the
|
|
43
|
+
16-week transformation roadmap (phased, with milestones and
|
|
44
|
+
deliverables each sprint), the quick wins for Week 2-4 (to build
|
|
45
|
+
credibility), the organizational change management plan (handling
|
|
46
|
+
resistance from the vocal critic and security team), and the handoff
|
|
47
|
+
package (what you leave behind so improvements stick after you leave).
|
|
48
|
+
Include the success metrics and the "after" state you're targeting.
|
|
49
|
+
|
|
50
|
+
assertions:
|
|
51
|
+
- type: llm_judge
|
|
52
|
+
criteria: "Diagnostic is comprehensive and data-driven — quantifies every problem (merge time, satisfaction, abandonment rate), benchmarks against industry, identifies root causes (not just symptoms), and presents findings without blame. The risk assessment connects review failures to business impact ($)"
|
|
53
|
+
weight: 0.35
|
|
54
|
+
description: "Comprehensive data-driven diagnostic"
|
|
55
|
+
- type: llm_judge
|
|
56
|
+
criteria: "Transformation roadmap is realistic for 16 weeks — quick wins build credibility (Weeks 2-4: fix CODEOWNERS, add basic branch protection, address toxic comments), middle phase tackles process (Weeks 5-10: SLAs, automation, training), final phase embeds sustainability (Weeks 11-16: metrics, governance, handoff)"
|
|
57
|
+
weight: 0.35
|
|
58
|
+
description: "Realistic 16-week roadmap"
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "Change management handles real resistance — addresses the vocal critic by involving them (not overriding), negotiates with security team on risk-based reviews (not just faster reviews), builds team lead ownership, and the handoff package ensures improvements survive the consultant's departure"
|
|
61
|
+
weight: 0.30
|
|
62
|
+
description: "Resistance-handling change management"
|