1. Identify the user's goal: building, debugging, or architecting a Next.js application.
2. Determine if the project uses the App Router or Pages Router.
3. Based on the goal, provide relevant code snippets and configuration examples.
4. Explain key concepts like Server Components, Server Actions, and Cache Components.
5. Guide the user through the implementation process, addressing common pitfalls.
6. Offer best practices for security, performance, and maintainability.
7. Provide instructions for deploying the application on Vercel.