engineering-quality

Configure Biome and Lefthook for linting, formatting, and git hook enforcement.

11|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/recca0120/code-quest --skill engineering-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: engineering-quality
Source: https://github.com/recca0120/code-quest/tree/main/.claude/skills/engineering-quality
Command: npx skills add https://github.com/recca0120/code-quest --skill engineering-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you keep the codebase consistent and reliable by setting up automated linting, formatting, and safety checks in git hooks so issues are caught before they reach CI or teammates.

Core Features & Use Cases

  • Biome linting and formatting: Validate and automatically fix formatting/lint rules across shared configs like biome.json.
  • Lefthook-managed git hooks: Run Biome, TypeScript checks, and test suites at pre-commit and pre-push to prevent regressions.
  • Server DI quality patterns: Apply consistent Inversify 7 dependency injection practices for maintainable architecture.
  • Zod runtime validation guidance: Add early warnings by validating CLI and WebSocket event stream shapes with Zod schemas.

Quick Start

Tell the assistant to help you troubleshoot a failing pre-commit hook after changing biome.json and Lefthook configuration.

Frequently Asked Questions about engineering-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Biome linting and formatting with Lefthook git hooks?

Set up deterministic project quality automation by configuring Biome in biome.json and managing pre-commit and pre-push checks with Lefthook to enforce linting, formatting, and test execution. This prevents regressions by catching issues before they reach CI or teammates.

Why does my pre-commit hook fail after updating biome.json?

Pre-commit hook failures after updating biome.json usually stem from incorrect tool commands or inconsistent globs in your Lefthook configuration. Diagnosing hook failures requires verifying that Biome commands match your updated configuration and integrate properly with TypeScript tests.

Can I use Zod schemas for runtime validation in CLI and WebSocket streams?

Yes, you can add early warnings by validating CLI and WebSocket event stream shapes with Zod schemas. This runtime validation guidance ensures data structures conform to expected formats, catching invalid inputs before they cause runtime errors.

What's the best way to maintain consistent Inversify dependency injection patterns?

Apply consistent Inversify 7 dependency injection practices to maintain a server-side architecture. Following standardized DI quality patterns ensures your architecture remains maintainable and testable across the codebase.

Does Lefthook support running TypeScript checks and test suites at pre-push?

Yes, Lefthook-managed git hooks can run Biome, TypeScript checks, and test suites at both pre-commit and pre-push stages. This configuration prevents regressions by enforcing quality checks before code integration.

What are the limitations of using Biome for project quality automation?

Biome for project quality automation requires correct tool commands, consistent glob patterns, and proper integration with TypeScript tests and runtime Zod validation. Misconfigured globs or mismatched commands in biome.json can cause hooks to fail silently.