Quality hooks

From a5c-ai/babysitter · View interactive version

Quality hooks is an AI agent skill from the GitHub repository a5c-ai/babysitter. Language-specific auto-lint/format/typecheck pipeline. Supports Python (ruff+pyright), TypeScript (prettier+eslint+tsc), Go (gofmt+golangci-lint). Auto-fix and convergence loops.

How to use this skill

Skill file

Auto-Fix Convergence Loop

When quality checks fail:

  1. Apply all auto-fixable issues
  2. Re-run quality checks
  3. Repeat up to 3 times
  4. Report remaining unfixable issues

Quality Scoring

Composite score = weighted average:

Target: 85/100 (configurable via targetQuality)

Hook Integration Points

| Pilot Shell Hook | Quality Action |

|-----------------|----------------|

| PostToolUse (Edit/Write) | Run file_checker on modified files |

| PostToolUse (file creation) | Run full pipeline on new files |

| Pre-merge | Run full pipeline on all changes |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.