10 lines
678 B
Markdown
10 lines
678 B
Markdown
---
|
|
globs: src/UI/**/*
|
|
description: Ensures proper separation of concerns in the UI layer by organizing
|
|
controllers and related components into feature-specific subdirectories for
|
|
Frontend (web UI), Api (REST/GraphQL endpoints), and CLI (command-line
|
|
interface). This promotes clear architectural boundaries and maintainability.
|
|
alwaysApply: true
|
|
---
|
|
|
|
The UI layer must be divided into three subdirectories: Frontend, Api, and CLI under /src/UI. Controllers and related UI components must be organized into these respective subdirectories based on their purpose: Frontend for web UI controllers, Api for REST/GraphQL endpoints, and CLI for command-line interface commands. |