new-hook
Trigger: user asks to create a custom React hook.
Workflow
- Confirm: name (use*), params, return type.
- Run:
.gaia/cli/gaia scaffold hook <useFoo> [--params "a:string,b:number"] [--returns "ReturnType"]. - Verify:
pnpm typecheckclean. Open and sanity-check.