assessing-release-readiness
Produce an evidence-backed go / no-go assessment for a Qase release scope — a milestone, a test plan, or a set of runs. Use when the user asks whether they are ready to ship, release, or cut a version; for a go/no-go, a release sign-off, or a quality gate; what is blocking the release or holding it up; whether a milestone or sprint is done; how a release is tracking; or whether it is safe to deploy.
- License 许可
- MIT
- 最近更新
- 2026-11-04
- Stars
- ★ 7
- Forks
- 0
01 前言 Front Matter
- name
- assessing-release-readiness
- description
- Produce an evidence-backed go / no-go assessment for a Qase release scope — a milestone, a test plan, or a set of runs. Use when the user asks whether they are ready to ship, release, or cut a version; for a go/no-go, a release sign-off, or a quality gate; what is blocking the release or holding it up; whether a milestone or sprint is done; how a release is tracking; or whether it is safe to deploy.
03 SKILL.md 正文
Quality Supervisor — Release-Readiness Assessment
Answer one question with evidence: can we ship?
Read the plugin's references/qql.md before writing any query — it sits two
levels up from this skill's directory (../../references/qql.md). Field names
differ per entity and a wrong name is a hard error, not an empty result.
When to use
- "Are we ready to release <milestone>?" / "Give me a go/no-go for 2.3."
- "What's blocking the release?" / "Quality gate status."
The failure mode this skill exists to avoid
A release gate built on failure counts says GO when it should say "I don't know". Three ways that happens, all confirmed against real projects:
- Nothing ran. A run with 72 tests and 72 untested has zero failures. Zero failures reads as green; it means the testing hasn't happened.
- Defects aren't tracked in Qase. A project with no defects at all yields no blocking defects. That is not a clean bill of health, it is a blind spot.
- The scope resolved to nothing. An empty query result and a passing scope look identical if you only count failures.
So: before assessing, establish that you are looking at something. If scope, execution, or defect data is absent, the answer is "insufficient evidence", not GO.
Prerequisites
- A project code and a release scope. If the user hasn't named one, ask which milestone, plan, or runs define the release — do not default to the whole project.
- QQL access (Teams/Enterprise), plus
qase_apifor cross-checks.
Tools
qase_project_context— project, milestones, environments. Call first.qql_search— scope resolution, defects, flaky cases.qase_api— run listings and stats, and the REST cross-check in step 6.- Delegate depth:
analyzing-test-coveragefor untested scope,analyzing-test-flakinessfor stability risk.
Workflow
Copy this checklist into your reply and tick items off as you go. A dimension skipped silently produces a verdict that looks complete and isn't — which is the specific failure this skill exists to prevent.
Readiness assessment:
- [ ] Scope resolved and non-empty (step 1)
- [ ] Execution progress, with untested counted (step 2)
- [ ] Pass rate, denominator stated (step 3)
- [ ] Blocking defects — from REST, and defect tracking confirmed in use (step 4)
- [ ] Untested scope and stability risk (step 5)
- [ ] Decisive numbers cross-checked against the other source (step 6)
- [ ] Verdict with the bar stated (step 7)
If you cannot complete an item, say so in the report under Data confidence rather than dropping it — an unassessed dimension is Unknown, not Pass.
1. Resolve the scope — by title, never by ID
milestone and plan match titles, not IDs. milestone = 1 fails with
invalid value: 1, and run in (1, 2) fails the same way.
entity = "run" and project = "CODE" and milestone = "Release 2.3"
entity = "run" and project = "CODE" and plan = "Regression suite"
entity = "run" and project = "CODE" and id = 512
Get the titles from qase_project_context. If the milestone yields no runs, say
so and stop for instructions — an empty scope cannot be assessed.
Do not scope results by milestone. result.milestone is inherited from the
case, not from the run, so on a project where runs carry the milestone but
cases don't, entity = "result" and milestone = "…" returns nothing while the
runs plainly have results. Go through the runs.
2. Execution progress — from run stats, and mind untested
Each run entity carries a stats object: total, untested, passed,
failed, blocked, skipped, retest, in_progress, invalid. Sum it across
the scope's runs. This is exact and costs nothing beyond the queries you already
ran.
- executed =
total − untested - execution progress = executed ÷ total
untested is the number that decides most real go/no-go calls, and it is the one
a failure-count approach never sees. Report it before anything else. Anything
materially short of full execution is At risk at best, regardless of how
clean the executed part looks.
3. Pass rate — state the denominator
pass rate = passed ÷ executed, not ÷ total. Dividing by total conflates "not run" with "failed"; dividing by executed and hiding the untested count flatters the release. Report both numbers together.
For the failure breakdown in one call:
SELECT (status, COUNT(*)) entity = "result" and project = "CODE" and run = "<run title>" GROUP BY status
Aggregated responses return status as an integer: 1 = Passed, 2 = Failed, 3 = Blocked, 4 = Retest, 5 = Skipped, 8 = Invalid.
Weight by priority or severity only after checking they're populated — see
analyzing-test-coverage step 5. If most cases are "Not set", say the project has
no usable risk metadata instead of ranking on a handful of tagged cases.
4. Blocking defects — use REST, not QQL
Do not source this dimension from QQL. Its index is incomplete over historical defects, and the gap runs in the one direction that produces a false GO. Measured across several real projects: where 17 open blocker+critical defects existed, QQL returned 9; where 4 existed, it returned 1; and on two projects with 1 and 3 real blockers, it returned zero. A gate built on it will clear a release that has blockers.
QQL is accurate on defects it has indexed — verified with freshly created ones, where every count and severity filter matched REST exactly. The problem is that a real project's blockers are usually not fresh.
Get the truth from REST via qase_api:
GET /v1/defect/{code} → total defects (is tracking used at all?)
GET /v1/defect/{code}?status=open → read `filtered` for the open count
Page the open list (limit=100, offset) and tally severity from the rows.
REST does not filter by severity — the parameter is ignored — but every row
carries it, so tally client-side. Note the representations differ: REST returns
severity as a string ("blocker", "critical", "undefined"), while QQL
aggregates return it as an integer.
Then interpret:
- total = 0 → the project doesn't track defects in Qase. This dimension is Unknown, never Pass. The team's blockers live somewhere this assessment cannot see; say so.
- any open
blockerorcritical→ NO-GO by default. - open defects with severity
undefined→ report as their own line. These are untriaged, and they are usually the largest group (40 of 70 open on one project, 5 of 5 on another). An unclassified defect may well be a blocker nobody has looked at, so it cannot be counted as safe.
Defect status values are Open, In progress, Resolved, Invalid.
Scope defects to the release with the milestone when they carry one; if they don't, assess project-wide and say that's what you did.
5. Untested scope and stability risk
- Untested scope: the
untestedcount from step 2 is the direct answer. For which areas are uncovered, invokeanalyzing-test-coverage. - Stability risk: flaky tests inside the scope inflate or mask failures.
entity = "case" and project = "CODE" and isFlaky = true
For a real assessment rather than the flag's word, invoke
analyzing-test-flakiness — the flag is often stale or unset. Flaky reds must be
separated from real reds before you conclude anything about the pass rate.
6. Cross-check the numbers before deciding
QQL and REST are different views of the same data and they frequently disagree. Measured across 34 projects, 20 of 52 entity counts differed, and the direction depends on the entity: QQL reports more cases, runs, and results than REST (runs often exactly 2×, results up to 164×; it also returns runs REST answers "Run not found" for), but fewer defects — sometimes none at all.
So neither source is simply "the fresher one". Pick per dimension: run stats and execution from the runs (step 2), defects from REST (step 4), and verify anything a decision rests on:
GET /v1/run/{code}?limit=100 → runs and their stats
GET /v1/result/{code}?run={id}&status=failed → read `filtered`, not `total`
If the two sources disagree, report the disagreement as part of the finding and lower your confidence. Do not average them or pick the friendlier one. A release decision resting on a number the product's own UI won't reproduce is worse than no decision.
7. Decide, and be explicit about the bar
Ask the user for the team's gate policy. If they don't have one, state the bar you applied rather than presenting it as objective.
- GO — scope fully executed, pass rate above the bar, no open blocker/critical, untested scope empty, stability understood.
- GO WITH RISKS — minor gaps, each listed with its mitigation and owner.
- NO-GO — an open blocker or critical, untested critical scope, or pass rate below the bar.
- INSUFFICIENT EVIDENCE — scope resolved empty, execution materially incomplete, or defect tracking unused. This is a real verdict; use it instead of guessing. It is not the same as NO-GO, and the difference tells the team what to go do.
A single open blocker or critical in scope defaults to NO-GO. Say so plainly and leave any waiver to the human.
Output format
## Release Readiness — <PROJECT> / <scope: milestone|plan|runs>
_Generated by Qase Quality Supervisor · assessing-release-readiness skill_
RECOMMENDATION: <GO | GO WITH RISKS | NO-GO | INSUFFICIENT EVIDENCE>
Bar applied: <the thresholds used, and whose policy they are>
### Quality gate
| Dimension | Status | Detail |
|---|---|---|
| Execution progress | P/AR/F | <executed>/<total> (<x>%) · untested: <n> |
| Pass rate | P/AR/F | <passed>/<executed> (<x>%) · failed: <n> |
| Blocking defects | P/AR/F/Unknown | <n> open blocker+critical · <n> untriaged <or "project tracks no defects"> |
| Untested scope | P/AR/F | <n> tests never executed in scope |
| Stability risk | P/AR/F | <n> flaky in scope <or "not assessed"> |
### Blockers (must clear before GO)
1. <item> — <owner / next step>
### Risks accepted (if GO WITH RISKS)
- <item> — <mitigation>
### Data confidence
<any QQL/REST disagreement, empty scopes, or unpopulated metadata that limits
this assessment>
### Evidence
<the queries and API calls used, verbatim>
---
_Generated by Qase Quality Supervisor · assessing-release-readiness skill_
Guardrails
- Read-only. Creating a run (
qase_regression_run) or recording results needs explicit approval. - Never call a
*_deletetool. (A hook blocks them anyway.) - Make the bar explicit; ask for the team's policy rather than inventing one.
- Never report a dimension as Pass because its data is absent — absent data is Unknown.
- Always show
untestednext to the pass rate. - Separate flaky reds from real reds before concluding.
- Scope by title, not ID, and confirm the scope is non-empty before assessing.
- Surface QQL/REST disagreement instead of resolving it silently.
04 同仓库更多 Skills
triaging-test-failures
Triage the failures in a Qase test run: cluster them by error signature, separate real product bugs from automation, environment, and flaky noise, and file defects. Use when the user asks to triage a run; why a run, a build, or the tests in it failed; why last night's or the latest run failed or is red; what broke; to investigate, group, cluster, or classify failures; which failures are real bugs versus noise; or to file defects for a failed run.
reporting-quality-pulse
Build a visual "Quality Pulse" report card for a Qase project over any period the user chooses — daily, weekly, biweekly, monthly, sprint, or a custom date range. A styled HTML card summarizing test execution, pass rate, defect backlog, case activity, and active users for that window. Use this whenever the user asks for a quality pulse, QA pulse, quality/test report card, test health summary, sprint QA snapshot, release health check, or any "how is testing going" overview for a Qase project over some period, even if they don't say the word "pulse".
linking-test-cases
Link a repository's autotests to Qase test cases by meaning: propose a mapping for confirmation, write the confirmed case IDs into the test code in each Qase reporter's own syntax, and mark the linked cases Automated. Use when the user asks to link, map, match, or connect autotests or automated tests to Qase cases; to add Qase IDs, QaseId annotations, or case IDs to tests; why tests don't match their cases in Qase; or why automated results land in Qase as new cases instead of the existing ones.
analyzing-test-flakiness
Find genuinely flaky tests in a Qase project — cases that both pass and fail — and separate them from tests that are simply broken. Use when the user asks which tests are flaky, unreliable, unstable, intermittent, or non-deterministic; about test stability, flakiness, or the flake rate; which tests pass sometimes and fail other times, or fail randomly; which tests to quarantine, mute, or flag as flaky; or whether a specific test is flaky or a real regression.
analyzing-test-coverage
Find where a Qase project's test coverage is thin. Use when the user asks about test coverage or coverage gaps; what isn't tested, untested areas, or what is missing tests; which cases are still manual, not automated, or yet to be automated; which cases have never been run or executed; which suites are empty, thin, or hold no cases; how much of the project is automated; which cases are stale or outdated; or wants test cases drafted to close a gap.
analyzing-change-impact
Analyze what a feature branch changes and produce a QA-facing impact analysis plus a regression/new checklist, grounded in the project's existing Qase cases. Use when the user asks for an impact analysis, change impact, risk analysis, or blast radius of a branch or PR; what QA should test for these changes; a QA checklist or test plan for a branch; what could break; or which existing tests to re-run before merging. Reads the repository diff and Qase; renders an HTML report.