Create hook
react, nextjs 환경에서 새로운 custom-hook 생성시 사용됨. 사용자가 hook 구현해줘, 훅 만들어줘 등 구현 타겟이 custom-hook 일 경우에 사용From its SKILL.md
npx -y skills add rlatlswo135/c2kim-claude-plugin --skill create-hookAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.8 KB, as published. Nobody here has run it
Convention
- 모듈 컨벤션은 프로젝트를 따르지만 일관되지 않다면
kebab-case를 사용ex) use-custom-hook - props가 3개 이상일때는
object로 받을 것. - props 타입은 프로젝트를 따르지만 일관되지 않다면
type-alias를 사용 - props 타입 네이밍은 프로젝트를 따르지만 일관되지 않다면
pascal-case를 사용ex) UseCustomHookProps useEffect내부에 이벤트 핸들러가 들어가고 핸들러 내부에서 trace되어야 하는 상태가useEffect내부에 의존성으로 들어갔다면useEffectEvent를 적극 사용.