audit-data-contracts
CommunityCatch data contract mismatches early.
Software Engineering#Python#nullability#view models#data contracts#type consistency#report export#dataframe validation
AuthorElPoot
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents silent reporting and export bugs by validating that domain models and view-model fields remain type- and nullability-consistent across the FacturaRecord → SelectionVM → report dataframe pipeline.
Core Features & Use Cases
- Field-by-field contract auditing: Compares each declared field in FacturaRecord with the corresponding field types and nullability in SelectionVM and other state/view layers.
- Export contract verification: Checks that dataframe report column types and conversion logic match what the domain expects, including handling of None/nulls and string-encoded numeric fields.
- Document state integrity: Detects scattered or inconsistent usage of allowed status values (pendiente, pendiente_pdf, sin_xml, clasificado), and verifies whether they are centralized.
Quick Start
Ask it to audit the current codebase for contract inconsistencies between FacturaRecord, SelectionVM, MainWindowState, and the export report dataframe logic.
Dependency Matrix
Required Modules
None requiredComponents
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: audit-data-contracts Download link: https://github.com/ElPoot/contabilidad/archive/main.zip#audit-data-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.