Skip to content
cccskills
FreePublished on GitHub

agent-qa-debug-fix

Investigate failed Agent QA runs using logs, recorded artifacts, and local source code. Make a focused code or test-definition repair, then verify the affected behavior while keeping product and infrastructure defects visible.

OriginalShow the original description

Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.

See how to install

Good for

  • Repair a failed staging test from recorded evidence
  • Update an outdated Agent QA YAML definition
  • Distinguish test failures from product or infrastructure defects
  • Verify a fix with a narrowly scoped rerun

Files included (1)

  • SKILL.md4.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  • A failed Agent QA run has already been triaged and now requires a code or YAML repair.
  • Artifacts and logs point to a test, hook, product, runtime, or agent-behavior defect.
  • A proposed fix must be verified with the narrowest Agent QA or unit-test rerun.
  • The user asks to self-heal or update a stale Agent QA definition from evidence.

Preconditions and Approval Boundary

  • Confirm the repository, workspace, target environment, and files the user authorizes you to modify.
  • Inspect the planned test's external side effects before rerunning it; obtain explicit confirmation for production-facing, destructive, or irreversible actions.
  • Preserve unrelated user changes and keep the patch limited to the evidenced failure.
  • Do not expose credentials or sensitive application data from artifacts and logs.

Workflow

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

Fix Rules

  • Do not invent selectors, screen states, screenshots, logs, or source files.
  • Do not rewrite a test merely to make it pass when the artifact shows a product or runtime defect.
  • Preserve canonical Agent QA IDs when editing tests, suites, hooks, or memory files.
  • Prefer agent_qa_validate_test, agent_qa_validate_suite, and agent_qa_validate_definition before rerunning edited YAML.
  • When MCP is unavailable, use dashboard REST APIs or local .agent-qa artifacts and state that MCP evidence was unavailable.
  • Stop and report the blocker when evidence cannot distinguish between materially different fixes.

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

  • Requires access to the relevant run evidence and local source; artifacts alone may not establish root cause.
  • Cannot guarantee that an intermittent browser, device, network, or provider failure is fixed after one successful rerun.
  • Does not authorize production changes, data mutation, dependency installation, or broader refactoring beyond the user's approved scope.
  • A passing narrow rerun does not replace the repository's normal test suite or human review.

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

Assess a new or existing AI project by examining its code, goals, and constraints. Recommend skills confirmed to exist in the available registry, then outline tasks and implementation phases with dependencies, completion criteria, and checks.

  • Planning the first steps of a new AI project
  • Assessing technical issues in an existing project
  • Selecting relevant skills from an available registry
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

007

FreeSummary

Review code and infrastructure for security risks, map potential threats, and plan stronger defenses. The skill covers OWASP checks, attack and defense exercises, and incident response, with validation required for each environment.

  • Reviewing code and infrastructure security
  • Mapping threats with STRIDE or PASTA
  • Planning stronger security settings
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

Turn a repeatable task into an Andru.ia skill with clear inputs, outputs, examples, and limits. Draft SKILL.md, check the folder structure and required validations, and prepare a pull request describing the changes for review.

  • Creating a skill for a repeatable task
  • Improving an existing skill’s examples and limits
  • Validating skill files and preparing a pull request
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

Prepare an industry briefing once a project's sector is defined. It covers sector context, potentially applicable regulations, familiar interface patterns, technology choices, and risks, while separating verified evidence from hypotheses and questions requiring further review.

  • Researching industry requirements before product design
  • Checking regulations for a project's jurisdiction
  • Choosing interface patterns familiar to target users
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

Create presentation drafts from text, outlines, or documents through the 2slides API. Match a reference image's style, choose themes, add AI voice narration, and export slide images or audio for review and use.

  • Create a presentation from text or an outline
  • Summarize a document into slides
  • Match slide styling to a reference image
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

Plan a 360-degree or peer feedback process and create empty response templates from confirmed requirements. Produces consistent CSV, SQL, JSON Schema, or Notion property mappings while keeping visibility choices and scoring configuration separate.

  • Plan an anonymous peer feedback process
  • Create a CSV template for feedback responses
  • Align feedback fields across SQL and JSON Schema
sickn33/agentic-awesome-skills48KUpdated Oct 19, 2026

See all skills by sickn33

Report a problem with this skill