본문으로 건너뛰기
Skillpedia
데이터베이스48k · #4331

database-design

하는 일

이 도구는 데이터베이스에서 정보를 정리하고 저장하는 방법을 계획하도록 돕습니다. 적합한 데이터베이스 종류를 고르고 테이블과 데이터를 효율적으로 구성하도록 안내합니다.

사용하는 경우

  • ✓새 프로젝트를 시작하면서 데이터를 어디에 저장할지 정해야 할 때.
  • ✓데이터에 접근하는 속도를 높이고 싶을 때.
  • ✓데이터베이스 안에서 정보들이 어떻게 관련되는지 계획할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-design/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database-design/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“할 일 목록 앱을 만들려고 합니다. 어떤 데이터베이스를 쓰고, 작업과 사용자를 저장하려면 테이블을 어떻게 구성해야 할까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 요구 사항을 분석하고 가장 적합한 데이터베이스 옵션과 정보 구성 방법을 제안합니다. 데이터 유형, 예상 양, 접근 방식 같은 요소를 고려합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Database Design

Learn to THINK, not copy SQL patterns.

🎯 Selective Reading Rule

Read ONLY files relevant to the request! Check the content map, find what you need.

File Description When to Read
database-selection.md PostgreSQL vs Neon vs Turso vs SQLite Choosing database
orm-selection.md Drizzle vs Prisma vs Kysely Choosing ORM
schema-design.md Normalization, PKs, relationships Designing schema
indexing.md Index types, composite indexes Performance tuning
optimization.md N+1, EXPLAIN ANALYZE Query optimization
migrations.md Safe migrations, serverless DBs Schema changes

⚠️ Core Principle

  • ASK user for database preferences when unclear
  • Choose database/ORM based on CONTEXT
  • Don't default to PostgreSQL for everything

Decision Checklist

Before designing schema:

  • Asked user about database preference?
  • Chosen database for THIS context?
  • Considered deployment environment?
  • Planned index strategy?
  • Defined relationship types?

Anti-Patterns

❌ Default to PostgreSQL for simple apps (SQLite may suffice) ❌ Skip indexing ❌ Use SELECT * in production ❌ Store JSON when structured data is better ❌ Ignore N+1 queries

When to Use

Use when selecting a database model, reviewing schema relationships and indexes, or assessing a proposed schema with the bundled advisory tools.

Schema helper

scripts/schema_validator.py is a read-only heuristic inventory, not a Prisma or Drizzle parser. Missing schemas, unsupported formats and heuristic-only results return nonzero with passed: false and analysis_complete: false. Use the project-local ORM validator for syntax and type checks; review migration and constraint semantics separately.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

'데이터베이스'란 무엇인가요?

정보를 저장하는 체계적인 공간입니다. 서랍과 폴더가 있는 캐비닛과 같습니다.

'데이터베이스 스키마'란 무엇인가요?

테이블에서 정보를 어떻게 정리할지에 대한 설계도입니다. 각 테이블에 어떤 데이터가 들어가고 서로 어떻게 연결되는지 정의합니다.

데이터 구성이 왜 중요한가요?

좋은 구성은 데이터 접근을 빠르게 하고 오류를 줄여 애플리케이션을 더 효율적으로 만듭니다.

상세 정보

작성자의 원본 설명

Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4331
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬