| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /dsys-create-component |
| argument-hint | [component name, e.g., 'date picker' or 'notification banner'] |
/dsys-create-component โ ์ปดํฌ๋ํธ ์คํ ์๋ ์์ฑ#
ํ๋ง๋๋ก#
"๋ ์ง ์ ํ๊ธฐ" ๊ฐ์ ์ปดํฌ๋ํธ ์ด๋ฆ๋ง ์ฃผ๋ฉด, ์๊น์๋ถํฐ ์ํยท์ ๊ทผ์ฑยท์ด๋ฆ ๊ท์นยท๋ฌธ์๊น์ง ๊ฐ์ถ ์์ ํ ์ปดํฌ๋ํธ ์คํ์ ๋ง๋ค์ด ์ฃผ๋ ๋ช ๋ น์ด์ ๋๋ค.
๋๊ฐยท์ธ์ ์ฐ๋์#
- ์ ์ปดํฌ๋ํธ๋ฅผ ๋์์ธ ์์คํ ์ ์ถ๊ฐํ๊ธฐ ์ ์ ์์ ํ ์คํ ๋ฌธ์๊ฐ ํ์ํ ๋
- ์ปดํฌ๋ํธ์ ๋ณํยท์ํยท์ ๊ทผ์ฑ ์๊ตฌ์ฌํญ์ ์ฒ์๋ถํฐ ๋น ์ง์์ด ์ ๋ฆฌํ๊ณ ์ถ์ ๋
๋ฌด์์ ํด์ฃผ๋์#
- ์ปดํฌ๋ํธ์ ๋ชฉ์ ๊ณผ ์ผ๋ฐ์ ์ธ ๊ตฌํ ์ฌ๋ก๋ฅผ ์กฐ์ฌํ๊ณ , ๊ตฌ์ฑ ์์ยทํฌ๊ธฐ/์คํ์ผ ๋ณํยท์ํธ์์ฉ ์ํ๋ฅผ ์ ๋ฆฌํฉ๋๋ค.
- ์ฌ์ฉํ๋ ํ ํฐ, ์ ๊ทผ์ฑ(ARIAยทํค๋ณด๋ยท์คํฌ๋ฆฐ ๋ฆฌ๋), ์ด๋ฆ ๊ท์น, ๋ฌธ์ ๊ตฌ์กฐ๊น์ง ํฌํจํ ์์ ํ ์คํ์ ๋ง๋ค์ด ์ค๋๋ค.
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
Generate a comprehensive component specification.
Steps#
- Research โ Understand purpose and common implementations.
- Anatomy โ Break down parts using
dsys-component-specskill. - Variants โ Define size, style, layout variants.
- States โ Map interactive states using
dsys-component-specskill. - Tokens โ Identify consumed tokens using
dsys-design-tokenskill. - Accessibility โ Specify ARIA, keyboard, screen reader using
dsys-accessibility-auditskill. - Naming โ Follow conventions using
dsys-naming-conventionskill. - Documentation โ Structure using
dsys-documentation-templateskill.
Output#
Complete spec: overview, anatomy, props/API, variants, states, accessibility, usage guidelines, tokens.
Consider following up with /dsys-audit-system.