Skip to content
cccskills
FreePublished on GitHub

qa-cycle

QA + bugfix cycle until it passes

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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:

  1. Run project tests (e.g., npm test) — record result and output
  2. Run project lint (e.g., npm run lint) — record result and output
  3. 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):

  1. Read .claude/agents/qa.md to assume the QA role
  2. Read CLAUDE.md for context
  3. Receive the test and lint results from Step 1
  4. If tests or lint failed, include them as Blocker bugs in the report
  5. Review the acceptance criteria for the current task (if provided)
  6. Validate edge cases and error scenarios
  7. 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):

  1. Read .claude/agents/bugfix.md to assume the Bugfix role
  2. Receive the QA bug report as input
  3. Diagnose the root cause of each bug
  4. Implement the minimal fix
  5. Verify that the fix resolves the issue
  6. 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".

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Full pipeline: evaluation -> spec -> implementation -> review -> QA

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

Convenes multiple agents to debate an important decision

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

Create a pull request from the current branch with structured summary

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

debug

Free

Discipline skill — systematic debugging process. Use when encountering any bug, debug issue, test failure, broken function, or unexpected behavior, before proposing fixes.

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

Enriches CLAUDE.md by exploring the project and specializes agents to the real stack

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

Incremental re-specialization — re-scans the project and updates only auto-generated zones in CLAUDE.md and agents

The English summary is being prepared. Showing the original description.

Guild-Agents/guild4Updated Jul 21, 2026

See all skills by Guild-Agents

Report a problem with this skill