vibe-pre-commit-audit
Scans staged changes for secrets, debug statements, TODOs without references, and other common commit mistakes. Use before creating any commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scans staged changes for secrets, debug statements, TODOs without references, and other common commit mistakes. Use before creating any commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Dispatches research agents to find real projects, papers, and documented failures before proposing any feature, architecture, or technology choice. Triggers on creative/design tasks, not on implementation of already-designed specs.
Validates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions.
Generates edge case, failure mode, and spec-driven test cases. Covers boundary values, nil inputs, concurrency, resource exhaustion, malformed data, and requirement-linked traceability tests.
Detects and prevents shortcut rationalization — when the agent is about to skip a step, simplify a requirement, or optimize away a constraint. Triggers proactively when rationalization patterns are noticed.
Provides a persistent cross-session task queue for work that should be done but isn't blocking current tasks. Enables background and future-session work tracking.
Safely integrates commits from parallel agent branches using sequential cherry-pick. Use after parallel work completes in isolated branches or worktrees.
| name | vibe-pre-commit-audit |
| description | Scans staged changes for secrets, debug statements, TODOs without references, and other common commit mistakes. Use before creating any commit. |
| user-invocable | true |
Catch the easy mistakes before they enter history.
Scan for patterns:
API_KEY=, SECRET=, PASSWORD=, TOKEN=AKIA[0-9A-Z]{16}-----BEGIN.*PRIVATE KEY-----.env files being stagedconsole.log(, fmt.Println(, print(, debugger;// DEBUG, # DEBUG, /* DEBUGlog.Debug in non-debug code pathsTODO without issue number: TODO: fix this (bad)TODO(#123): fix this (good)FIXME, HACK, XXX — flag allt.Skip(, xit(, xdescribe(, @pytest.mark.skip//nolint without justificationStatus: CLEAN / WARNINGS / BLOCKED
| Check | Status | Findings |
|---|---|---|
| Secrets | ✓/✗ | X patterns found |
| Debug statements | ✓/✗ | X occurrences |
| TODOs | ✓/◐ | X without references |
| Disabled tests | ✓/✗ | X found |
| Large files | ✓/✗ | X over limit |
| Commented code | ✓/◐ | X blocks |