azure-postgres-ts Skill
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL c Published by microsoft in skills.
What is azure-postgres-ts Skill?
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL c Published by microsoft in skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Database workflows
- Database workflows use cases
Technical details
- Install or run with Copy skill directory
When to use azure-postgres-ts Skill
- Use it for database workflows.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/skills
- Skill file: .github/plugins/azure-sdk-typescript/skills/azure-postgres-ts/SKILL.md
What it does
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL c
Skill instructions
Azure PostgreSQL for TypeScript (node-postgres) Connect to Azure Database for PostgreSQL Flexible Server using the pg (node-postgres) package with support for password and Microsoft Entra ID (passwordless) authentication. Installation bash npm install pg @azure/identity npm install -D @types/pg Environment Variables bash Required AZUREPOSTGRESQLHOST=<server.postgres.database.azure.com AZUREPOSTGRESQLDATABASE=<database AZUREPOSTGRESQLPORT=5432 For password authentication AZUREPOSTGRESQLUSER=<username AZUREPOSTGRESQLPASSWORD=<password For Entra ID authentication AZUREPOSTGRESQLUSER=<entra-user@<server e.g., user@contoso.com AZUREPOSTGRESQLCLIENTID=<managed-identity-client-id For user-assigned identity AZURETOKENCREDENTIALS=prod Required only if DefaultAzureCredential is used in production Authentication Option 1: Password Authentication typescript import { Client, Pool } from "pg"; const client = new Client({ host: process.env.AZUREPOSTGRESQLHOST, database: process.env.AZUREPOSTGRESQLDAT
Explore related resources
Frequently asked questions
What is azure-postgres-ts?
azure-postgres-ts is a open-source AI agent skill with Copy skill directory. Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package.
Who is azure-postgres-ts best for?
azure-postgres-ts is best for reusing agent instructions, scripts, and references, database workflows.
How do I install azure-postgres-ts?
Install or run azure-postgres-ts using Copy skill directory. Check azure-postgres-ts for the latest setup command.
Is azure-postgres-ts actively maintained?
azure-postgres-ts may need a closer maintenance check before production use.
Auto-fetched from GitHub.