shipwithjev

Catalog / Tools & apps

0358GitHub

jev-pref

Linter that has Jev check code changes against project preferences from `jev-pref.json` and feeds findings back to coding agents.

doeixd/jev-prefREADME ↗
# jev-pref

**Turn your preferences from AGENTS.md into a fast, Jev-powered AI linter.**

`jev-pref` lets you define project-specific semantic rules, run them against
code changes with [Jev](https://docs.typesafe.ai), and feed the results back to
your coding agent.

## Quick start

Tell your coding agent:

```text
Run `npx jev-pref setup` and follow the instructions it prints.
```

That's it.

`setup` inspects the repository and teaches the agent how to configure
`jev-pref`. The agent explains the system, asks you a few questions, helps
translate your preferences into useful semantic checks, and adds persistent
instructions to `AGENTS.md`, `CLAUDE.md`, or wherever you choose.

No special agent integration or global installation is required. Node.js 20+
and `npx` are enough.

## What jev-pref is for

Think:

```text
TypeScript  → type invariants
ESLint      → syntax and static rules
tests       → behavioral invariants
jev-pref    → semantic project rules
```

Instead of asking an AI "is this code good?", you define what matters, Jev
classifies the evidence in the change, `jev-pref` maps the result to an
outcome, and your coding agent acts on it. The full boundary — what Jev may
and may not judge — lives in [docs/principles.md](./docs/principles.md).

Good questions name externally defined, evidence-grounded checks:

```text
Does this diff introduce new mutable module-level state?
```

```text
Does this change remove or rename an existing exported symbol?
```

```text
Classify the API impact:

- none
- additive
- behavioral
- breaking
```

Poor questions ask Jev to invent a standard of quality:

```text
Is this good architecture? Is this code clean? Are these tests sufficient?
```

If you cannot explain what visible evidence would make an answer true, the
rule needs more 

Also filed under Tools & apps

  1. 0573

    Support chat: agent offered a human escalation path

    A frustrated customer hits a bot loop twice; the judge checks whether a human handoff was offered.

    everyai-com · Tools & apps

  2. 0572

    Subscription cancel: effective date is explicit

    An agent cancels a subscription; the judge checks the exact date the cancellation takes effect.

    everyai-com · Tools & apps

  3. 0571

    Sales quote: numbers match the official price list

    An agent quotes $29/seat against a price list; the judge checks the quote matches exactly.

    everyai-com · Tools & apps

  4. 0570

    Refund chat: agent stated the amount before issuing it

    A support agent issues a $42.50 refund; the judge checks the exact amount was stated before the refund was confirmed.

    everyai-com · Tools & apps