Loading...
Loading...
React feature-based architecture guidelines for scalable applications (formerly feature-architecture). This skill should be used when writing, reviewing, or refactoring React code to ensure proper feature organization. Triggers on tasks involving project structure, feature organization, module boundaries, cross-feature imports, data fetching patterns, or component composition.
npx skill4agent add pproenca/dot-skills feature-arch| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Directory Structure | CRITICAL | |
| 2 | Import & Dependencies | CRITICAL | |
| 3 | Module Boundaries | HIGH | |
| 4 | Data Fetching | HIGH | |
| 5 | Component Organization | MEDIUM-HIGH | |
| 6 | State Management | MEDIUM | |
| 7 | Testing Strategy | MEDIUM | |
| 8 | Naming Conventions | LOW | |
struct-feature-foldersstruct-feature-self-containedstruct-shared-layerstruct-flat-hierarchystruct-optional-segmentsstruct-app-layerimport-unidirectional-flowimport-no-cross-featureimport-public-apiimport-avoid-barrel-filesimport-path-aliasesimport-type-onlybound-feature-isolationbound-interface-contractsbound-feature-scoped-routingbound-minimize-shared-statebound-event-based-communicationbound-feature-sizefquery-single-responsibilityfquery-colocate-with-featurefquery-parallel-fetchingfquery-avoid-n-plus-onefquery-feature-scoped-keysfquery-server-component-fetchingfcomp-single-responsibilityfcomp-composition-over-propsfcomp-container-presentationalfcomp-props-as-data-boundaryfcomp-colocate-stylesfcomp-error-boundariesfstate-feature-scoped-storesfstate-server-state-separationfstate-lift-minimallyfstate-context-sparinglyfstate-reset-on-unmounttest-colocate-with-featuretest-feature-isolationtest-shared-utilitiestest-integration-at-app-layername-feature-namingname-file-conventionsname-descriptive-exportsreferences/{prefix}-{slug}.mdfeature-spectanstack-queryreact-19AGENTS.md