New Default Generator

How to add a DefaultGenerator impl for a type so gs::default::<T>() works. Use when the user asks to wire up default() for a type, add a default generator, or make a type usable with #[derive(DefaultGenerator)]. Pair after the new-generator skill when adding a fresh generator, or use standalone when the underlying generator already exists or can be composed from existing generators.

hegeldev 13af7f2 4.1 KB Updated

File contents

hegeldev/hegel-rust/tree/main/.claude/skills/new-default-generator commit 13af7f2653

Frequently asked questions

npx skillmds@latest add hegeldev/new-default-generator