Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

moai-platform-neon摩艾平台霓虹灯

Agent Skill

moai-platform-neon 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

315

周安装

13

GitHub Stars

公开资料未说明

下载量

103
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:moai-platform-neon(摩艾平台霓虹灯)
来源仓库:https://github.com/modu-ai/cc-plugins
仓库路径:skills/moai-platform-neon
安装命令:
npx skills add modu-ai/cc-plugins --skill "moai-platform-neon"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add modu-ai/cc-plugins --skill "moai-platform-neon"

简介

用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的平台研究场景。
  • 通过 github 安装,使用 npx skills add 命令添加指定技能。
  • 需确认权限范围、维护状态及是否触发联网或命令执行。
  • moai-platform-neon 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

moai-platform-neon: Neon Serverless PostgreSQL Specialist

Quick Reference

Neon Serverless PostgreSQL Expertise: Specialized knowledge for Neon serverless PostgreSQL covering auto-scaling, scale-to-zero compute, database branching, Point-in-Time Recovery, and modern ORM integration.

Core Capabilities

Serverless Compute provides auto-scaling PostgreSQL with scale-to-zero for cost optimization.

Database Branching enables instant copy-on-write branches for dev, staging, and preview environments.

Point-in-Time Recovery offers 30-day PITR with instant restore to any timestamp.

Connection Pooling provides built-in connection pooler for serverless and edge compatibility.

PostgreSQL 16 ensures full PostgreSQL 16 compatibility with extensions support.

Quick Decision Guide

Need serverless PostgreSQL with auto-scaling: Use Neon.

Need database branching for CI/CD: Use Neon branching.

Need edge-compatible database: Use Neon with connection pooling.

Need instant preview environments: Use Neon branch per PR.

Need vector search: Consider Supabase with pgvector instead.

Context7 Documentation Access

To fetch the latest Neon documentation:

Step 1: Resolve the library ID using mcp__context7__resolve-library-id with library name "neondatabase/neon".

Step 2: Fetch documentation using mcp__context7__get-library-docs with the resolved Context7 ID, specifying topics like "branching", "connection pooling", or "auto-scaling".


Module Index

This skill is organized into focused modules for progressive disclosure:

Core Modules

Database Branching at modules/branching-workflows.md covers copy-on-write branches for development, preview environments, and CI/CD integration with GitHub Actions.

Auto-Scaling and Compute at modules/auto-scaling.md covers compute unit configuration, scale-to-zero settings, and cost optimization strategies.

Connection Pooling at modules/connection-pooling.md covers serverless connection pooling for edge runtimes, WebSocket configuration, and pool sizing.

PITR and Backups at modules/pitr-backups.md covers point-in-time recovery, branch restoration, and backup strategies.

Supporting Files

Reference Guide at reference.md provides API reference, environment configuration, and provider comparison.

Code Examples at examples.md provides complete working examples for common integration patterns.


Implementation Guide

Setup and Configuration

Package Installation requires @neondatabase/serverless from npm. Optionally install drizzle-orm for Drizzle ORM integration or @prisma/client and prisma for Prisma ORM integration.

Environment Configuration requires DATABASE_URL for direct connection used for migrations, formatted as postgresql://user:pass@ep-xxx.region.neon.tech/dbname?sslmode=require. DATABASE_URL_POOLED provides pooled connection for serverless and edge, formatted as postgresql://user:pass@ep-xxx-pooler.region.neon.tech/dbname?sslmode=require. NEON_API_KEY provides the Neon API key for branching operations. NEON_PROJECT_ID provides the project identifier.

Serverless Driver Usage

For basic query execution, import neon from @neondatabase/serverless. Create the sql function by calling neon with the DATABASE_URL environment variable. Execute simple queries using tagged template literals with the sql function. For parameterized queries that are SQL injection safe, include variables inside the template literal. The driver supports transaction operations using sql.transaction with an array of SQL statements.

Drizzle ORM Integration

For schema definition, import table and column types from drizzle-orm/pg-core. Define tables using pgTable with column definitions. Use uuid for UUIDs with primaryKey and defaultRandom, text for strings with notNull and unique modifiers, timestamp for dates with defaultNow, and jsonb for JSON columns.

For Drizzle client setup, import neon from @neondatabase/serverless, drizzle from drizzle-orm/neon-http, and the schema module. Create the sql function with neon and the DATABASE_URL. Export the db instance created with drizzle passing sql and the schema. Execute queries using db.select().from(schema.tableName).

Prisma ORM Integration

For Prisma with Neon Serverless Driver, import Pool and neonConfig from @neondatabase/serverless, PrismaNeon from @prisma/adapter-neon, and PrismaClient from @prisma/client. Set neonConfig.webSocketConstructor to the ws module. Create a Pool with the DATABASE_URL connection string. Create an adapter with PrismaNeon passing the pool. Export the prisma instance created with PrismaClient passing the adapter.


Provider Decision Guide

When to Use Neon

Serverless Applications benefit from auto-scaling and scale-to-zero that reduce costs significantly.

Preview Environments benefit from instant branching that enables per-PR databases with production data.

Edge Deployment benefits from connection pooling that provides edge runtime compatibility.

Development Workflow benefits from branching from production for realistic development data.

Cost Optimization benefits from paying only for active compute time with scale-to-zero.

When to Consider Alternatives

Need Vector Search: Consider Supabase with pgvector or dedicated vector database.

Need Real-time Subscriptions: Consider Supabase or Convex for real-time features.

Need NoSQL Flexibility: Consider Firestore or Convex for document storage.

Need Built-in Auth: Consider Supabase for integrated authentication.

Pricing Reference

Free Tier provides 3GB storage and 100 compute hours per month.

Pro Tier provides usage-based pricing with additional storage and compute.

Scale-to-Zero incurs no charges during idle periods.


Works Well With

  • moai-platform-supabase for alternative when RLS or pgvector needed
  • moai-lang-typescript for TypeScript patterns for Drizzle and Prisma
  • moai-domain-backend for backend architecture with database integration
  • moai-domain-database for general database patterns and optimization

Status: Production Ready Version: 2.1.0 Generated with: MoAI-ADK Skill Factory v2.0 Last Updated: 2026-01-11 Technology: Neon Serverless PostgreSQL

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.35%
按下载量换算28

windsurf

23.17%
按下载量换算24

trae

18.21%
按下载量换算19

OpenCode

10.47%
按下载量换算11

Codex

7.95%
按下载量换算8

Antigravity

3.04%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills