qa-cycle
Skill4 starsChanged 5 months agoMITView on GitHub
QA + bugfix cycle until it passes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- DrunkenDealer/claude-code-qa-cycletheir own version, first seen Oct 26, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- DrunkenDealer/claude-code-qa-cycle★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-featureSkill
- councilSkill
- create-prSkill
- debugSkill
- guild-specializeSkill
- re-specializeSkill
- tddSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 8 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
After implementing changes that need validation
- Distinctive: line 50
Before invoking the QA agent, run the project verification commands.
- Very specific: line 52
Run project tests (e.g., npm test) — record result and output
- Very specific: line 53
Run project lint (e.g., npm run lint) — record result and output
- Distinctive: line 54
If any fail, this becomes input for the QA report as an automatic Blocker bug
- Very specific: line 60
Read .claude/agents/qa.md to assume the QA role
- Distinctive: line 61
Read CLAUDE.md for context
- Distinctive: line 63
If tests or lint failed, include them as Blocker bugs in the report
- Very specific: line 70
If QA reports bugs (including test/lint failures), invoke the Bugfix agent using Task tool with model: "sonnet" (execution tier):
- Very specific: line 72
Read .claude/agents/bugfix.md to assume the Bugfix role
- Distinctive: line 76
Verify that the fix resolves the issue
- Distinctive: line 77
Run tests and lint to confirm no regressions were introduced
- Distinctive: line 88
Approved: All criteria pass, no pending bugs
- Very specific: line 106
When spawning QA or Bugfix agents via the Task tool, always use subagent_type: "general-purpose".
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QA Cycle
Runs a QA validation cycle followed by bugfix until all criteria pass clean. Useful for validating implementations without the full build-feature pipeline.
When to use
- After implementing changes that need validation
- To verify that a bug fix did not introduce regressions
- As a final cycle before creating a PR
Usage
/qa-cycle
Process
Step 1 — Automated verification (mandatory)
Before invoking the QA agent, run the project verification commands. The specific commands are in the "CLI commands" section of CLAUDE.md:
- Run project tests (e.g.,
npm test) — record result and output - Run project lint (e.g.,
npm run lint) — record result and output - If any fail, this becomes input for the QA report as an automatic Blocker bug
Step 2 — QA Validation
Invoke the QA agent using Task tool with model: "sonnet" (execution tier):
- Read
.claude/agents/qa.mdto assume the QA role - Read CLAUDE.md for context
- Receive the test and lint results from Step 1
- If tests or lint failed, include them as Blocker bugs in the report
- Review the acceptance criteria for the current task (if provided)
- Validate edge cases and error scenarios
- Report results
Step 3 — Bugfix (if there are bugs)
If QA reports bugs (including test/lint failures), invoke the Bugfix agent using Task tool with model: "sonnet" (execution tier):
- Read
.claude/agents/bugfix.mdto assume the Bugfix role - Receive the QA bug report as input
- Diagnose the root cause of each bug
- Implement the minimal fix
- Verify that the fix resolves the issue
- Run tests and lint to confirm no regressions were introduced
Step 4 — Re-validation
Return to Step 1 (automated verification) to re-validate after the bugfix. Maximum 3 verification-QA-bugfix cycles to prevent infinite loops.
Step 5 — Final result
Present the result:
- Approved: All criteria pass, no pending bugs
- With warnings: Passes but there are minor warnings
- Rejected: There are critical bugs that could not be resolved — escalate to the Tech Lead
Example Session
User: /qa-cycle
QA (sonnet) — Cycle 1: 2 of 5 criteria pass. Bug: form validation missing on email field.
Bugfix (sonnet) — Added email regex validation to UserForm component.
QA (sonnet) — Cycle 2: 5 of 5 criteria pass. 0 bugs.
Result: Approved.Subagent Configuration
When spawning QA or Bugfix agents via the Task tool, always use subagent_type: "general-purpose". Guild agent role names are NOT valid Claude Code subagent_types.
Example:
Task tool with:
subagent_type: "general-purpose"
model: "sonnet"
prompt: "Read .claude/agents/qa.md and assume that role. Then: [task description]"The model parameter is resolved from the step's model-tier: qa-validate and bugfix use execution→"sonnet".
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

