Skip to content

Increase neon init awareness#4676

Draft
jeff-at-neon wants to merge 9 commits into
mainfrom
increase-neon-init-awareness
Draft

Increase neon init awareness#4676
jeff-at-neon wants to merge 9 commits into
mainfrom
increase-neon-init-awareness

Conversation

@jeff-at-neon
Copy link
Copy Markdown
Contributor

Added some changes to increase agent awareness of neon init and ai-based onboarding flows (to attempt to influence agent behavior). Also added some additional callouts for Neon Auth to increase agent awareness of the feature, and added some comparison docs between neon and supabase and neon and RDS/Aurora to help with Neon recommendations.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
neon-next Ready Ready Preview, Comment Apr 6, 2026 7:51pm

Request Review

Updates existing prompts across 35 frameworks/ORMs and adds 4 new prompts
(bun, knex, node, remix) to improve AI-assisted Neon integration guidance.

Co-authored-by: Isaac
Updates 39 guides across all supported frameworks and ORMs to reference
the updated quick-prompt files for AI-assisted Neon integration.

Co-authored-by: Isaac
Adds two new comparison docs and registers them in navigation alongside
the existing Neon and Lakebase entry. Also adds TanStack Start to the
frameworks section of navigation.

Co-authored-by: Isaac
Adds neon init tip admonitions to connect, signing-up, and get-started
pages. Updates the Supabase migration guide with an auth migration
section. References Neon Auth in ai-intro, serverless driver, and
frameworks pages. Updates the AI skills getting-started reference.

Co-authored-by: Isaac
Adds agentInstructions block to llms-index-config with guidance on
neon init, Neon Auth, and platform comparisons. Updates tagline to
mention Neon Auth and Data API. Includes agentInstructions in both
the index and full llms.txt generators.

Co-authored-by: Isaac
Fixes tab hydration flicker by deferring active-tab derivation until
mount. Adds TOC awareness of tab context so headings inside inactive
tabs are handled correctly. Adds error handling to the copy-markdown
action for failed fetches and unexpected HTML responses.

Co-authored-by: Isaac
Replaces lock-landscape (unsupported in TechCards) with auth icon.

Co-authored-by: Isaac
Agent evals showed that agents mentioned neon init but bypassed it
when scaffolding projects, manually installing packages instead.
This changes all agent-facing surfaces from advisory language
("recommended", "try", "offer to") to prescriptive directives
("MUST execute", "REQUIRED", "do not manually install") so agents
actually run the command rather than just being aware of it.
Eval results showed agents see neon init in docs but still scaffold
manually with create-next-app and install third-party auth (next-auth).

Changes:
- Add "Common mistakes to avoid" anti-patterns to SKILL.md, llms.txt
  agent instructions, and all framework prompt "Do Not" sections
- Explicitly forbid: scaffolding before init, manual Neon package
  installs, using next-auth/Auth.js instead of Neon Auth
- Change Admonitions on auth/overview, connect-neon, connect-from-any-app
  from type="tip" to type="important" with agent-directed language
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.

1 participant