Type-driven domain modeling techniques for Swift using proper domain types, validation-carrying types, witness-based access control, and illegal-state elimination. Use when designing domain models, replacing primitive obsession, modeling workflows with enums/structs, adding compile-time guarantees, or discussing parse-dont-validate and making illegal states unrepresentable.
$npx -y skills add nonameplum/agent-skills --skill swift-type-typed-designInstalls into the current project.
Run `npx skills use "https://github.com/nonameplum/agent-skills" --skill "nonameplum/agent-skills/swift-type-typed-design"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/nonameplum/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/nonameplum/agent-skills"` and select the relevant skills, then follow their instructions.