# Semantic ci lint

> Semantic ci lint is an open-source agent skill for developer tools. Checks pull request diffs against written team conventions and comments on confident. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mrmps/classifier-dev/tree/main/skills/semantic-ci-lint
- **Repository:** https://github.com/mrmps/classifier-dev
- **GitHub stars:** 440
- **License:** MIT
- **Skill name:** semantic-ci-lint
- **Collection:** https://github.com/mrmps/classifier-dev
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill runs a CI job that reviews each changed hunk of a pull request against conventions a team has written in plain prose, such as logging rules or error-handling rules, which a standard linter cannot express. Each convention is judged separately by a keyless classifier, which returns a label and a confidence score for every hunk.

The bundled Python script reads the output of git diff with zero context lines, sends each added hunk with its file path, and sorts results by confidence. Findings at 0.9 and above are posted as a pull request comment through the GitHub CLI, while lower-confidence findings from 0.5 upward are written to the job summary. The included workflow runs on pull_request events, needs fetch-depth set to 0 so the base commit is available, and is set to never fail the build.

The skill expects a Git repository with a GitHub Actions setup, Python 3 on the runner, and the GitHub token for posting comments. The conventions are defined in the script itself, so a team edits them there, one convention per classifier call.

## When your agent uses it

> Check every changed hunk of a pull request against conventions written in prose (naming, error handling, logging, docs) with a keyless classifier, and comment only on findings above a confidence threshold. Use when a convention cannot be expressed as a lint rule, when someone says "enforce our conventions in CI" or "check the PR against the style guide", or when the same review comment keeps being typed by hand.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/semantic-ci-lint)
- [License: MIT](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/semantic-ci-lint)

## Features

- **Hunk-level convention checks:** Each changed hunk of a diff is judged against prose conventions rather than pattern rules.
- **Confidence thresholds:** Only findings at or above a set confidence are posted as comments, while weaker ones go to the job summary.
- **One convention per call:** Conventions are checked separately so that a single instruction does not dilute the verdict.
- **Three-way labels:** Each hunk is labelled as following, breaking, or not applying to the convention.
- **GitHub Actions workflow:** A ready-made pull request workflow runs the check and posts a comment with the GitHub CLI.
- **Optional smart tier:** Low-confidence answers can be re-asked by a reasoning model at the cost of extra latency.

## Good for

- Enforce a logging rule that forbids personal names in log lines during code review
- Check that errors are never silently swallowed in a pull request
- Flag naming or documentation conventions from a team style guide on each push
- Stop repeating the same manual review comment on pull requests

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/semantic-ci-lint` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/semantic-ci-lint &&
cp -R "$tmp/skills/semantic-ci-lint" ~/.claude/skills/semantic-ci-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/semantic-ci-lint` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/semantic-ci-lint` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/semantic-ci-lint &&
cp -R "$tmp/skills/semantic-ci-lint" ~/.agents/skills/semantic-ci-lint &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/semantic-ci-lint` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/semantic-ci-lint` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/semantic-ci-lint &&
cp -R "$tmp/skills/semantic-ci-lint" ~/.cursor/skills/semantic-ci-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/semantic-ci-lint` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/semantic-ci-lint
```

Or copy the folder to `~/.gemini/skills/semantic-ci-lint` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/semantic-ci-lint`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/semantic-ci-lint &&
cp -R "$tmp/skills/semantic-ci-lint" ~/.copilot/skills/semantic-ci-lint &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/semantic-ci-lint` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mrmps/classifier-dev.git
```

Then copy `classifier-dev/skills/semantic-ci-lint` into your agent's skills folder as `semantic-ci-lint`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does the skill trigger?

It is meant for cases where a convention cannot be expressed as a lint rule, when someone asks to enforce conventions in CI or check a PR against a style guide, or when the same review comment keeps being written by hand.

### What does Semantic ci lint need to run?

A GitHub Actions workflow on pull requests, Python 3, a checkout with full history (fetch-depth 0), and the GitHub token to post comments. It calls the classifier.dev API over HTTPS.

### Does Semantic ci lint fail the build?

No. The job is advisory and never fails the build, and findings are written to comments or the job summary.

### Which conventions does Semantic ci lint check?

The example script ships with two conventions, one for logging and one for error handling. Teams add their own by writing them as one-sentence rules in the script.

### How do I install Semantic ci lint in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/semantic-ci-lint to use it in all your projects, or to .claude/skills/semantic-ci-lint in one project.

### Does Semantic ci lint run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Semantic ci lint?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Semantic ci lint?

The closest alternatives to Semantic ci lint are Code review, Quality review, Fix ci, Review PR and GitHub ci.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [Quality review](https://ai-powered.com/skills/quality-review): Quality review is an open-source agent skill for developer tools.
- [Fix ci](https://ai-powered.com/skills/fix-ci): Fix ci is an open-source agent skill for developer tools.
- [Review PR](https://ai-powered.com/skills/review-pr-tonyghiani): Review PR is an open-source agent skill for developer tools.
- [GitHub ci](https://ai-powered.com/skills/github-ci): GitHub ci is an open-source agent skill for developer tools.
- [Code review agent](https://ai-powered.com/skills/code-review-agent): Code review agent is an open-source agent skill for developer tools.
- [Fix PR](https://ai-powered.com/skills/fix-pr): Fix PR is an open-source agent skill for developer tools.
- [Git PR feedback](https://ai-powered.com/skills/git-pr-feedback): Git PR feedback is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/semantic-ci-lint
