Skip to content

/new-hook

Scaffold a new custom React hook with a Vitest test file. Use this skill whenever the user asks to "create a hook", "make a useFoo hook", "scaffold a custom React hook", "add a hook under app/hooks", or describes a piece of reusable React state/effect logic that warrants

From plugin
2120 skills6 agents13 commands
shell
$ npx -y skills add gaia-react/gaia --skill new-hook --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/new-hook
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Scaffold a new custom React hook with a Vitest test file. Use this skill whenever the user asks to "create a hook", "make a useFoo hook", "scaffold a custom React hook", "add a hook under app/hooks", or describes a piece of reusable React state/effect logic that warrants
Ships withgaia

Claude is raw power. GAIA is order and focus. The foundation that keeps Claude-shipped code production-grade as your team scales. The React frontend is handled. You build the rest of your app on top. Every convention enforced in code.

Get the whole plugin, auto-invoked
Stats
21
Stars
0
Views
4
Forks
Active
Maintenance
Shell
Language
MIT
License
4m ago
Last commit
1y ago
Created

Repo: gaia-react/gaia

Other skills on gaia.