DevOps & Mã nguồn

PublicSubagent Claude

Viết Test

Báo cáo coverage cho bạn biết dòng nào chưa được test nhưng không nói phải viết gì, nên các khoảng trống cứ nằm đó hết release này đến release khác. Writer này lấp đầy chúng.

sonnet4 ngàyVitestOpenAIIstanbulGitHub Actions
ClaudeClaude
ROI for
README.md

Tại sao chọn subagent này

Báo cáo coverage cho bạn biết dòng nào chưa được test nhưng không nói phải viết gì, nên các khoảng trống cứ nằm đó hết release này đến release khác. Writer này lấp đầy chúng.

Nó tìm các branch chưa được phủ, đọc code đằng sau chúng và tạo test tập trung vào các edge case mà bộ test hiện tại bỏ sót. Nó chỉ gửi test pass được với hành vi hiện tại, rồi mở pull request để bạn review, để coverage tăng lên mà không cần làm việc tay chân.

Cách vận hành

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Ví dụ đầu ra

json
// Sample output
// (generated when the pipeline finishes)

Given a coverage report and the uncovered source, write tests that exercise the missing branches and edge cases; output only tests that pass against the current implementation.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.