database — 데이터베이스 설계 database, canary, community, 데이터베이스 설계, ide skills, 스키마 최적화, UUIDv7 기본 키, 외부 키 제약, DECIMAL 데이터 유형, DATE 데이터 유형, Claude Code

v1.0.0

이 스킬 정보

고급 데이터베이스 스키마 설계 및 운영 기능이 필요한 AI 에이전트에게 적합합니다. 데이터베이스는 데이터를 저장하고 관리하는 시스템입니다

기능

UUIDv7 기본 키 설계
외부 키 제약과 ON DELETE 옵션
DECIMAL 데이터 유형을 통한 금액 저장
DATE와 DATETIME 데이터 유형의 차이
스키마 최적화 및 플랫폼 특정 패턴

# Core Topics

misty-step misty-step
[1]
[0]
Updated: 3/17/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
26
Canonical Locale
en
Detected Body Locale
en

고급 데이터베이스 스키마 설계 및 운영 기능이 필요한 AI 에이전트에게 적합합니다. 데이터베이스는 데이터를 저장하고 관리하는 시스템입니다

이 스킬을 사용하는 이유

에이전트가 기본 키, 외래 키 및 DECIMAL(货币 값용) 및 DATE(날짜 전용 필드용)와 같은 최적화된 데이터 유형을 사용하여 강력한 데이터베이스 스키마를 설계할 수 있는 능력을 부여하여 분산 시스템 및 모놀리식 시스템 전반에 걸쳐 데이터 일관성 및 무결성을 보장합니다.

최적의 용도

고급 데이터베이스 스키마 설계 및 운영 기능이 필요한 AI 에이전트에게 적합합니다.

실행 가능한 사용 사례 for database

분산 시스템을 위한 UUIDv7 기본 키를 사용하여 정규화된 데이터베이스 스키마를 설계합니다.
ON DELETE RESTRICT를 사용하여 외래 키 제약을 구현하여 안전한 데이터 관계를 보장합니다.
DECIMAL 및 DATE와 같은 적절한 데이터 유형을 선택하여 데이터베이스 성능을 최적화합니다.

! 보안 및 제한 사항

  • 데이터베이스 개념 및 스키마 설계 원칙을 이해해야 합니다.
  • 특정 플랫폼의 데이터베이스 패턴 및 제약 조건에 대해 조정이 필요할 수 있습니다.

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is database?

고급 데이터베이스 스키마 설계 및 운영 기능이 필요한 AI 에이전트에게 적합합니다. 데이터베이스는 데이터를 저장하고 관리하는 시스템입니다

How do I install database?

Run the command: npx killer-skills add misty-step/canary/database. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for database?

Key use cases include: 분산 시스템을 위한 UUIDv7 기본 키를 사용하여 정규화된 데이터베이스 스키마를 설계합니다., ON DELETE RESTRICT를 사용하여 외래 키 제약을 구현하여 안전한 데이터 관계를 보장합니다., DECIMAL 및 DATE와 같은 적절한 데이터 유형을 선택하여 데이터베이스 성능을 최적화합니다..

Which IDEs are compatible with database?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for database?

데이터베이스 개념 및 스키마 설계 원칙을 이해해야 합니다.. 특정 플랫폼의 데이터베이스 패턴 및 제약 조건에 대해 조정이 필요할 수 있습니다..

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add misty-step/canary/database. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use database immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

database

데이터베이스 설계 및 최적화를 위한 전문가 가이드

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Database

Best practices for schema design, database operations, and platform-specific patterns.

Schema Design Principles

Primary Keys

  • Every table MUST have a primary key
  • UUIDv7 for distributed systems, auto-increment BIGINT for monoliths

Foreign Keys

  • Use FK constraints unless specific reason not to
  • ON DELETE: RESTRICT (safest), CASCADE (sparingly), SET NULL (breaks audit)

Data Types

  • Money: DECIMAL (never FLOAT/DOUBLE)
  • Dates without time: DATE not DATETIME
  • Small sets: ENUM not VARCHAR

Constraints

  • NOT NULL on required columns, UNIQUE on natural keys, CHECK for business rules

Decision Trees

"Should I denormalize?"

Evidence of query perf problem? -> Tried indexes/caching? -> Read-heavy >100:1? -> Denormalize specific fields.

"UUID or auto-increment?"

Distributed (multiple write nodes)? -> UUIDv7. Exposed to users? -> Auto-increment. Otherwise -> auto-increment.

"Soft or hard delete?"

GDPR applies? -> Hard delete. Need audit trail? -> Audit table. High deletion rate? -> Hard delete. Otherwise -> soft delete.

Database Operations

Migrations

Forward-only. No rollbacks. Maintain backward compatibility. Break large changes into smaller steps. Use feature flags during transitions.

Query Optimization

Always check EXPLAIN ANALYZE before optimizing. Index based on actual query patterns. Monitor unused indexes. Remove if idx_scan < 100.

N+1 Prevention

Always eager load in loops. Use joinedload or equivalent.

Transactions

Scope to single business operation. Keep short. Never hold during external calls.

Connection Pooling

Size based on measured peak concurrency. Alert at 80% utilization.

Anti-Patterns

  • EAV (entity-attribute-value) patterns
  • God tables (>50 columns)
  • Multi-valued fields (CSV in columns)
  • Rollback migrations
  • N+1 queries in loops
  • Long transactions with external calls

References

ReferenceContent
references/schema-design.mdDetailed schema principles, anti-patterns, normalization
references/operations.mdMigrations, queries, transactions, connection pooling
references/convex.mdConvex-specific patterns (indexes, pagination, ctx.auth, model/)

관련 스킬

Looking for an alternative to database or another community skill for your workflow? Explore these related open-source skills.

모두 보기

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
인공지능

widget-generator

Logo of f
f

prompts.chat 피드 시스템을 위한 사용자 지정 가능한 위젯 플러그인을 생성합니다

149.6k
0
인공지능

flags

Logo of vercel
vercel

리액트 프레임워크

138.4k
0
브라우저

pr-review

Logo of pytorch
pytorch

파이썬에서 텐서와 동적 신경망 구현 및 강력한 GPU 가속 지원

98.6k
0
개발자