rs-create-lib
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
03 SKILL.md 正文
This skill is intended to be used in Rust projects only.
If the current project already contains a file called lib.rs , notify the user and exit. If it not clear, ask the user which is the Rust project root directory and use it to locate the src directory; the one containing the files Cargo.toml and Cargo.lock.
Otherwise, reuse the skill /rs-create-source to create a file lib.rs in the src directory.
04 同仓库更多 Skills
utils-get-username
Use it to get the name of the user running the skill.
sparring-partner
When I plan a task, act like a sparring partner.
rs-create-lib-mod
Use with Rust, to create a new module in the project library.
rs-create-file
Use it to create a new Rust source file
rs-add-lib-mod-file
Use it to create a Rust source file in a library module
roll-dice
Roll dice using a random number generator. Use when asked to roll a die (6, 20, etc.), roll dice, or generate a random dice roll.