quality-rules

Detect and enforce TypeScript quality rules across codebases.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidates quality rules spanning type-safety, architecture, and observability.

Core Features & Use Cases

  • Lists 12 active quality rules with examples
  • Guidance on fixes

Quick Start

Review code against rules before committing.

Frequently Asked Questions about quality-rules

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

FAQPage Schema
How do I enforce quality rules across a TypeScript codebase?

Quality rules detect and enforce standards for Type Safety, Effect, Architecture, and Observability across TypeScript projects. The Skill applies 12 rules including no-any, no-zod, require-branded-id, and others, guiding automatic and manual fixes integrated into pre-commit and CI workflows.

What are the 12 quality rules included and how do I fix violations?

Rules cover type-safety (no-any, require-branded-id), architecture (no-forbidden-import, port-requires-adapter), effect patterns (require-effect-gen, require-tagged-error), and observability (no-console, no-process-env). Each rule includes severity levels and specific fix guidance for TypeScript projects.

Can I integrate quality rules into my pre-commit and CI pipeline?

Yes. Quality rules support integration into pre-tool-use, pre-commit, and CI workflows. The Skill provides rule definitions with severity and fixes, enabling automated enforcement before code commits and in continuous integration pipelines.

Do quality rules work with Effect Schema and Data.TaggedError?

Yes. Quality rules integrate with Effect Schema, Layer, Config service, and Data.TaggedError, supporting Effect-specific patterns like require-effect-gen and require-tagged-error for robust error handling and dependency injection.

How do I analyze code against quality rules within token constraints?

Analysis uses Read and Grep operations within a 500-token budget, enabling efficient scanning of TypeScript codebases to detect rule violations before review or merge.