mit einem Klick
db-design
스키마 설계 및 쿼리 최적화를 위한 가이드를 실행합니다.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
스키마 설계 및 쿼리 최적화를 위한 가이드를 실행합니다.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
Interactive requirements discovery through Socratic dialogue and systematic exploration
사용자 계획을 기존 도메인 모델에 대해 stress-test하는 인터뷰 세션. 용어를 날카롭게 다듬고, 결정이 굳어질 때마다 CONTEXT.md(도메인 어휘 사전)와 ADR을 인라인으로 갱신한다. 새 기능 요구사항 탐색은 `/brainstorm`을, 기존 도메인 모델·용어와의 정합성 점검은 이 스킬을 사용한다.
Evaluate design from a UX perspective, assessing visual hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring, persona-based testing, automated anti-pattern detection, and actionable feedback. Use when the user asks to review, critique, evaluate, or give feedback on a design or component.
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review. (Impeccable design audit — distinct from /audit which validates project rules.)
Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics. Use when the user asks to build web components, pages, artifacts, posters, or applications, or when any design skill requires project context. Call with 'craft' for shape-then-build, 'teach' for design context setup, or 'extract' to pull reusable components and tokens into the design system.
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
| name | db-design |
| description | 스키마 설계 및 쿼리 최적화를 위한 가이드를 실행합니다. |
| user-invocable | true |
스키마 설계 및 쿼리 최적화를 위한 가이드를 실행합니다.
# 권장 데이터 타입
ID: BIGINT / UUID
금액: DECIMAL(19,4)
날짜: TIMESTAMP WITH TIME ZONE
문자열: VARCHAR(n) - 적절한 길이
불리언: BOOLEAN
JSON: JSONB (PostgreSQL)
-- 피해야 할 패턴
SELECT * FROM ... -- 불필요한 컬럼
WHERE column LIKE '%value' -- 인덱스 무효화
WHERE FUNCTION(column) -- 인덱스 무효화
OR 조건 남발 -- 인덱스 비효율
NOT IN (subquery) -- NULL 문제
## Database Design Review
### Schema Analysis
- 테이블 수: N
- 관계: [1:N, M:N 등]
- 정규화 수준: [1NF/2NF/3NF]
### Findings
#### Schema Issues
- [테이블명] 이슈 설명 및 권장사항
#### Index Recommendations
- [테이블명] 권장 인덱스: (col1, col2)
- 이유: WHERE/JOIN 패턴 분석
#### Query Optimization
- [쿼리 위치] 현재 비용 → 예상 개선
- 수정 방법: 구체적 쿼리 제안
### ERD (텍스트)
[User] 1──N [Order] N──M [Product]
### Migration Plan
1. [스키마 변경 단계]
2. [데이터 마이그레이션]
3. [인덱스 생성]
위 가이드를 기반으로 데이터베이스 설계를 분석하세요.