home/categories/architecture-patterns/azure-azure-sdk-for-rust-sdk-cosmos-github-skills-cosmos-design-struct-skill-md
architecture-patternsdevelopment

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 report them as errors.

Azure
maintainer
Azure
更新日 4/8/2026
スター
869
フォーク
343
quick start

Installation and usage

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.

インストール
$ install --globalskills.sh
使い方

インストール後、ターミナルで以下のコマンドを実行してこのスキルを使用できます:

skills use cosmos-design-struct