Skip to main content
在 Manus 中运行任何 Skill
一键导入

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 extraction into a named `use*` 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 extraction into a named `use*` hook.

安装命令
npx skills add https://github.com/gaia-react/gaia --skill new-hook

复制此命令并粘贴到 Claude Code 中以安装该技能

星标15
分支1
更新时间2026年6月3日 19:35
SKILL.md
readonly