Cosmos Design Struct
Azure/azure-sdk-for-rust/sdk/cosmos/.github/skills/cosmos-design-structcodingOfficial
Official Provider SkillView repo
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.
Files1 files
SKILL.md362 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the file and paste it into your agent's system prompt.
Skill details
Versionv1.0.0
AuthorAzure
Categorycoding
Skill IDAzure/azure-sdk-for-rust/sdk/cosmos/.github/skills/cosmos-design-struct
Related skills
Check SpellingCheck and fix spelling in project source files using cSpell.Cosmos Pre Commit ValidationRun pre-commit checks for a specific set of crates. Use this when validating changes under sdk/cosmos before committing or during code review.Create CrateCreate a new Azure SDK crate from a TypeSpec specification.Create Perf TestGenerate a new performance testCreate Recorded TestGenerate a new recorded integration testLint MarkdownCheck and fix formatting and other issues in markdown files using markdownlint-cli2.