Create Tests Extract
Move a bulky inline test block out of its source file WITHOUT weakening it — same coverage, same…
by ulpi-io
The skill
Move a bulky inline test block out of its source file WITHOUT weakening it — same coverage, same private access: read the source and its inline tests, pick the smallest safe extraction boundary (an adjacent `#[cfg(test)] mod`, not a top-level `tests/`, when private access matters), move tests and their helpers with names and attributes intact plus the minimal module wiring, then run the narrowest relevant tests. Preserves the original visibility model and touches production code only as far as wiring requires — never silently downgrades private unit tests into weaker public-API integration tests. Use when the user asks to split large inline tests out of a source file.
This skill's licence does not allow redistribution, so the store does not show its text. Read it at the source.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: ulpi-io/create-tests-extract-97318771005.
Details
- Publisher
- ulpi-io
- Category
- Software Development › Testing & QA
- Updated
- 2026-08-31
References
More from ulpi-io
- Ast Grep Search code by SYNTAX SHAPE, not by text — matching structures grep and regex can't reliably expr…
- Branch Review Before Pr Gate a branch before it becomes a PR — catch the STRUCTURAL defects tests miss, not style: read t…
- Browse Aeo Score a page for how well AI answer engines can CITE it — Answer Engine Optimization, not classic…
- Browse Config Generate camoufox configuration for the `browse` CLI by INTERVIEW, not hand-edited JSON — an AskU…