Автопроверка кода перед коммитом

★ 6.9 · code-review-automation

Proверка перед коммитом (review-pre-commit) is a Claude Code skill that runs a structured pre-commit quality gate: it scans the working diff, executes the project's linter, formatter, and test suite, then hands off to the commit skill. Reach for it when you want to make sure stubs, debug leftovers, or failing tests never sneak into a commit — especially before a code review or release cut. Triggers on "review my changes", "/review", "ready to commit?", or any request for a final pass. Internally it reads the full diff via `jj diff` checking correctness, edge cases, and security; searches for stub patterns (TODO, FIXME, HACK, `unimplemented!()`, empty function bodies); removes debug artifacts (`dbg!`, `console.log`, `println!`, commented-out blocks); runs toolchain-specific checks (Rust: `cargo clippy`/`cargo fmt`, Python: `jj-precommit`, TypeScript: `npm run lint`, Go: `go vet`/`gofmt`, Elixir: `mix format`/`mix credo`); runs the full test suite; and verifies the active crosslink issue has a plan and result comment. Output is a PASS/FAIL checklist. This skill gates code going in, not reviewing what has already landed — post-commit analysis requires different tooling. Works with Rust, Python, TypeScript, Go, and Elixir projects using a Jujutsu workflow; not suited for pure Git repositories without `jj`.