Skip to main content

split-large-tests

星标13
分支4
更新时间2026年5月23日 04:18

Split a large test file into several smaller, logically-grouped files. Use this skill whenever the user wants to break up, divide, or refactor a big test file (especially Vitest + React/TypeScript tests) into smaller files — for example when a test file exceeds a few hundred lines, when the user mentions splitting tests "by feature" or "by component", or when they ask to make test files smaller or more maintainable. Trigger it even if the user doesn't say the word "split" explicitly, as long as the intent is to reorganize a large test file into multiple files.

安装

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

SKILL.md
readonly