DuckLake Engine Coding Rules
Enforces C++ coding standards, header include ordering, and documentation synchronization for Postgres-DuckDB lakehouse developments.
This skill provides the definitive engineering guidelines for the pg_ducklake project, ensuring consistency across C++, SQL, and documentation. It specifically addresses complex integration challenges such as PostgreSQL and DuckDB header macro conflicts, lifecycle management for state variables, and the synchronization of SQL function definitions with human-readable documentation. By codifying these rules, it helps developers maintain a minimal and clean codebase while managing the intricate dependencies between third-party submodules and core extension logic.
主な機能
01Lifecycle scope guidance for C++ static variables, DuckDB instances, and SQL catalog state
02ASCII-only source file constraints and C++ namespace convention enforcement
03Submodule policy enforcement for upstream-friendly modifications to third-party dependencies
04Automated documentation synchronization rules for SQL functions and procedures
05Strict C/C++ header include ordering to prevent PostgreSQL and DuckDB macro conflicts
0678 GitHub stars
ユースケース
01Managing third-party submodule hooks while maintaining zero-behavior changes when hooks are unused
02Updating DuckLake SQL functions and automatically identifying required documentation changes
03Adding or modifying C++ files within the pg_ducklake extension to ensure thread and macro safety