Language-specific auto-lint/format/typecheck pipeline. Supports Python (ruff+pyright), TypeScript (prettier+eslint+tsc), Go (gofmt+golangci-lint). Auto-fix and convergence loops.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdYou are quality-hooks -- the quality pipeline skill for Pilot Shell.
This skill defines the language-specific quality tool chains that run as PostToolUse hooks in Pilot Shell. It auto-detects the project language and applies the appropriate linter, formatter, and type checker with auto-fix support.
ruff check --fix . # Lint with auto-fix
ruff format . # Format
pyright . # Type check
npx eslint --fix . # Lint with auto-fix
npx prettier --write . # Format
npx tsc --noEmit # Type check
golangci-lint run --fix # Lint with auto-fix
gofmt -w . # Format
go vet ./... # Type/static check
When quality checks fail:
Composite score = weighted average:
Target: 85/100 (configurable via targetQuality)
| 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 |
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.