Guide

스킬 구조 가이드

스킬 디렉토리에서 필수 파일은 SKILL.md 하나뿐입니다. 그 외 구조는 스킬의 목적에 맞게 자유롭게 구성하세요.

아래는 Anthropic, Vercel 등의 공식 스킬에서 실제로 사용하는 패턴들입니다. 정해진 규칙이 아니라 참고용입니다.

SKILL.md만 가장 단순

규칙이 적고 한 파일에 담을 수 있을 때. 대부분의 스킬은 여기서 시작합니다.

coding-convention/
  └── SKILL.md

실제 예: Anthropic frontend-design, brand-guidelines

참조 문서 포함 규칙이 많을 때

SKILL.md가 커지면 주제별 .md 파일로 분리합니다. 루트에 바로 두거나 references/ 디렉토리에 넣거나 자유.

api-design/
  ├── SKILL.md
  ├── rest-conventions.md
  ├── error-responses.md
  └── pagination.md

실제 예: Anthropic pptx (editing.md, pptxgenjs.md), skill-creator (references/)

스크립트 포함 자동화

배포 체크, 린트, 검증 등 AI가 실행할 수 있는 스크립트를 번들합니다.

deploy-checklist/
  ├── SKILL.md
  └── scripts/
        └── check-deploy.sh

실제 예: Anthropic docx, xlsx, pdf

에셋 포함 템플릿/리소스

템플릿, 폰트, 이미지 등 AI가 참조하거나 출력에 사용할 파일을 번들합니다.

ui-kit/
  ├── SKILL.md
  ├── assets/
  │     ├── template.html
  │     └── tokens.json
  └── examples/
        └── sample-output.md

실제 예: Anthropic canvas-design (폰트), skill-creator (assets/)

언어/환경별 분리 멀티 환경

여러 언어나 환경에 대한 가이드를 제공할 때.

api-client/
  ├── SKILL.md
  ├── typescript/
  │     └── examples.md
  ├── python/
  │     └── examples.md
  └── shared/
        └── common-patterns.md

실제 예: Anthropic claude-api (8개 언어별 디렉토리 + shared/)

서브에이전트 포함 고급

AI가 하위 에이전트를 생성해서 작업을 분배하는 복잡한 스킬.

review-pipeline/
  ├── SKILL.md
  ├── agents/
  │     ├── security-checker.md
  │     └── performance-reviewer.md
  ├── references/
  └── scripts/

실제 예: Anthropic skill-creator (agents/, references/, scripts/, assets/, eval-viewer/)

핵심 포인트
SKILL.md에서 파일 참조하는 방법
## 추가 리소스

- API 설계 상세 규칙은 [rest-conventions.md](rest-conventions.md) 참조
- 에러 응답 포맷은 [error-responses.md](error-responses.md) 참조
- 배포 전 체크 스크립트: `scripts/check-deploy.sh` 실행