Type Safety Guardian

Review TypeScript code for type safety violations and suggest improvements.

91|44|Updated Jul 17, 2025
One-click install
npx skills add https://github.com/HyperscapeAI/hyperscape --skill type-safety-guardian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Type Safety Guardian
Source: https://github.com/HyperscapeAI/hyperscape/tree/main/.claude/plugins/core-dev/skills/type-safety-guardian
Command: npx skills add https://github.com/HyperscapeAI/hyperscape --skill type-safety-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the common pitfalls of weak typing in TypeScript by autonomously enforcing strict standards, particularly a zero-tolerance policy for any or unknown types. It prevents type-related bugs, improves code maintainability, and ensures adherence to best practices.

Core Features & Use Cases

  • Proactive Detection: Automatically identifies and flags forbidden TypeScript patterns like any types or weak type assertions.
  • Context-Based Suggestions: Provides immediate, correctly typed solutions based on the code's context, guiding developers to better practices.
  • Use Case: As you write new TypeScript code, this Skill will instantly detect if you accidentally use any and suggest a precise, strongly-typed alternative, fixing the issue before it even becomes a pull request.

Quick Start

Review this TypeScript code for type safety violations and suggest improvements.