·arktype
</>

arktype

.merge() 및 .or(), 확산 키 구문 및 유형 구성을 사용하여 구별된 공용체에 대한 Arktype 패턴입니다. 공용체 유형을 구축하거나, 기본 스키마를 변형과 결합하거나, arktype을 사용하여 명령/이벤트 스키마를 정의할 때 사용합니다.

13설치·0트렌드·@epicenterhq

설치

$npx skills add https://github.com/epicenterhq/epicenter --skill arktype

arktype 설치 방법

명령줄에서 arktype AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/epicenterhq/epicenter --skill arktype
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: epicenterhq/epicenter.

Patterns for composing discriminated unions with arktype's .merge() and .or() methods.

Use when you have shared base fields and per-variant payloads discriminated on a literal key. .merge() distributes over unions — it merges the base into each branch of the union automatically.

| Base is a real Type | Reusable, composable, inspectable at runtime | | .merge() distributes | No need to repeat base.merge(...) per variant | | type.or() is flat | All variants in one list — easy to read and add to | | Base appears once | DRY — change base fields in one place | | Auto-discrimination | No manual discriminant config needed |

.merge() 및 .or(), 확산 키 구문 및 유형 구성을 사용하여 구별된 공용체에 대한 Arktype 패턴입니다. 공용체 유형을 구축하거나, 기본 스키마를 변형과 결합하거나, arktype을 사용하여 명령/이벤트 스키마를 정의할 때 사용합니다. 출처: epicenterhq/epicenter.

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/epicenterhq/epicenter --skill arktype
카테고리
</>개발 도구
인증됨
최초 등록
2026-03-09
업데이트
2026-03-10

Browse more skills from epicenterhq/epicenter

빠른 답변

arktype이란?

.merge() 및 .or(), 확산 키 구문 및 유형 구성을 사용하여 구별된 공용체에 대한 Arktype 패턴입니다. 공용체 유형을 구축하거나, 기본 스키마를 변형과 결합하거나, arktype을 사용하여 명령/이벤트 스키마를 정의할 때 사용합니다. 출처: epicenterhq/epicenter.

arktype 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/epicenterhq/epicenter --skill arktype 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

https://github.com/epicenterhq/epicenter

상세

카테고리
</>개발 도구
출처
skills.sh
최초 등록
2026-03-09