name: scaffold description: This skill should be used when the user wants a skeleton structure for a Rust module, struct, trait, or impl block that they will fill in themselves. Use when the user says "scaffold", "generate a skeleton", "create stubs", "set up the structure for", or wants to start implementing something and needs the shape before the substance. argument-hint: "<module, struct, or feature to scaffold>"
Scaffold a Skeleton
Generate structure with todo!() stubs — ready for the user to implement.
No logic, no implementations.
What to Generate
- Struct/enum definitions with appropriate derives and doc comments
implblocks with full method signatures andtodo!()bodies- Trait
implstubs if applicable - A
#[cfg(test)]module with empty test function stubs named for the behaviors they should verify - Brief
// TODO:comments inside each stub describing what it should do
Rules
- No implementation logic — every function body is
todo!()or a type-appropriate placeholder - Include complete type signatures — this is part of the learning surface
- If a design decision is non-obvious (e.g.
&selfvsself,ArcvsRc), leave a// DESIGN: consider X vs Ycomment rather than silently choosing - Add
#![allow(dead_code, unused)]at the top so the user isn't drowned in warnings before filling anything in - Use idiomatic Rust naming (snake_case, CamelCase, etc.)
Output
Produce file content directly, ready to write to disk. Add a brief comment block at the top explaining the intended design.
Input
$ARGUMENTS