pgsql-parser-testing-fixtures

Official

Streamline pgsql-parser fixture test workflows.

Authorconstructive-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the manual overhead of maintaining consistent, regression-safe test suites for the pgsql-parser monorepo's PostgreSQL parsing, deparsing, and AST transformation tools, ensuring SQL parsing fidelity across code changes without repetitive test writing.

Core Features & Use Cases

  • Automated Fixture Pipeline: Generates executable Jest test suites automatically from raw SQL fixture files for the deparser, PL/pgSQL deparser, and transform packages.
  • Round-Trip Fidelity Validation: Verifies that parsed ASTs can be deparsed back to identical SQL and re-parsed to match the original AST, catching parsing and code generation regressions.
  • Use Case: When contributing a new SQL parsing feature to pgsql-parser, use this Skill to add a test fixture, regenerate the test suite, and confirm your changes do not break existing parsing behavior.

Quick Start

Use the pgsql-parser testing fixtures skill to add a new SQL test case to the kitchen-sink fixtures, regenerate the full test suite, and run all deparser tests to confirm no regressions are introduced.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pgsql-parser-testing-fixtures
Download link: https://github.com/constructive-io/pgsql-parser/archive/main.zip#pgsql-parser-testing-fixtures

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.