feature-architecture
CommunityEnforce feature-based architecture in Next.js.
Software Engineering#typescript#nextjs#project-structure#feature-architecture#barrel-exports#domain-modules
Authormadlado87
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ensures a consistent feature-based structure for Next.js projects, keeping domain logic under src/features and thin routes under src/app.
Core Features & Use Cases
- Feature modules: Organize domain code into isolated features with dedicated folders for schemas, types, components, queries, hooks, stores, mocks, and constants.
- Barrel exports & imports: Create a single barrel index per feature to expose public APIs and enforce import boundaries.
- Guidelines & decision tree: Provide rules for where code belongs, naming conventions, and navigation integration to support scalable teamwork.
Quick Start
Create or align a new feature with the defined structure and ensure a barrel index exports the feature publicly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: feature-architecture Download link: https://github.com/madlado87/agentes/archive/main.zip#feature-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.