Community코딩 & 개발github.com

데이터베이스 스키마 디자이너

SQL 및 NoSQL 데이터베이스를 위한 견고하고 확장 가능한 데이터베이스 스키마를 설계합니다. 정규화 지침, 인덱싱 전략, 마이그레이션 패턴, 제약 조건 설계 및 성능 최적화를 제공합니다. 데이터 무결성, 쿼리 성능 및 유지 관리 가능한 데이터 모델을 보장합니다.

데이터베이스 스키마 디자이너란 무엇인가요?

데이터베이스 스키마 디자이너(Database Schema Designer)는 개발자가 프로덕션 환경에서 즉시 사용 가능한 SQL 및 NoSQL 데이터베이스 스키마를 설계할 수 있도록 돕는 전문 AI 기술입니다. 이 기술은 엔터티 식별, 관계 정의, 정규화(1NF~3NF), 인덱싱 전략, 데이터 유형 선택, 제약 조건 설계 등 데이터 모델링의 전 과정을 안내합니다. 분석, 설계, 최적화, 마이그레이션의 4단계 프로세스를 통해 데이터 무결성과 쿼리 성능을 보장하며, 특히 접근 패턴(OLTP/OLAP)에 따른 SQL과 NoSQL 선택 기준을 명확히 제시합니다. 사용자는 간단한 자연어 요청(예: "이커머스 플랫폼 스키마 설계")으로 시작하여, 반정규화, 복합 인덱스, 역방향 마이그레이션 등 고급 주제까지 심층 탐구할 수 있는 확장형 문서를 제공받습니다. Claude Code, Cursor, Codex 등 다양한 AI 에이전트 플랫폼에서 활용 가능하며, 데이터베이스 설계의 모범 사례와 안티 패턴을 모두 다루어 실무에 즉시 적용 가능한 지침을 제공합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mianhtsys/landingMod3/tree/HEAD/MODULO_3_DESARROLLO_AL_LADO_DEL_CLIENTE_Y_SERVIDOR_WEB/architecture-skills-framework/.agents/skills/database-schema-designer

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

데이터베이스 스키마 디자이너은(는) 무엇을 하나요?

모범 사례가 내장된 프로덕션 환경용 데이터베이스 스키마를 설계합니다.


빠른 시작

데이터 모델을 설명하기만 하면 됩니다:

사용자, 제품, 주문이 있는 이커머스 플랫폼을 위한 스키마 설계

다음과 같은 완전한 SQL 스키마를 얻을 수 있습니다:

CREATE TABLE users (
  id BIGINT AUTO_INCREMENT PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE orders (
  id BIGINT AUTO_INCREMENT PRIMARY KEY,
  user_id BIGINT NOT NULL REFERENCES users(id),
  total DECIMAL(10,2) NOT NULL,
  INDEX idx_orders_user (user_id)
);

요청에 포함할 내용:

  • 엔터티 (사용자, 제품, 주문)
  • 주요 관계 (사용자는 주문을 가짐, 주문은 항목을 가짐)
  • 규모 힌트 (고트래픽, 수백만 레코드)
  • 데이터베이스 선호도 (SQL/NoSQL) - 지정하지 않으면 SQL 기본값

트리거

트리거예시
스키마 설계"사용자 인증을 위한 스키마 설계"
데이터베이스 설계"멀티 테넌트 SaaS를 위한 데이터베이스 설계"
테이블 생성"블로그 시스템을 위한 테이블 생성"
스키마 for"재고 관리를 위한 스키마"
데이터 모델링"실시간 분석을 위한 데이터 모델링"
데이터베이스가 필요해"주문 추적을 위한 데이터베이스가 필요해"
NoSQL 설계"제품 카탈로그를 위한 NoSQL 스키마 설계"

주요 용어

용어정의
정규화중복을 줄이기 위해 데이터를 구성하는 것 (1NF → 2NF → 3NF)
3NF제3정규형 - 열 간에 이행적 종속성이 없음
OLTP온라인 트랜잭션 처리 - 쓰기 위주, 정규화 필요
OLAP온라인 분석 처리 - 읽기 위주, 역정규화 혜택
외래 키(FK)다른 테이블의 기본 키를 참조하는 열
인덱스쿼리 속도를 높이는 데이터 구조 (느린 쓰기 비용)
접근 패턴앱이 데이터를 읽고 쓰는 방식 (쿼리, 조인, 필터)
역정규화읽기 속도를 높이기 위해 의도적으로 데이터를 중복시키는 것

빠른 참조

작업접근 방식주요 고려 사항
새 스키마먼저 3NF로 정규화UI보다 도메인 모델링
SQL vs NoSQL접근 패턴 결정읽기/쓰기 비율 중요
기본 키INT 또는 UUID분산 시스템의 경우 UUID
외래 키항상 제약 조건 설정ON DELETE 전략 중요
인덱스FK + WHERE 열열 순서 중요
마이그레이션항상 되돌릴 수 있어야 함먼저 하위 호환성 유지

프로세스 개요

데이터 요구 사항
    |
    v
+-----------------------------------------------------+
| 단계 1: 분석                                          |
| * 엔터티 및 관계 식별                                   |
| * 접근 패턴 결정 (읽기 vs 쓰기 위주)                     |
| * 요구 사항에 따라 SQL 또는 NoSQL 선택                  |
+-----------------------------------------------------+
    |
    v
+-----------------------------------------------------+
| 단계 2: 설계                                          |
| * 3NF로 정규화 (SQL) 또는 임베드/참조 (NoSQL)          |
| * 기본 키 및 외래 키 정의                               |
| * 적절한 데이터 유형 선택                               |
| * 제약 조건 추가 (UNIQUE, CHECK, NOT NULL)            |
+-----------------------------------------------------+
    |
    v
+-----------------------------------------------------+
| 단계 3: 최적화                                        |
| * 인덱싱 전략 계획                                    |
| * 읽기 위주 쿼리에 대한 역정규화 고려                     |
| * 타임스탬프 추가 (created_at, updated_at)             |
+-----------------------------------------------------+
    |
    v
+-----------------------------------------------------+
| 단계 4: 마이그레이션                                    |
| * 마이그레이션 스크립트 생성 (업 + 다운)                 |
| * 하위 호환성 보장                                     |
| * 무중단 배포 계획                                     |
+-----------------------------------------------------+
    |
    v
프로덕션 준비 완료 스키마

명령어

명령어사용 시기작업
{도메인}을 위한 스키마 설계새로 시작할 때전체 스키마 생성
{테이블} 정규화기존 테이블 수정정규화 규칙 적용
{테이블}에 인덱스 추가성능 문제 발생 시인덱스 전략 생성
{변경}을 위한 마이그레이션스키마 진화 시되돌릴 수 있는 마이그레이션 생성
스키마 검토코드 리뷰 시기존 스키마 감사

워크플로: 스키마 설계로 시작 → 정규화로 반복 → 인덱스 추가로 최적화 → 마이그레이션으로 진화


핵심 원칙

원칙이유구현
도메인 모델링UI는 변하지만 도메인은 변하지 않음엔터티 이름은 비즈니스 개념 반영
데이터 무결성 우선손상은 수정 비용이 높음데이터베이스 수준에서 제약 조건
접근 패턴에 최적화둘 다 최적화할 수 없음OLTP: 정규화, OLAP: 역정규화
확장 계획사후 적용은 어려움인덱스 전략 + 파티셔닝 계획

안티 패턴

피해야 할 것이유대신
모든 곳에 VARCHAR(255)공간 낭비, 의도 숨김필드별 적절한 크기 지정
금액에 FLOAT 사용반올림 오류DECIMAL(10,2)
FK 제약 조건 누락고아 데이터항상 외래 키 정의
FK에 인덱스 없음느린 JOIN모든 외래 키 인덱싱
날짜를 문자열로 저장비교/정렬 불가DATE, TIMESTAMP 유형
쿼리에서 SELECT *불필요한 데이터 가져옴명시적 열 목록
되돌릴 수 없는 마이그레이션롤백 불가항상 DOWN 마이그레이션 작성
기본값 없이 NOT NULL 추가기존 행 손상Nullable 추가, 백필, 그런 다음 제약

검증 체크리스트

스키마 설계 후:

  • 모든 테이블에 기본 키가 있습니다.
  • 모든 관계에 외래 키 제약 조건이 있습니다.
  • 각 FK에 대해 ON DELETE 전략이 정의되어 있습니다.
  • 모든 외래 키에 인덱스가 있습니다.
  • 자주 쿼리되는 열에 인덱스가 있습니다.
  • 적절한 데이터 유형 사용 (금액은 DECIMAL 등)
  • 필수 필드에 NOT NULL
  • 필요한 곳에 UNIQUE 제약 조건
  • 검증을 위한 CHECK 제약 조건
  • created_at 및 updated_at 타임스탬프
  • 마이그레이션 스크립트가 되돌릴 수 있습니다.
  • 프로덕션 데이터로 스테이징에서 테스트됨

정규형

형태규칙위반 예시
1NF원자값, 반복 그룹 없음product_ids = '1,2,3'
2NF1NF + 부분 종속성 없음order_items의 customer_name
3NF2NF + 이행적 종속성 없음postal_code에서 파생된 country

제1정규형 (1NF)

-- 잘못됨: 열에 여러 값
CREATE TABLE orders (
  id INT PRIMARY KEY,
  product_ids VARCHAR(255)  -- '101,102,103'
);

-- 올바름: 항목에 대한 별도 테이블
CREATE TABLE orders (
  id INT PRIMARY KEY,
  customer_id INT
);

CREATE TABLE order_items (
  id INT PRIMARY KEY,
  order_id INT REFERENCES orders(id),
  product_id INT
);

제2정규형 (2NF)

-- 잘못됨: customer_name이 customer_id에만 종속됨
CREATE TABLE order_items (
  order_id INT,
  product_id INT,
  customer_name VARCHAR(100),  -- 부분 종속성!
  PRIMARY KEY (order_id, product_id)
);

-- 올바름: 고객 데이터는 별도 테이블에
CREATE TABLE customers (
  id INT PRIMARY KEY,
  name VARCHAR(100)
);

제3정규형 (3NF)

-- 잘못됨: country가 postal_code에 종속됨
CREATE TABLE customers (
  id INT PRIMARY KEY,
  postal_code VARCHAR(10),
  country VARCHAR(50)  -- 이행적 종속성!
);

-- 올바름: 별도의 postal_codes 테이블
CREATE TABLE postal_codes (
  code VARCHAR(10) PRIMARY KEY,
  country VARCHAR(50)
);

역정규화 시기

시나리오역정규화 전략
읽기 위주 보고미리 계산된 집계
비용이 많이 드는 JOIN캐시된 파생 열
분석 대시보드구체화된 뷰
-- 성능을 위해 역정규화
CREATE TABLE orders (
  id INT PRIMARY KEY,
  customer_id INT,
  total_amount DECIMAL(10,2),  -- 계산됨
  item_count INT               -- 계산됨
);

문자열 유형

유형사용 사례예시
CHAR(n)고정 길이상태 코드, ISO 날짜
VARCHAR(n)가변 길이이름, 이메일
TEXT긴 콘텐츠문서, 설명
-- 적절한 크기 지정
email VARCHAR(255)
phone VARCHAR(20)
country_code CHAR(2)

숫자 유형

유형범위사용 사례
TINYINT-128 ~ 127나이, 상태 코드
SMALLINT-32K ~ 32K수량
INT-2.1B ~ 2.1BID, 개수
BIGINT매우 큼대규모 ID, 타임스탬프
DECIMAL(p,s)정확한 정밀도금액
FLOAT/DOUBLE근사치과학 데이터
-- 금액에는 항상 DECIMAL 사용
price DECIMAL(10, 2)  -- 99,999,999.99$

-- 금액에 FLOAT 절대 사용 금지
price FLOAT  -- 반올림 오류!

날짜/시간 유형

DATE        -- 2025-10-31
TIME        -- 14:30:00
DATETIME    -- 2025-10-31 14:30:00
TIMESTAMP   -- 자동 시간대 변환

-- 항상 UTC로 저장
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP

부울

-- PostgreSQL
is_active BOOLEAN DEFAULT TRUE

-- MySQL
is_active TINYINT(1) DEFAULT 1

인덱스를 생성해야 하는 경우

항상 인덱스이유
외래 키JOIN 속도 향상
WHERE 절 열필터링 속도 향상
ORDER BY 열정렬 속도 향상
고유 제약 조건고유성 강제
-- 외래 키 인덱스
CREATE INDEX idx_orders_customer ON orders(customer_id);

-- 쿼리 패턴 인덱스
CREATE INDEX idx_orders_status_date ON orders(status, created_at);

인덱스 유형

유형가장 적합한 경우예시
B-Tree범위, 동등price > 100
Hash정확한 일치만email = '[email protected]'
전체 텍스트텍스트 검색MATCH AGAINST
부분행의 하위 집합WHERE is_active = true

복합 인덱스 순서

CREATE INDEX idx_customer_status ON orders(customer_id, status);

-- 인덱스 사용 (customer_id 우선)
SELECT * FROM orders WHERE customer_id = 123;
SELECT * FROM orders WHERE customer_id = 123 AND status = 'pending';

-- 인덱스 사용 안 함 (status만)
SELECT * FROM orders WHERE status = 'pending';

규칙: 가장 선택적인 열을 먼저 배치하거나, 단독으로 가장 많이 쿼리되는 열을 먼저 배치합니다.

인덱스 함정

함정문제해결책
과도한 인덱싱느린 쓰기쿼리되는 것만 인덱싱
잘못된 열 순서사용되지 않는 인덱스쿼리 패턴 일치
FK 인덱스 누락느린 JOIN항상 FK 인덱싱

기본 키

-- 자동 증가 (간단)
id INT AUTO_INCREMENT PRIMARY KEY

-- UUID (분산 시스템)
id CHAR(36) PRIMARY KEY DEFAULT (UUID())

-- 복합 (연결 테이블)
PRIMARY KEY (student_id, course_id)

외래 키

FOREIGN KEY (customer_id) REFERENCES customers(id)
  ON DELETE CASCADE     -- 부모 삭제 시 자식도 삭제
  ON DELETE RESTRICT    -- 참조되면 삭제 방지
  ON DELETE SET NULL    -- 부모 삭제 시 NULL로 설정
  ON UPDATE CASCADE     -- 부모 변경 시 자식도 업데이트
전략사용 시기
CASCADE종속 데이터 (order_items)
RESTRICT중요한 참조 (사고 방지)
SET NULL선택적 관계

기타 제약 조건

-- 고유
email VARCHAR(255) UNIQUE NOT NULL

-- 복합 고유
UNIQUE (student_id, course_id)

-- 검사
price DECIMAL(10,2) CHECK (price >= 0)
discount INT CHECK (discount BETWEEN 0 AND 100)

-- Not null
name VARCHAR(100) NOT NULL

일대다

CREATE TABLE orders (
  id INT PRIMARY KEY,
  customer_id INT NOT NULL REFERENCES customers(id)
);

CREATE TABLE order_items (
  id INT PRIMARY KEY,
  order_id INT NOT NULL REFERENCES orders(id) ON DELETE CASCADE,
  product_id INT NOT NULL,
  quantity INT NOT NULL
);

다대다

-- 연결 테이블
CREATE TABLE enrollments (
  student_id INT REFERENCES students(id) ON DELETE CASCADE,
  course_id INT REFERENCES courses(id) ON DELETE CASCADE,
  enrolled_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (student_id, course_id)
);

자기 참조

CREATE TABLE employees (
  id INT PRIMARY KEY,
  name VARCHAR(100) NOT NULL,
  manager_id INT REFERENCES employees(id)
);

다형성

-- 접근법 1: 별도 FK (더 강력한 무결성)
CREATE TABLE comments (
  id INT PRIMARY KEY,
  content TEXT NOT NULL,
  post_id INT REFERENCES posts(id),
  photo_id INT REFERENCES photos(id),
  CHECK (
    (post_id IS NOT NULL AND photo_id IS NULL) OR
    (post_id IS NULL AND photo_id IS NOT NULL)
  )
);

-- 접근법 2: 유형 + ID (유연하지만 약한 무결성)
CREATE TABLE comments (
  id INT PRIMARY KEY,
  content TEXT NOT NULL,
  commentable_type VARCHAR(50) NOT NULL,
  commentable_id INT NOT NULL
);

임베딩 vs 참조

요소임베드참조
접근 패턴함께 읽음따로 읽음
관계1:소수1:다수
문서 크기작음16MB에 근접
업데이트 빈도드물게자주

임베디드 문서

{
  "_id": "order_123",
  "customer": {
    "id": "cust_456",
    "name": "Alice",
    "email": "[email protected]"
  },
  "items": [
    {
      "product_id": "prod_789",
      "name": "Widget",
      "price": 19.99,
      "quantity": 2
    }
  ],
  "total": 39.98,
  "status": "pending",
  "created_at": "2025-10-31T14:30:00Z"
}

참조된 문서

// order 컬렉션
{
  "_id": "order_123",
  "customer_id": "cust_456",
  "item_ids": ["item_001", "item_002"],
  "total": 39.98,
  "status": "pending"
}

관계 패턴

패턴설명예시
임베드 (1:1)동일한 문서에 포함주문의 고객 세부정보
임베드 (1:소수)하위 문서 배열주문의 항목
참조 (1:다수)별도 컬렉션사용자의 주문
참조 (다대다)연결 컬렉션학생 및 강좌

NoSQL 설계 규칙

  1. 접근 패턴 우선 접근 패턴이 스키마를 결정하게 합니다.
  2. 함께 읽는 것은 함께 저장 같이 액세스하는 데이터는 임베드합니다.
  3. 자주 업데이트되는 것은 분리 자주 변경되는 필드는 참조합니다.
  4. 16MB 문서 크기 제한에 주의 너무 많이 임베드하지 마십시오.
  5. 인덱스 생성 방법은 동일 자주 쿼리되는 필드에 인덱스를 만듭니다.

기본 마이그레이션 템플릿

-- V1__create_users_table.sql
CREATE TABLE users (
  id BIGINT AUTO_INCREMENT PRIMARY KEY,
  email VARCHAR(255) UNIQUE NOT NULL,
  name VARCHAR(100) NOT NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

-- V1__create_users_table_rollback.sql
DROP TABLE IF EXISTS users;

마이그레이션 유형

유형설명예시
생성새 테이블CREATE TABLE
추가새 열ADD COLUMN
삭제기존 열DROP COLUMN
변경데이터 유형 변경MODIFY COLUMN
이름 변경열 또는 테이블 변경RENAME COLUMN

안전한 마이그레이션 패턴

-- 1. 새 열 추가 (Nullable)
ALTER TABLE users ADD COLUMN phone VARCHAR(20);

-- 2. 데이터 백필
UPDATE users SET phone = 'N/A' WHERE phone IS NULL;

-- 3. NOT NULL 제약 조건 적용
ALTER TABLE users MODIFY COLUMN phone VARCHAR(20) NOT NULL DEFAULT 'N/A';

무중단 배포 고려 사항

전략설명
확장 마이그레이션이전 및 새 스키마 지원
기능 플래그새 기능 롤아웃 제어
블루-그린 배포트래픽 점진적 전환
-- 무중단 배포 패턴
-- 1단계: 새 열 추가
ALTER TABLE orders ADD COLUMN new_status VARCHAR(20);

-- 2단계: 이전 및 새 값 동시 기록
-- 앱이 old_status와 new_status를 모두 업데이트합니다.

-- 3단계: 백필
UPDATE orders SET new_status = old_status WHERE new_status IS NULL;

-- 4단계: 이전 열 삭제
ALTER TABLE orders DROP COLUMN old_status;

성능 진단

-- 느린 쿼리 찾기
EXPLAIN SELECT * FROM orders WHERE customer_id = 123;

-- 인덱스 사용 확인
SHOW INDEX FROM orders;

-- 쿼리 프로파일링
SET profiling = 1;
SELECT * FROM orders WHERE customer_id = 123;
SHOW PROFILE;

일반적인 성능 문제

문제원인해결책
느린 쿼리인덱스 누락쿼리 패턴 분석 및 인덱스 추가
테이블 잠금장기 실행 쓰기행 수준 잠금 또는 파티셔닝 사용
메모리 부족큰 결과 집합LIMIT 및 페이징 사용
느린 조인잘못된 FK 인덱스외래 키 인덱스 확인

고급 최적화 기술

-- 쿼리 캐싱 (MySQL)
SELECT SQL_CACHE * FROM orders WHERE status = 'pending';

-- 연결 풀링
-- 최대 연결 수 설정
max_connections = 200

-- 읽기 복제본
-- 복제본에서 읽기 전용 쿼리 분리
SELECT * FROM orders_read_replica WHERE status = 'pending';

-- 샤딩
-- customer_id로 주문 테이블 분할
CREATE TABLE orders_shard_1 (
  id BIGINT,
  customer_id INT CHECK (customer_id BETWEEN 1 AND 10000),
  ...
);

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mianhtsys/landingMod3

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

mianhtsys/landingMod3

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

mianhtsys/landingMod3

Diseña y compara alternativas arquitectónicas trazables a RF/RNF sin implementar código.

mianhtsys/landingMod3

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.

mianhtsys/landingMod3

Revisión adversarial de la arquitectura contra RF/RNF, detectando contradicciones, cobertura faltante y complejidad innecesaria.

mianhtsys/landingMod3

Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.

mianhtsys/landingMod3

>- Generate grounded-and-verified, engine-agnostic database documentation that reaches 100% parity with the real schema. Introspects the LIVE database as ground truth and cross-validates it against ORM models, migrations, generated types, seeds, and application queries, then proves completeness by diffing the docs back against the database. Produces ER diagrams (mermaid), per-table data dictionaries, and a machine-readable schema.json. Works with PostgreSQL, MySQL, SQL Server, and SQLite across any ORM (Prisma, TypeORM, Drizzle, Sequelize, Knex, Django, Rails) or raw SQL. Use when asked to document a database, produce an ERD or data dictionary, write db/schema docs, audit schema drift, or refresh existing DB docs.

mianhtsys/landingMod3

Compara estrategias de persistencia y motores de datos según consistencia, concurrencia, volumen, recuperación y operación.

mianhtsys/landingMod3

Consolida análisis especializados en una recomendación arquitectónica, matriz de decisión, ADR y plan de validación.

mianhtsys/landingMod3

Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.

mianhtsys/landingMod3

Build and maintain web frontends — component architecture, state management, API integration, responsive layout, client-side performance, and frontend testing patterns. Framework agnostic, focused on web frontend implementation. Do not use for backend service implementation, data engineering, or platform infrastructure work.

mianhtsys/landingMod3

Evalúa despliegue, contenedores, escalado, alta disponibilidad, observabilidad, backup, recuperación y CI/CD de forma proporcional.

mianhtsys/landingMod3

Execute read-only SQL queries against multiple Microsoft SQL Server databases. Use when: (1) querying MSSQL/SQL Server databases, (2) exploring database schemas/tables, (3) running SELECT queries for data analysis, (4) checking database contents. Supports multiple database connections with descriptions for intelligent auto-selection. Blocks all write operations (INSERT, UPDATE, DELETE, DROP, etc.) for safety.

mianhtsys/landingMod3

Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, or ensuring API contract compliance.

mianhtsys/landingMod3

PHP 8.0+ development — XAMPP, RESTful APIs, PDO/MySQL/MariaDB, and authentication. Use when building PHP backends, creating API endpoints, configuring XAMPP, or integrating PHP with databases.

mianhtsys/landingMod3

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features

mianhtsys/landingMod3

Analiza requisitos funcionales y no funcionales, reglas, restricciones, capacidad y ambigüedades antes de seleccionar tecnologías.

mianhtsys/landingMod3

Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.

mianhtsys/landingMod3

>- Use when designing or implementing software securely: define security requirements, threat-model a feature, choose secure defaults, design authentication and authorization, handle untrusted data and secrets, evaluate dependencies, design multi-tenant trust boundaries, or review security-sensitive changes. Use for prevention during requirements, design, implementation, and review; not for post-build security assessments or scanning an existing codebase.

mianhtsys/landingMod3

Revisa seguridad arquitectónica, identidad, autorización, secretos, APIs, auditoría, fraude y resiliencia antes de implementar.

관련 스킬