home/categories/frontend/thesoftwarehouse-copilot-collections-github-skills-tsh-writing-hooks-skill-md
frontenddevelopment
tsh-writing-hooks
Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies. Use when writing reusable logic units (React hooks, Vue composables), refactoring logic into hooks, debugging hook behavior, or reviewing hook implementations.
maintainer
TheSoftwareHouse
更新於 3/8/2026
星標
203
分支
6
quick start
Installation and usage
Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies. Use when writing reusable logic units (React hooks, Vue composables), refactoring logic into hooks, debugging hook behavior, or reviewing hook implementations.
安裝
$ install --globalskills.sh
使用
安裝後,您可以透過在終端機執行以下指令來使用此技能:
skills use tsh-writing-hooks