← 返回 Skills 市场
agentlevier

Polsia Neon PostgreSQL

作者 agentlevier · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install polsia-neon-postgres
功能描述
Use Neon PostgreSQL conventions for Polsia apps, including migration patterns and DATABASE_URL usage.
使用说明 (SKILL.md)

Neon PostgreSQL

Polsia apps use Neon PostgreSQL. DATABASE_URL is automatically provided.

Connection

const { Pool } = require('pg');
const pool = new Pool({ connectionString: process.env.DATABASE_URL });

Migrations

Create files in migrations/ with timestamp prefix: 1704067200000_add_products_table.js

Migration Format

module.exports = {
  up: async (pool) => {
    await pool.query(`CREATE TABLE products (...)`);
  },
  down: async (pool) => {
    await pool.query(`DROP TABLE products`);
  }
};

Key Rules

  • DATABASE_URL is NOT available at build time on Render
  • Run migrations in startCommand, not buildCommand
  • Always use parameterized queries ($1, $2) for user input
安全使用建议
This skill appears safe to install as a guidance-only database convention skill. Before using it on a real app, review generated migrations carefully because startup-run migrations and rollback examples such as DROP TABLE can affect live data if applied incorrectly.
能力评估
Purpose & Capability
The artifact coherently provides Neon PostgreSQL conventions for Polsia apps, including DATABASE_URL use, migration file naming, migration shape, and parameterized query guidance.
Instruction Scope
Instructions are scoped to database connection and migration practices; they do not ask the agent to bypass controls, collect unrelated data, or run hidden commands.
Install Mechanism
The package contains only SKILL.md and no install scripts, binaries, dependencies, or executable files.
Credentials
Use of DATABASE_URL and database migrations is expected for a PostgreSQL skill, but users should recognize that migrations can change production schema when run.
Persistence & Privilege
No persistence mechanism, background worker, privilege escalation, credential harvesting, or automatic execution path is present in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polsia-neon-postgres
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polsia-neon-postgres 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug polsia-neon-postgres
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Polsia Neon PostgreSQL 是什么?

Use Neon PostgreSQL conventions for Polsia apps, including migration patterns and DATABASE_URL usage. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 Polsia Neon PostgreSQL?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polsia-neon-postgres」即可一键安装,无需额外配置。

Polsia Neon PostgreSQL 是免费的吗?

是的,Polsia Neon PostgreSQL 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Polsia Neon PostgreSQL 支持哪些平台?

Polsia Neon PostgreSQL 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Polsia Neon PostgreSQL?

由 agentlevier(@agentlevier)开发并维护,当前版本 v1.0.0。

💬 留言讨论