
from dataframely583
Guidelines and best practices for defining typed Polars schemas and collections, validating data frames, and writing tests using Dataframely.
Provides concrete conventions and examples for using Dataframely to define dy.Schema and dy.Collection types that document, validate, and enforce structure in Polars data frames. The skill explains how to declare column types, constraints, cross-column rules, group rules, and how to use typed DataFrame/LazyFrame wrappers for stable interfaces and safer data transforms. It also covers validation vs. filtering semantics, synthetic test data generation, and I/O conventions for persisting schema metadata.
Use this skill when you are writing or refactoring ETL/data-processing code that consumes or produces Polars data frames and you want strong, testable schema guarantees. It is helpful for onboarding, enforcing data contracts, validating inputs/outputs, and designing unit tests for transformations.
Best used with coding-capable assistants that can read Python and Polars idioms (Copilot-style or Claude Code), and with CI/test automation that runs Python test suites.
This skill has not been reviewed by our automated audit pipeline yet.