AGENT SKILL

verify

暂无简介

License 许可
MIT
最近更新
2026-06-24
Stars
★ 67
Forks
24

02 资源文件 2

03 SKILL.md 正文

Verify Skill

Run full verification before committing or creating a PR.

Usage

Use this skill to run comprehensive checks before finalizing changes.

Instructions

Run the following checks in order:

1. Format Check

make fmt CHECK=1

If it fails, run make fmt to fix formatting.

2. Lint Check

make lint

Fix any clippy warnings or errors.

3. Build

./build.sh

Ensure the full project compiles.

4. Rust Tests

cd src/redisearch_rs && cargo nextest run

All Rust tests must pass.

5. Unit Tests (if C code was modified)

./build.sh RUN_UNIT_TESTS ENABLE_ASSERT=1

6. Behavioral Tests (optional, for significant changes)

./build.sh RUN_PYTEST ENABLE_ASSERT=1

Quick Verification

For minor Rust changes, this minimal check is often sufficient:

cd src/redisearch_rs && cargo fmt --check && cargo clippy --all-targets && cargo nextest run

04 同仓库更多 Skills