Skip to content
Back to skills

Typescript Types

ASecurity

Use when designing TypeScript types: models the domain with unions and literal types, avoids any and unchecked casts, validates data at the boundary where it enters the program, and lets the compiler prove the rest.

  • 1,567 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added November 26, 2026
ai-agentstypescript

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add autonomous-ai/openharness --skill typescript-types --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typescript Types?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typescript Types
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/autonomous-ai-typescript-types/badge)](https://www.skillsdirectory.com/skills/autonomous-ai-typescript-types)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typescript-types
description: "Use when designing TypeScript types: models the domain with unions and literal types, avoids any and unchecked casts, validates data at the boundary where it enters the program, and lets the compiler prove the rest."
---

Type the edges first: parse external input into typed values once, where it arrives. Prefer discriminated unions to optional flags. Use unknown rather than any, and narrow it. Make impossible states unrepresentable, and turn on strict mode where the project has not.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.