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.

소스 정보

저장소
breferrari/weave
최근 소스 활동
2026년 3월 22일 14:58
감지된 SKILL.md 언어
영어
스타
13
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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
GitHub에서 보기