Feature-Sliced Design
OfficialStructure frontend apps with FSD.
Authorconstellos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Feature-Sliced Design provides a scalable, discipline-based frontend architecture to prevent tangled imports and enable clear ownership across an app.
Core Features & Use Cases
- Clear 7-layer structure (app, views, widgets, features, entities, shared) with strict import rules that reduce circular dependencies.
- Custom 'views' layer to separate business logic from Next.js App Router routing, supporting Next.js apps and Turborepo monorepos.
- Slices and segments discipline for modular, slice-isolated code that can be developed independently and composed into pages.
- Migration guidance for moving from traditional monolithic structures to FSD, including public API conventions and colocated tests.
Quick Start
Set up the 7-layer folder structure under src (app, views, widgets, features, entities, shared) and begin by defining a core entity under src/entities, then build features that consume that entity, compose widgets, and finally expose pages in src/views and route with app/
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Feature-Sliced Design Download link: https://github.com/constellos/claude-code-plugins/archive/main.zip#feature-sliced-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.