AI ships code quickly
LLM-assisted development accelerates changes, but specs are often left behind. SpecFerret catches that mismatch before deploy.
Open source CLI • npm: @specferret/cli
SpecFerret is a CLI that detects when API specs, contracts, and shipped behavior drift apart. Block risky commits with pre-commit checks and clear impact reports.
bun install -g @specferret/cli
ferret init
ferret lint LLM-assisted development accelerates changes, but specs are often left behind. SpecFerret catches that mismatch before deploy.
It classifies drift so teams do not panic over harmless optional additions but do block true consumer-breaking changes.
Pre-commit hooks fail fast and keep bad contract changes out of main branch and out of production.
Detect shape changes in request and response contracts before clients break in staging or prod.
Backend changes can impact many consumers. SpecFerret shows direct and transitive impact in one report.
Keep generated code and contract docs in sync when rapid edits land through agents or pair-programming loops.
Validate declared types against contract expectations to reduce drift between docs and runtime reality.
Run ferret lint locally and in CI with reproducible drift detection and clear failure output.
Review mode reports direct and transitive affected contracts so teams know exactly what to update.
Trusted publishing with OIDC from GitHub Actions, versioned releases on npm, and evidence-backed validation runs.