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
Adds a new AI prompt guide at content/900-ai/prompts/nextjs.mdx detailing a Next.js + Prisma + Postgres integration workflow, plus a sidebar update in sidebars.ts to expose the new prompt under the Prompts category.
Changes
Cohort / File(s)
Summary
AI Prompt Documentation content/900-ai/prompts/nextjs.mdx
Added a comprehensive prompt guide with installation steps, Prisma configuration (generator/output/provider), lib/prisma.ts singleton pattern, dotenv usage, Accelerate extension guidance, API/page code templates, npm scripts, test script, and verification/failure analysis.
Navigation Configuration sidebars.ts
Added "ai/prompts/nextjs" to the aiSidebar Prompts items alongside existing entries.
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Auth.js Guide Created #7064 — Adds Next.js + Prisma documentation with similar generator output path and lib/prisma.ts singleton patterns.
DC-5271 Astro AI Prompt #7167 — Adds AI prompt MDX files and updates aiSidebar entries; overlaps with this PR's sidebar and prompts additions.
Pre-merge checks
❌ Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Docstring Coverage
⚠️ Warning
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 title "DC-5274-nextjs-ai-prompt" is related to the main change in the pull request, which adds a comprehensive Next.js + Prisma AI prompt guide file (nextjs.mdx) and updates the sidebars to include it. The "nextjs-ai-prompt" portion of the title clearly identifies the primary change, though the inclusion of the ticket number (DC-5274) as a prefix gives the title more of a branch name appearance rather than a descriptive PR title format. A teammate scanning the history would understand that this PR adds a Next.js AI prompt, making the title sufficiently clear despite the formatting choice.
📜 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 fb68e27 and a39de3b.
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)
content/900-ai/prompts/nextjs.mdx (1)
1-500: Skipping review per learnings guidance.
Per established learnings from previous reviews in this repository, files in the content/900-ai/prompts/ directory are not subject to line-by-line code review. This guidance was documented in PR #7167 (2025-10-10) and applies to this file.
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