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.

Datos de origen

Repositorio
breferrari/weave
Última actividad en el origen
22 de marzo de 2026 a las 14:58
Idioma detectado de SKILL.md
inglés
Estrellas
13
Forks
3

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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 en GitHub