Agent qa debug fix

From FrancoStino/opencode-skills-collection · View interactive version

Agent qa debug fix is an AI agent skill from the GitHub repository FrancoStino/opencode-skills-collection. Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.

How to use this skill

Skill file

Agent QA Debug Fix

Overview

Repair a failed Agent QA run from recorded evidence and the relevant local source. Treat the classifier as a hypothesis, make the smallest justified change, and verify the narrowest affected behavior without rewriting a test merely to conceal a real defect.

When to Use

Preconditions and Approval Boundary

Workflow

  1. Start with evidence collection:
  1. Call agent_qa_classify_failure and treat its category as a hypothesis, not a verdict.
  2. Identify the failing surface: test definition, hook, application under test, runtime infrastructure, or agent behavior.
  3. Inspect the relevant local files directly. Do not infer patches from artifacts alone.
  4. Explain the evidence-to-change link, then apply the smallest code or YAML change that accounts for the evidence.
  5. Validate any changed Agent QA definition before execution.
  6. Re-run the narrowest affected Agent QA test, suite, hook, or unit test within the approved environment.
  7. Report the root cause, changed files, verification command or MCP action, result, and remaining risk.

Fix Rules

Example

User: Fix the failed staging checkout run, but do not touch production.

Expected handling: collect the failed run evidence, classify it, inspect the implicated local
definition and application code, patch only the evidenced cause, validate, rerun the single
staging test, and report changed files plus remaining uncertainty.

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.