Skip to main content

split-large-tests

Stars13
Forks4
UpdatedMay 23, 2026 at 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.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly