.claude/skills/create-domain-model/SKILL.md
Create a new domain model from TMDb
npx skillsauth add adamayoung/popcorn create-domain-modelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide for creating a new domain model from TMDb SDK types. See references/domain-model-patterns.md for code patterns, file locations, and common pitfalls.
Ask the user for:
DocC documentation: https://adamayoung.github.io/TMDb/documentation/tmdb/
Source code (in Xcode DerivedData after build):
.../SourcePackages/checkouts/TMDb/Sources/TMDb/Domain/Models/
Contexts/Popcorn<X>/Sources/<X>Domain/Entities/<Name>.swiftIdentifiable, Equatable, SendableAdapters/.../Tests/.../Mappers/<Name>MapperTests.swiftAdapters/.../Sources/.../Mappers/<Name>Mapper.swiftContexts/Popcorn<X>/Sources/<X>Infrastructure/DataSources/Local/Models/<Context><Name>Entity.swiftEquatable, ModelExpirableContexts/.../Tests/<X>InfrastructureTests/Mappers/<Name>MapperTests.swiftContexts/.../Sources/<X>Infrastructure/DataSources/Local/Mappers/<Name>Mapper.swiftContexts/Popcorn<X>/Sources/<X>Application/Models/<Name>Details.swiftURL? paths with ImageURLSet?Contexts/.../Tests/<X>ApplicationTests/Mappers/<Name>DetailsMapperTests.swiftContexts/.../Sources/<X>Application/Mappers/<Name>DetailsMapper.swift<Name>+Mocks.swift in each test target that needs itFollow the /add-use-case skill for wiring into the architecture.
Run the full pre-PR checklist: /format, /lint, /build, /test
$ARGUMENTS
data-ai
Add properties to an existing domain model from TMDb
testing
Run all unit tests
testing
Run UI tests
testing
Run snapshot tests