Next Best Practices

Broad Next.js guidance modeled after common reusable skill packs. Use when this capability is needed.

tomevault-io Updated

File contents

Use When

Use when adding or restructuring pages in either app.

Do

  • Keep route files under src/app.
  • Prefer server-rendered pages unless browser state is required.
  • Inspect the app dependency and existing route structure before copying patterns.

Do Not

  • Assume sibling apps share the same framework-major behavior.
  • Introduce client boundaries for static page composition.

Example

Both admin and storefront use App Router, but route composition and shared dependencies differ.

See Also

../nextjs/SKILL.md


Source: atheory-ai/skillex-demo — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/atheory-ai--skillex-demo--next-best-practices commit d1104ec24e

Frequently asked questions

npx skillmds@latest add tomevault-io/next-best-practices-28