typescript-strict

Enforce strict TypeScript patterns across .ts/.tsx files, Zod schemas, Server Actions, and route handlers.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/kekoesports/proyectozack --skill typescript-strict-kekoesports
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-strict
Source: https://github.com/kekoesports/proyectozack/tree/main/.agents/skills/typescript-strict
Command: npx skills add https://github.com/kekoesports/proyectozack --skill typescript-strict-kekoesports

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Patrones detallados de TypeScript estricto para este proyecto. Usar cuando se editen archivos .ts/.tsx, se creen o modifiquen Zod schemas, se escriban Server Actions o route handlers, o se revise código por type safety o seguridad.

Core Features & Use Cases

  • Proporciona patrones con código real del proyecto, checks OWASP y excepciones documentadas para áreas sensibles.
  • Ayuda a mantener la type safety en Server Actions, route handlers y validaciones de datos.
  • Use Case: Cuando se refactoriza código TS/TSX o se crean schemas Zod, usando zod safeParse para evitar throws y promover ataques de seguridad mitigados.

Quick Start

Use the TypeScript strict patterns to enforce safe typing across edits to TS/TSX files, schemas, server actions, and routes.

Frequently Asked Questions about typescript-strict

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

FAQPage Schema
How do I enforce strict TypeScript patterns in Server Actions and route handlers?

To enforce strict TypeScript patterns in Server Actions and route handlers, apply rules that mandate safeParse for Zod schemas and prevent throwing exceptions, ensuring type safety and mitigated security risks.

What is the best way to validate Zod schemas in TypeScript without throwing errors?

The best way to validate Zod schemas in TypeScript without throwing errors is using safeParse. This approach avoids exceptions in Server Actions and promotes secure, documented boundary handling for type safety.

How do I audit TypeScript code for type safety and OWASP security vulnerabilities?

You can audit TypeScript code for type safety and OWASP vulnerabilities by checking .ts and .tsx files against strict typing rules, ensuring Zod safeParse usage, and reviewing documented security exceptions in sensitive areas.

Does this approach support type checking for both Zod schemas and route handlers?

Yes, this approach supports type checking for both Zod schemas and route handlers. It enforces strict TypeScript patterns across all edited TS/TSX sources to maintain robust type safety and secure boundary handling.

Why should I avoid throwing errors in TypeScript Server Actions?

You should avoid throwing errors in TypeScript Server Actions to maintain secure boundary handling. Using Zod safeParse instead of throwing exceptions ensures safer data validation and improves overall type safety and security.