Enforce consistent code for agents and humans with konsistent
Vercel released konsistent as open source, a TypeScript CLI linter that enforces structural code conventions for consistent context across agents and humans. It covers structural patterns that TypeScript and ESLint don't model and can be configured per-project to enforce custom rules around file exports, folder structures, and class implementations.
is now open source.konsistent
is a CLI linter for TypeScript codebases that enforces structural conventions, giving agents and humans the consistent context they need to implement features correctly. Deterministic, fast, and covers structural patterns that TypeScript and ESLint don't model.konsistent
Configure conventions in a project-level file for concerns like:konsistent.json
is used in and to enforce structural code conventions.konsistentAI SDKChat SDK
Use the konsistent skill to help your agent create a :konsistent.json
Do all files matching pattern X export functions Y and Z?
Does every folder that has file X also have file Y?
Does every class exported from files matching pattern X implement type Y?
Source: original entry ↗