Skip to content
data-model-reviewer logo

Data Model Reviewer

data-model-reviewer

Analyze and Refactor TypeScript data models. Detect duplication, improve type safety, and validate relationships in interfaces/types.

SKILL.md

Full skill instructions

Data Model Reviewer

TypeScript 타입 정의를 검토하여 SSOT, 타입 안전성, 데이터 관계의 품질을 확인합니다.

검사 원칙

  1. SSOT - 데이터 정의 중복 제거
  2. Type Safety - any 지양, Union/​Enum 활용
  3. Relationship - 데이터 간 관계 명확성

Instructions

  1. 대상 확인: 사용자가 특정 파일/디렉토리를 지정한 경우 해당 대상에서 검토, 미지정 시 프로젝트 전체 탐색
  2. 타입 파일 탐색: Glob으로 **/​types/​**/​*.ts, **/​*.d.ts 등 타입 정의 파일 찾기
  3. 타입 정의 분석: Read로 파일 읽고 interface/​type 정의 확인
  4. 문제 패턴 검색: Grep으로 any, 매직 스트링, 중복 정의 탐지
  5. 체크리스트 기반 검토: 아래 체크리스트 항목별로 검증
  6. 결과 출력: examples.md의 출력 형식에 따라 리뷰 결과 제시

체크리스트

타입 안전성

  • any 타입 미사용
  • 매직 스트링 대신 Literal Union/​Enum 사용
  • Optional(?) 필요한 곳에만 사용

구조 및 관계

  • 중복 데이터 정의 없음 (SSOT)
  • ID 필드 타입 일관성
  • 중첩 깊이 3단계 이하

출력 형식

examples.md의 "리뷰 출력 형식" 섹션을 따를 것

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View