跳到正文
Skillpedia
API 与服务器(后端)33k · #8718

using-neon

它能做什么

这个技能帮你的 AI 智能体处理 Neon,这是一个无服务器的 Postgres 数据库服务。适合在 Neon 上构建应用、并希望获得正确连接方法和功能的开发者。

适用场景

  • ✓当你对 Neon 的功能有疑问,例如分支或缩容到零时。
  • ✓当你需要选择应用如何连接 Neon 数据库时。
  • ✓当你想使用 Neon CLI 或 Neon 的平台 API 时。

技能链接

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/using-neon/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/using-neon/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我如何为我的 Neon 数据库创建一个分支,以测试模式变更?”

每周 5 个新技能,1 分钟读完。

工作原理

该技能让智能体参考 Neon 的官方文档,以及每个主题的指南。智能体会在回答之前阅读相关文档,因此答案保持最新。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Neon Serverless Postgres

Neon is a serverless Postgres platform that separates compute and storage to offer autoscaling, branching, instant restore, and scale-to-zero. It's fully compatible with Postgres and works with any language, framework, or ORM that supports Postgres.

Neon Documentation

Always reference the Neon documentation before making Neon-related claims. The documentation is the source of truth for all Neon-related information.

Below you'll find a list of resources organized by area of concern. This is meant to support you find the right documentation pages to fetch and add a bit of additonal context.

You can use the curl commands to fetch the documentation page as markdown:

Documentation:

# Get list of all Neon docs
curl https://neon.tech/llms.txt

# Fetch any doc page as markdown
curl -H "Accept: text/markdown" https://neon.tech/docs/<path>

Don't guess docs pages. Use the llms.txt index to find the relevant URL or follow the links in the resources below.

Overview of Resources

Reference the appropriate resource file based on the user's needs:

Core Guides

Area Resource When to Use
What is Neon references/what-is-neon.md Understanding Neon concepts, architecture, core resources
Referencing Docs references/referencing-docs.md Looking up official documentation, verifying information
Features references/features.md Branching, autoscaling, scale-to-zero, instant restore
Getting Started references/getting-started.md Setting up a project, connection strings, dependencies, schema
Connection Methods references/connection-methods.md Choosing drivers based on platform and runtime
Developer Tools references/devtools.md VSCode extension, MCP server, Neon CLI (neon init)

Database Drivers & ORMs

HTTP/WebSocket queries for serverless/edge functions.

Area Resource When to Use
Serverless Driver references/neon-serverless.md @neondatabase/serverless - HTTP/WebSocket queries
Drizzle ORM references/neon-drizzle.md Drizzle ORM integration with Neon

Auth & Data API SDKs

Authentication and PostgREST-style data API for Neon.

Area Resource When to Use
Neon Auth references/neon-auth.md @neondatabase/auth - Authentication only
Neon JS SDK references/neon-js.md @neondatabase/neon-js - Auth + Data API (PostgREST-style queries)

Neon Platform API & CLI

Managing Neon resources programmatically via REST API, SDKs, or CLI.

Area Resource When to Use
Platform API Overview references/neon-platform-api.md Managing Neon resources via REST API
Neon CLI references/neon-cli.md Terminal workflows, scripts, CI/CD pipelines
TypeScript SDK references/neon-typescript-sdk.md @neondatabase/api-client
Python SDK references/neon-python-sdk.md neon-api package
常见问题

这些信息来自哪里?

该技能说明 Neon 官方文档是权威来源,而智能体会查阅它。

它涵盖身份验证吗?

涵盖。它包括身份验证以及类似 PostgREST 的数据 API。

什么是分支?

分支是该技能涵盖的 Neon 功能之一,智能体会查阅官方文档以获取细节。

详情

作者的原始描述

Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related questions.

repo: davila7/claude-code-templates

热度

GitHub 星标
33k
排名
#8718
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能