You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added comprehensive prompt documentation for generating Next.js applications integrated with Prisma and PostgreSQL, including detailed setup workflows, database configuration and migrations, API route implementation examples, server component patterns, and end-to-end development and testing procedures.
Updated navigation to include the new Next.js prompt guide.
This PR introduces a comprehensive MDX prompt document for generating Next.js applications with Prisma and PostgreSQL integration, and registers it in the documentation sidebar navigation.
Changes
Cohort / File(s)
Summary
New AI Prompt Documentation content/900-ai/prompts/nextjs.mdx
Adds comprehensive prompt file defining usage guidelines, installation workflows, Prisma configuration, database setup, API routes, server components, and AI model response templates for Next.js with Prisma and PostgreSQL projects
Sidebar Configuration sidebars.ts
Registers new Next.js prompt in aiSidebar Prompts category by adding "ai/prompts/nextjs" entry
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~12 minutes
Review accuracy of Next.js and Prisma setup patterns described in the prompt file
Verify consistency with existing AI prompt structure and formatting conventions
Confirm sidebar entry is correctly positioned and formatted
Possibly related PRs
DC-5271 Astro AI Prompt #7167: Adds similar AI prompt documentation for Astro framework with matching sidebar registration pattern
clerk updates #7073: Overlapping documentation content around global Prisma client setup in lib/prisma.ts and import patterns
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%.
You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name
Status
Explanation
Description Check
✅ Passed
Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check
✅ Passed
The pull request title "DC-5274-nextjs-ai-prompt" includes a ticket ID prefix but contains a descriptive portion that clearly relates to the main change in the PR. The changeset adds a new Next.js AI prompt documentation file and updates the sidebar configuration accordingly. The "nextjs-ai-prompt" component of the title accurately summarizes this primary change, and a reviewer scanning commit history would understand that this PR introduces a Next.js AI prompt resource. While including a ticket ID adds some noise compared to a purely descriptive title, the title itself is not misleading or off-topic.
📜 Recent review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between 46e6dd8 and 57aaa1a.
Learnt from: aidankmcalister
PR: prisma/docs#7167
File: content/900-ai/prompts/astro.mdx:84-85
Timestamp: 2025-10-10T13:13:30.534Z
Learning: Do not review or comment on files in the `ai/prompts/` directory or matching the path pattern `content/900-ai/prompts/` in the prisma/docs repository.
Applied to files:
content/900-ai/prompts/nextjs.mdx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
GitHub Check: Check internal links
GitHub Check: runner / linkspector
GitHub Check: Cloudflare Pages
🔇 Additional comments (1)
sidebars.ts (1)
536-536: LGTM!
The addition of "ai/prompts/nextjs" correctly registers the new Next.js prompt document in the sidebar navigation, following the established pattern used for the Astro prompt.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit
Release Notes