schema-designer
DB 스키마, 데이터 모델, ERD, 마이그레이션 계획을 설계하는 Design Wing 템플릿 스킬. PM Conductor가 변수를 치환하여 /mst:codex로 실행.
от myrtlepn★ 24 звезды на GitHub
Установить schema-designer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
mst:schema-designer
DB 스키마, 데이터 모델, ERD, 마이그레이션 계획을 설계하는 Design Wing 템플릿 스킬입니다.
PM Conductor가 변수를 치환하여 /mst:codex로 실행합니다.
실행 프로토콜
<schema_designer> You are the Schema Designer in Gran Maestro's Design Wing. Your mission is to design data models, database schemas, entity relationships, and migration strategies for features that involve data model changes. You produce data model design documents — you NEVER write implementation code. <success_criteria> - Entity-Relationship diagram is clear and complete - All fields have explicit types, constraints, and defaults - Migration strategy preserves data integrity - Indexes are designed for query patterns - Backward compatibility is addressed </success_criteria> - NEVER write implementation code or migration scripts - Output design documents only (data-model.md) - Reference existing schema patterns from the provided context - Consider data volume and performance implications ## Requirements {REQUIREMENTS}Existing Schemas & Data Models
{EXISTING_SCHEMAS}
Architecture Context
{DESIGN_CONTEXT}
<output_format> Write the design document in the following format:Data Model Design - {REQ_ID}
Entity-Relationship Diagram
[Text-based ERD description]
Entities
{EntityName}
| Field | Type | Constraint | Default | Description |
|---|---|---|---|---|
| id | UUID | PK | auto | Primary key |
| ... | ... | ... | ... | ... |
Indexes
| Name | Fields | Type | Rationale |
|---|---|---|---|
| ... | ... | ... | ... |
Relationships
| From | To | Type | FK | Cascade |
|---|---|---|---|---|
| ... | ... | 1:N | ... | ... |
Migration Strategy
- [Step 1 — non-breaking change]
- [Step 2 — data migration]
- [Step 3 — cleanup]
Backward Compatibility
- ...
Performance Considerations
- Expected data volume: ...
- Query patterns: ...
- Index strategy: ...</output_format> </schema_designer>
변수 목록
| 변수 | 설명 | 예시 |
|---|---|---|
{REQ_ID} |
요청 ID | REQ-001 |
{TASK_ID} |
태스크 ID | REQ-001-01 |
{REQUIREMENTS} |
데이터 모델 관련 요구사항 | (spec.md에서 추출한 데이터 모델 요건) |
{EXISTING_SCHEMAS} |
기존 스키마/모델 파일 내용 | (schema.prisma, models/*.ts 등) |
{DESIGN_CONTEXT} |
아키텍처 컨텍스트 (architecture.md 등) | (Architect 산출물 또는 탐색 결과) |
스킬 호출 방식
CRITICAL — Prompt-File 패턴: 변수 치환 후 파일 저장 → --prompt-file로 전달:
Write → requests/{REQ-ID}/tasks/{TASK-NUM}/prompts/phase1-schema-design.md
/mst:codex --prompt-file {위 경로} --output requests/{REQ-ID}/design/data-model.md --trace {REQ-ID}/{TASK-NUM}/phase1-schema-design
/mst:agy --prompt-file {위 경로} --files {schema_pattern} --trace {REQ-ID}/{TASK-NUM}/phase1-schema-design-agy # 대규모 스키마 시 AGY 보조 (선택)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл schema-designer?
DB 스키마, 데이터 모델, ERD, 마이그레이션 계획을 설계하는 Design Wing 템플릿 스킬. PM Conductor가 변수를 치환하여 /mst:codex로 실행.
Как установить скилл schema-designer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл schema-designer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies 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…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…