a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

cosmos-design-struct

Enforce consistent struct design conventions across sdk/cosmos crates. Validates visibility modifiers, field privacy, #[non_exhaustive] usage, and construction API patterns (`Default`/`new` with `with_*` setters, or optional separate builders with `builder()`/`build()`), and construction correctness on public structs. Can auto-fix violations or…

Full publisher description

Enforce consistent struct design conventions across sdk/cosmos crates. Validates visibility modifiers, field privacy, #[non_exhaustive] usage, and construction API patterns (`Default`/`new` with `with_*` setters, or optional separate builders with `builder()`/`build()`), and construction correctness on public structs. Can auto-fix violations or report them as errors.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

Azure/azure-sdk-for-rust

sdk/cosmos/.github/skills/cosmos-design-struct/SKILL.md

Pinned revision ce362837b025a47026a5cec661604989dc3e79df

Source checked

Reviewed licence: MIT
repository

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.