typescript

Enforce strict TypeScript compiler options, ESLint rules, and Jest testing.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/joshuakessell/cornerstone --skill typescript-joshuakessell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/joshuakessell/cornerstone/tree/main/.claude/skills/typescript
Command: npx skills add https://github.com/joshuakessell/cornerstone --skill typescript-joshuakessell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript strict mode enforcement, linting, and Jest-based testing configuration to improve type safety and code quality across a project.

Core Features & Use Cases

  • Enforces strict TypeScript compiler options (strict, noImplicitAny, strictNullChecks, noUnusedLocals, noUnusedParameters, noImplicitReturns, esModuleInterop, skipLibCheck, forceConsistentCasingInFileNames).
  • Integrates ESLint rules to enforce explicit types and prevent common mistakes, with a focus on code quality and consistency.
  • Sets up robust testing with Jest to validate type-safe behavior and prevent regressions.

Quick Start

Configure your TypeScript project to enable strict mode by updating tsconfig.json, installing and applying ESLint with strict rules, and wiring up a Jest test workflow as shown.

Frequently Asked Questions about typescript

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

FAQPage Schema
How do I enforce strict TypeScript compiler options for better type safety?▼

Enforce strict TypeScript configurations by updating tsconfig.json to enable strict mode, activating compiler options like noImplicitAny, strictNullChecks, noUnusedLocals, and noImplicitReturns to improve type safety and maintainability.

How do I configure ESLint to require explicit types in a TypeScript project?▼

Configure ESLint in your TypeScript project by applying explicit type rules that prevent common mistakes, ensuring consistent code quality and enforcing rigorous type checks across the codebase.

How do I set up a Jest testing workflow for type-safe TypeScript code?▼

Set up a Jest testing workflow in your TypeScript project to validate type-safe behavior, execute robust test suites, and prevent regressions in real-world applications.

What strict TypeScript compiler options should I enable to prevent runtime errors?▼

Enable strict TypeScript compiler options including strictNullChecks, noImplicitReturns, noUnusedParameters, esModuleInterop, and forceConsistentCasingInFileNames to catch type errors during compilation.

Can I use strict TypeScript linting and Jest testing together in an existing project?▼

Apply strict TypeScript linting and Jest testing to existing real-world projects by wiring up ESLint explicit type rules and Jest workflows to enforce rigorous type checks without breaking current functionality.

Why should I enable esModuleInterop and skipLibCheck in my TypeScript configuration?▼

Enable esModuleInterop and skipLibCheck in your TypeScript configuration to ensure strict type safety compatibility with external libraries while maintaining robust compiler checks and preventing inconsistent file casing issues.