What does QA Orchestration Entry (qa) do?
Translate "help me test this requirement" into a resumable, checkpoint-based pipeline. This skill is a thin orchestrator: it contains no testing methods or framework knowledge (those are in phase skills and core/), and it does not make decisions for the user.
When to Use
- "Help me test this requirement / feature", "Go through this feature completely", "Run a full test from requirements to report"
- The previous pipeline was interrupted and needs to be resumed from persisted artifacts
When NOT to Use
- Only a single-phase output is needed → use the corresponding phase skill:
requirement-analysis(requirement modeling),test-strategy(test strategy),test-case-writing(writing test cases),test-case-review(reviewing existing cases),automated-e2e-testing(E2E execution),api-testing(API execution),exploratory-testing(exploratory sessions),bug-analysis(Bug root cause),regression-testing(regression scope) - Editing/changing the methodology of a phase skill itself → do not pass through this skill
Orchestration Session Model (Context Isolation Between Phases)
- Each phase runs in an independent context (when the host supports sub-sessions/sub-agents): only the current phase skill's SKILL.md is loaded, plus on-demand references and the persisted artifact files from the previous phase; at any given moment, no more than 1–2 skills are active (current phase + this orchestrator)
- The main session holds only pipeline state: phase list, artifact file paths, checkpoint status — it does not load any phase skill's domain knowledge
- Degradation path: when the host does not support sub-sessions, or when the user runs the pipeline manually in a single session, it degrades to a sequential session + file-based handoff — correctness is unaffected (all state is in files), only context hygiene is lost
- Anti-pattern: sequentially loading all SKILL.md files into one session (9 skills × hundreds of instructions at once)
- Exception for injected form (2026-08-23 R4): under pre-injection deployment (benchmark or host injects all instructions at once), the isolation mechanism does not exist — in that case, prevent cross-interference by phase order: at any moment only the instructions of the current phase are executed, and the rest of the present files are treated as unloaded; the principle "files are pipeline state" applies to both forms (dual-form declaration in
../core/evidence.mdSection 6)
Pipeline and Persisted Artifacts (Files Are Pipeline State)
| # | Phase | skill | Persisted Artifact | Human Checkpoint |
|---|---|---|---|---|
| 0 | (Bypass, optional) Exploration first | exploratory-testing | {project}/exploration_notes_{topic}.md | — |
| 1 | Understand requirements | requirement-analysis | {project}/requirements_model.md (with clarification records) | ⏸ Clarification checkpoint: user decision on ambiguous/contradictory items |
| 2 | Test strategy | test-strategy | {project}/test_strategy.md (Risk Map + two-domain scope including type_scope) + handover_{axis}_{date}.yaml (when there are handoff/blocked/external-executor axes) | ⏸ Budget decision: when full-budget pruning touches Critical axes, present sorting proposal for user decision |
| 3 | Test case writing | test-case-writing | {project}/test_cases_markmap.md + test_cases.schema.yaml | — |
| 4 | Test case review | test-case-review | Revised test case files + review records (re-extract Schema) | — |
| 5 | Execution | automated-e2e-testing / api-testing / manual | Automated path: execution code or script (playwright/ or API test script) + execution sub-report (at least §2 execution statistics + §3 Bug list with fields per ../core/report-template.md); Manual path manual_execution_log_{date}.md | ⏸ Execution strategy decision: confirm automation_plan proposal (manual/e2e/api); after manual path execution ⏸ collect results (TC × result) |
| 6 | Bug analysis | bug-analysis (when confirmed bugs exist) | Intermediate artifact {project}/bug_entry_{date}.md (entry structure + five extended fields for root cause analysis per report-template §3) — no creation or overwriting of the final test report in this phase | ⏸ Bug classification checkpoint: expected vs defect |
| 7 | Regression verification | regression-testing (when code changes/bug fixes exist) | {project}/regression_checklist_{date}.md | — |
| 8 | Final report | This skill (per ../core/report-template.md) | {project}/test_report_{date}.md | — |
Bypass trigger condition: when documentation is missing or the system is unfamiliar, phase 0 runs before phase 1, and the exploration output (system understanding + risk list) serves as input for requirements modeling.
Manual execution path has no skill or automated artifacts — after execution, collect results from the user at the ⏸ result collection checkpoint, and persist
manual_execution_log_{date}.md(TC id × result [pass/fail/blocked], failure includes Bug id or observation): serves as data source for §2 execution statistics and §3 Bug list in the phase 8 report, preventing "not executed" from becoming a permanent status.Phase 6's
bug_entry_{date}.mdis a transient intermediate artifact: the final report is generated only in phase 8; during this period, bug entries have no place to be appended — first persist to the transient file, then in phase 8 they are assembled into report §3; after that, the report takes precedence, and that file is archived for traceability, avoiding dual data sources. Thehandover_{axis}_{date}.yamlgenerated in phase 2 also enters the main session's state tracking: if any subsequent phase output or user feedback changes the handover axis status, updateexecution_statusin the yaml synchronously to prevent the handover package from being generated and then lost.
Workflow
1. Start: Intent Recognition and Routing
- User intent is end-to-end pipeline → continue with this skill
- User intent is single-phase output → hand over to the corresponding phase skill, this skill exits
- Before starting, collect input (user provides or points the way; leave TODO at artifact locations indicating "who to get what from"): requirements materials, code repository, test environment and accounts
2. Checkpoint Check (Resume)
Check which persisted artifacts already exist under {project}/, continue from after the last complete phase, do not redo completed phases. If an artifact is missing or corrupted, rerun from that phase.
3. Schedule Phase Skills in Pipeline Order
- Each phase: call the corresponding skill in an independent context (or degrade to sequential calls), input = path to the persisted artifact file from the previous phase (not session memory)
- Checkpoint pause: when encountering a ⏸ step, present the questions/proposals summarized by that phase's skill to the user, wait for the user's response before proceeding to the next phase; explicit user clarifications have final decision authority (see
../core/evidence.mddecision rules), and subsequent phases must not override them - If phase artifact fails to persist (file not generated) → rerun that phase, do not proceed to the next phase
4. Final: Generate Test Report
After all phases are complete (or if the user requests an early wrap-up), load ../core/report-template.md (loaded at this point) and generate {project}/test_report_{date}.md: scope, execution statistics (merge automated run results and manual execution logs), Bug list (assemble phase 6's bug_entry_{date}.md and sync status per entry — those with regression results are updated to "verified closed" or "fixed, pending verification"; those not regressed remain "new"), risk residue, regression summary, type-domain-specific results normalized per axis per report-template §7 (handoff / external execution / blocked / exclude), unclosed items (including current status and destination for each axis in the handover yaml), and an index of all phase artifact paths.
5. Deliver
Report to the user: final report path + list of all phase artifacts + unclosed items (TODO ownership).
Hard Rules
- Do not make decisions: clarifications, execution strategy, bug classification, budget decisions — always present questions and suggestions, then wait for the user; do not decide for the user
- Contain no domain knowledge: testing methods and framework knowledge are entirely in phase skills and
core/; the only legitimate failure of this skill is an orchestration error, not a test judgment error - All state is in files: after any session interruption, the pipeline can be resumed based on the persisted artifacts under
{project}/ - Phase artifact consumption goes through files: what is passed across phases is the artifact path, not a verbal summary within the session
Common Mistakes
| Mistake | Consequence | Correct Practice |
|---|---|---|
| Loading all phase skill SKILL.md files into the same session | Instruction conflicts, context explosion | Context isolation between phases; main session holds only state |
| Starting the full pipeline for a single-phase intent | Over-execution, waste | After intent recognition, hand over to the corresponding phase skill |
| Answering checkpoints yourself (deciding for the user) | Decisions invalid, subsequent phases based on wrong assumptions | ⏸ steps must wait for user response |
| Resuming from session memory (not reading persisted files) | State lost/inconsistent after interruption | Checkpoint check only looks at files |
| Putting testing methodology in the orchestrator layer | Breaks thin orchestration, hard to maintain | All methodology goes to phase skills and core/ |
| Phase 6 creating/overwriting the final test report early | Duplicate writing to the same name in phase 8, dual data sources | Bug entries first go to bug_entry_{date}.md transient file; assemble in the final report |