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

writing-tests

星标0
分支0
更新时间2026年6月1日 07:38

Decide whether and how to write tests: when a test earns its keep, what to cover, what to leave to the type system or schemas, and how to lean on surrounding patterns. TRIGGER whenever authoring a new test or test file, adding test cases to an existing file, covering code with tests, writing a regression test for a bug fix, or about to create test scaffolding/fixtures/mocks — unless the user has given clear direction on exactly what to test (specific cases, assertions, or boundaries named). SKIP only when: the user has spelled out the test cases to write, or editing an existing test that already follows a clear local pattern (mirror the pattern instead).

安装

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

SKILL.md
readonly