# Vibe pre commit audit

> Vibe pre commit audit is an open-source agent skill for security. Audits staged git changes for secrets, debug leftovers and other common commit mistakes. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ash1794/vibe-engineering/tree/master/plugins/vibe-engineering/skills/vibe-pre-commit-audit
- **Repository:** https://github.com/ash1794/vibe-engineering
- **GitHub stars:** 163
- **License:** MIT
- **Skill name:** vibe-pre-commit-audit
- **Collection:** https://github.com/ash1794/vibe-engineering
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-pre-commit-audit)
- [License: MIT](https://github.com/ash1794/vibe-engineering/tree/HEAD/plugins/vibe-engineering/skills/vibe-pre-commit-audit)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Vibecheck](https://ai-powered.com/skills/vibecheck): Vibecheck is an open-source agent skill for developer tools.
- [Security review](https://ai-powered.com/skills/security-review-nabwinsaud): Security review is an open-source agent skill for security.
- [Security review edho ferdian](https://ai-powered.com/skills/security-review-edho-ferdian): Security review edho ferdian is an open-source agent skill for security.
- [Source code scanning](https://ai-powered.com/skills/source-code-scanning): Source code scanning is an open-source agent skill for security.
- [Verification loop](https://ai-powered.com/skills/verification-loop-nabwinsaud): Verification loop is an open-source agent skill for developer tools.
- [Diff aware semgrep scan](https://ai-powered.com/skills/diff-aware-semgrep-scan): Diff aware semgrep scan is an open-source agent skill for security.
- [Security review](https://ai-powered.com/skills/security-review-ramboz): Security review is an open-source agent skill for security.
- [Find bugs](https://ai-powered.com/skills/find-bugs): Find bugs is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/vibe-pre-commit-audit
