Catalog / Skills

Rust Domain Boundaries

Use when modeling, validating, refactoring, or reviewing Rust service domain boundaries, especially when replacing primitive String fields with newtypes, parse-don't-validate constructors, private invariants, TryFrom/FromStr parsers, request DTO boundaries, or property tests.

Rustv0.1.0MITrustdomain-modelingnewtypesvalidationproperty-testing

Install

npx skills add LVTD-LLC/skills --skill rust-domain-boundaries

From `SKILL.md`

Use this skill to keep invalid states out of Rust service internals. Parse raw input once at the boundary, store validated values in narrow domain types, and make unchecked construction difficult.