code-quality

Enforce ESLint and TypeScript standards to fix lint errors and typing issues.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/GuyErreich/PersonalWebsite --skill code-quality-guyerreich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/GuyErreich/PersonalWebsite/tree/main/.github/skills/code-quality
Command: npx skills add https://github.com/GuyErreich/PersonalWebsite --skill code-quality-guyerreich

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies and enforces high-quality TypeScript and ESLint standards across a codebase, reducing lint errors, type issues, and accidental use of any, while guiding teams toward consistent, maintainable code.

Core Features & Use Cases

  • Enforces explicit types and interfaces to replace any usage, improving reliability and tooling support.
  • Prevents common issues like unused variables, empty catch blocks, and ts-nocheck usage by codified rules and patterns.
  • Serves as a quick-reference policy during code reviews and pre-commit checks to ensure code meets defined quality thresholds.

Quick Start

Run the lint and build checks locally and apply these guidelines whenever fixing issues to ensure zero errors.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I enforce strict ESLint and TypeScript checks to fix lint errors in my project?

Enforce strict ESLint and TypeScript checks by codifying rules that require explicit types and interfaces, forbid @ts-nocheck, and eliminate unused variables. Run npm run lint and npm run build locally to ensure zero errors before committing.

What is the best way to prevent any types and empty catch blocks during code reviews?

Preventing any types and empty catch blocks requires applying codified ESLint and TypeScript policies during code reviews. This Skill enforces explicit interface definitions and flags empty blocks, serving as a quick-reference policy to maintain consistent code quality.

How do I configure TypeScript linting rules to forbid @ts-nocheck in a codebase?

Configure TypeScript linting to forbid @ts-nocheck by enabling strict ESLint checks and requiring explicit types across the project. This Skill provides centralized guidelines that prevent @ts-nocheck usage and ensure commits pass build checks.

Does this code quality Skill work without any external dependencies?

Yes, this code quality Skill works without external dependencies. It provides a centralized set of guidelines for maintainable code, requiring only your existing TypeScript and ESLint environment to run npm run lint and npm run build checks.

Why does my TypeScript build fail when replacing `any` with explicit interfaces?

Replacing any with explicit interfaces can cause build failures if strict TypeScript checks are not properly configured. This Skill guides you through enforcing explicit types and resolving typing issues to ensure your project passes npm run build.

When do I need static analysis for TypeScript linting and code safety?

Static analysis for TypeScript linting is needed during development and pre-commit checks to catch type issues, unused variables, and accidental any usage. This Skill codifies these strict checks to guarantee maintainable, safe code commits.