Skip to main content

rust-lean-refactor

スター9
フォーク0
更新日2026年7月27日 10:44

Reorganize Rust code to be lean, clean, and non-bloated: detect oversized files, functions, or modules and split them safely across crate/module boundaries without changing behavior. Guards against new circular mod dependencies, skips codegen/generated files, and verifies cargo check/clippy/test stay green at every step. Use when user asks to clean up, declutter, slim down, de-bloat, restructure, or split up Rust code, or complains a file/module/function is "gemuk"/too big/doing too much. Pair with rust-verify-harden for the hardening pass after structure is settled.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly