·azure-postgres-ts
</>

azure-postgres-ts

microsoft/agent-skills

使用 pg (node-postgres) 包从 Node.js/TypeScript 连接到 Azure Database for PostgreSQL 灵活服务器。用于 PostgreSQL 查询、连接池、事务和 Microsoft Entra ID(无密码)身份验证。触发器:“PostgreSQL”、“postgres”、“pg 客户端”、“node-postgres”、“Azure PostgreSQL 连接”、“PostgreSQL TypeScript”、“pg 池”、“无密码 postgres”。

0安装·0热度·@microsoft

安装

$npx skills add https://github.com/microsoft/agent-skills --skill azure-postgres-ts

SKILL.md

Connect to Azure Database for PostgreSQL Flexible Server using the pg (node-postgres) package with support for password and Microsoft Entra ID (passwordless) authentication.

| ssl.rejectUnauthorized | true | Always use SSL for Azure | | Default port | 5432 | Standard PostgreSQL port | | PgBouncer port | 6432 | Use when PgBouncer enabled | | Token scope | https://ossrdbms-aad.database.windows.net/.default | Entra ID token scope | | Token lifetime | 1 hour | Refresh before expiry |

| Light (dev/test) | 5-10 | 30000 | | Medium (production) | 20-30 | 30000 | | Heavy (high concurrency) | 50-100 | 10000 |

使用 pg (node-postgres) 包从 Node.js/TypeScript 连接到 Azure Database for PostgreSQL 灵活服务器。用于 PostgreSQL 查询、连接池、事务和 Microsoft Entra ID(无密码)身份验证。触发器:“PostgreSQL”、“postgres”、“pg 客户端”、“node-postgres”、“Azure PostgreSQL 连接”、“PostgreSQL TypeScript”、“pg 池”、“无密码 postgres”。 来源:microsoft/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/microsoft/agent-skills --skill azure-postgres-ts
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 azure-postgres-ts?

使用 pg (node-postgres) 包从 Node.js/TypeScript 连接到 Azure Database for PostgreSQL 灵活服务器。用于 PostgreSQL 查询、连接池、事务和 Microsoft Entra ID(无密码)身份验证。触发器:“PostgreSQL”、“postgres”、“pg 客户端”、“node-postgres”、“Azure PostgreSQL 连接”、“PostgreSQL TypeScript”、“pg 池”、“无密码 postgres”。 来源:microsoft/agent-skills。

如何安装 azure-postgres-ts?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/microsoft/agent-skills --skill azure-postgres-ts 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/microsoft/agent-skills