Autonomous QA Loop
Use this skill to draft a neutral prompt for a fresh independent QA agent. The
purpose is to keep each review pass free of prior debugging context, suspected
bugs, expected conclusions, and implementation bias.
This is useful when ordinary self-checks plateau: the same agent can find some
issues, but later passes often inherit the same assumptions. A fresh,
history-free reviewer can surface different defects when given only the
original goal, concrete artifacts, and authoritative context.
Use the prompt as part of a loop. For broad scopes, split the target into
module-level review packets and send each packet to a separate fresh agent in
parallel. Triage the combined findings in the main thread, fix only confirmed
issues, then start another fresh-agent pass with newly generated neutral
prompt(s). Repeat until independent passes stop surfacing meaningful defects or
concerns.
Keep validation lean. The generated prompt should discourage reviewers from
adding audit gates, governance gates, broad compliance checks, heavyweight
validation pipelines, or process-only safeguards unless the original goal or
production safety explicitly requires them. Validation should cover only the
necessary core behavior and avoid wasting runtime, cost, or performance.
Hard Format
The review prompt must contain exactly these four English top-level sections,
in this order:
Background
Goal (Original Request)
Review Target
Relevant Context Documents
Do not add other top-level sections. Do not add sections such as Known Issues,
Focus Areas, Expected Findings, Suggested Checks, My Diagnosis, or
similar leading guidance.
Neutrality Rules
- Keep the prompt neutral. Do not disclose suspected bugs, intended fixes,
expected conclusions, or prior reviewer opinions.
- Describe the original user/business requirement in
Goal (Original Request); do not
rewrite it as the implementation's intended behavior unless that came from the
original requirement.
- Put raw artifacts in
Review Target: changed files, diffs, commits, output paths,
test logs, or commands that define what should be reviewed.
- Put context sources in
Relevant Context Documents: authoritative docs, schemas, project
plans, and files the reviewer may read.
- If some old documents, old code paths, archived branches, or stale generated
outputs are obsolete, state that fact in
Background.
- If some scope must not be reopened, state it in
Background. Examples: do not
revisit model-training policy, do not redesign portfolio logic, do not review
deprecated V1/V2/V3 paths.
- For broad reviews, split the target into neutral module-level prompts when
possible. Each prompt must remain self-contained and use the same four-section
structure.
- Ask reviewers to report concrete defects and plausible concerns. They should
include evidence, uncertainty, and reproduction or verification hints when
available. They should not suppress suspicious findings merely because they
are not fully proven. The main thread decides whether each item is truly a
bug.
- Keep validation lightweight and production-relevant. Do not ask reviewers to
propose audit gates, governance gates, broad compliance checks, heavyweight
validation pipelines, or process-only safeguards unless the original goal or
production safety explicitly requires them.
Section Content
Background must explain the current facts the reviewer should accept before
starting:
- Current source of truth for facts, docs, data, and code.
- Which historical docs/code/output paths are deprecated or out of scope.
- Which scope boundaries are fixed and must not be re-litigated.
- Any environment constraints that matter for interpreting the review object.
Goal (Original Request) must preserve the user's original request:
- Quote or paraphrase the original requirement faithfully.
- Include acceptance criteria only when they came from the original request or
an authoritative current doc.
- Do not include implementation diagnosis.
Review Target must identify the concrete artifacts to inspect:
- File paths, commit IDs, diff ranges, output directories, generated reports,
or test commands.
- Prefer exact paths and raw evidence over summaries.
- Include enough artifacts for review, but do not include expected issues.
- For large scopes, keep each prompt focused on one module, subsystem, workflow,
or test surface so multiple fresh reviewers can work in parallel.
- Ask the reviewer to cover only necessary core behavior. Avoid validation work
that adds runtime, cost, performance impact, or process overhead without clear
production value.
Relevant Context Documents must list documents the reviewer may use:
- Current authoritative context docs.
- Current schemas, enums, interfaces, or design notes needed to judge the change.
- Explicit notes when a listed document supersedes older material.
Template
Use this exact skeleton and fill only what is known:
Background
<Current source-of-truth facts. State deprecated/out-of-scope docs or code.
State fixed boundaries that the reviewer must not reopen.>
Goal (Original Request)
<The original user requirement, as neutrally and faithfully as possible.>
Review Target
<Concrete artifacts to review: files, diffs, commits, outputs, commands, logs.
Ask the reviewer to report concrete defects and plausible concerns with
evidence, uncertainty, and verification hints when available. Ask the reviewer
to keep validation lightweight and production-relevant, and to avoid proposing
new audit/governance gates unless they are necessary for the original goal or
production safety.>
Relevant Context Documents
<Authoritative docs and context files the reviewer may read.>
QA Loop
After a reviewer completes one pass:
- Triage all reported defects, plausible concerns, and risk signals in the
main thread.
- Fix only issues confirmed by the main thread, and reject validation work that
adds process cost without core production value.
- Do not reuse a reviewer's conversation as context for the next reviewer.
- Generate new neutral prompt(s) with the same four-section structure.
- Split broad scopes into module-level prompts and run fresh reviewers in
parallel when possible.
- Repeat until fresh reviewers stop surfacing meaningful defects or concerns.
Final Check
Before sending the review prompt, verify:
- It has exactly four top-level sections.
- It does not mention known issues, suspected bugs, expected findings, or focus
areas outside the four required sections.
Background states source-of-truth, deprecated material, and non-reopenable scope.
Review Target is artifact-based and reviewable without hidden conversation
context.
1---2name: autonomous-qa-loop3description: Create neutral autonomous QA-loop prompts for fresh, independent, history-free agents reviewing complex code changes, with module-level parallel review packets, broad reporting of plausible concerns, and lightweight production-focused validation. Use when the user says QA loop, autonomous QA loop, automated QA loop, independent review, fresh agent review, parallel QA agents, vibe coding QA, subagent review, reviewer prompt, audit agent, or asks to repeatedly find bugs without leading the reviewer toward suspected issues, prior conclusions, existing debugging context, or heavyweight audit/gate processes.4---5
6# Autonomous QA Loop
7
8Use this skill to draft a neutral prompt for a fresh independent QA agent. The
9purpose is to keep each review pass free of prior debugging context, suspected
10bugs, expected conclusions, and implementation bias.
11
12This is useful when ordinary self-checks plateau: the same agent can find some
13issues, but later passes often inherit the same assumptions. A fresh,
14history-free reviewer can surface different defects when given only the
15original goal, concrete artifacts, and authoritative context.
16
17Use the prompt as part of a loop. For broad scopes, split the target into
18module-level review packets and send each packet to a separate fresh agent in
19parallel. Triage the combined findings in the main thread, fix only confirmed
20issues, then start another fresh-agent pass with newly generated neutral
21prompt(s). Repeat until independent passes stop surfacing meaningful defects or
22concerns.
23
24Keep validation lean. The generated prompt should discourage reviewers from
25adding audit gates, governance gates, broad compliance checks, heavyweight
26validation pipelines, or process-only safeguards unless the original goal or
27production safety explicitly requires them. Validation should cover only the
28necessary core behavior and avoid wasting runtime, cost, or performance.
29
30## Hard Format
31
32The review prompt must contain exactly these four English top-level sections,
33in this order:
34
35```text
36Background
37Goal (Original Request)
38Review Target
39Relevant Context Documents
40```
41
42Do not add other top-level sections. Do not add sections such as `Known Issues`,
43`Focus Areas`, `Expected Findings`, `Suggested Checks`, `My Diagnosis`, or
44similar leading guidance.
45
46## Neutrality Rules
47
48- Keep the prompt neutral. Do not disclose suspected bugs, intended fixes,
49 expected conclusions, or prior reviewer opinions.
50- Describe the original user/business requirement in `Goal (Original Request)`; do not
51 rewrite it as the implementation's intended behavior unless that came from the
52 original requirement.
53- Put raw artifacts in `Review Target`: changed files, diffs, commits, output paths,
54 test logs, or commands that define what should be reviewed.
55- Put context sources in `Relevant Context Documents`: authoritative docs, schemas, project
56 plans, and files the reviewer may read.
57- If some old documents, old code paths, archived branches, or stale generated
58 outputs are obsolete, state that fact in `Background`.
59- If some scope must not be reopened, state it in `Background`. Examples: do not
60 revisit model-training policy, do not redesign portfolio logic, do not review
61 deprecated V1/V2/V3 paths.
62- For broad reviews, split the target into neutral module-level prompts when
63 possible. Each prompt must remain self-contained and use the same four-section
64 structure.
65- Ask reviewers to report concrete defects and plausible concerns. They should
66 include evidence, uncertainty, and reproduction or verification hints when
67 available. They should not suppress suspicious findings merely because they
68 are not fully proven. The main thread decides whether each item is truly a
69 bug.
70- Keep validation lightweight and production-relevant. Do not ask reviewers to
71 propose audit gates, governance gates, broad compliance checks, heavyweight
72 validation pipelines, or process-only safeguards unless the original goal or
73 production safety explicitly requires them.
74
75## Section Content
76
77`Background` must explain the current facts the reviewer should accept before
78starting:
79
80- Current source of truth for facts, docs, data, and code.
81- Which historical docs/code/output paths are deprecated or out of scope.
82- Which scope boundaries are fixed and must not be re-litigated.
83- Any environment constraints that matter for interpreting the review object.
84
85`Goal (Original Request)` must preserve the user's original request:
86
87- Quote or paraphrase the original requirement faithfully.
88- Include acceptance criteria only when they came from the original request or
89 an authoritative current doc.
90- Do not include implementation diagnosis.
91
92`Review Target` must identify the concrete artifacts to inspect:
93
94- File paths, commit IDs, diff ranges, output directories, generated reports,
95 or test commands.
96- Prefer exact paths and raw evidence over summaries.
97- Include enough artifacts for review, but do not include expected issues.
98- For large scopes, keep each prompt focused on one module, subsystem, workflow,
99 or test surface so multiple fresh reviewers can work in parallel.
100- Ask the reviewer to cover only necessary core behavior. Avoid validation work
101 that adds runtime, cost, performance impact, or process overhead without clear
102 production value.
103
104`Relevant Context Documents` must list documents the reviewer may use:
105
106- Current authoritative context docs.
107- Current schemas, enums, interfaces, or design notes needed to judge the change.
108- Explicit notes when a listed document supersedes older material.
109
110## Template
111
112Use this exact skeleton and fill only what is known:
113
114```text
115Background
116<Current source-of-truth facts. State deprecated/out-of-scope docs or code.
117State fixed boundaries that the reviewer must not reopen.>
118
119Goal (Original Request)
120<The original user requirement, as neutrally and faithfully as possible.>
121
122Review Target
123<Concrete artifacts to review: files, diffs, commits, outputs, commands, logs.
124Ask the reviewer to report concrete defects and plausible concerns with
125evidence, uncertainty, and verification hints when available. Ask the reviewer
126to keep validation lightweight and production-relevant, and to avoid proposing
127new audit/governance gates unless they are necessary for the original goal or
128production safety.>
129
130Relevant Context Documents
131<Authoritative docs and context files the reviewer may read.>
132```
133
134## QA Loop
135
136After a reviewer completes one pass:
137
1381. Triage all reported defects, plausible concerns, and risk signals in the
139 main thread.
1402. Fix only issues confirmed by the main thread, and reject validation work that
141 adds process cost without core production value.
1423. Do not reuse a reviewer's conversation as context for the next reviewer.
1434. Generate new neutral prompt(s) with the same four-section structure.
1445. Split broad scopes into module-level prompts and run fresh reviewers in
145 parallel when possible.
1466. Repeat until fresh reviewers stop surfacing meaningful defects or concerns.
147
148## Final Check
149
150Before sending the review prompt, verify:
151
152- It has exactly four top-level sections.
153- It does not mention known issues, suspected bugs, expected findings, or focus
154 areas outside the four required sections.
155- `Background` states source-of-truth, deprecated material, and non-reopenable scope.
156- `Review Target` is artifact-based and reviewable without hidden conversation
157 context.