Skill Detail

Build, test, and package PostgreSQL extensions in Rust with pgrx

Use pgrx when an agent needs the Rust-native extension lifecycle for PostgreSQL, including local builds, test runs, and packaging across PostgreSQL versions.

Developer ToolsMulti-Framework
Developer Tools Multi-Framework Security Reviewed
⭐ 4.5k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill build-test-and-package-postgresql-extensions-in-rust-with-pgrx Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Rust toolchain, PostgreSQL development dependencies, and pgrx
Install & setup
Install Rust and PostgreSQL development prerequisites, then follow the pgrx setup flow to install the CLI and initialize local PostgreSQL versions before building or testing extensions.
Author
PgCentral Foundation
Publisher
Open Source Project
Last updated
Apr 19, 2026
Quick brief

pgrx is a real Rust toolchain for building PostgreSQL extensions. Invoke this when the task is extension development itself, such as compiling Rust-based extensions, running extension-focused tests against local PostgreSQL installs, and preparing packages for distribution, instead of doing generic Rust application work or ordinary SQL administration.

How it works

What this skill actually does

The scope boundary is the PostgreSQL extension lifecycle in Rust. That makes it a publishable operator workflow rather than a plain Rust library or database product listing.