Files
ai-chat/.continue/rules/entity-directory-structure-with-feature-validation.md
T
2026-06-10 18:22:27 +02:00

11 lines
726 B
Markdown

---
globs: src/Data/*/Entity/*.php
description: This rule enforces that entities are placed in feature-specific
directories under /src/Data/[FeatureName]/Entity. When [FeatureName] is
unknown or ambiguous, the developer must select an appropriate feature name
instead of automatically using a default 'Unknown' directory to maintain
proper architecture and code organization.
alwaysApply: true
---
All entities must be located in /src/Data/[FeatureName]/Entity directory, where [FeatureName] is a valid feature-specific subdirectory. If the feature name cannot be determined, developers must actively provide a proper feature name rather than defaulting to 'Unknown'. This ensures consistent architectural separation.