May 5 · 3 min read · 📝 Quick Summary: Prek is a fast, dependency-free Git hook manager written in Rust, serving as a drop-in alternative to pre-commit. It offers improved performance, reduced disk space usage, and enhanced features like monorepo support and integrated P...
Join discussionMar 4 · 6 min read · Git hooks automate quality gates: lint before commit, run type checks before push, format code automatically. The standard Node.js ecosystem solution is Husky. It works, but it comes with tradeoffs: Node.js dependency, sequential hook execution, and ...
Join discussionMar 3 · 8 min read · Git Hooks and Pre-commit Tools: Husky, Lefthook, and lint-staged Git hooks are scripts that run automatically at specific points in the Git workflow -- before a commit, before a push, after a merge. They are the last line of defense against committin...
Join discussionFeb 8 · 4 min read · The Problem: Bad Code Slipping Through You're in the zone, making changes, and you commit. Then you push. Then CI fails. Or worse—someone reviews your PR and points out formatting issues, linting errors, or security vulnerabilities that you could've ...
Join discussion
Oct 13, 2025 · 3 min read · Working with coding agents can feel like pair programming with an overeager junior partner: enthusiastic, fast, but sometimes reckless. To keep the collaboration safe and productive, I’ve developed a set of safeguards that make coding with agents rel...
Join discussion
May 20, 2025 · 2 min read · In this article, we review lefthook.yml in n8n codebase. But what is lefthook? LeftHook LeftHook is a fast and powerful Git hooks manager for any type of projects. Install npm install lefthook --save-dev Usage Configure your hooks, install them onc...
Join discussionJun 4, 2024 · 3 min read · Pre-commit hooks are checkers that automatically fix code style issues before commiting the code. Instead of reporting the style errors to users (like PythonTA), they normally do not display the specific style rules being used and just directly refac...
Join discussionMay 5, 2024 · 2 min read · The pre-commit framework is an awesome utility to enforce coding standards and run sanity checks, such as preventing large files from being committed. It's not just convenient to run locally on the developers' machines. By using pre-commit to run che...
Join discussion