This section defines how the frontend is organized using Feature-Sliced Design (FSD).
fsd-overview.md— what FSD is and why it is used.layers.md— responsibilities of each FSD layer.slices.md— how to split code into slices.segments.md—ui,model,lib,api,configsegments.public-api.md— public API and re-export rules.import-rules.md— cross-layer and cross-slice import rules.ui-patterns.md— semantic styling, no hardcoded copy, no redundant copy.../quality/agent-skills.md— Agent Skills for UI craft, motion, and anti-slop.
- Read
fsd-overview.mdif FSD is new to you. - Read
layers.mdto understand where a new file belongs. - Read
import-rules.mdbefore adding any import. - Read
ui-patterns.mdbefore writing UI code. - Apply the Agent Skills in
../quality/agent-skills.mdwhen the work is visual or motion-related.
Code is organized by scope of change, not by technical type. A feature contains everything it needs — UI, state, API, and utilities — so that changes to one feature do not leak into unrelated files.