{"id":"45c929b2-e3fa-4d08-b5a1-7ef6b38b344d","shortId":"ferM7N","kind":"skill","title":"Build, test, and package PostgreSQL extensions in Rust with pgrx","tagline":"Use pgrx when an agent needs the Rust-native extension lifecycle for PostgreSQL, including local builds, test runs, and packaging across PostgreSQL versions.","description":"# Build, test, and package PostgreSQL extensions in Rust with pgrx\n\nUse pgrx when an agent needs the Rust-native extension lifecycle for PostgreSQL, including local builds, test runs, and packaging across PostgreSQL versions.\n\n## Prerequisites\n\nRust toolchain, PostgreSQL development dependencies, and pgrx\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- brew install git icu4c pkg-config\n- on the command line before you run cargo pgrx init\n- project and the old directory has disappeared. The solution is re-run cargo pgrx init so the\n- cargo install --locked cargo-pgrx\n\nRequirements and caveats from upstream:\n- † PGRX has no MSRV policy, thus may require the latest stable version of Rust, available via Rustup\n- Running PGRX on a Mac requires some additional setup.\n- This can be fixed by updating Xcode and the command-line tools. You may require an OS update\n\nBasic usage or getting-started notes:\n- cargo pgrx run: Run your extension and interactively test it in psql (or pgcli)\n- To fix it, run\n- Before anything else, install the [system dependencies](#system-requirements).\n\n- Source: https://github.com/pgcentralfoundation/pgrx\n- Extracted from upstream docs: https://raw.githubusercontent.com/pgcentralfoundation/pgrx/HEAD/README.md\n\n## Documentation\n\n- https://github.com/pgcentralfoundation/pgrx\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx/)","tags":["build","test","and","package","postgresql","extensions","rust","with","pgrx","skills","agentskillexchange","agent-skills"],"capabilities":["skill","source-agentskillexchange","skill-build-test-and-package-postgresql-extensions-in-rust-with-pgrx","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,493 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:42.498Z","embedding":null,"createdAt":"2026-05-18T13:15:31.542Z","updatedAt":"2026-05-18T19:09:42.498Z","lastSeenAt":"2026-05-18T19:09:42.498Z","tsv":"'/pgcentralfoundation/pgrx':218,229 '/pgcentralfoundation/pgrx/head/readme.md':225 '/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx/)':236 'across':32,66 'addit':159 'agent':15,49,231 'agentskillexchange.com':235 'agentskillexchange.com/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx/)':234 'anyth':206 'avail':149 'basic':180 'brew':89 'build':1,27,35,61 'cargo':103,119,124,128,187 'cargo-pgrx':127 'caveat':132 'command':98,171 'command-lin':170 'config':95 'depend':74,211 'develop':73 'directori':110 'disappear':112 'doc':222 'document':226 'els':207 'environ':88 'exchang':233 'extens':6,21,40,55,192 'extract':219 'fix':164,202 'get':184 'getting-start':183 'git':91 'github.com':217,228 'github.com/pgcentralfoundation/pgrx':216,227 'icu4c':92 'includ':25,59 'init':105,121 'instal':77,81,90,125,208 'interact':194 'latest':144 'lifecycl':22,56 'line':99,172 'local':26,60 'lock':126 'mac':156 'match':86 'may':141,175 'msrv':138 'nativ':20,54 'need':16,50 'note':186 'old':109 'os':178 'packag':4,31,38,65 'path':84 'pgcli':200 'pgrx':10,12,44,46,76,104,120,129,135,153,188 'pkg':94 'pkg-config':93 'polici':139 'postgresql':5,24,33,39,58,67,72 'prerequisit':69 'project':106 'psql':198 'raw.githubusercontent.com':224 'raw.githubusercontent.com/pgcentralfoundation/pgrx/head/readme.md':223 're':117 're-run':116 'requir':130,142,157,176,214 'run':29,63,102,118,152,189,190,204 'rust':8,19,42,53,70,148 'rust-nat':18,52 'rustup':151 'setup':83,160 'skill':232 'skill-build-test-and-package-postgresql-extensions-in-rust-with-pgrx' 'solut':114 'sourc':215,230 'source-agentskillexchange' 'stabl':145 'start':185 'system':210,213 'system-requir':212 'test':2,28,36,62,195 'thus':140 'tool':173 'toolchain':71 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'updat':166,179 'upstream':80,134,221 'usag':181 'use':11,45,78 'version':34,68,146 'via':150 'xcode':167","prices":[{"id":"cd78372c-4bf4-4256-bd06-cd4ca7cf506d","listingId":"45c929b2-e3fa-4d08-b5a1-7ef6b38b344d","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:31.542Z"}],"sources":[{"listingId":"45c929b2-e3fa-4d08-b5a1-7ef6b38b344d","source":"github","sourceId":"agentskillexchange/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:31.542Z","lastSeenAt":"2026-05-18T19:09:42.498Z"}],"details":{"listingId":"45c929b2-e3fa-4d08-b5a1-7ef6b38b344d","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"build-test-and-package-postgresql-extensions-in-rust-with-pgrx","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"1e10402500f938a53f6c9ebf9b79c6769ce8a94d","skill_md_path":"skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Build, test, and package PostgreSQL extensions in Rust with pgrx","description":"Use pgrx when an agent needs the Rust-native extension lifecycle for PostgreSQL, including local builds, test runs, and packaging across PostgreSQL versions."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/build-test-and-package-postgresql-extensions-in-rust-with-pgrx"},"updatedAt":"2026-05-18T19:09:42.498Z"}}