← Prompt library
Level 3 · Frontend
Add a Next.js route safely
Inspect the installed Next.js version and router in {{PROJECT_NAME}}. Add {{ROUTE}} following the existing architecture, metadata, and data-fetching conventions.
Fill in the variables
Replace the placeholders with your project’s real details. Keep secrets out.
Example input
PROJECT_NAME: codex-practice · SCOPE: index.html
Expected result
Build with the existing command, test direct URL loading, error behavior, and page metadata.
Expected result
Review and edit before using it in your project.
Before you run
Practice safely: use a disposable folder and sample data. Check every placeholder and the actual project state before using this template.