agent-qa-debug-fix – skill Agent & Tự động hóa cho agent AI
Gỡ lỗi, vá và xác minh các lần chạy Agent QA thất bại dựa trên bằng chứng MCP, artifact, log và code cục bộ, không che giấu lỗi của sản phẩm hoặc hạ tầng.
Cài skill agent-qa-debug-fix bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/agent-qa-debug-fix-2872e.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /agent-qa-debug-fix – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/agent-qa-debug-fix-2872e.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $agent-qa-debug-fix – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/agent-qa-debug-fix-2872e.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /agent-qa-debug-fix – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/agent-qa-debug-fix-2872e.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /agent-qa-debug-fix – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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_runagent_qa_get_run_stepsagent_qa_get_run_artifactagent_qa_get_run_logsagent_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, andagent_qa_validate_definitionbefore rerunning edited YAML. - When MCP is unavailable, use dashboard REST APIs or local
.agent-qaartifacts 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.
Skill liên quan
- agent-qa-result-triage – Phân loại các lần chạy Agent QA thất bại dựa trên bằng chứng MCP, artifact, log, danh…
- agent-reels – Tìm tham chiếu animation và video trên 1human, tham khảo thư viện chung giữa người và…
- agent-self-scheduling – Lên lịch chạy AI agent bằng cron, vòng lặp hoặc đồng hồ bên ngoài, đồng thời tránh các…
- agent-squad – Agent điều phối chính, phối hợp một nhóm agent chuyên biệt
- agent-tool-builder – Tool là cách AI agent tương tác với thế giới. Một tool được thiết kế tốt quyết định…
- cors-chain-automation – Dùng khi cần phân loại CORS nhất quán cho một danh sách giới hạn các API endpoint đã…
- agentfolio – Skill khám phá và nghiên cứu các AI agent tự hành, công cụ và hệ sinh thái bằng thư mục…
- agentphone – Xây dựng AI phone agent với AgentPhone API. Dùng khi người dùng muốn gọi điện, gửi/nhận…