The pgd skill empowers Claude to expertly handle pgDesigner XML files, a specialized git-friendly format for PostgreSQL database modeling. It enforces strict structural rules, such as placing indexes at the schema level and maintaining specific element ordering to ensure clean version control history. By providing canonical snippets for complex database objects like partitions, identities, and foreign keys, the skill streamlines the process of translating SQL designs into PGD. It also integrates with the pgdesigner CLI for generating DDL, performing schema diffs, linting, and converting from legacy formats like PDD or raw SQL.
주요 기능
01Strict .pgd XML schema formatting for optimized git diffs
02Conversion guidance for migrating PDD and raw SQL to PGD format
03CLI command generation for schema linting, diffing, and DDL exports
04Automated mapping between SQL objects and PGD elements
05Advanced support for PostgreSQL partitioning and generated columns
065 GitHub stars
사용 사례
01Generating automated database migration scripts and DDL from XML models
02Maintaining version-controlled PostgreSQL schemas using the pgDesigner ecosystem
03Performing schema quality audits using integrated PGD linting rules