#685685th of 997 in Skills, plugins and prompts

habit-hooks

Runs linters after agent edits and feeds back coaching guides for code smells

Stars
292
License
MIT
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 27 weeks+289
26 May 2026: 3 stars2 Jun 2026: 5 stars9 Jun 2026: 5 stars16 Jun 2026: 5 stars23 Jun 2026: 24 stars30 Jun 2026: 25 stars7 Jul 2026: 33 stars14 Jul 2026: 35 stars21 Jul 2026: 35 stars28 Jul 2026: 38 stars4 Aug 2026: 40 stars11 Aug 2026: 43 stars18 Aug 2026: 48 stars25 Aug 2026: 128 stars1 Sept 2026: 156 stars8 Sept 2026: 165 stars15 Sept 2026: 177 stars22 Sept 2026: 180 stars29 Sept 2026: 196 stars6 Oct 2026: 222 stars13 Oct 2026: 228 stars20 Oct 2026: 234 stars27 Oct 2026: 239 stars3 Nov 2026: 243 stars10 Nov 2026: 264 stars17 Nov 2026: 277 stars24 Nov 2026: 283 stars1 Dec 2026: 292 stars

3 on 26 May 2026292 on 1 Dec 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Habit Hooks is a Python CLI that runs detectors such as ruff, eslint, knip, jscpd, phpmd, pmd and rubocop over changed files, maps each finding to a tool-independent smell key, and prints a coaching guide for fixing it. The guide text is meant to stop coding agents from gaming a bare linter score. Enforced smells exit 1, suggested ones exit 0, and tool failures exit 2, so it works in CI as well as in agent hooks.

Who it is for: Developers using AI coding agents who want enforced code-smell feedback

Strengths

  • Plugins for Python, TypeScript, PHP, Java and Ruby; guides and sensors overridable per project
  • Exit codes separate a smell (1) from a broken tool (2), which suits CI
  • Snooze command accepts the existing backlog so only new smells surface
  • Cites an independent pre-registered eval: 83.3% genuine fixes vs 5.6% to 28.9% for bare linter messages

Weaknesses

  • Detectors (ruff, eslint, knip, jscpd, pmd and others) are not bundled and must be installed per project
  • Installing a language plugin does not enable it; it must be listed in config.toml
  • Repeated uv tool install commands replace earlier extras, which silently drops language checks
  • Catches structural smells only, not correctness or design

What it needs

  • no GPU
  • Needs Python 3.11+, ruff, deptry, eslint, knip, ts-morph, jscpd, pmd, rubocop, node

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Skills, plugins and prompts

See all 997
Also in Skills, plugins and prompts
RankProjectScore
#683gtm-cofounderAgent skills that walk founders through developer-tool go-to-market strategy347 starsMIT55 out of 100
#684pi-blackholeDeterministic compaction and background memory extension for the Pi coding agent309 starsMIT55 out of 100
#686probityRule enforcement hooks for AI coding agents, including a TDD rule260 starsMIT55 out of 100
#687seedance2-skillAgent skill for writing prompts for ByteDance's Seedance 2.0 video model4.6k stars+245 (+5.6%) in 30 daysMIT54 out of 100
#6883dviz-pro-maxAgent skill for building and inspecting interactive Three.js 3D scenes1.6k stars+573 (+55%) in 30 daysMIT54 out of 100