[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCMTW5VT3C7758GHBS68EY":3,"skill-same:01M6MCMTW5VT3C7758GHBS68EY":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":66,"ownerHtmlUrl":67,"ownerBlogUrl":68,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6MCMTW5VT3C7758GHBS68EY","rust-domain-boundaries",null,"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\u002FFromStr parsers, request DTO boundaries, or property tests.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"rust","rust domain boundaries","domain","service","when","parse","dto","request","invariants","domain-modeling","with","clients","STRING","tests","testing","modeling","use","parsers","refactoring","validation","code","validate","codex","2026-11-10 10:12:30",false,"---\nname: rust-domain-boundaries\ndescription: 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\u002FFromStr parsers, request DTO boundaries, or property tests.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Rust Domain Boundaries\n  category: Rust\n  tags: rust,domain-modeling,newtypes,validation,property-testing\n---\n\n# Rust Domain Boundaries\n\nUse this skill to keep invalid states out of Rust service internals. Parse raw\ninput once at the boundary, store validated values in narrow domain types, and\nmake unchecked construction difficult.\n\n## Core Workflow\n\n1. Find raw input boundaries: HTTP payloads, path\u002Fquery parameters, config\n   files, environment variables, database rows, queues, and CLI flags.\n2. Separate transport DTOs from domain types. Let `serde` deserialize incoming\n   shapes, then convert DTO fields into validated domain values.\n3. Replace primitive strings with small types for ruled values: email addresses,\n   usernames, passwords, subscriber names, slugs, tenant IDs, idempotency keys,\n   and money-like or duration-like values.\n4. Give domain types private fields and smart constructors. Avoid unchecked\n   `pub` fields or `impl From\u003CString>` for fallible conversions.\n5. Return typed validation errors that map to useful HTTP responses without\n   leaking internal details.\n6. Keep database and external API mapping explicit. Convert to raw strings at\n   the final persistence or serialization edge.\n7. Test invariants directly. Cover valid examples, malformed inputs, boundary\n   lengths, normalization rules, and round trips.\n\n## Type Design Rules\n\n- Prefer `TryFrom\u003CString>`, `TryFrom\u003C&str>`, or `FromStr` for fallible parsing.\n- Keep stored values owned unless profiling proves borrowing is necessary.\n- Implement `AsRef\u003Cstr>` or a named accessor for read-only exposure.\n- Implement `Display` only when the formatted value is safe to show in logs,\n  errors, and UI.\n- Avoid deriving `Debug` for secret-bearing values unless the debug output is\n  redacted.\n- Make normalization visible in tests: trim, lowercase, Unicode handling, and\n  canonicalization.\n\n## Request Boundary Pattern\n\nDeserialize into a request shape, then construct a command:\n\n```rust\n#[derive(serde::Deserialize)]\npub struct SubscribeRequest {\n    email: String,\n    name: String,\n}\n\npub struct SubscribeCommand {\n    pub email: EmailAddress,\n    pub name: SubscriberName,\n}\n\nimpl TryFrom\u003CSubscribeRequest> for SubscribeCommand {\n    type Error = SubscribeValidationError;\n\n    fn try_from(value: SubscribeRequest) -> Result\u003CSelf, Self::Error> {\n        Ok(Self {\n            email: EmailAddress::parse(value.email)?,\n            name: SubscriberName::parse(value.name)?,\n        })\n    }\n}\n```\n\nHandlers should reject invalid input before business logic or database code. If\nvalidation needs database state, keep pure parsing separate from uniqueness or\nauthorization checks.\n\n## Tests\n\nRead `references\u002Fproperty-testing.md` when invariants have many edge cases or\nwhen an AI agent is likely to miss invalid inputs with example-only tests.\n\nMinimum tests for a new domain type:\n\n- Accept a realistic valid value.\n- Reject empty input and whitespace-only input.\n- Reject too-long input when storage or product rules impose limits.\n- Reject format violations.\n- Preserve or normalize exactly as documented by tests.\n- Round-trip through `serde` or SQL mapping when that type crosses those\n  boundaries.\n\n## Reference Files\n\n- `references\u002Fnewtype-patterns.md`: constructor, trait, serde, and persistence\n  patterns for Rust newtypes.\n- `references\u002Fproperty-testing.md`: property-testing strategy for parsers and\n  domain constructors.\n","# Rust Domain Boundaries\n\nUse this skill to keep invalid states out of Rust service internals. Parse raw\ninput once at the boundary, store validated values in narrow domain types, and\nmake unchecked construction difficult.\n\n## Core Workflow\n\n1. Find raw input boundaries: HTTP payloads, path\u002Fquery parameters, config\n   files, environment variables, database rows, queues, and CLI flags.\n2. Separate transport DTOs from domain types. Let `serde` deserialize incoming\n   shapes, then convert DTO fields into validated domain values.\n3. Replace primitive strings with small types for ruled values: email addresses,\n   usernames, passwords, subscriber names, slugs, tenant IDs, idempotency keys,\n   and money-like or duration-like values.\n4. Give domain types private fields and smart constructors. Avoid unchecked\n   `pub` fields or `impl From\u003CString>` for fallible conversions.\n5. Return typed validation errors that map to useful HTTP responses without\n   leaking internal details.\n6. Keep database and external API mapping explicit. Convert to raw strings at\n   the final persistence or serialization edge.\n7. Test invariants directly. Cover valid examples, malformed inputs, boundary\n   lengths, normalization rules, and round trips.\n\n## Type Design Rules\n\n- Prefer `TryFrom\u003CString>`, `TryFrom\u003C&str>`, or `FromStr` for fallible parsing.\n- Keep stored values owned unless profiling proves borrowing is necessary.\n- Implement `AsRef\u003Cstr>` or a named accessor for read-only exposure.\n- Implement `Display` only when the formatted value is safe to show in logs,\n  errors, and UI.\n- Avoid deriving `Debug` for secret-bearing values unless the debug output is\n  redacted.\n- Make normalization visible in tests: trim, lowercase, Unicode handling, and\n  canonicalization.\n\n## Request Boundary Pattern\n\nDeserialize into a request shape, then construct a command:\n\n```rust\n#[derive(serde::Deserialize)]\npub struct SubscribeRequest {\n    email: String,\n    name: String,\n}\n\npub struct SubscribeCommand {\n    pub email: EmailAddress,\n    pub name: SubscriberName,\n}\n\nimpl TryFrom\u003CSubscribeRequest> for SubscribeCommand {\n    type Error = SubscribeValidationError;\n\n    fn try_from(value: SubscribeRequest) -> Result\u003CSelf, Self::Error> {\n        Ok(Self {\n            email: EmailAddress::parse(value.email)?,\n            name: SubscriberName::parse(value.name)?,\n        })\n    }\n}\n```\n\nHandlers should reject invalid input before business logic or database code. If\nvalidation needs database state, keep pure parsing separate from uniqueness or\nauthorization checks.\n\n## Tests\n\nRead `references\u002Fproperty-testing.md` when invariants have many edge cases or\nwhen an AI agent is likely to miss invalid inputs with example-only tests.\n\nMinimum tests for a new domain type:\n\n- Accept a realistic valid value.\n- Reject empty input and whitespace-only input.\n- Reject too-long input when storage or product rules impose limits.\n- Reject format violations.\n- Preserve or normalize exactly as documented by tests.\n- Round-trip through `serde` or SQL mapping when that type crosses those\n  boundaries.\n\n## Reference Files\n\n- `references\u002Fnewtype-patterns.md`: constructor, trait, serde, and persistence\n  patterns for Rust newtypes.\n- `references\u002Fproperty-testing.md`: property-testing strategy for parsers and\n  domain constructors.\n",{"name":5,"license":15,"metadata":55,"description":7,"compatibility":60},{"tags":56,"version":57,"category":58,"displayName":59},"rust,domain-modeling,newtypes,validation,property-testing","0.1.0","Rust","Rust Domain Boundaries","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-domain-boundaries",{"tool":77,"command":78},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-domain-boundaries",{"tool":80,"command":81},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-domain-boundaries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries\u002FSKILL.md",true,[85,91,95],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"agents\u002Fopenai.yaml","REFERENCE","参考文档",211,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries\u002Fagents\u002Fopenai.yaml",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fnewtype-patterns.md",2931,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries\u002Freferences\u002Fnewtype-patterns.md",{"path":96,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fproperty-testing.md",2080,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-domain-boundaries\u002Freferences\u002Fproperty-testing.md",[100,109,117,125,133,141],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":108},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":108},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":121,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":108},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":129,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":108},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":108},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":145,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":108},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]