ts-quality

Automate TypeScript quality checks covering type checking, linting, formatting, and tests.

8|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/morodomi/tdd-skills --skill ts-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-quality
Source: https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-ts/skills/ts-quality
Command: npx skills add https://github.com/morodomi/tdd-skills --skill ts-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TypeScript projects often suffer from type errors, inconsistent linting, and flaky tests due to misconfigurations. This Skill provides a cohesive quality workflow that runs type checking, linting, formatting checks, and test execution to enforce code quality.

Core Features & Use Cases

  • Type Checking: run tsc to catch type errors early.
  • Linting & Formatting: use eslint and prettier to enforce style and correctness.
  • Test Execution: run tests with jest or vitest to validate behavior.
  • Use Case: in CI or local development, integrate a reproducible TS quality gate for PRs and releases.

Quick Start

Install and run the TS quality checks in your project:

  • npx tsc --noEmit
  • npx eslint .
  • npx prettier --check .
  • npx jest # or npx vitest run

Frequently Asked Questions about ts-quality

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

FAQPage Schema
How do I automate TypeScript quality checks for CI and pull requests?

Automate TypeScript quality checks by running tsc for type checking, eslint for linting, prettier for formatting, and jest or vitest for test execution to enforce code quality in CI and PRs.

What problems does a TypeScript quality workflow solve?

A TypeScript quality workflow solves type errors, inconsistent linting, and flaky tests by providing a cohesive process that validates types, formatting, and behavior across local development and CI environments.

Do I need local dev dependencies to run tsc, eslint, and prettier checks?

You need npm or Node.js tooling available to execute tsc, eslint, prettier, and jest or vitest. These tools can be invoked via npx or through local dev dependencies.

Can I use vitest instead of jest for TypeScript test execution?

Yes, TypeScript test execution supports both jest and vitest. You can validate behavior by running tests with either npx jest or npx vitest run.

What's the best way to catch type errors early in a TypeScript project?

Running tsc with the --noEmit flag is the best way to catch type errors early. This performs strict type checking without generating output files.