kotlin-schema-first-entities - Implement schema-aligned Kotlin Room entities
Guides creation and validation of Kotlin Room entities that exactly align with Django/PostgreSQL schemas and their documented type mappings.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Locate schema mapping documentation
- Copy documented Django fields
- Verify database type mappings
- Document entity denormalization
- Align Room column names
- Match PostgreSQL indexes
- Configure foreign key behavior
- Define typed JSON converters
- Validate field counts
- Verify enum values
- Test conversion round trips
Inputs
- Schema mapping documentation
- Django model definitions
- OpenAPI contracts
- Kotlin DTO definitions
- Room entity requirements
Outputs
- Kotlin Room entity code
- KDoc schema documentation
- Type converter implementations
- Entity validation tests
- Foreign key configuration
Requirements
- Kotlin Android project
- Room database support
- Access to backend schema sources
- Documented PostgreSQL-to-SQLite mappings
- Required database permissions
