# Verify

> Run full verification before committing or creating a PR

- Skill: `bishal-pdmsft/verify-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishal-pdmsft/verify-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishal-pdmsft/verify-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bishal-pdMSFT (https://skillmd.com/u/bishal-pdmsft)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/bishal-pdmsft/verify-4

---


# 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
```bash
make fmt CHECK=1
```
If it fails, run `make fmt` to fix formatting.

### 2. Lint Check
```bash
make lint
```
Fix any clippy warnings or errors.

### 3. Build
```bash
./build.sh
```
Ensure the full project compiles.

### 4. Rust Tests
```bash
cd src/redisearch_rs && cargo nextest run
```
All Rust tests must pass.

### 5. Unit Tests (if C code was modified)
```bash
./build.sh RUN_UNIT_TESTS ENABLE_ASSERT=1
```

### 6. Behavioral Tests (optional, for significant changes)
```bash
./build.sh RUN_PYTEST ENABLE_ASSERT=1
```

## Quick Verification
For minor Rust changes, this minimal check is often sufficient:
```bash
cd src/redisearch_rs && cargo fmt --check && cargo clippy --all-targets && cargo nextest run
```

## Setup Environment
Before running any checks, ensure the build environment is properly configured:
```bash
./build.sh
```
This will prepare all necessary dependencies and configurations for the verification process.
