What problem does it solve? Android codebases often leak Retrofit and Room annotations into domain logic, pass raw strings as identifiers, and break backward compatibility when APIs evolve. This Skill guides the design of type-safe, contract-first interfaces and data models that are hard to misuse and safe to extend. ## Core Features & Use Cases - Contract-First API Design: Define Retrofit interfaces before implementation, with consistent HTTP error semantics mapped to structured error classes. - Type-Safe Modeling: Use sealed interfaces for state variants, value classes for IDs like TaskId and UserId, and separate DTOs from domain models. - Boundary Validation: Validate user input in ViewModels and API responses in repositories before mapping to domain entities. - Use Case: When adding a new tasks feature, define the Retrofit TaskApi contract first, create TaskDto and Task domain models separately, and model TaskStatus as a sealed interface so the compiler enforces exhaustive state handling. ## Quick Start Ask the agent to design the Retrofit interface, DTOs, and domain models for a new tasks feature following the api-and-interface-design skill.