Skill / SKILL.md

New Hook

gaia-harness/gaia

Scaffolds a new custom React hook with a Vitest browser-mode 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.
1 views 27 repository starsUpdated Nov 27, 2026
Overview

Scaffolds a new custom React hook with a Vitest browser-mode 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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/gaia-harness/gaia' skill-source

Use the complete skill-source/apps/web/.claude/skills/new-hook directory with your client’s skill installer.

  • apps/web/.claude/skills/new-hook Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory apps/web/.claude/skills/new-hook

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
d489f737e2fa989dc27bb11a8ce4354e60d9510ae94a7233036de49800e43d10
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills