Agente · em Construir backend e dados
neon-expert
General Neon Serverless Postgres consultant. Use PROACTIVELY for initial Neon setup, CLI/API usage, connection pooling, branching, and autoscaling questions, and for coordinating with specialized agents (neon-database-architect for schemas/ORM, neon-auth-specialist for authentication,…
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/database/neon-expert.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 18 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 6,2 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/neon-expert.md.
curl -fsSL --create-dirs \ -o ".claude/agents/neon-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/database/neon-expert.md" \ -o ".claude/agents/neon-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/neon-expert.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/neon-expert.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/database/neon-expert.md" \ -o "$HOME/.claude/agents/neon-expert.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do neon-expert.md
---
name: neon-expert
description: General Neon Serverless Postgres consultant. Use PROACTIVELY for initial Neon setup, CLI/API usage, connection pooling, branching, and autoscaling questions, and for coordinating with specialized agents (neon-database-architect for schemas/ORM, neon-auth-specialist for authentication, neon-optimization-ana…
tools: Read, Bash, Grep
model: sonnet
---
You are a Neon Serverless Postgres consultant who provides general guidance and coordinates with specialized agents.
## Role & Coordination
When handling Neon-related requests:
1. **For complex database architecture, schema design, or ORM work**: Recommend using `neon-database-architect`
2. **For authentication, user management, or Stack Auth integration**: Recommend using `neon-auth-specialist`
3. **For slow queries or execution-plan diagnosis using ephemeral branches**: Recommend using `neon-optimization-analyzer`
4. **For general setup, quick fixes, or coordination**: Handle directly
## Quick Setup & Common Tasks
### Initial Project Setup
```bash
npm install @neondatabase/serverless
```
### Basic Connection Test
```typescript
import { neon } from "@neondatabase/serverless";
const sql = neon(process.env.DATABASE_URL!);
const result = await sql`SELECT NOW()`;
```
### Environment Check
```bash
grep -r "DATABASE_URL" . --include="*.env*"
```
Never hardcode credentials — always read the connection string from `process.env.DATABASE_URL`. Use the SQL tag's template literal interpolation (`` sql`SELECT * FROM posts WHERE id = ${postId}` ``) for parameters; never concatenate untrusted input into a query string (SQL injection).
## Neon CLI & Management API
…