A quality check hook for Claude Code that runs TypeScript compilation, ESLint auto-fixing, and Prettier formatting with SHA256 config caching for <5ms validation.
Claude Code Quality Hooks is a set of hooks for the Claude Code AI assistant that automatically runs quality checks on files after they are edited. It performs TypeScript compilation, ESLint auto-fixing, and Prettier formatting to catch errors before runtime and ensure code quality, using SHA256 config caching to achieve validation in under 5ms for real-time editing workflows.
Developers using Claude Code for editing TypeScript projects in React/Next.js/Vite apps, VS Code extensions, or Node.js applications who want automated, fast quality assurance integrated into their editing process.
It provides immediate, project-aware quality feedback during editing with minimal performance overhead, thanks to its smart caching system, and integrates seamlessly with existing project configurations for TypeScript, ESLint, and Prettier.
Claude Code Quality Hooks is a set of post-tool-use hooks for the Claude Code AI assistant that performs automated quality checks on edited files. It provides immediate feedback during editing by catching errors before runtime and preventing regressions, with project-aware rules for different development contexts.
The project prioritizes immediate, non-blocking feedback during real-time editing by leveraging efficient caching and project-specific configurations, ensuring quality checks are fast enough to be seamless.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses SHA256 hashing to cache TypeScript configs, enabling subsequent checks in under 5ms for seamless real-time editing, as detailed in the performance section.
Applies different rules per project type, such as allowing console in React components but blocking it in VS Code extensions, ensuring context-aware quality checks.
Automatically respects existing TypeScript, ESLint, and Prettier configurations without requiring duplicate setup, leveraging project-specific files.
Auto-fixes trivial ESLint and Prettier issues, reducing manual corrections during editing, as enabled by default in the hook configuration.
Only functions within the Claude Code AI assistant ecosystem, making it irrelevant for users of other tools, with no support for alternatives.
Currently supports only React/Next.js/Vite, VS Code extensions, and Node.js TypeScript, with 'More coming soon...' indicating limited extensibility for other setups.
Requires editing JSON files (e.g., .claude/settings.local.json and hook-config.json) and setting environment variables, which can be complex and error-prone for new users.