Skip to main content

rust-pre-commit

Run the Weave quality gate (cargo fmt, clippy, tests) before committing. Use when you want to verify the working tree is clean and CI-ready.

Informações da origem

Repositório
breferrari/weave
Última atividade na origem
22 de março de 2026 às 14:58
Idioma detectado do SKILL.md
inglês
Estrelas
13
Forks
3

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
rust-pre-commit
description
Run the Weave quality gate (cargo fmt, clippy, tests) before committing. Use when you want to verify the working tree is clean and CI-ready.
allowed-tools
Bash, Read, Grep, Glob
## Weave pre-commit quality gate Run the three checks in order. Stop and report on the first failure — do not proceed to the next step if one fails. 1. `cargo fmt --all` — formats all code in place; then run `git diff --name-only` to list any files that were changed and need to be staged before committing 2. `cargo clippy -- -D warnings` — lint, deny all warnings 3. `cargo test` — run all unit + integration + E2E tests Report clearly: - Which checks passed ✓ - Which failed ✗ and what output was produced - What the developer needs to fix before committing
Ver no GitHub