| name | component-design-reviewer |
| description | Reviews React components and provides improvement suggestions. Use when you need code review, component review, structure improvement, refactoring, or component separation. |
| allowed-tools | Read, Grep, Glob |
Component Design Reviewer
React ์ปดํฌ๋ํธ ์ค๊ณ ์์น์ ๋ฐ๋ฅธ ์ ๋ฌธ์ ์ธ ์ฝ๋ ๋ฆฌ๋ทฐ๋ฅผ ์ ๊ณตํ๋ Skill์
๋๋ค. Claude๊ฐ ์ง์ ์ฝ๋๋ฅผ ๋ถ์ํ์ฌ 5๊ฐ์ง ํต์ฌ ์์น์ ์ค์ฌ์ผ๋ก ์์ธํ ๋ฆฌํฌํธ๋ฅผ ์์ฑํฉ๋๋ค.
๊ฒ์ฌ ์์น ์์ฝ
- SRP - ํ๋์ ์ปดํฌ๋ํธ, ํ๋์ ์ญํ
- Props - drilling ์ต์ํ, ๋ช
ํํ interface
- Composition - ์์๋ณด๋ค ํฉ์ฑ
- Reusability - ๊ณตํต ์์ ์ถ์ถ
- Custom Hooks - UI/๋น์ฆ๋์ค ๋ก์ง ๋ถ๋ฆฌ
Instructions
- Read๋ก ๋์ ์ปดํฌ๋ํธ ํ์ผ ์ฝ๊ธฐ
- 5๊ฐ์ง ์์น๋ณ๋ก ์ฒดํฌ๋ฆฌ์คํธ ๊ธฐ๋ฐ ๋ถ์
- Grep์ผ๋ก props drilling, hooks ํจํด ๊ฒ์
- ์ปดํฌ๋ํธ๋ณ ๋ฆฌํฌํธ ์์ฑ (Critical/Warning/Suggestion)
- ๋ฌธ์ ๋ง๋ค "๋ฌธ์ ์ฝ๋" vs "๊ฐ์ ์ฝ๋" ์์ ์ ๊ณต
๋ฆฌ๋ทฐ ์ฒดํฌ๋ฆฌ์คํธ
๋จ์ผ ์ฑ
์ ์์น ๊ฒ์ฌ
Props ์ค๊ณ ๊ฒ์ฌ
ํฉ์ฑ ํจํด ๊ฒ์ฌ
์ฌ์ฌ์ฉ์ฑ ๊ฒ์ฌ
Custom Hooks ๊ฒ์ฌ
์ถ๋ ฅ ํ์
examples.md์ "๋ฆฌ๋ทฐ ์ถ๋ ฅ ํ์" ์น์
์ ๋ฐ๋ฅผ ๊ฒ