# AI Rules: Bring Neon Context into Your Editor

DevFeed: [AI Rules: Bring Neon Context into Your Editor](<https://devfeed.tech/articles/ai-rules-bring-neon-context-into-your-editor-4954.md>)

Original publisher: [Read original article](<https://neon.com/blog/ai-rules-bring-neon-context-into-your-editor>)

Author: Carlota Soto

Published: 2025-09-02T18:00:24Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [ai-coding](<https://devfeed.tech/topics/ai-coding.md>), [cursor](<https://devfeed.tech/topics/cursor.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [orm](<https://devfeed.tech/tags/orm.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [product](<https://devfeed.tech/tags/product.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [transactions](<https://devfeed.tech/tags/transactions.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

The article introduces Neon-specific AI rules that can be added to editors such as Cursor. These rules provide context-aware guidance for full-stack applications, including authentication with Stack Auth and Neon Auth, Next.js setup, route protection, serverless connections, transaction handling, and avoiding hardcoded credentials.

## Source excerpt

Using AI coding assistants like Cursor to build your full-stack apps makes for a powerful workflow, but they don't always know the specifics of every tool - including Neon - and can do a little help. To give your editor Neon-specific context and help it generate better code from...