code-harden-types

Community

Make TypeScript safer at trust boundaries.

Authorwebdevcody
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill reduces runtime bugs and type regressions by removing weak typing patterns in the parts of a codebase that most often accept untrusted input.

Core Features & Use Cases

  • Types hardening for changed files: Focuses on the current diff to tighten safety without broad refactors.
  • Boundary validation with the existing validator: Adds zod-based validation (or whichever validator the project already uses) at trust boundaries like HTTP handlers, server functions, webhook payloads, and job/queue handlers.
  • Safe, classified remediation: Automatically fixes clearly mechanical issues (e.g., redundant casts and suppressed type errors) while surfacing structural risks for human review.

Quick Start

Run the code-harden-types skill on your current changed TypeScript files to remove any unsafe typing and enforce runtime validation at input boundaries.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: code-harden-types
Download link: https://github.com/webdevcody/go-mailing-list/archive/main.zip#code-harden-types

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 471,000+ vetted skills library on demand.