npx skills add https://github.com/neondatabase/ai-rules --skill neon-jsCLI를 사용하여 이 스킬을 설치하고 작업 공간에서 SKILL.md 워크플로 사용을 시작하세요.
[!IMPORTANT]
This repository has been archived. The content has moved to neondatabase/agent-skills.Agent Skills are now a specification supported by all major agents and coding editors, providing more capabilities than rule files. We created a new repository following the agent-skills pattern introduced by Vercel.
npx skills add neondatabase/agent-skills
A comprehensive Claude Code plugin with AI context rules, guided skills, and resource management tools for building with Neon Postgres. Works with Claude Code, Cursor, and other AI-powered development tools.
1. Add the Neon marketplace:
/plugin marketplace add neondatabase-labs/ai-rules
2. Install the plugin:
/plugin install neon-plugin@neon
3. Verify installation:
Ask Claude Code: "which skills do you have access to?"
You should see the Neon skills listed.
4. Start using:
Use natural language and skills activate automatically:
> Use the neon-drizzle skill to setup Drizzle ORM with Neon
1. Create rules directory:
mkdir -p .cursor/rules
2. Copy desired .mdc files:
# Example: Copy Drizzle and Serverless rules
cp neon-drizzle.mdc .cursor/rules/
cp neon-serverless.mdc .cursor/rules/
3. Start coding:
Cursor automatically applies these rules when you reference Neon.
Copy .mdc files to your AI tool's custom rules directory. The format is tool-agnostic and works with any AI assistant supporting context rules.
Complete workflow support for:
Includes:
db:generate, db:migrate, db:push, db:studio)Guides:
guides/new-project.md - Starting from scratchguides/existing-project.md - Adding to existing codebaseguides/schema-only.md - Schema-first developmentguides/troubleshooting.md - Common issues and solutionsTemplates for:
Perfect for testing and CI/CD:
Includes:
create-ephemeral-db.ts - Database creationdestroy-ephemeral-db.ts - Cleanup automationComplete authentication setup with @neondatabase/auth:
Guides:
guides/nextjs-setup.md - Next.js App Router workflowguides/react-spa-setup.md - React SPA workflowUnified SDK setup with @neondatabase/neon-js:
Guides:
guides/setup.md - Complete setup workflowAdds Neon best practices to your project's AI configuration:
Our skills are tested with automated evaluations to ensure reliability and quality.
| Skill | Pass Rate | Test Date | Details |
|---|---|---|---|
| neon-drizzle | 95.0% (19/20) | Oct 29, 2025 | View Results |
| add-neon-docs | 91.7% (55/60) | Oct 28, 2025 | View Results |
Evaluation Methodology: Each skill is tested with multiple prompts across 10+ iterations using real Claude Code environments with the plugin loaded. Scorers validate build success, skill activation, and output correctness.
Neon Get Started (neon-get-started.mdc)
Neon Get Started (Kiro) (neon-get-started-kiro.mdc)
Neon Auth (neon-auth.mdc)
Neon JS (neon-js.mdc)
@neondatabase/neon-jsNeon Serverless (neon-serverless.mdc)
Neon with Drizzle (neon-drizzle.mdc)
Neon Toolkit (neon-toolkit.mdc)
TypeScript SDK (neon-typescript-sdk.mdc)
Python SDK (neon-python-sdk.mdc)
API Guidelines (neon-api-guidelines.mdc)
API Projects (neon-api-projects.mdc)
API Branches (neon-api-branches.mdc)
API Endpoints (neon-api-endpoints.mdc)
API Roles (neon-api-organizations.mdc)
API Keys (neon-api-keys.mdc)
API Operations (neon-api-operations.mdc)
Available automatically when you activate the Claude Code plugin.
Features:
Configuration: neon-plugin/.mcp.json connects to Neon's remote MCP service (https://mcp.neon.tech/mcp)
ai-rules/
├── .claude-plugin/
│ └── marketplace.json # Marketplace metadata
├── neon-plugin/ # Claude Code plugin
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin configuration
│ ├── .mcp.json # MCP server connection
│ └── skills/ # Guided skills (6 total)
│ ├── add-neon-docs/ # Docs installer skill
│ ├── neon-auth/ # Neon Auth skill
│ ├── neon-drizzle/ # Drizzle ORM skill
│ │ ├── SKILL.md
│ │ ├── guides/ # Workflow guides
│ │ ├── references/ # Technical docs
│ │ ├── scripts/ # Automation
│ │ └── templates/ # Code examples
│ ├── neon-js/ # Neon JS SDK skill
│ ├── neon-serverless/ # Serverless skill
│ └── neon-toolkit/ # Ephemeral DB skill
├── *.mdc # Context rules (16 files)
├── LICENSE
└── README.md
What are .mdc files?
Markdown Context files that provide guidance to AI tools. They contain best practices and patterns that AI assistants automatically apply when generating code.
Can I use specific rules without the full plugin?
Yes! Copy individual .mdc files to your AI tool's rules directory. Each file is self-contained and doesn't require dependencies.
How do I add or update rules?
Create a new .mdc file or edit existing ones. AI tools will automatically use the updated content.
Do skills work with Cursor?
Skills are Claude Code-specific. For Cursor, use the .mdc context rules instead.
Can I use these rules in ChatGPT or other AI tools?
Yes! The .mdc files work with any AI assistant that supports custom context rules. Copy them to your tool's configuration directory.
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details.