Skip to content
Skill

Vibe pre commit audit

Audits staged git changes for secrets, debug leftovers and other common commit mistakes

Vibe pre commit audit is an open-source agent skill for security. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
163
Last commit
License
MIT
Listing updated

Similar skills

About Vibe pre commit audit

This skill has the agent review staged changes before a commit is created, looking for credentials, debug statements, TODO and FIXME markers without issue references, disabled tests, oversized or binary files, and blocks of commented-out code. It asks the agent to first run whatever hooks or lint commands the repository already defines, such as pre-commit, lefthook, husky, or a Makefile check, and to use a secret scanner like gitleaks or trufflehog when one is available.

The output is a structured report with an overall status of clean, warnings or blocked, a per-check table, and separate lists of blocking issues and warnings with file references. Tool findings are treated as blocking, while the manual pattern checks cover what the scanners miss. If no tooling is configured, the agent is told to suggest adding a hook before falling back to manual review.

The skill is written as plain Markdown instructions with no bundled scripts. It works on the git diff in the current repository and expects git to be available, along with any scanner the project already uses.

When your agent uses it

Scans staged changes for secrets, debug statements, TODOs without references, and other common commit mistakes. Use before creating any commit.

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 (3 KB) on GitHub on 3 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

This skill ships in the vibe-engineering plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ash1794/vibe-engineering
/plugin install vibe-engineering@vibe-plugins

Or copy only this skill to ~/.claude/skills/vibe-pre-commit-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vibe-pre-commit-audit &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-pre-commit-audit" ~/.claude/skills/vibe-pre-commit-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/vibe-pre-commit-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/vibe-pre-commit-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vibe-pre-commit-audit &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-pre-commit-audit" ~/.agents/skills/vibe-pre-commit-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/vibe-pre-commit-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/vibe-pre-commit-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vibe-pre-commit-audit &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-pre-commit-audit" ~/.cursor/skills/vibe-pre-commit-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/vibe-pre-commit-audit inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/ash1794/vibe-engineering.git --path plugins/vibe-engineering/skills/vibe-pre-commit-audit

Or copy the folder to ~/.gemini/skills/vibe-pre-commit-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/vibe-pre-commit-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ash1794/vibe-engineering.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vibe-pre-commit-audit &&
cp -R "$tmp/plugins/vibe-engineering/skills/vibe-pre-commit-audit" ~/.copilot/skills/vibe-pre-commit-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/vibe-pre-commit-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ash1794/vibe-engineering.git

Then copy vibe-engineering/plugins/vibe-engineering/skills/vibe-pre-commit-audit into your agent's skills folder as vibe-pre-commit-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Secret detection
Scans staged content for API keys, AWS access key patterns, private key headers and credentialed connection strings.
Debug statement checks
Flags leftover logging and debugger calls such as console.log, print and debugger statements.
Untracked TODO review
Finds TODO, FIXME, HACK and XXX markers that lack an issue reference.
Disabled test detection
Catches skipped tests and commented-out test functions before they reach history.
Large and binary file alerts
Warns about files over 1MB, binary assets and lock files with heavy changes.
Scanner-first workflow
Runs existing repository hooks or secret scanners before falling back to manual checks.

Good for

  • Check my staged changes for leaked API keys before I commit
  • Look for leftover console.log or debug prints in this diff
  • Review TODO comments that have no issue number before committing
  • Make sure I haven't committed a .env file or large binary by accident
  • Run the project's pre-commit hooks and summarize any failures

Vibe pre commit audit FAQ

What does Vibe pre commit audit need to run?

It works from the staged git changes in the repository. It uses existing hooks or a secret scanner such as gitleaks or trufflehog when they are installed, and otherwise falls back to manual pattern checks.

Does Vibe pre commit audit change any files?

The skill describes a read-only audit that reports findings. It does not include scripts, and the instructions only suggest adding a hook when none is configured.

When does Vibe pre commit audit apply?

The description says to use it before creating any commit. It also lists cases to skip, such as personal scratch branches, explicit requests to skip checks, and generated lock file commits.

How do I install Vibe pre commit audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vibe-pre-commit-audit to use it in all your projects, or to .claude/skills/vibe-pre-commit-audit in one project. Or install the vibe-engineering plugin, which includes it: /plugin marketplace add ash1794/vibe-engineering, then /plugin install vibe-engineering@vibe-plugins.

Does Vibe pre commit audit 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 Vibe pre commit audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Vibe pre commit audit?

The closest alternatives to Vibe pre commit audit are Vibecheck, Security review, Security review edho ferdian, Source code scanning and Verification loop.

Where this comes from

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

More from ash1794/vibe-engineering

  1. Checks finished work against its acceptance criteria before it is marked done

    • Open source
    • 163 GitHub stars
    • Developer tools
  2. Checks your own work for test tampering, skipped requirements and unverified claims

    • Open source
    • 163 GitHub stars
    • Developer tools
  3. Guides an agent to combine commits from parallel branches with sequential cherry-picks

    • Open source
    • 163 GitHub stars
    • Developer tools
  4. Audits Go tests for race conditions, shared mock state and cleanup ordering

    • Open source
    • 163 GitHub stars
    • Developer tools
  5. Checks test coverage by risk tier and maps spec requirements to tests and code

    • Open source
    • 163 GitHub stars
    • Developer tools