CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/code-review-setup

Install Tessl Code Review into a GitHub repository. Inspects the repository's existing workflows and any Code Review caller already present, asks the two setup questions (when reviews run, and whether findings block the merge), then writes or updates a thin caller workflow that invokes the Tessl Code Review Action. Use when someone wants to add, set up, enable, configure, update, or remove Tessl Code Review, AI code review, or automated pull-request review in a repository, or asks to switch it between advisory and gate mode.

94

1.40x
Quality

92%

Does it follow best practices?

Impact

97%

1.40x

Average score across 5 eval scenarios

SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

code-review-setup

Install Tessl Code Review into a GitHub repository, by writing the thin caller workflow that invokes the supported Tessl Code Review Action.

The Action repository

The supported Action lives at tesslio/code-review-action. An installed caller workflow names it on its uses: line.

Install

tessl install tessl/code-review-setup

What it does

The Action owns getting a review run: pull-request resolution, checkout of the exact head, Tessl CLI setup, the check run it reports on the reviewed head, failure notices, and result artifacts. The Tessl CLI it installs runs the review and publishes it, which is where stale-head protection and idempotent retries live. The repository owns a caller workflow: triggers, concurrency, runner, timeout, permissions, the token secret, and the review policy.

This plugin writes that caller and nothing else. It never copies review or publication logic into the repository, so there is only ever one execution path.

Setup is two questions:

  • When do reviews run. Manual only, where a review runs on an explicit dispatch or an @tessl-code-review mention and never on its own; once when the pull request becomes ready plus requested rounds (the default); or on every commit.
  • Do findings block. Advisory, where the review is a comment and no review outcome fails the check, or gate, where changes approved passes the check and changes requested fails it.

The two are independent choices, and every pairing is installable. The Action reports its own check, named Tessl Code Review, against the head it reviewed on every trigger, so a gate holds on any cadence once that check is required in branch protection. What the cadence decides is when a fresh verdict arrives, and the skill says plainly that on the non-automatic cadences a blocked pull request stays blocked until someone asks for a new round.

Around those two answers, the skill inspects the repository first and asks only for what it cannot infer: existing workflow conventions, an existing Code Review caller and its pinned revision, conflicting callers, the TESSL_TOKEN secret, fork traffic, and current branch protection. It proposes the change, waits for explicit approval, writes idempotently, verifies the result, and then explains the permissions, the secret, the branch-protection step, and how to update or remove the setup.

The installed workflow always pins the Action to a full commit SHA, resolved from the current supported release at setup time. Tags and branches are moving references and this plugin does not install them. If no release resolves, setup stops and says so rather than leaving behind a workflow that cannot run.

Mention-driven rounds are requested by mentioning @tessl-code-review in a comment on the pull request. That token belongs to the Action, whose published review asks reviewers to use it, so the caller matches it rather than inventing a command of its own. Who may request a round is a choice the skill puts to the user, defaulting to owners, organization members, and invited collaborators.

Skills

SkillDescription
setup-code-reviewDetect, interview, propose, write, verify, and explain the Code Review caller workflow

Customizing what gets reviewed

Cadence and blocking are what this plugin sets. What the reviewer looks for is the profile and lenses inputs, documented in the Action repository's README. The Action supports the built-in standard profile and explicitly selected repository YAML profiles.

Workspace
tessl
Visibility
Public
Created
Last updated
Publish Source
CLI
Badge
tessl/code-review-setup badge