Manusで任意のスキルを実行
ワンクリックで
ワンクリックで
ワンクリックでManusで任意のスキルを実行
始めるsplit-tests
スター5
フォーク0
更新日2026年6月15日 13:53
Split inline
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Split inline
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | split-tests |
| description | Split inline |
Always split inline #[cfg(test)] mod tests { ... } blocks into co-located _test.rs files.
For each Rust source file src/foo.rs that contains an inline test block:
src/foo_test.rs with use super::*; at the top, followed by the bare test functions (no mod tests { } wrapper)src/foo.rs, replace the inline block with:
#[cfg(test)]
#[path = "foo_test.rs"]
mod tests;
For directory modules like src/app/mod.rs, the test file is src/app/mod_test.rs.
Use this skill when:
#[cfg(test)] mod tests { ... } inline — immediately split it_test.rs companion_test.rs, never inline