agent-qa-debug-fix
Fungsinya
Agent ini memperbaiki tes program yang gagal. Agent ini menganalisis bukti dari tes yang gagal, seperti log dan file, lalu membuat perubahan kode sekecil mungkin untuk memperbaiki masalah, tanpa menyembunyikan cacat yang sebenarnya.
Kapan dipakai
- ✓Saat tes program gagal dan perlu diperbaiki.
- ✓Jika log dan file menunjukkan adanya error pada tes, program, atau lingkungan.
- ✓Untuk memastikan perbaikan kecil berhasil sebelum menjalankan semua tes.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-debug-fix/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Perbaiki tes yang gagal di lingkungan staging, dengan menggunakan informasi yang tersedia.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent pertama-tama mengumpulkan semua informasi tentang tes yang gagal. Kemudian, agent menganalisis informasi tersebut untuk memahami penyebab error dan membuat perubahan sekecil mungkin pada kode atau konfigurasi untuk memperbaikinya, tanpa menimbulkan masalah baru.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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.
Pertanyaan umum
Apa itu 'Agent QA runs'?
Ini adalah eksekusi tes otomatis untuk memeriksa apakah sebuah program berjalan dengan benar.
Apa arti 'debug' dan 'patch'?
'Debug' berarti menemukan dan memperbaiki error. 'Patch' berarti menerapkan perbaikan kecil pada sebuah program.
Bisakah saya menggunakan agent ini untuk melakukan perubahan besar pada program?
Tidak. Agent ini dirancang hanya untuk membuat perbaikan sekecil mungkin yang dibutuhkan untuk tes tertentu yang gagal, tanpa mengubah bagian lain dari program.
Detail
Deskripsi asli dari pembuat
Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #3670
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.