
Semantic ci lint
Checks pull request diffs against written team conventions and comments on confident
Semantic ci lint is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 440
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Semantic ci lint
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/semantic-ci-lint to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/semantic-ci-lint to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/semantic-ci-lint to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/semantic-ci-lintOr copy the folder to ~/.gemini/skills/semantic-ci-lint yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/semantic-ci-lint:
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.
Get the folder:
git clone --depth 1 https://github.com/mrmps/classifier-dev.gitThen 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.
What it does
- 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
Semantic ci lint 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, Fix ci, Review PR, GitHub ci and Code review agent.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mrmps/classifier-dev

Sorts many texts into your own labels in one call, with a confidence per answer
- Open source
- 440 GitHub stars
- Developer tools

Trims a long agent session by keeping, dropping or pointing to each context chunk
- Open source
- 440 GitHub stars
- Developer tools

Lets a browser or desktop agent pick its next action from on-screen elements
- Open source
- 440 GitHub stars
- Browser automation

Gates user posts against a written content policy using per-category scores
- Open source
- 440 GitHub stars
- Security

Sorts each page of a multi-document intake packet by type before extraction
- Open source
- 440 GitHub stars
- Files and documents

Sorts a downloads folder into invoice, receipt and contract folders with an undo log
- Open source
- 440 GitHub stars
- Files and documents





