gotempsh/temps/temps-split-module
Mechanically split a large Rust source file (a "god file") into a module directory with no behaviour change - move-only commits, pub use re-exports that keep the public API, impl blocks spread across submodules, narrow pub(super)/pub(crate) visibility, a sibling tests.rs for oversized inline tests, and the rule-drift and test-count checks that prove nothing changed. Use when a file is over ~3,000 production lines, when inline tests push it past ~1,500 lines, or when asked to split or reorganise
Agent skill · version 0.1.0-nightly.20261112.211f6fbd5 · from gotempsh/temps
Install
npx yarkr-cli add skill:gotempsh/temps/temps-split-moduleWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:gotempsh/temps/temps-split-module
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:gotempsh/temps/temps-split-moduleOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:gotempsh/temps/temps-split-moduleWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.