Build-an-X workflow that drafts a QA team's quarterly OKR set - one to three Objectives, each with 3 - 5 measurable Key Results - from the team's current state (risk matrix, defect-trend narrative, test-run history, test-pyramid balance, compliance coverage). Every numeric target cites its source artifact (e.g., a defect-trend baseline's 2026-Q1 escape rate). QA-specific by design - generic OKR generators (Tability, Asana, ClickUp) don't know test metrics; the differentiation is the domain. Produces the OKR set itself - not the test-strategy document it sits inside, and not the risk-score calibration behind the baselines. Use at the start of each quarter to draft the OKR set the manager edits and the team commits to.
75
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
The QA manager opens a blank document at quarter-start to draft OKRs. Generic OKR templates (Tability, Asana, ClickUp) all share the same flaw: they don't know what to measure for a QA team. "Improve quality" is not an Objective; "achieve 95% pass rate" is not a Key Result without a baseline and a documented method. This skill produces a draft anchored on the team's actual current-state data, with every numeric target citing the artifact it came from.
Per the canonical OKR framework (Doerr, Measure What Matters), an Objective is a concrete, inspirational goal and each Key Result is measurable success criteria with "no opportunity for 'grey area'". The 0.7/1.0 grading rule is stated once here and referenced thereafter: this skill emits Committed KRs (target 1.0 grading, binary outcomes the team promises) and Aspirational KRs (target 0.7, stretch, where 70% is success). Consistently hitting 100% means the OKRs are not aspirational enough.
Do not use this skill when:
Required:
| Input | Source | Why load-bearing |
|---|---|---|
| Quarterly objective(s) | Manager-provided; aligned with engineering / product OKRs | The skill drafts KRs under objectives the team owns; it won't invent strategic direction |
| Current-state metrics | At least one of: risk-matrix output, a recent defect-trend report, test-run-summary-author cross-run-trend, test-pyramid-balancer audit | Every KR needs a baseline - without it, the target is unanchored |
| Time horizon | Quarterly (default) or other (semi-annual) | OKR cadence; per Doerr, quarterly is the canonical rhythm |
| Prior OKR set | If exists; the prior quarter's KRs + their grading | Continuity: drift from prior commitments is itself a signal |
The skill halts with MISSING_BASELINE (supply ≥1 current-state metric source) if no measurable input is offered.
The skill recognises five canonical QA Objective shapes (catalog, not prescription); the manager picks 1 - 3 and the skill drafts the measurable KR family under each:
The full catalog - each shape's KR-axis table, example KRs, and baseline source - is in references/okr-shape-catalog.md. Shape 2 is realized end to end in Step 3.
Each KR is flagged Committed or Aspirational per the grading rule stated in the Overview (target 1.0 vs 0.7):
## Objective 2 - Reduce escape-defect rate
**Quarter:** 2026-Q3 (Jul-Sep)
**Rationale:** Current quarterly P1 escape rate is 4 (per the defect-trend 2026-Q2 report - citing `tracker-export-2026-Q2.json` lines `filter(severity=P1, found_in=production)`). Industry context: PractiTest 2026 finds 19.9% of teams use AI for risk identification - the team is below this. Reducing escape rate is the team's primary tied-to-revenue quality metric.
### Key Results
| # | Type | KR | Baseline | Source |
|---|---|---|---|---|
| KR2.1 | **Committed** | P1 escapes reach ≤ 2/quarter | 4/quarter (2026-Q2) | the defect-trend report |
| KR2.2 | **Committed** | P2 escapes reach ≤ 8/quarter | 13/quarter (2026-Q2) | the defect-trend report |
| KR2.3 | **Aspirational** | MTTD on P1 reaches ≤ 4h (median) | 11h (2026-Q2) | `mttr-mtbf-tracker` |
| KR2.4 | **Aspirational** | Regression-class escapes reach -50% vs Q2 | 18 → 9 | the defect-clustering export + the defect-trend report |
### Scoring (per Doerr / Grove canon)
- Committed KRs (2.1, 2.2): grading target 1.0 - anything <1.0 is a miss.
- Aspirational KRs (2.3, 2.4): grading target 0.7 - 70% achievement is success.
### Risk if all KRs are committed
The team avoids risk by setting only committed KRs at safe levels. Per Doerr: "Consistently meeting 100% indicates OKRs need re-evaluation." Mix at least one aspirational KR per Objective.The skill refuses to emit a KR target without citing the baseline. The output's audit appendix is the load-bearing artifact that lets the team verify the draft is grounded:
### Audit (sources for every numeric target)
| KR | Target | Baseline | Source artifact / query |
|---|---|---|---|
| KR1.1 | unit:integration:E2E = 70:20:10 | 41:14:45 | `test-pyramid-balancer` 2026-Q2 output |
| KR1.2 | regression duration < 45 min/shard | 67 min/shard | `test-run-summary-author cross-run-trend` 2026-Q2 |
| KR2.1 | P1 escapes ≤ 2/quarter | 4/quarter | the defect-trend report filter(severity=P1, found_in=production, window=2026-Q2) |
| KR2.3 | MTTD P1 ≤ 4h median | 11h median | `mttr-mtbf-tracker` per-incident log, 2026-Q2 |
| KR3.1 | flake rate < 3% of runs | 8% | the flake-detection weekly export 2026-Q2 |
| KR3.2 | quarantine list ≤ 5 | 11 | `flaky-test-quarantine` snapshot 2026-06-30 |If a baseline is not retrievable, the KR is flagged [BASELINE_NEEDED] in the draft and excluded from the committed set until the team supplies the data.
OKRs are not authored in isolation. The skill emits an alignment check section the manager fills before committing:
### Alignment check
| Layer | OKR or theme | This QA OKR set's contribution |
|---|---|---|
| Company quarterly theme | "Reduce mean revenue-affecting incident cost" | Objective 2 (escape rate) directly contributes |
| Engineering OKR | "Cut release cycle to weekly" | Objective 3 (regression cycle time) directly contributes |
| Product OKR | "Ship Feature X with high-stakes user impact" | Objective 2 ties to risk-prevention; Objective 5 ties to compliance review |
| SRE OKR | "Maintain 99.9% SLO" | Objective 2 (escape rate) and Objective 4 (flake budget) tie via `error-budget-tests` |Per Doerr, OKRs at the team level should "ladder up" to company OKRs. The skill makes the laddering explicit so the team can validate alignment in stakeholder review.
The OKR set is the start of the loop, not the end. Hand-offs at quarter-end:
test-run-summary-author, etc.) emit the end-of-quarter metrics; the comparison is mechanical.A full quarter-start draft for a 6-engineer QA team - two Objectives (escape-defect rate, regression cycle time) with committed/aspirational KRs, an alignment check, and a per-target audit table - is in references/worked-example.md.
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| Setting KRs without baselines | "Reach 99% pass rate" - from what? The KR is unanchored; success can't be measured | Step 4 enforces baseline citation; flag [BASELINE_NEEDED] if missing |
| 100% committed KRs, no aspirational | Per Doerr: "If 100% of the key results are consistently being met, the key results should be reevaluated" | At least one aspirational KR per Objective |
| KRs that aren't team-controllable | "Customer churn -50%" - QA can't move that lever alone | KRs are scoped to outcomes QA can directly cause |
| Six or more Objectives | Loss of focus; per the canonical framework, 1 - 3 Objectives is the recommended ceiling | Step 1 caps Objectives at 3 |
| KR with no measurable axis ("improve quality") | Not gradeable; the team cannot tell if it succeeded | Step 3 rejects un-measurable KRs |
| KRs that drift from the prior quarter without acknowledging the drift | Continuous re-targeting hides chronic underperformance | Step 1 ingests prior OKR set; drift surfaces in the rationale |
| Generic OKR template adopted without QA-specific KRs | The team commits to "ship more features" goals that don't measure quality | This skill is QA-domain-specific by design |
| Author OKRs without alignment to engineering / product | The team commits to goals nobody else cares about | Step 5 alignment check is required |
qa-okr-retro-reviewer agent). This skill only authors; grading happens at retro time.test-strategy-author.test-run-summary-author (cross-run-trend output shape).test-pyramid-balancer.qa-okr-retro-reviewer agent, Phase 7+).test-strategy-author, risk-matrix, test-pyramid-balancer, e2e-suite-budget - sibling skills in the same plugin that feed inputs.test-run-summary-author, mttr-mtbf-tracker - cross-plugin baseline-source skills.