Skip to main content
在 Manus 中运行任何 Skill
一键导入

test-quality

星标0
分支0
更新时间2026年7月15日 02:25

Self-contained guide to writing, reviewing, and maintaining high-quality tests with AI assistance. Defends against three failure modes: fig-leaf tests (pass without verifying behavior), evasion (existing tests weakened to mask real bugs), and self-description drift (a test file's comments or names claim a stronger guarantee than its assertions deliver). Its core discipline is empirical mutation review — break the implementation, confirm a test goes red, revert — not just reading tests. Router skill — loads narrow workflow files by task intent. Covers single-test writing, single-file review, suite-scale audit, failing-test response, and framework-specific pitfalls for Vitest and bun:test. Use when writing new tests, reviewing tests in a PR, auditing a test suite at scale, responding to a failing test, or auditing existing tests for quality.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
13 个文件
SKILL.md
readonly