Counting test cases and closed tickets can make a busy team look productive while user risk grows. Productivity measurement needs to ask what useful quality signal moved, under which conditions, and with what trade-off.
Why this Skill is needed
The Quality Productivity Metrics Skill reviews quality and delivery measures together. It distinguishes flow evidence from individual activity, exposes attribution limits, and designs checks that make gaming harder.
What the Skill does
The Skill asks whether a measure describes a system outcome or merely rewards visible activity.
Use this Skill when comparing QA flow after a process or tooling change, designing an engineering scorecard, or reviewing whether a productivity claim has quality support. It does not rank people or turn activity counts into a release decision.
A useful finding names the quality metric, delivery metric, denominator, attribution limit, gaming risk, evidence state, and Human decision outside the analysis.
Use it when a team wants to know whether faster execution, more automation, or shorter triage improved delivery without increasing escaped risk.
What it does not do
The Quality Productivity Metrics Skill can organize material, evidence, and next actions for quality and delivery measures. It does not replace:
- Confirmation of rules, scope, and risk by the accountable domain owner.
- A real environment, account, dataset, log, or run record; static analysis does not become runtime evidence by itself.
- Authorization for release, compliance, production actions, or residual-risk acceptance.
- A Human decision when supplied sources conflict.
What it checks
Review whether quality outcomes, delivery speed, and their measurement rules can be connected; activity counts should not be converted directly into scores. Start with a matrix based on the source Skill’s output contract:
| Focus | Question before analysis | Handoff output |
|---|---|---|
| Quality signal | Whether the change affected user risk or detection outcome | Evidence and source |
| Delivery signal | Whether feedback became faster under a comparable cohort | Window and denominator |
| Attribution limit | Other changes that could explain movement | Candidate confounders |
| Use boundary | How the result may be used safely | Team learning; governed uses need separate approval |
| Output contract | Whether a table, CSV, JSON, or ticket format is requested | Preserve finding fields; confirm the schema, enums, required fields, and evidence sources before machine use |
If a row has only a conventional expectation and no source or validation method, keep it open instead of turning it into a pass.
Audit inputs before you start
Before analyzing quality and delivery measures, classify the input into six evidence states and check its completeness, source credibility, freshness, and comparability. A missing input limits the conclusion; record the gap clearly.
| State | Meaning | How this Skill should handle it |
|---|---|---|
| known | Directly supported by the supplied material | Keep the source, version, and time with the judgment |
| missing | Needed for this pass but not supplied | Name the smallest evidence action and limit the conclusion |
| conflicting | Sources disagree | Show both sources and route the conflict to an owner |
| stale | Present but outside the relevant version or time window | Mark freshness; old evidence is not current proof |
| out_of_scope | Related but excluded from this pass | Keep the boundary explicit |
| assumptions | Temporarily adopted to continue analysis | State how and when the assumption will be checked |
Keep the input version, scope, environment, evidence locations, and accountable owner together. Without a run record, deliver analysis, design, or a validation plan—not an execution pass.
From problem to structured Finding
Connect the source, scope, evidence state, analysis, owner, action, close condition, and validation before writing the conclusion. The case below keeps this Skill’s identifier and domain context.
Keep the decision layers separate
Write four separate layers for each quality signal:
| Layer | How to write it | Application here |
|---|---|---|
| Fact | What the supplied material directly shows | Cite the source, version, input, or run record for the focus |
| Evidence-backed Inference | What several facts support together | Show the inference chain and retain uncertainty |
| Recommendation | The smallest next action | Name the evidence, review, execution, or regression path |
| Human Decision | What an accountable person must decide | Leave scope, risk acceptance, resources, and release meaning to the owner |
A complete case
This case follows Input, Analysis, Finding, Decision, and Validation. When material is incomplete, keep missing, conflicting, or assumptions visible instead of turning them into a pass.
Input
The source Skill includes a sanitized synthetic fixture for comparing effort, accepted output, quality, and comparability. It is a worked example, not a real team measurement.
| Material | What to provide | What to do when it is missing |
|---|---|---|
| Baseline | 100 accepted tasks in 100 hours, with one escaped defect | Keep the cohort and task unit explicit |
| P-1 candidate | 200 case rows after splitting, but still 100 accepted tasks in 100 hours, with five escapes | Do not treat row count as accepted output |
| P-2 candidate | 100 accepted tasks in 80 hours, one escape, comparable rework, and complete acceptance evidence | Keep unprovided quality or effort evidence open |
| P-3 comparison | A payment team is ranked against a copy team by case count alone | Mark the comparison NOT_COMPARABLE without matched tasks and context |
| Fixture boundary | Baseline and P-1/P-2 are matched by team, window, and complexity; the fixture is synthetic | Do not generalize it to other teams or use it as a ranking |
Use a request like this:
Use the quality-productivity-metrics Skill.
Task: Review whether the supplied candidates support a productivity improvement for the matched QA work.
Inputs: [accepted tasks, effort hours, escaped defects, case splits, rework, acceptance evidence]
Scope: [matched team, time window, and task complexity]
Constraints: [synthetic sample only, incomplete causal context, no individual ranking]
Success criteria: [claims stay within the matched evidence]
Exclude: [individual ranking or an unauthorized reward decision]
Calculate accepted tasks per effort hour, compare the quality evidence, identify unsupported or non-comparable claims, and state what is still unknown. Do not turn case rows or activity counts into an employee score.
Analysis
Balance effort, accepted output, escaped defects, and rework before writing the Finding. Keep missing evidence visible and compare only the matched cohort described in the fixture.
Finding
Worked example: Compare accepted work, effort, and escapes
For the baseline, accepted-task throughput is 100 / 100 = 1 task per hour. P-1 also delivers 100 accepted tasks in 100 hours, so splitting cases into 200 rows does not double accepted output or throughput. Its five escapes, compared with one in the baseline, also contradict the claim of better quality.
P-2 delivers the same 100 accepted tasks in 80 hours: 100 / 80 = 1.25 tasks per hour, a 25% higher rate for this matched sample. The fixture also reports one escape in each cohort, comparable rework, and complete acceptance evidence, so P-2 supports a productivity improvement for this sample. P-3 cannot support a ranking because payment and copy work are compared by case count alone.
The calculations do not establish that a tool or process change caused the result. They also do not justify ranking individuals or teams.
| Candidate claim | Review result |
|---|---|
| P-1 says productivity doubled because cases were split into 200 rows | UNSUPPORTED; accepted output and effort remain 100 tasks in 100 hours, while escapes rise from one to five |
| P-2 says productivity improved for the matched sample | SUPPORTED by 100 accepted tasks in 80 hours, one escape, comparable rework, and complete acceptance evidence |
| P-3 ranks payment and copy teams by case count | NOT_COMPARABLE; the supplied basis does not match the work or establish a useful denominator |
Example finding: hand off the unsupported claim
| Field | Example wording |
|---|---|
| Finding | QPM-01: P-1 does not show doubled productivity; its accepted-task throughput is unchanged and the fixture reports more escapes |
| Source and trigger | Sanitized source fixture for the matched team, window, and complexity; trigger is a productivity claim based on split case rows |
| Expected concern | Counting rows instead of accepted work can inflate output while hiding a worse quality signal |
| Evidence state | known for the fixture calculation; it is not a real team measurement |
| Impact and priority | The claim may mislead planning or evaluation; priority remains NOT_SCORED because no business-impact rubric is supplied |
| Owner and open decision | The quality and delivery-metric owners confirm task acceptance, escape definitions, and intended use |
| Action and close condition | Deduplicate split cases, calculate accepted tasks per effort hour, and retain defect and rework evidence for the matched cohort |
| Validation | Recalculate from versioned records and trace accepted tasks and escapes to their source; do not compare or rank unmatched work |
| Stop condition | Do not use the result for ranking or rewards when task acceptance, complexity, or quality evidence is not comparable; escalate the intended use to the accountable owner |
The QPM finding keeps its source, trigger, expected concern, evidence state, impact, owner, close condition, and validation method together.
Decision
The accountable owner confirms the decision question and risk trade-off; the Skill does not make that choice.
Validation
Before closing a real project finding, run the stated validation and retain the raw artifact. The synthetic fixture demonstrates the calculation; it does not validate a team’s live data pipeline.
How a Finding enters the next stage
Handoff output
| Output field | Why it exists | Example status |
|---|---|---|
| Quality signal | Whether the change affected user risk or detection outcome | Evidence and source |
| Delivery signal | Whether feedback became faster under a comparable cohort | Window and denominator |
| Attribution limit | Other changes that could explain movement | Candidate confounders |
| Use boundary | How the result may be used safely | Team learning; governed uses need separate approval |
Every conclusion should point to a source, evidence state, and next action. If evidence is missing, use pending, blocked, unassessed, or NOT_SCORED instead of filling the gap with confidence.
Next-stage route
Route the follow-up by the gap:
| Gap | Next owner | Question to resolve |
|---|---|---|
| Before and after cohorts or windows are not comparable | Pipeline owner | Align scope, event definitions, and measurement windows before recalculating flow metrics |
| Quality outcomes are not linked to releases or changes | Quality or data platform owner | Add traceability or state that quality impact remains unassessed |
| Results may be used for team evaluation | Business and governance owners | Review intended use, privacy, and gaming risks; the analysis is not approval to rank |
Keep sources, evidence states, and validation actions in the handoff. The next stage must not turn correlation into causation.
How to prepare better input
Provide comparable windows, pipeline and release IDs, event definitions, changed-scope information, and known confounders. State whether the output is for planning, team learning, or another governed decision.
A useful handoff includes input versions, scope, time window, evidence index, assumptions, Human decision boundary, and the smallest validation action.
Working with other Skills
- Quality Metrics Design: https://inaodeng.com/en/qaskills/quality-metrics-design/ — defines the event and calculation rules.
- Quality Dashboard Design: https://inaodeng.com/en/qaskills/quality-dashboard-design/ — presents several signals with their evidence state.
- Automation ROI Analysis: https://inaodeng.com/en/qaskills/automation-roi-analysis/ — examines cost and value when automation is the change.
Common traps
- Using test count, commit count, or ticket closure as a stand-alone productivity score.
- Comparing teams with different risk, release volume, or denominator definitions.
- Calling a tooling change causal while ignoring flaky reruns, staffing changes, or scope reduction.
Best practices
- Compare matched tasks, complexity, tools, and windows. Balance effort or cost with accepted output, defects or escapes, waiting, and rework.
- Deduplicate split or merged cases and verify acceptance. A case or commit count does not equal delivered value.
- Check for dropped hard tests, unreported defects, deferred time, and reruns. Missing quality or rework evidence keeps a productivity claim unassessed.
- Use movement in the metrics to trigger investigation or the smallest verifiable experiment; record its conditions, versions, sources, and evidence. Metrics do not make automatic causal claims, reward, or ranking decisions.
First use: review one process change
- Choose one change and a baseline that covers comparable tasks, complexity, and time windows.
- Provide effort, accepted output, quality outcomes, waiting or rework, and the source records behind them.
- Ask the Skill to check the denominator, attribution limits, and gaming risks, then name the smallest validation action. Use the result for team learning before considering any governed use.
Put productivity metrics inside the quality loop
In daily QA, more AI-generated cases count as candidates, not accepted output. Review and deduplicate them against requirements, confirm acceptance, and record which build ran them. Compare the effort saved with escapes, dropped hard tests, retries, deferred work, and rework. Feed the findings into the next test set or process experiment; do not use case volume alone to claim higher productivity.
Install and invoke
Add this Skill to the current project:
npx skills add https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en --skill quality-productivity-metrics
Then invoke it by name with the project material:
Use the quality-productivity-metrics Skill.
Include objective, scope, versions, evidence paths, constraints, and decision boundary.
Audit inputs first, preserve evidence states, and finish with owner, close condition, and validation method.
FAQ
Can this Skill produce a team ranking?
It can organize comparable evidence, but ranking is a separate governance decision. Expose uncertainty and gaming risk before anyone uses it for evaluation.
What if quality data is missing?
Keep productivity and quality signals separate, mark the missing part unassessed, and name the smallest linkage or sampling action.
Does generating more AI test cases mean the team is more productive?
No. Generated cases are candidates until they are reviewed, deduplicated, accepted, and run. Compare the time spent on that work with accepted output, quality outcomes, retries, and rework rather than counting generated rows.
References
Source Skill and execution contract
The complete execution contract lives in the Quality Productivity Metrics prompt: https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/quality-productivity-metrics/prompts/quality-productivity-metrics.md. The worked calculations come from its sanitized synthetic fixture: https://github.com/naodeng/awesome-qa-skills/blob/main/skills/en/testing-types/quality-productivity-metrics/references/domain-decision-example.md.
The source Skill directory is available at: https://github.com/naodeng/awesome-qa-skills/tree/main/skills/en/testing-types/quality-productivity-metrics.
Further reading
- Quality Productivity Metrics details: https://inaodeng.com/en/qaskills/quality-productivity-metrics/
- Awesome QA Skills on GitHub: https://github.com/naodeng/awesome-qa-skills
More Resources
- Personal website: https://inaodeng.com/en/
- AI-generated test detection project: https://github.com/AI-Native-QA-Lab/ai-test-auditor
- DeepSeek QA Workbench: https://github.com/naodeng/dsh-qa
- More AI testing skills: https://inaodeng.com/en/qaskills/
- More testing wiki: https://inaodeng.com/en/wiki/
- More AI Wiki: https://inaodeng.com/en/AIWiki/