quality-patterns

Enforce TypeScript/JavaScript code quality with biome checks and test evidence.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/aitchwhy/dotfiles --skill quality-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-patterns
Source: https://github.com/aitchwhy/dotfiles/tree/main/config/agents/skills/quality-patterns
Command: npx skills add https://github.com/aitchwhy/dotfiles --skill quality-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces code quality with tests, patterns, and static checks.

Core Features & Use Cases

  • Enforces banned patterns and safe code
  • Provides domain rules for code quality
  • Includes anti-patterns and guidance

Quick Start

Run biome checks after edits.

Frequently Asked Questions about quality-patterns

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

FAQPage Schema
How do I enforce code quality checks in TypeScript and JavaScript projects?

Code quality enforcement uses automated static checks, linting rules, and test-based validation to verify TypeScript and JavaScript code meets standards. Biome applies configured rules for type safety, code smells, and banned patterns, catching issues before deployment.

What are the benefits of using static analysis for code quality over manual review?

Static analysis detects issues consistently and immediately—type violations, unused variables, pattern breaches—without human review latency. Automated verification scales across files and catches regressions early, reducing bugs and enforcing team standards uniformly.

Can I use Biome to limit function size and enforce strict TypeScript rules?

Yes. Biome enforces function-size limits, strict type-safety rules (noExplicitAny, noUnusedVariables, noNonNullAssertion, useConst), and custom domain rules. Configure checks to apply verification-first patterns and block anti-patterns in your workflow.

How do I validate code quality with test evidence and structured claims?

Tests provide evidence that code meets quality standards. Structure claims in standardized formats, require explicit library imports, and validate them with test runs. Biome checks combine with test results to create comprehensive, evidence-based quality assertions.

What code smells and anti-patterns can automated checks detect?

Automated checks identify code smells like implicit any types, unused declarations, and unsafe non-null assertions. Domain rules catch anti-patterns specific to your codebase, enforce library import standards, and flag patterns that violate team quality guidelines.