Skip to content

Conversation

@ArthurGamby
Copy link
Contributor

@ArthurGamby ArthurGamby commented Oct 25, 2025

Summary by CodeRabbit

Release Notes

  • Documentation
    • 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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 25, 2025

Walkthrough

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

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 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.

📒 Files selected for processing (2)
  • content/900-ai/prompts/nextjs.mdx (1 hunks)
  • sidebars.ts (2 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-10-10T13:13:30.534Z
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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

Dangerous URL check

No absolute URLs to prisma.io/docs found.
No local URLs found.

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

Note: Links are cached for 5 minutes to avoid unnecessary requests, and speed up consecutive runs.

📊 Results Overview

Status Count
🔍 Total 2416
✅ Successful 2389
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 26
❓ Unknown 0
🚫 Errors 0
⛔ Unsupported 1
Full Github Actions output

@cloudflare-workers-and-pages
Copy link

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 57aaa1a
Status: ✅  Deploy successful!
Preview URL: https://c936682c.docs-51g.pages.dev
Branch Preview URL: https://dc-5274-nextjs-ppg-ai-prompt.docs-51g.pages.dev

View logs

@ArthurGamby ArthurGamby merged commit 42cb0a5 into main Oct 27, 2025
9 of 10 checks passed
@ArthurGamby ArthurGamby deleted the DC-5274-nextjs-ppg-ai-prompt branch October 27, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants