gaia-react/gaia · .claude/skills/new-hook/SKILL.md

new-hook skillA

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.

Latest version
mdr add gaia-react/gaia/new-hook@git:20260603.4110bfe
Exact content
mdr add gaia-react/gaia/new-hook@sha256:29b89e80396eb7f7
Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hraghotbshx33767.svg)](https://markdownregistry.com/a/art_hraghotbshx33767)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260603.4110bfe latest2026-06-03 4110bfe 645 BA view · diff
git:20260522.cb4b4c42026-05-22 cb4b4c4 635 BA view · diff
git:20260507.433abf02026-05-07 433abf0 633 BA view · diff
git:20260430.17a24442026-04-30 17a2444 2,260 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.

Source

GitHub

gaia-react/gaia · 23 stars · license MIT · pushed 2026-09-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hraghotbshx33767
GET https://markdownregistry.com/api/v1/resolve?ref=gaia-react/gaia/new-hook
GET https://markdownregistry.com/api/v1/blob/29b89e80396eb7f7fe9889193b917c717205f78d3e317d3a4b9d16899f45ffcd