Type and style checking hooks for pi. Runs checks on files after write/edit operations and sends feedback to the LLM.
Runs ty on Python files after edit/write. Requires ty to be installed (uv tool install ty or pipx install ty). Shows a status bar warning if not available.
Runs shellcheck on shell scripts (bash/sh) after edit/write. Requires shellcheck to be installed; silently skips if not available.
Warns about String::from_utf8_lossy usage in Rust files without explicit justification comments.
Add to your pi settings (~/.pi/agent/settings.json):
{
"packages": [
"/path/to/pi-typecheck-hooks"
]
}