nextjs-structure
Next.js Enterprise Standards
1. Feature-Sliced Directory Structure
Avoid a monolithic components/ folder. Structure the frontend to mirror the backend domain boundaries.
Adopt Structure by Feature [26]:
More from ahmed6ww/ax-agents
fastapi-best-practices
FastAPI production-grade best practices and guidelines for building scalable, high-performance web APIs. Covers project structure, async concurrency, Pydantic validation, dependency injection, and database patterns.
16code-cleaner
Refactor code to remove technical debt, eliminate dead code, and enforce SOLID principles without altering runtime behavior.
4enterprise-code-architect
Expert guidance on system design, repository strategy (Monorepo vs Polyrepo), and architectural patterns (Hexagonal, Clean, Onion) for scaling to 100M+ users.
4postgresql-best-practices
Capture and apply OpenAI's PostgreSQL scaling approach exactly from the OpenAI post "Scaling PostgreSQL to the next level" (January 22, 2026). Use when building, reviewing, or planning PostgreSQL architecture, partitioning/indexing, query optimization, schema migrations, replication, and load balancing with strict source fidelity.
1