From fsd
Feature-Sliced Design(FSD) 아키텍처 방법론 가이드. 프론트엔드 프로젝트의 디렉토리 구조, 레이어/슬라이스/세그먼트 설계, 의존성 규칙, Public API 패턴 참조.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fsd:fsdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Doc Source:** https://feature-sliced.design/kr/docs
Doc Source: https://feature-sliced.design/kr/docs
FSD 아키텍처 방법론에 따라 프론트엔드 프로젝트의 디렉토리 구조를 설계하고, 레이어 간 의존성 규칙을 준수하며, 코드를 비즈니스 도메인 기반으로 조직하는 가이드를 제공한다.
| 규칙 | 설명 |
|---|---|
| 단방향 의존성 | 상위 Layer만 하위 Layer를 import 가능. 역방향 금지 |
| 슬라이스 격리 | 같은 Layer 내 다른 슬라이스 간 상호 참조 금지 (예외: @x 패턴) |
| Public API 필수 | 모든 슬라이스는 index.ts를 통해서만 외부에 노출 |
| 도메인 기반 네이밍 | components/, hooks/, types/ 같은 기술적 이름 금지 |
| 명시적 Named Export | export * 대신 필요한 것만 명시적으로 export |
| Entities 신중하게 | entities는 필수가 아님. 재사용 필요가 명확할 때만 추출 |
src/
├── app/ ← 전역 설정, 라우팅, Provider (Slice 없음)
├── pages/ ← 라우트별 화면 단위
├── widgets/ ← 독립적 UI 블록 (재사용)
├── features/ ← 사용자 기능 단위
├── entities/ ← 비즈니스 Entity (선택)
└── shared/ ← 공통 도구, UI, API (Slice 없음)
FSD 처음이거나 전체 구조를 파악하고 싶다면? → references/01-overview.md
각 Layer의 역할과 세부 규칙이 궁금하다면? → references/08-layers.md
슬라이스와 세그먼트 설계 방법이 필요하다면? → references/09-slices-segments.md
Public API (index.ts) 작성 규칙이 궁금하다면? → references/10-public-api.md
@x cross-import인증(로그인/회원가입) 구현 시? → references/02-authentication.md
타입 배치 전략이 필요하다면? → references/03-types.md
페이지 레이아웃 구성 시? → references/04-page-layouts.md
API 요청 구조 설계 시? → references/05-handling-api-requests.md
기술적 폴더 구조 안티패턴을 피하려면? → references/06-desegmentation.md
Entities Layer가 비대해지는 문제가 있다면? → references/07-excessive-entities.md
npx claudepluginhub window-ook/claude-code-lab --plugin fsdEnforces Suspense-first data fetching, feature-based code organization, and strict TypeScript discipline for React applications. Use when creating components, pages, adding features, or fetching data.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.