agent-qa-debug-fix
Skill này làm gì
Agent này sửa các bài kiểm thử chương trình bị lỗi. Nó phân tích bằng chứng từ bài kiểm thử thất bại, như nhật ký và file, rồi thực hiện thay đổi nhỏ nhất cần thiết để sửa vấn đề, mà không che giấu lỗi thật.
Khi nào nên dùng
- ✓Khi một bài kiểm thử chương trình thất bại và cần sửa.
- ✓Khi nhật ký và file cho thấy có lỗi trong bài kiểm thử, chương trình hoặc môi trường.
- ✓Khi muốn kiểm tra một bản sửa nhỏ có hoạt động trước khi chạy toàn bộ bài kiểm thử.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-debug-fix/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Sửa bài kiểm thử bị lỗi trong môi trường staging, dùng thông tin hiện có.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trước tiên, agent thu thập mọi thông tin về bài kiểm thử bị lỗi. Sau đó nó phân tích để hiểu nguyên nhân và thực hiện thay đổi nhỏ nhất có thể trong mã hoặc cấu hình để sửa, mà không gây ra vấn đề mới.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết 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
- 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
- Call
agent_qa_classify_failureand treat its category as a hypothesis, not a verdict. - Identify the failing surface: test definition, hook, application under test, runtime infrastructure, or agent behavior.
- Inspect the relevant local files directly. Do not infer patches from artifacts alone.
- Explain the evidence-to-change link, then apply the smallest code or YAML change that accounts for the evidence.
- Validate any changed Agent QA definition before execution.
- Re-run the narrowest affected Agent QA test, suite, hook, or unit test within the approved environment.
- 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.
Câu hỏi thường gặp
“Agent QA runs” là gì?
Đó là các lần chạy kiểm thử tự động để kiểm tra chương trình có hoạt động đúng không.
“Debug” và “patch” nghĩa là gì?
“Debug” nghĩa là tìm và sửa lỗi. “Patch” nghĩa là áp dụng một bản sửa nhỏ cho chương trình.
Tôi có thể dùng agent này để thay đổi lớn cho chương trình không?
Không, agent này chỉ được thiết kế để thực hiện bản sửa nhỏ nhất cần thiết cho một bài kiểm thử thất bại cụ thể, không thay đổi các phần khác của chương trình.
Chi tiết
Mô tả gốc của tác giả
Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3670
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.