skills/ultraqa/SKILL.md
Autonomous QA cycling - verify, diagnose, fix, repeat until goal met (max 5 cycles)
npx skillsauth add sartoris-digital/pi-superpowers ultraqaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Autonomous QA cycling workflow that runs until your quality goal is met.
Cycle: Run verification → diagnose failures → fix → repeat (max 5 cycles)
Parse the goal from arguments:
| Invocation | Goal Type | Verification Command |
|------------|-----------|---------------------|
| --tests | tests | Project's test command |
| --build | build | Project's build command |
| --lint | lint | Project's lint command |
| --typecheck | typecheck | tsc --noEmit or equivalent |
| --custom "pattern" | custom | Run command and check for pattern |
If no structured goal provided, interpret the argument as a custom goal.
Execute the verification command based on goal type. Capture full output.
Dispatch bug-hunter at reasoning tier to analyze the failure:
subagent({
agent: "bug-hunter",
tier: "reasoning",
task: "DIAGNOSE QA FAILURE:\n\nGoal type: {GOAL_TYPE}\nCycle: {N} of 5\n\nVerification output:\n```\n{OUTPUT}\n```\n\nProvide:\n1. Root cause analysis for each failure\n2. Specific fix recommendations with file paths and line numbers\n3. Order fixes from most likely to resolve the issue to least"
})
Dispatch worker at standard tier to implement the recommended fixes:
subagent({
agent: "worker",
tier: "standard",
task: "FIX QA FAILURES:\n\nDiagnosis:\n{DIAGNOSIS}\n\nApply the recommended fixes precisely. Do not make unrelated changes."
})
Go back to Step 1.
| Condition | Action | |-----------|--------| | Goal met | "ULTRAQA COMPLETE: Goal met after N cycles" | | Cycle 5 reached | "ULTRAQA STOPPED: Max cycles reached. Remaining issues: ..." | | Same failure 3x | "ULTRAQA STOPPED: Same failure detected 3 times. Root cause: ..." |
Output progress each cycle:
[ULTRAQA Cycle 1/5] Running typecheck...
[ULTRAQA Cycle 1/5] FAILED - 3 type errors
[ULTRAQA Cycle 1/5] Diagnosing via bug-hunter...
[ULTRAQA Cycle 1/5] Fixing: subagent.ts - missing details field
[ULTRAQA Cycle 2/5] Running typecheck...
[ULTRAQA Cycle 2/5] PASSED - No errors
[ULTRAQA COMPLETE] Goal met after 2 cycles
| Placeholder | Source |
|-------------|--------|
| {GOAL_TYPE} | Parsed from arguments |
| {N} | Current cycle number |
| {OUTPUT} | Verification command output |
| {DIAGNOSIS} | Bug-hunter's analysis |
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions