dojo.md 0.1.0 → 0.2.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/courses/GENERATION_LOG.md +27 -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/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/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/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/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 +3 -1
- package/dist/mcp/session-manager.d.ts.map +1 -1
- package/dist/mcp/session-manager.js +44 -22
- 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,61 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-consulting-engagement
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Lead a CI/CD consulting engagement — diagnose and transform a client's broken CI/CD infrastructure as an external consultant"
|
|
7
|
+
tags: [github, actions, consulting, transformation, engagement, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're a senior DevOps consultant hired for a 12-week, $200K
|
|
13
|
+
engagement to transform CI/CD at a 300-engineer healthcare company.
|
|
14
|
+
They're 18 months into a failed GitHub Actions migration from Jenkins
|
|
15
|
+
and are about to lose their largest customer ($40M contract) due to
|
|
16
|
+
compliance gaps.
|
|
17
|
+
|
|
18
|
+
Client diagnostic findings (Week 1):
|
|
19
|
+
- 200 repos: 80 still on Jenkins, 100 on GitHub Actions (inconsistent
|
|
20
|
+
config), 20 with no CI at all
|
|
21
|
+
- Average deployment: 2 per week (target: 10 per day)
|
|
22
|
+
- Failed deployments: 30% (target: < 5%)
|
|
23
|
+
- Mean time to recovery: 6 hours (target: < 30 minutes)
|
|
24
|
+
- No automated security scanning (HIPAA violation risk)
|
|
25
|
+
- Self-hosted runners run on unpatched VMs with shared credentials
|
|
26
|
+
- The Jenkins→Actions migration was led by one person who left
|
|
27
|
+
- No documentation of the current CI/CD architecture
|
|
28
|
+
- The compliance team manually generates audit reports (2 weeks/quarter)
|
|
29
|
+
- Developer satisfaction with CI/CD: 18% (industry benchmark: 65%)
|
|
30
|
+
|
|
31
|
+
Client stakeholders:
|
|
32
|
+
- CTO: "We need to pass the HIPAA audit in 90 days or we lose the
|
|
33
|
+
customer. Fix this."
|
|
34
|
+
- VP Engineering: "My teams are demoralized. They've been promised a
|
|
35
|
+
'better CI/CD' for 18 months and things got worse."
|
|
36
|
+
- CISO: "I have no visibility into what's deployed or how. Our
|
|
37
|
+
security posture is unacceptable."
|
|
38
|
+
- Engineering Manager: "The last consultant just wrote a document.
|
|
39
|
+
We need someone who will actually help us fix things."
|
|
40
|
+
|
|
41
|
+
Task: Design the complete consulting engagement. Write: the client
|
|
42
|
+
diagnostic report (executive summary with quantified risk), the
|
|
43
|
+
12-week transformation roadmap (phased with weekly deliverables),
|
|
44
|
+
the quick wins for Weeks 1-3 (building credibility and addressing
|
|
45
|
+
the HIPAA audit deadline), the technical implementation plan (complete
|
|
46
|
+
the Jenkins migration, standardize Actions, fix security), and the
|
|
47
|
+
handoff package (documentation, training, maintenance runbooks).
|
|
48
|
+
|
|
49
|
+
assertions:
|
|
50
|
+
- type: llm_judge
|
|
51
|
+
criteria: "Diagnostic report quantifies risk — connects CI/CD failures to business impact ($40M customer at risk), identifies the root cause of the failed migration (single person, no documentation, no plan), and presents findings without blame"
|
|
52
|
+
weight: 0.35
|
|
53
|
+
description: "Risk-quantifying diagnostic"
|
|
54
|
+
- type: llm_judge
|
|
55
|
+
criteria: "Roadmap addresses the HIPAA deadline — Weeks 1-3 focus on the most critical compliance gaps (security scanning, audit trails, runner security), Weeks 4-8 complete the migration, Weeks 9-12 establish sustainability, and the 90-day HIPAA audit timeline is achievable"
|
|
56
|
+
weight: 0.35
|
|
57
|
+
description: "HIPAA-focused roadmap"
|
|
58
|
+
- type: llm_judge
|
|
59
|
+
criteria: "Handoff package ensures sustainability — includes documentation of all CI/CD architecture, runbooks for common operations, training curriculum for the team, and a monitoring dashboard so the client can maintain the system after the consultant leaves"
|
|
60
|
+
weight: 0.30
|
|
61
|
+
description: "Sustainability-ensuring handoff"
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-industry-benchmarks
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Publish CI/CD benchmarks — create the definitive 'State of CI/CD' report with cross-industry analysis and DORA insights"
|
|
7
|
+
tags: [github, actions, benchmarks, DORA, research, industry-analysis, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Head of Research at a developer tools company publishing
|
|
13
|
+
the annual "State of CI/CD 2026" report. This report is read by
|
|
14
|
+
60,000+ engineering leaders. You have data from 3,000 organizations.
|
|
15
|
+
|
|
16
|
+
Raw data highlights:
|
|
17
|
+
- DORA metrics by company size:
|
|
18
|
+
| Metric | Startup | Mid-market | Enterprise |
|
|
19
|
+
|---------------------|---------|-----------|------------|
|
|
20
|
+
| Deploy frequency | 12/day | 3/day | 2/week |
|
|
21
|
+
| Lead time | 1 hr | 8 hrs | 5 days |
|
|
22
|
+
| MTTR | 15 min | 1 hr | 8 hrs |
|
|
23
|
+
| Change failure rate | 5% | 8% | 15% |
|
|
24
|
+
|
|
25
|
+
- CI/CD platform market share:
|
|
26
|
+
GitHub Actions: 62% | GitLab CI: 18% | Jenkins: 12% |
|
|
27
|
+
CircleCI: 4% | Other: 4%
|
|
28
|
+
|
|
29
|
+
- Key correlations:
|
|
30
|
+
Teams with CI under 10 min: 3x more deploys, 50% lower failure rate
|
|
31
|
+
Teams using OIDC: 75% fewer credential incidents
|
|
32
|
+
Teams with automated rollback: 80% lower MTTR
|
|
33
|
+
Monorepo teams: 2x CI cost but 1.5x deployment frequency
|
|
34
|
+
|
|
35
|
+
- Emerging trends:
|
|
36
|
+
AI in CI/CD: 28% using AI for test selection, 15% for failure
|
|
37
|
+
prediction, 8% for automated remediation
|
|
38
|
+
Platform engineering: 45% have dedicated platform teams (up from 12%)
|
|
39
|
+
Supply chain security: 52% pin actions by SHA (up from 8%)
|
|
40
|
+
|
|
41
|
+
- Industry breakdown (deployment frequency):
|
|
42
|
+
SaaS: 15/day | E-commerce: 8/day | Fintech: 3/day |
|
|
43
|
+
Healthcare: 1/day | Government: 2/month | Gaming: 20/day
|
|
44
|
+
|
|
45
|
+
Task: Write the "State of CI/CD 2026" report. Include: the executive
|
|
46
|
+
summary, the benchmarking methodology, the DORA metrics analysis by
|
|
47
|
+
company size and industry, the emerging trends analysis (AI, platform
|
|
48
|
+
engineering, supply chain), the strategic recommendations, and the
|
|
49
|
+
predictions for 2027-2028.
|
|
50
|
+
|
|
51
|
+
assertions:
|
|
52
|
+
- type: llm_judge
|
|
53
|
+
criteria: "Methodology is credible — describes sample selection, survey design, data validation, limitations (survivorship bias, self-reporting), and statistical significance. Acknowledges correlation ≠ causation for the key findings"
|
|
54
|
+
weight: 0.35
|
|
55
|
+
description: "Credible methodology"
|
|
56
|
+
- type: llm_judge
|
|
57
|
+
criteria: "Analysis reveals actionable insights — explains why enterprise DORA metrics lag (compliance overhead, organizational complexity), identifies the 10-minute CI threshold as a tipping point, and provides specific recommendations by company size"
|
|
58
|
+
weight: 0.35
|
|
59
|
+
description: "Actionable insight analysis"
|
|
60
|
+
- type: llm_judge
|
|
61
|
+
criteria: "Predictions are specific and bold — makes concrete predictions about AI adoption rates, platform engineering growth, GitHub Actions market share evolution, and the decline of Jenkins, with reasoning grounded in the trend data"
|
|
62
|
+
weight: 0.30
|
|
63
|
+
description: "Specific bold predictions"
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-ma-integration
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "M&A CI/CD integration — consolidate CI/CD platforms and practices across acquired companies"
|
|
7
|
+
tags: [github, actions, M&A, integration, consolidation, migration, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO overseeing CI/CD integration for 3 recently acquired
|
|
13
|
+
companies. Each uses a different CI/CD platform and has different
|
|
14
|
+
engineering practices. The board expects full integration within 18
|
|
15
|
+
months.
|
|
16
|
+
|
|
17
|
+
Parent company (1,000 engineers):
|
|
18
|
+
- GitHub Actions with sophisticated platform team
|
|
19
|
+
- DORA Elite: 50 deploys/day, 2hr lead time, 15min MTTR, 2% CFR
|
|
20
|
+
- Fully automated, OIDC auth, compliance automation
|
|
21
|
+
- Cost: $2M/year for CI/CD infrastructure
|
|
22
|
+
|
|
23
|
+
Acquisition A — SaaS startup (200 engineers):
|
|
24
|
+
- CircleCI with custom orbs
|
|
25
|
+
- Fast but fragile: 30 deploys/day but 15% failure rate
|
|
26
|
+
- No security scanning, no compliance controls
|
|
27
|
+
- 80 repos, all on CircleCI
|
|
28
|
+
- Cost: $400K/year
|
|
29
|
+
|
|
30
|
+
Acquisition B — Enterprise software (300 engineers):
|
|
31
|
+
- Jenkins on-premise (50+ plugins, custom Groovy pipelines)
|
|
32
|
+
- Slow but stable: 2 deploys/week, 3% failure rate
|
|
33
|
+
- Heavy compliance (SOX, HIPAA), manual audit processes
|
|
34
|
+
- 120 repos on Bitbucket + Jenkins
|
|
35
|
+
- Cost: $800K/year (hardware + maintenance)
|
|
36
|
+
|
|
37
|
+
Acquisition C — AI/ML company (150 engineers):
|
|
38
|
+
- Mix of GitHub Actions (for apps) and custom Python scripts (for
|
|
39
|
+
ML pipelines)
|
|
40
|
+
- ML model training uses separate GPU pipeline outside CI/CD
|
|
41
|
+
- Jupyter notebooks deployed via manual process
|
|
42
|
+
- 40 repos on GitHub + internal GitLab for ML experiments
|
|
43
|
+
- Cost: $300K/year
|
|
44
|
+
|
|
45
|
+
Integration constraints:
|
|
46
|
+
- Must consolidate to GitHub Actions within 18 months
|
|
47
|
+
- Cannot disrupt any acquisition's shipping velocity during migration
|
|
48
|
+
- Must achieve SOX + HIPAA compliance for all entities
|
|
49
|
+
- Must retain 90% of acquired engineering talent
|
|
50
|
+
- Budget: $3M for migration (separate from ongoing costs)
|
|
51
|
+
- ML pipeline integration is the most technically complex
|
|
52
|
+
|
|
53
|
+
Task: Design the M&A CI/CD integration strategy. Write: the assessment
|
|
54
|
+
of each acquisition's CI/CD maturity, the migration plan for each
|
|
55
|
+
(CircleCI → Actions, Jenkins → Actions, custom scripts → Actions),
|
|
56
|
+
the compliance harmonization plan (bringing all entities to SOX + HIPAA),
|
|
57
|
+
the ML pipeline integration strategy, and the talent retention plan.
|
|
58
|
+
Include: the 18-month timeline with quarterly milestones and the $3M
|
|
59
|
+
budget allocation.
|
|
60
|
+
|
|
61
|
+
assertions:
|
|
62
|
+
- type: llm_judge
|
|
63
|
+
criteria: "Migration plans are tailored — CircleCI migration is relatively straightforward (similar paradigm), Jenkins migration requires complete rethinking (Groovy → YAML), ML pipeline migration needs custom approach (GPU runners, notebook deployment), and each has a specific timeline"
|
|
64
|
+
weight: 0.35
|
|
65
|
+
description: "Tailored migration plans"
|
|
66
|
+
- type: llm_judge
|
|
67
|
+
criteria: "Compliance harmonization is realistic — addresses the gap between startup's no-compliance and enterprise's heavy compliance, proposes a unified compliance framework that works for all entities, and the timeline achieves SOX + HIPAA compliance within the 18-month window"
|
|
68
|
+
weight: 0.35
|
|
69
|
+
description: "Realistic compliance harmonization"
|
|
70
|
+
- type: llm_judge
|
|
71
|
+
criteria: "Budget allocation and timeline are justified — the $3M is distributed across the 3 acquisitions proportionally to migration complexity, the timeline accounts for parallel workstreams, and the talent retention plan addresses flight risk during migration disruption"
|
|
72
|
+
weight: 0.30
|
|
73
|
+
description: "Justified budget and timeline"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-product-development
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Build a CI/CD product — design and launch a CI/CD SaaS startup competing in the developer tools market"
|
|
7
|
+
tags: [github, actions, product, startup, SaaS, go-to-market, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the co-founder/CTO of a startup building "PipelineHQ" — a
|
|
13
|
+
next-generation CI/CD platform. You've raised $8M in seed funding
|
|
14
|
+
and have 18 months of runway. Your thesis: GitHub Actions is powerful
|
|
15
|
+
but enterprise teams need better observability, cost management, and
|
|
16
|
+
governance on top of it.
|
|
17
|
+
|
|
18
|
+
Market analysis:
|
|
19
|
+
- TAM: $12B (CI/CD and DevOps tools market)
|
|
20
|
+
- SAM: $3B (CI/CD platforms and add-ons)
|
|
21
|
+
- SOM: $300M (GitHub Actions ecosystem tools)
|
|
22
|
+
- Competitors: Harness ($2B valuation), Buildkite ($200M), Earthly
|
|
23
|
+
($20M), Depot ($5M), Trunk ($30M)
|
|
24
|
+
- Gap: No single tool combines Actions analytics + cost management +
|
|
25
|
+
governance in a developer-friendly package
|
|
26
|
+
|
|
27
|
+
Product vision:
|
|
28
|
+
1. Cost Intelligence: Real-time per-team cost tracking, optimization
|
|
29
|
+
recommendations, budget enforcement
|
|
30
|
+
2. Pipeline Analytics: DORA metrics, failure patterns, bottleneck
|
|
31
|
+
detection, workflow performance trending
|
|
32
|
+
3. Governance: Policy-as-code for Actions, action allowlisting,
|
|
33
|
+
compliance automation, audit reporting
|
|
34
|
+
4. Developer Experience: Smart caching, predictive failures, auto-
|
|
35
|
+
retry with root cause analysis
|
|
36
|
+
|
|
37
|
+
Technical constraints:
|
|
38
|
+
- Must work with GitHub Actions (not replace it)
|
|
39
|
+
- GitHub App integration (webhook-based, no code injection)
|
|
40
|
+
- Customer workflow data stays in their GitHub (privacy)
|
|
41
|
+
- Must handle 10,000+ workflow runs/day per customer
|
|
42
|
+
|
|
43
|
+
Go-to-market:
|
|
44
|
+
- 18-month runway ($8M, burn rate $450K/month)
|
|
45
|
+
- 10-person engineering team
|
|
46
|
+
- Need $2M ARR to raise Series A
|
|
47
|
+
- PLG + enterprise sales motion
|
|
48
|
+
|
|
49
|
+
Task: Design the complete product strategy. Write: the MVP roadmap
|
|
50
|
+
(3-month scope for first paying customer), the technical architecture
|
|
51
|
+
(GitHub App, webhook processing, analytics engine), the pricing
|
|
52
|
+
strategy (free/team/enterprise tiers), the GTM plan (PLG adoption
|
|
53
|
+
loop, enterprise sales playbook), and the competitive positioning.
|
|
54
|
+
Include the financial projection and Series A pitch narrative.
|
|
55
|
+
|
|
56
|
+
assertions:
|
|
57
|
+
- type: llm_judge
|
|
58
|
+
criteria: "MVP scope is achievable in 3 months by 10 engineers — focuses on one killer feature (likely cost intelligence or analytics, not all 4), has a clear first customer profile, and the scope decision is justified with competitive analysis"
|
|
59
|
+
weight: 0.35
|
|
60
|
+
description: "Achievable MVP scope"
|
|
61
|
+
- type: llm_judge
|
|
62
|
+
criteria: "Technical architecture is sound — GitHub App with webhook processing handles the scale, respects data privacy constraints, the analytics engine can process 10K+ runs/day, and the architecture supports the product roadmap beyond MVP"
|
|
63
|
+
weight: 0.35
|
|
64
|
+
description: "Sound technical architecture"
|
|
65
|
+
- type: llm_judge
|
|
66
|
+
criteria: "Financial projection reaches $2M ARR in 18 months — PLG funnel conversion assumptions are realistic, pricing tiers incentivize upgrade, enterprise sales pipeline is modeled, and the burn rate / runway math is consistent"
|
|
67
|
+
weight: 0.30
|
|
68
|
+
description: "Realistic financial projection"
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: cicd-regulatory-landscape
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Navigate CI/CD regulatory landscape — map how global regulations shape CI/CD requirements and prepare for emerging frameworks"
|
|
7
|
+
tags: [github, actions, regulatory, compliance, global, supply-chain, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the Chief Compliance Officer of a global software company
|
|
13
|
+
operating in 30 countries. Regulations increasingly require
|
|
14
|
+
demonstrable CI/CD controls, and you need to map the landscape.
|
|
15
|
+
|
|
16
|
+
Current regulatory requirements affecting CI/CD:
|
|
17
|
+
|
|
18
|
+
1. EU Cyber Resilience Act (CRA, effective 2027):
|
|
19
|
+
- Requires documented secure development lifecycle for all software
|
|
20
|
+
sold in the EU
|
|
21
|
+
- CI/CD must produce verifiable build provenance (SLSA Level 3)
|
|
22
|
+
- Vulnerability management must be automated in the pipeline
|
|
23
|
+
- Penalty: up to 15M EUR or 2.5% of global turnover
|
|
24
|
+
|
|
25
|
+
2. US Executive Order 14028 (Software Supply Chain):
|
|
26
|
+
- Software Bill of Materials (SBOM) required for government contracts
|
|
27
|
+
- CI/CD must generate and sign SBOMs automatically
|
|
28
|
+
- Build environment integrity must be verifiable
|
|
29
|
+
- Applies to your $200M government contract portfolio
|
|
30
|
+
|
|
31
|
+
3. SEC Cybersecurity Rules:
|
|
32
|
+
- Material cybersecurity incidents must be disclosed in 4 days
|
|
33
|
+
- CI/CD audit trails are part of "reasonable controls"
|
|
34
|
+
- Board must oversee cybersecurity risk management
|
|
35
|
+
|
|
36
|
+
4. India CERT-In Directive:
|
|
37
|
+
- 6-hour incident reporting requirement
|
|
38
|
+
- CI/CD logs must be retained for 180 days
|
|
39
|
+
- Your Bangalore development center is affected
|
|
40
|
+
|
|
41
|
+
5. Proposed EU AI Act CI/CD implications:
|
|
42
|
+
- High-risk AI systems must have documented CI/CD processes
|
|
43
|
+
- Model training pipelines need audit trails
|
|
44
|
+
- Continuous monitoring must be built into deployment
|
|
45
|
+
|
|
46
|
+
Emerging trends:
|
|
47
|
+
- SLSA framework adoption for build provenance
|
|
48
|
+
- Sigstore/cosign for artifact signing
|
|
49
|
+
- OpenSSF Scorecard for repository security
|
|
50
|
+
- NIST SSDF (Secure Software Development Framework)
|
|
51
|
+
- Software Liability Act proposals (US + EU)
|
|
52
|
+
|
|
53
|
+
Task: Map the regulatory landscape. Write: the regulatory matrix
|
|
54
|
+
(which regulations apply to which CI/CD components), the compliance
|
|
55
|
+
gap analysis, the unified CI/CD compliance framework (one pipeline
|
|
56
|
+
that satisfies all regulations), the SLSA Level 3 implementation
|
|
57
|
+
plan, and the future-proofing strategy. Include the board brief on
|
|
58
|
+
regulatory risk.
|
|
59
|
+
|
|
60
|
+
assertions:
|
|
61
|
+
- type: llm_judge
|
|
62
|
+
criteria: "Regulatory matrix is comprehensive — maps each regulation to specific CI/CD controls (build provenance, SBOM generation, audit trail retention, artifact signing), identifies overlapping requirements, and handles jurisdictional complexity"
|
|
63
|
+
weight: 0.35
|
|
64
|
+
description: "Comprehensive regulatory matrix"
|
|
65
|
+
- type: llm_judge
|
|
66
|
+
criteria: "SLSA Level 3 implementation is technically correct — includes hermetic builds, build provenance generation, artifact signing with Sigstore, SBOM generation (CycloneDX or SPDX), and the GitHub Actions workflow modifications needed"
|
|
67
|
+
weight: 0.35
|
|
68
|
+
description: "Correct SLSA Level 3 implementation"
|
|
69
|
+
- type: llm_judge
|
|
70
|
+
criteria: "Future-proofing strategy anticipates emerging regulations — prepares for Software Liability Act, EU AI Act CI/CD requirements, and NIST SSDF compliance before they take effect, with a regulatory monitoring process"
|
|
71
|
+
weight: 0.30
|
|
72
|
+
description: "Anticipatory future-proofing"
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: comprehensive-cicd-system
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Design a comprehensive CI/CD system — architect a 5-layer CI/CD platform for a Fortune 500 company"
|
|
7
|
+
tags: [github, actions, comprehensive, enterprise, architecture, Fortune-500, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO of a Fortune 500 company ($10B revenue, 4,000
|
|
13
|
+
engineers) designing a unified CI/CD system. The company has 8
|
|
14
|
+
business units acquired over 15 years, each with different platforms,
|
|
15
|
+
processes, and cultures. The board mandated unification after a
|
|
16
|
+
regulatory finding.
|
|
17
|
+
|
|
18
|
+
Current state:
|
|
19
|
+
- BU1 Cloud (800 eng): GitHub Actions, mature, 50 deploys/day
|
|
20
|
+
- BU2 Consumer (600 eng): GitLab CI, fast, no compliance
|
|
21
|
+
- BU3 Enterprise (500 eng): Jenkins, slow, SOX/SOC 2 compliant
|
|
22
|
+
- BU4 Data (400 eng): Airflow + custom scripts, no standard CI
|
|
23
|
+
- BU5 Mobile (300 eng): Bitrise + Fastlane, iOS/Android specific
|
|
24
|
+
- BU6 IoT (200 eng): Custom embedded CI, hardware-in-loop testing
|
|
25
|
+
- BU7 Fintech (150 eng): CircleCI, PCI DSS compliant
|
|
26
|
+
- BU8 AI Lab (50 eng): No CI, Jupyter notebooks + manual deploys
|
|
27
|
+
|
|
28
|
+
Design the CI/CD system in 5 layers:
|
|
29
|
+
|
|
30
|
+
Layer 1 — Governance: Universal policies, compliance mapping (SOX,
|
|
31
|
+
SOC 2, PCI DSS, HIPAA, FedRAMP), action allowlisting, audit trails
|
|
32
|
+
Layer 2 — Platform: GitHub Actions standardization, runner fleet,
|
|
33
|
+
reusable workflows, secret management (Vault)
|
|
34
|
+
Layer 3 — Delivery: Deployment pipelines per BU (web, mobile, IoT,
|
|
35
|
+
ML, data pipelines), environment management, release automation
|
|
36
|
+
Layer 4 — Intelligence: DORA metrics, cost optimization, failure
|
|
37
|
+
prediction, anomaly detection, compliance reporting
|
|
38
|
+
Layer 5 — Experience: Developer portal, workflow catalog, self-
|
|
39
|
+
service onboarding, documentation, training
|
|
40
|
+
|
|
41
|
+
Constraints:
|
|
42
|
+
- $20M budget over 3 years
|
|
43
|
+
- Cannot disrupt any BU's current shipping velocity
|
|
44
|
+
- Must handle specialized needs (IoT hardware testing, ML GPU
|
|
45
|
+
training, mobile signing)
|
|
46
|
+
- Must satisfy 5 compliance frameworks simultaneously
|
|
47
|
+
- Must handle 10,000+ pipeline runs per day
|
|
48
|
+
|
|
49
|
+
Task: Design all 5 layers. For each, write the detailed design,
|
|
50
|
+
migration plan, interactions with other layers, and success metrics.
|
|
51
|
+
Then write: the 3-year phased roadmap, the $20M budget allocation,
|
|
52
|
+
and the board presentation for approval.
|
|
53
|
+
|
|
54
|
+
assertions:
|
|
55
|
+
- type: llm_judge
|
|
56
|
+
criteria: "5-layer design is coherent — each layer builds on the one below, there are clear interfaces, and the design handles the extreme diversity of 8 BUs without over-simplifying. Specialized needs (IoT, ML, mobile) are accommodated, not forced into a single template"
|
|
57
|
+
weight: 0.35
|
|
58
|
+
description: "Coherent 5-layer design"
|
|
59
|
+
- type: llm_judge
|
|
60
|
+
criteria: "Migration plan handles complexity — phases the 8 BUs based on difficulty and business criticality, doesn't force simultaneous migration, provides BU-specific migration paths (Jenkins→Actions, GitLab→Actions, custom→Actions), and has rollback plans"
|
|
61
|
+
weight: 0.35
|
|
62
|
+
description: "Complexity-handling migration plan"
|
|
63
|
+
- type: llm_judge
|
|
64
|
+
criteria: "Budget allocation is justified — the $20M is distributed across layers, BUs, and years with clear rationale, build-vs-buy decisions for each component, and the ROI projection shows when the investment pays back"
|
|
65
|
+
weight: 0.30
|
|
66
|
+
description: "Justified budget allocation"
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: master-cicd-shift
|
|
3
|
+
level: 5
|
|
4
|
+
course: github-actions-cicd
|
|
5
|
+
type: output
|
|
6
|
+
description: "Master CI/CD shift — navigate existential threats to the CI/CD platform while maintaining organizational trust and delivery velocity"
|
|
7
|
+
tags: [github, actions, shift-simulation, crisis, existential, master]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're the CTO facing a perfect storm of CI/CD-related crises that
|
|
13
|
+
threaten the company's delivery capability, compliance posture, and
|
|
14
|
+
competitive position simultaneously.
|
|
15
|
+
|
|
16
|
+
Crisis 1 — Supply chain attack:
|
|
17
|
+
A critical supply chain attack was discovered in a widely-used GitHub
|
|
18
|
+
Action (200K+ installations). The malicious version was active for
|
|
19
|
+
48 hours before detection. Your organization used this action in 85
|
|
20
|
+
repositories. The malicious code exfiltrated GITHUB_TOKEN and any
|
|
21
|
+
secrets passed to the action. GitHub has revoked the compromised
|
|
22
|
+
action but the damage may be done.
|
|
23
|
+
Questions: How many of your secrets are compromised? Was production
|
|
24
|
+
code tampered with? Can you trust any deployment from the last 48
|
|
25
|
+
hours?
|
|
26
|
+
|
|
27
|
+
Crisis 2 — Regulatory enforcement:
|
|
28
|
+
The SEC issued an enforcement action against your company for
|
|
29
|
+
"inadequate change management controls." They cite: deployments
|
|
30
|
+
without code review (12% via workflow_dispatch), missing audit trails
|
|
31
|
+
for 3 months of workflow runs (GitHub data retention expired), and
|
|
32
|
+
inability to prove who approved what change. The hearing is in 45
|
|
33
|
+
days. Legal estimates potential fines of $5-10M.
|
|
34
|
+
|
|
35
|
+
Crisis 3 — Platform vendor risk:
|
|
36
|
+
GitHub announced they're deprecating key features you depend on:
|
|
37
|
+
(a) self-hosted runner auto-scaling API changes in 60 days,
|
|
38
|
+
(b) organization-level required workflows moving to a new system,
|
|
39
|
+
(c) pricing restructure eliminating the large runner discount.
|
|
40
|
+
The changes require 3 months of engineering work with your current
|
|
41
|
+
(depleted) team.
|
|
42
|
+
|
|
43
|
+
Crisis 4 — Engineering exodus:
|
|
44
|
+
The "State of CI/CD" blog post by your competitor (the one in Crisis
|
|
45
|
+
2's news) went viral. 8 senior engineers cited it in exit interviews:
|
|
46
|
+
"Our CI/CD is years behind. I want to work somewhere with modern
|
|
47
|
+
infrastructure." Your platform team lost 5 of 15 engineers in the
|
|
48
|
+
last quarter.
|
|
49
|
+
|
|
50
|
+
Crisis 5 — Board emergency meeting:
|
|
51
|
+
The board called an emergency session in 48 hours. They want a
|
|
52
|
+
unified briefing on all 4 crises above and a strategic response.
|
|
53
|
+
Two board members are pushing to "abandon GitHub Actions entirely."
|
|
54
|
+
One board member (former CISO) is pushing to "freeze all deployments
|
|
55
|
+
until the supply chain attack is fully investigated."
|
|
56
|
+
|
|
57
|
+
Task: Navigate all 5 crises. Write: the 48-hour action plan, the
|
|
58
|
+
supply chain attack response (forensics, containment, communication),
|
|
59
|
+
the SEC response strategy (legal coordination, evidence preservation,
|
|
60
|
+
remediation), the vendor risk mitigation plan, the talent retention
|
|
61
|
+
strategy, and the board presentation that unifies everything into a
|
|
62
|
+
coherent strategic response.
|
|
63
|
+
|
|
64
|
+
assertions:
|
|
65
|
+
- type: llm_judge
|
|
66
|
+
criteria: "Board presentation unifies all crises — shows interconnections (supply chain attack worsens SEC case, talent loss impacts remediation capacity), doesn't present 5 separate plans but a coherent strategy, and addresses both board extremes (abandon GitHub vs freeze deployments)"
|
|
67
|
+
weight: 0.35
|
|
68
|
+
description: "Unified crisis board presentation"
|
|
69
|
+
- type: llm_judge
|
|
70
|
+
criteria: "Supply chain response is forensically sound — identifies all 85 affected repos, traces which secrets were exfiltrated, verifies deployment integrity for the 48-hour window, rotates all compromised credentials, and implements permanent supply chain protections (SHA pinning, action allowlist)"
|
|
71
|
+
weight: 0.35
|
|
72
|
+
description: "Forensically sound supply chain response"
|
|
73
|
+
- type: llm_judge
|
|
74
|
+
criteria: "SEC response balances legal and technical — coordinates with legal counsel, preserves evidence (does not delete any data), presents a proactive remediation plan, and the corrective actions address the specific findings (workflow_dispatch controls, audit trail retention, approval documentation)"
|
|
75
|
+
weight: 0.30
|
|
76
|
+
description: "Legal-technical SEC response"
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: api-change-review
|
|
3
|
+
level: 2
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Review API changes — evaluate backward compatibility, versioning strategy, and migration paths in API-modifying PRs"
|
|
7
|
+
tags: [github, pr-review, API, backward-compatibility, versioning, intermediate]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
You're reviewing a PR titled "Update user API — v2 endpoints." The PR
|
|
13
|
+
modifies the public REST API consumed by 3 mobile apps and 12 third-
|
|
14
|
+
party integrations. The changes include:
|
|
15
|
+
|
|
16
|
+
Change 1 — Response format change:
|
|
17
|
+
```
|
|
18
|
+
// Before (v1)
|
|
19
|
+
GET /api/users/123
|
|
20
|
+
{ "id": 123, "name": "Jane Doe", "email": "jane@example.com",
|
|
21
|
+
"created": "2024-01-15" }
|
|
22
|
+
|
|
23
|
+
// After (v2 in this PR)
|
|
24
|
+
GET /api/users/123
|
|
25
|
+
{ "id": "usr_123", "fullName": "Jane Doe",
|
|
26
|
+
"contact": { "email": "jane@example.com" },
|
|
27
|
+
"metadata": { "createdAt": "2024-01-15T00:00:00Z" } }
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Change 2 — Endpoint restructuring:
|
|
31
|
+
```
|
|
32
|
+
// Before
|
|
33
|
+
GET /api/users/:id/orders
|
|
34
|
+
POST /api/users/:id/orders
|
|
35
|
+
|
|
36
|
+
// After
|
|
37
|
+
GET /api/v2/users/:id/orders?include=items,shipping
|
|
38
|
+
POST /api/v2/orders (userId in request body instead of URL)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Change 3 — Authentication change:
|
|
42
|
+
```
|
|
43
|
+
// Before: API key in query parameter
|
|
44
|
+
GET /api/users?api_key=abc123
|
|
45
|
+
|
|
46
|
+
// After: Bearer token in header
|
|
47
|
+
GET /api/v2/users
|
|
48
|
+
Authorization: Bearer <token>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Change 4 — New pagination:
|
|
52
|
+
```
|
|
53
|
+
// Before: offset-based
|
|
54
|
+
GET /api/users?page=2&per_page=20
|
|
55
|
+
|
|
56
|
+
// After: cursor-based
|
|
57
|
+
GET /api/v2/users?cursor=eyJpZCI6MTIzfQ&limit=20
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The PR has no migration guide, no deprecation timeline, and the old
|
|
61
|
+
endpoints are removed (not deprecated).
|
|
62
|
+
|
|
63
|
+
Task: Review the API changes. Write: the backward compatibility
|
|
64
|
+
assessment (what breaks and for whom), the versioning strategy
|
|
65
|
+
recommendation (how v1 and v2 should coexist), the migration plan for
|
|
66
|
+
consumers (timeline, communication, tooling), the review comments for
|
|
67
|
+
each change (what to keep, what to change, what to add), and the
|
|
68
|
+
checklist for future API-breaking PRs.
|
|
69
|
+
|
|
70
|
+
assertions:
|
|
71
|
+
- type: llm_judge
|
|
72
|
+
criteria: "Breaking changes are comprehensively identified — field renames (name→fullName), nested restructuring (email→contact.email), ID format change (123→usr_123), endpoint moves, auth mechanism change, and pagination model change are all flagged as breaking"
|
|
73
|
+
weight: 0.35
|
|
74
|
+
description: "Comprehensive breaking change identification"
|
|
75
|
+
- type: llm_judge
|
|
76
|
+
criteria: "Versioning strategy is sound — recommends keeping v1 endpoints active with deprecation timeline (not immediate removal), API versioning approach (URL path vs header), and coexistence strategy during migration period"
|
|
77
|
+
weight: 0.35
|
|
78
|
+
description: "Sound versioning strategy"
|
|
79
|
+
- type: llm_judge
|
|
80
|
+
criteria: "Migration plan is actionable — includes consumer communication (changelog, migration guide), timeline with milestones, tooling suggestions (compatibility layer, SDK updates), and a checklist that would prevent this situation in future API PRs"
|
|
81
|
+
weight: 0.30
|
|
82
|
+
description: "Actionable migration plan"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
meta:
|
|
2
|
+
id: automated-review-tooling
|
|
3
|
+
level: 2
|
|
4
|
+
course: github-pr-review
|
|
5
|
+
type: output
|
|
6
|
+
description: "Set up automated review tools — configure linters, CodeQL, and automated checks to catch issues before human review"
|
|
7
|
+
tags: [github, pr-review, automation, linting, CodeQL, CI, intermediate]
|
|
8
|
+
|
|
9
|
+
state: {}
|
|
10
|
+
|
|
11
|
+
trigger: |
|
|
12
|
+
Your team spends 40% of review time on issues that could be caught
|
|
13
|
+
automatically: formatting inconsistencies, unused imports, type errors,
|
|
14
|
+
known vulnerability patterns, and missing test coverage. You've been
|
|
15
|
+
tasked with setting up automated review tools to reduce this burden.
|
|
16
|
+
|
|
17
|
+
Current state:
|
|
18
|
+
- TypeScript/React monorepo with Node.js backend
|
|
19
|
+
- GitHub Actions CI runs build and tests only
|
|
20
|
+
- No linting in CI (only local, inconsistently used)
|
|
21
|
+
- No security scanning
|
|
22
|
+
- No automated review comments
|
|
23
|
+
- PRs average 3 review rounds before merge (1st round is mostly
|
|
24
|
+
formatting and lint issues)
|
|
25
|
+
|
|
26
|
+
Available tools to evaluate and configure:
|
|
27
|
+
1. ESLint + Prettier (formatting/linting)
|
|
28
|
+
2. GitHub CodeQL (security analysis)
|
|
29
|
+
3. Codecov/Coveralls (test coverage reporting)
|
|
30
|
+
4. danger.js (custom PR checks: size, description, labels)
|
|
31
|
+
5. GitHub branch protection rules
|
|
32
|
+
|
|
33
|
+
Task: Design the automated review pipeline. Write: the GitHub Actions
|
|
34
|
+
workflow file(s) for the automated checks, the configuration for each
|
|
35
|
+
tool (ESLint rules focused on bugs not style, Prettier config, CodeQL
|
|
36
|
+
queries, danger.js rules for PR hygiene), the branch protection rules
|
|
37
|
+
that require these checks to pass, and the team rollout plan (how to
|
|
38
|
+
introduce without disrupting existing workflows). Include the expected
|
|
39
|
+
impact on review time and number of review rounds.
|
|
40
|
+
|
|
41
|
+
assertions:
|
|
42
|
+
- type: llm_judge
|
|
43
|
+
criteria: "GitHub Actions workflow is correct and complete — runs lint, type-check, CodeQL, coverage, and danger.js as separate jobs or steps, uses proper triggers (pull_request), caches dependencies, and handles monorepo paths correctly"
|
|
44
|
+
weight: 0.35
|
|
45
|
+
description: "Complete CI workflow"
|
|
46
|
+
- type: llm_judge
|
|
47
|
+
criteria: "Tool configurations are practical — ESLint focuses on bug-catching rules over style (since Prettier handles formatting), CodeQL uses relevant queries for JS/TS, danger.js checks PR size/description/labels, and coverage thresholds are reasonable"
|
|
48
|
+
weight: 0.35
|
|
49
|
+
description: "Practical tool configurations"
|
|
50
|
+
- type: llm_judge
|
|
51
|
+
criteria: "Rollout plan is realistic — addresses existing code that won't pass new rules (baseline approach), gradual enforcement strategy, team communication, and doesn't block all PRs on day one"
|
|
52
|
+
weight: 0.30
|
|
53
|
+
description: "Realistic rollout plan"
|