Agent skill

Review Before Commit

by honeybadger-io in honeybadger-io/honeybadger-js

Mandatory AI code review before committing in honeybadger-js.

MITAuto-check passedDevelopment

Install Review Before Commit

skills CLI
$ npx skills add honeybadger-io/honeybadger-js --skill review-before-commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install honeybadger-io/honeybadger-js review-before-commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/honeybadger-io/honeybadger-js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-before-commit .claude/skills/review-before-commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-before-commit
GitHub stars
116
Token cost
~195 tokens
SKILL.md length
92 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Mandatory AI code review before committing in honeybadger-js.

  • Works in 2 steps: Request an AI review → Present findings for human approval
  • Committing code
  • SKILL.md covers 1. Request an AI review and 2. Present findings for human…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Review Before Commit is an agent skill from honeybadger-io/honeybadger-js. Mandatory AI code review before committing in honeybadger-js. Use when committing code, preparing a commit, or before any git commit of agent changes.

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages and Code review. It works with npm and JavaScript. The repository describes itself as: Universal JavaScript library for reporting errors to Honeybadger.io :zap:. The licence is MIT.

When your agent uses it

  • Committing code
  • Preparing a commit
  • Before any git commit of agent changes

Example prompts

  • “/review-before-commit”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Request an AI review
  2. Present findings for human approval

What it can do on your machine

Read from SKILL.md and the folder at commit 4e92061. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review Before Commit loads about 195 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 92 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~195

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from honeybadger-io/honeybadger-js at commit 4e92061, republished under its MIT licence (© honeybadger-io). 92 words, ~195 tokens.

Download SKILL.mdSave it as .claude/skills/review-before-commit/SKILL.md (or your agent's skills folder).
name
review-before-commit
description
Mandatory AI code review before committing in honeybadger-js. Use when committing code, preparing a commit, or before any git commit of agent changes.

Review Before Commit

Run this checklist before every commit. Do not commit until it is complete.

1. Request an AI review

Get a code review of the working-tree / staged changes about to be committed:

  1. Codex CLI (preferred): run codex to review the changes. If codex is not installed, skip to item 2.
  2. Claude (fallback): perform a thorough code review using Claude.

Address any findings.

2. Present findings for human approval

Present the addressed findings to the user for a human review and approval. Do not commit until the user approves.

© honeybadger-io, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/review-before-commit of honeybadger-io/honeybadger-js.

Open the folder on GitHubat commit 4e92061

Compare with similar skills

Review Before Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review Before Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review Before Commit this skillhoneybadger-io/honeybadger-js116—~195Automated safety check: PassMIT
Release WorkflowCaldis/react-zmage946—~3.6kAutomated safety check: NotesMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review45k—~3.1kAutomated safety check: PassApache-2.0
@pierre/diffs Code Renderingpierrecomputer/pierre6.3k2 repos~803Automated safety check: PassApache-2.0
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.3k—~2.2kAutomated safety check: PassMIT

Similar skills

  • Release Workflow

    Caldis/react-zmage

    A skill your agent uses when the user wants to ship a new version of react-zmage to npm.

    946 GitHub stars~3.6k tokensUpdated 4 mo ago
    DevelopmentAuto-check: notes
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    45k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • @pierre/diffs Code Rendering

    pierrecomputer/pierre

    Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.

    6.3k GitHub starsUsed in 2 repos~803 tokens
    DevelopmentAuto-check passed
  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.3k GitHub stars~2.2k tokensUpdated 28 days ago
    DevelopmentAuto-check passed
  • Open Code Review Delegate

    alibaba/open-code-review

    Has the host agent do the code review itself while the ocr CLI handles file selection and rule lookup, covering workspace changes, branch ranges or single commits.

    45k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed

More from honeybadger-io/honeybadger-js

  • Writing Documentation

    honeybadger-io/honeybadger-js

    Guides documentation changes for honeybadger-js. An agent skill from honeybadger-io/honeybadger-js.

    116 GitHub stars~389 tokensUpdated today
    Auto-check passed
  • Create Pull Request

    honeybadger-io/honeybadger-js

    Pre-submission checklist for opening pull requests in honeybadger-js.

    116 GitHub stars~275 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Review Before Commit

What does Review Before Commit do?

Mandatory AI code review before committing in honeybadger-js. Review Before Commit is an agent skill from honeybadger-io/honeybadger-js. Mandatory AI code review before committing in honeybadger-js.

When should I use Review Before Commit?

Review Before Commit fits situations like: committing code; preparing a commit; before any git commit of agent changes.

How do I install Review Before Commit in Claude Code?

Run `npx skills add honeybadger-io/honeybadger-js --skill review-before-commit -a claude-code`. Or copy the skill folder (.agents/skills/review-before-commit in honeybadger-io/honeybadger-js) into .claude/skills/review-before-commit in your project. Claude Code loads it when a task matches its description.

How do I install Review Before Commit in Codex?

Run `npx skills add honeybadger-io/honeybadger-js --skill review-before-commit -a codex`. Or copy the skill folder (.agents/skills/review-before-commit in honeybadger-io/honeybadger-js) into .agents/skills/review-before-commit in your project. Codex loads it when a task matches its description.

Can I use Review Before Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add honeybadger-io/honeybadger-js --skill review-before-commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-before-commit, .gemini/skills/review-before-commit, .github/skills/review-before-commit and .opencode/skills/review-before-commit in your project.

What does Review Before Commit need to run?

SKILL.md names no scripts, command-line tools or credentials: Review Before Commit is instructions for the agent only.

Does Review Before Commit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Review Before Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review Before Commit use?

Review Before Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review Before Commit use?

About 195 tokens (SKILL.md is roughly 780 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Review Before Commit?

Skills that share tags, products or a category with Review Before Commit: Release Workflow (Caldis/react-zmage, 946 stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Open Code Review CLI (alibaba/open-code-review, 45k stars) and @pierre/diffs Code Rendering (pierrecomputer/pierre, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review Before Commit?

honeybadger-io (a GitHub organization) maintains it in honeybadger-io/honeybadger-js, which has 116 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 8, 2026.

Source: honeybadger-io/honeybadger-js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.