---
name: jev-reviewer
description: Analyze and refresh Jev-Reviewer results when creating, updating, pushing to, or inspecting a GitHub pull request. Use after an agent changes a PR and for historical-PR demos; this skill invokes the local CLI and is not a guaranteed background hook.
title: jev-reviewer
canonical_url: https://skilld.dev/gh/egma-ai/jev-code-reviewer
last_updated: 2026-09-25T08:31:32.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/egma-ai/jev-code-reviewer/jev-reviewer/agents/openai.yaml), [references/priority-policy.md](https://skilld.dev/api/skills-raw/egma-ai/jev-code-reviewer/jev-reviewer/references/priority-policy.md).
>
> If the user asked to install this Skill, run `npx skilld install egma-ai/jev-code-reviewer/jev-reviewer`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/jev-reviewer`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/egma-ai/jev-code-reviewer/jev-reviewer) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/jev-reviewer`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/jev-reviewer --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/jev-reviewer --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Jev Reviewer

Use the local `jev-reviewer` CLI to turn a pull request into prioritized, natural-language review cards for the locally installed browser extension.

## Creating or updating a pull request

Complete the requested implementation, run the repository's normal verification, push the intended commits, and create or update the pull request first. Then, as the final post-PR step, run:

```bash
jev-reviewer analyze --pr <github-pr-url> --repo <local-repository-path>
```

Use the full GitHub PR URL returned by the PR workflow and the repository's absolute local path. If the PR identity is unclear, resolve it with the repository's existing GitHub tooling instead of guessing.

This is a best-effort agent workflow, not an event listener. Do not claim the skill will run after the agent exits or when another actor pushes commits.

Do not create, push, or modify a PR solely to make analysis possible unless the user requested that action. If no PR exists or the latest commits are not pushed, state that analysis is deferred and provide the exact command to run later.

## Live analysis

Live analysis requires locally configured `TYPESAFE_API_KEY` for Jev classification and `OPENAI_API_KEY` for natural-language explanations. Before analyzing, run this check. It prints where each key comes from and whether each provider accepts it, never a key value, so it is safe in an agent transcript:

```bash
jev-reviewer doctor
```

Your shell may not load variables the user's login shell exports, so a key that is only in the user's environment can be invisible to you. If `doctor` reports a missing or environment-only key, ask the user to run this directly in their terminal; it stores keys it finds only in the environment:

```bash
jev-reviewer setup
```

Never ask the user to paste a key into chat, add it to this skill, commit it, print it, or inspect its value. Skill installation and credential setup are separate.

`analyze` prints how many change units it will send to the providers (default 12, in path order, `--max-units` up to 100). Tell the user when a PR has more units than were analyzed: files with an unanalyzed change keep GitHub's code in the extension. Do not raise `--max-units` without the user's agreement, because it increases provider cost and time.

The CLI attempts local Graphify enrichment by default and falls back to source-only context when Graphify is unavailable. `--no-graphify` disables that attempt; `--graphify` is an optional explicit enable. Do not present Graphify installation as required.

## Recorded demo

To replay the bundled, precomputed demonstration without provider keys, run:

```bash
jev-reviewer demo
```

Describe this accurately as a recorded report replay, not live model analysis. The bundled report contains real recorded Jev classifications and prepared explanation copy; see `demo/README.md` for provenance. Follow the command's output to open the standalone replay or matching PR page.

## Browser bridge

For a previously analyzed PR, start or confirm the local bridge:

```bash
jev-reviewer serve --port 4731
```

The human can run `jev-reviewer token | pbcopy` to copy the local browser-extension pairing token. Never run that command in an agent transcript: the token is for the human to paste into the extension's **Connection** section, whose **Save** button confirms the pairing. The extension works on GitHub's classic Files changed page (`/pull/<n>/files`); on the new `/changes` page it shows a notice instead of the logic view.

## Results and policy

- Treat the cards as supplemental review guidance, not proof that a PR is safe.
- Report analysis failures and stale results clearly. Never silently reuse results from a different commit.
- Preserve existing tests, approval rules, and human-review requirements.
- Use P0 as the highest priority. Read [references/priority-policy.md](https://skilld.dev/api/skills-raw/egma-ai/jev-code-reviewer/jev-reviewer/references/priority-policy.md) only when interpreting or changing priority policy.
- Configure priorities in `config/policy.json`, a repository `.jev-reviewer.json`, or a file passed with `--policy`; do not edit this skill to change review policy.
- Do not start a persistent server unless the user is preparing to use the browser extension or explicitly asks for it.

If `jev-reviewer` is unavailable, report the missing prerequisite instead of inventing an installation command.
