husky maintainer
1
总安装量
0
周安装量
#48586
全站排名
安装命令
npx skills add https://github.com/pplmx/husky-rs --skill Husky Maintainer
Skill 文档
Husky Maintainer Checklist
This skill encapsulates the specific workflows for the husky-rs project.
Development Environment
- Rust Version: The MSRV (Minimum Supported Rust Version) is 1.78. All changes must be compatible with this version.
- Use
make msrv-checkto verify compatibility.
- Use
- Build System: This project uses a
Makefileto simplify common tasks.- Run CI locally:
make ci(runs fmt, clippy, doc-check, msrv-check, and test). - Fix Style:
make fix(auto-fixes clippy issues and formatting). - Coverage:
make coverage(generates tarpaulin report).
- Run CI locally:
Project Structure
- Binaries: The main CLI is in
src/bin/husky.rs. - Library: Core logic is in
src/lib.rs. - Tests: Integration tests are in
tests/.
Workflow Guidelines
- Before Committing:
- Run
make fixto ensure code is formatted and clippy-clean. - Run
make test(ormake nextestif you have it installed) to verify correctness.
- Run
- Making Changes:
- If modifying the CLI, check
tests/test_cli.rsfor regression tests. - If adding a feature, update
CHANGELOG.mdunder the[Unreleased]section. - Ensure
Cargo.tomlmetadata remains accurate.
- If modifying the CLI, check
- Documentation:
docs/contains detailed usage guides. Update them if CLI flags change.- Run
make doc-checkto ensure no broken links or invalid code blocks in docs.
Release Process
- Update version in
Cargo.toml. - Update
CHANGELOG.md:- Rename
[Unreleased]to the new version[0.x.y] - YYYY-MM-DD. - Create a new empty
[Unreleased]section at the top. - Update comparison links at the bottom of the file.
- Rename
- Tag the commit with
v0.x.y.