Cosmos Pre Commit Validation
Azure/azure-sdk-for-rust/sdk/cosmos/.github/skills/cosmos-pre-commit-validationcodingOfficial
Official Provider SkillView repo
Run pre-commit checks for a specific set of crates. Use this when validating changes under sdk/cosmos before committing or during code review.
Files1 files
SKILL.md96 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-pre-commit-validation
Related skills
Check SpellingCheck and fix spelling in project source files using cSpell.Cosmos Design StructEnforce 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.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.