type-generation-validator

Community

Ensure TypeScript type safety

AuthorBruceTyndall
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of maintaining TypeScript type safety and ensuring accurate type generation within a codebase, preventing common errors related to any types, strict mode compliance, and drift between database schemas and application types.

Core Features & Use Cases

  • Strict Mode Compliance: Verifies that TypeScript's strict mode settings (noImplicitAny, etc.) are correctly configured.
  • any Type Detection: Identifies and quantifies the usage of the any type, highlighting potential areas of weak typing.
  • Database Type Coverage: Checks for files importing types from database.types.ts and flags manual type definitions that might be out of sync.
  • Type Suppression Analysis: Counts occurrences of @ts-ignore and @ts-expect-error to identify areas where type checking is being bypassed.
  • Use Case: Before merging a new feature, run this Skill to ensure that all new code adheres to strict typing rules and that no unintended any types have been introduced, maintaining the overall type integrity of the project.

Quick Start

Run the type generation validator skill to check for any type usage in the SOCELLE-WEB source directory.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: type-generation-validator
Download link: https://github.com/BruceTyndall/socelle-global/archive/main.zip#type-generation-validator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.