Skip to content

Development

Setup

git clone https://github.com/ggozad/haiku.skills.git
cd haiku.skills
uv sync --all-extras

Running tests

uv run pytest

With coverage (100% is required):

uv run pytest --cov

VCR integration tests

Integration tests are recorded against Ollama and replayed from cassettes:

# Run from cassettes (default)
uv run pytest tests/test_integration.py

# Record new cassettes
uv run pytest tests/test_integration.py --record-mode=new_episodes

Linting and formatting

uv run ruff check
uv run ruff format --check

Type checking

uv run ty check

Building docs

uv run mkdocs build --strict
uv run mkdocs serve  # Preview at http://127.0.0.1:8000