verify-design-system-styles
@dongchimi/design-system/styles public boundary, vanilla-extract style helper, recipe utility 문서를 검증할 때 사용합니다.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
@dongchimi/design-system/styles public boundary, vanilla-extract style helper, recipe utility 문서를 검증할 때 사용합니다.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
endpoint 문서를 기준으로 API helper, TanStack Query hook, 타입, 에러/cache 동작을 구현할 때 사용합니다.
apps/client, apps/market-owner, apps/design-system-web, 선택적 apps/admin 내부의 앱 전용 shared 컴포넌트를 생성, 스펙 작성, export, 검증할 때 사용합니다.
GitHub 브라우저 PR 리뷰에서 visible diff, review comment, check status, local verification 여부를 분리해 기록할 때 사용합니다.
packages/design-system 공통 컴포넌트를 Figma/이미지/상태 요구사항 기반으로 생성, 구현, story/spec/export 검증할 때 사용합니다.
필드 검증, submit, mutation, error, disabled/loading/success 상태가 있는 프론트엔드 폼 흐름을 구현할 때 사용합니다.
프론트엔드 구현 또는 리뷰 중 Toss Frontend Fundamentals의 응집도 기준으로 함께 수정되는 component, hook, type, fixture, spec, form 흐름 배치를 점검할 때 사용합니다.
| name | verify-design-system-styles |
| description | @dongchimi/design-system/styles public boundary, vanilla-extract style helper, recipe utility 문서를 검증할 때 사용합니다. |
디자인시스템 style helper와 vanilla-extract authoring 경계가 흐려지는 것을 막습니다.
packages/design-system/src/styles의 public boundary를 확인합니다../styles export가 필요한 변경인지 확인합니다.cn, recipe helper, type helper를 추가한 경우 사용 예시와 타입 의도를 문서화했는지 확인합니다.git diff --name-only HEAD -- packages/design-system/src/styles packages/design-system/package.json pnpm-workspace.yaml docs/architecture/styling-and-design-tokens.md
스타일 helper 변경이 없으면 SKIP으로 보고합니다.
docs/architecture/styling-and-design-tokens.md를 읽습니다.packages/design-system/src/styles/README.md를 읽습니다.packages/design-system/package.json의 exports와 dependency를 확인합니다.packages/design-system/src/styles/index.ts 또는 style helper 파일이 생긴 경우 public style boundary 검증을 실행합니다.
test -f packages/design-system/src/styles/index.ts && echo "styles public entry exists" || echo "SKIP: no public styles entry"
public entry가 있으면 packages/design-system/package.json에 ./styles export가 있어야 합니다.
node -e 'const p=require("./packages/design-system/package.json"); if (require("fs").existsSync("packages/design-system/src/styles/index.ts") && !p.exports?.["./styles"]) { console.error("missing ./styles export"); process.exit(1) }'
@vanilla-extract/recipes를 사용하면 workspace dependency가 선언되어야 합니다.cn은 className composition helper로 설명되어야 하며, component style policy로 과장하지 않습니다.packages/design-system/src/styles/README.md에 public helper 사용 예시가 있는지 확인합니다.@dongchimi/design-system/styles처럼 subpath 기준으로 설명합니다.pnpm --filter @dongchimi/design-system lint
pnpm --filter @dongchimi/design-system typecheck
pnpm --filter @dongchimi/design-system build
SKIP입니다.layers.css.ts 같은 package-local scaffold만 있는 경우 ./styles export를 강제하지 않습니다.design-system-component-workflow 또는 별도 verify 대상입니다.