feature-slicing
Installation
SKILL.md
Feature-Sliced Design
Apply FSD v2.1 to the requested module-boundary decision. The user's explicit instructions take precedence over this skill's guidelines; an ordinary frontend edit is not permission to migrate its architecture.
Work within the project
Use the affected files, imports, framework/router, and requested behavior as input. Determine whether the repository already uses FSD or the user is asking to adopt it. If neither is true, preserve the existing structure.
Prefer page-local ownership until shared use or a distinct responsibility justifies extraction:
| Layer | Responsibility |
|---|---|
app |
Initialization, providers, routing |
pages |
Screens and their local UI, data, and logic |
widgets |
Self-contained UI blocks |
features |
Reusable user interactions |
entities |
Shared business concepts |
shared |
Infrastructure and domain-independent utilities/UI |