pinpoint-typescript

Enforce strict TypeScript patterns and safety checks across a codebase.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/timothyfroehlich/PinPoint-SkillEval --skill pinpoint-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pinpoint-typescript
Source: https://github.com/timothyfroehlich/PinPoint-SkillEval/tree/main/.claude/skills/pinpoint-typescript
Command: npx skills add https://github.com/timothyfroehlich/PinPoint-SkillEval --skill pinpoint-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers enforce robust TypeScript patterns and ensure safe, maintainable code by providing a framework of strict typing patterns and safe defaults for data handling and ORM usage.

Core Features & Use Cases

  • Strict TypeScript Rules: Enforces no any, no non-null assertions, no unsafe type assertions, and explicit return types for public functions.
  • Optional Properties & Exact Optional Property Types: Promotes conditional spreads to safely handle optional fields without introducing undefined values.
  • Type Guards & Narrowing: Provides robust runtime checks and discriminated unions for safer type narrowing.
  • Drizzle ORM Type Safety: Encourages type-safe queries and explicit type conversions between DB rows and application types.
  • Null Safety & Safe Data Handling: Demonstrates safe access patterns, fallbacks, and defensive checks across layers.
  • Use Cases: Fixing type errors, implementing complex types or generics, and converting database rows with confidence.

Quick Start

Apply pinpoint-typescript to a sample codebase by enabling strict TypeScript options, replacing any any usages with proper types, and adding type guards where needed.

Frequently Asked Questions about pinpoint-typescript

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

FAQPage Schema
How do I enforce strict TypeScript patterns and prevent unsafe typing errors in my codebase?

To enforce strict TypeScript patterns, you must eliminate 'any' usages, non-null assertions, and unsafe type assertions while adding explicit return types for public functions. This ensures compile-time safety and prevents common typing errors across your modules.

What is the best way to handle optional properties in TypeScript without introducing undefined values?

Handling optional properties safely requires leveraging exact optional property types and conditional spreads. This approach allows you to safely handle optional fields across your data-access layers without unintentionally introducing undefined values into your application types.

How do I ensure type safety when querying and converting database rows with Drizzle ORM?

Drizzle ORM type safety is achieved by encouraging type-safe queries and explicit type conversions between database rows and application types. This prevents runtime errors by ensuring the data structure matches your strict TypeScript definitions exactly.

How do you implement robust runtime type narrowing and type guards in TypeScript?

Type narrowing and type guards in TypeScript are implemented using robust runtime checks and discriminated unions. These mechanisms ensure safer type narrowing by validating data shapes dynamically before accessing properties within your data handling logic.

Does this strict TypeScript approach work for fixing complex type errors and implementing generics?

Yes, applying strict TypeScript rules works effectively for fixing type errors and implementing complex types or generics. By replacing unsafe assertions with proper type guards and explicit returns, you can resolve intricate typing issues with confidence.