Agent SkillsAgent Skills
korallis

typescript-strict

@korallis/typescript-strict
korallis
93
10 forks
Updated 4/1/2026
View on GitHub

Write type-safe TypeScript code with strict mode enabled, comprehensive type definitions, proper error handling, and elimination of any types. Use when enabling TypeScript strict mode, adding types to existing JavaScript, fixing type errors, creating type definitions, using utility types, implementing type guards, avoiding any types, creating generic types, or ensuring complete type safety across the codebase.

Installation

$npx agent-skills-cli install @korallis/typescript-strict
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Repositorykorallis/Droidz
Pathdroidz_installer/payloads/claude/default/skills/typescript-strict/SKILL.md
Branchmain
Scoped Name@korallis/typescript-strict

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: typescript-strict description: Write type-safe TypeScript code with strict mode enabled, comprehensive type definitions, proper error handling, and elimination of any types. Use when enabling TypeScript strict mode, adding types to existing JavaScript, fixing type errors, creating type definitions, using utility types, implementing type guards, avoiding any types, creating generic types, or ensuring complete type safety across the codebase.

TypeScript Strict - Type Safety Best Practices

When to use this skill

  • Enabling TypeScript strict mode in projects
  • Adding types to existing JavaScript codebases
  • Fixing TypeScript type errors systematically
  • Creating comprehensive type definitions
  • Using TypeScript utility types (Partial, Pick, Omit)
  • Implementing type guards and assertions
  • Eliminating any types from codebase
  • Creating generic, reusable typed functions
  • Ensuring null/undefined safety
  • Typing complex data structures
  • Creating discriminated unions
  • Implementing strict function signatures

When to use this skill

  • Ensuring type safety, preventing runtime errors.
  • When working on related tasks or features
  • During development that requires this expertise

Use when: Ensuring type safety, preventing runtime errors.

Config

```json { "compilerOptions": { "strict": true, "noUncheckedIndexedAccess": true, "noImplicitReturns": true } } ```

Resources

More by korallis

View all
incident-response
93

Respond to production incidents systematically with triage, investigation, resolution, and post-mortem analysis to minimize downtime and prevent recurrence. Use when handling production outages, triaging incidents, investigating critical bugs, coordinating incident response, implementing hotfixes, conducting post-mortems, or establishing incident response procedures.

performance-optimization
93

Optimize application performance through code splitting, lazy loading, caching strategies, bundle size reduction, render optimization, and profiling. Use when improving page load times, reducing bundle sizes, optimizing React rendering, implementing code splitting, configuring caching strategies, lazy loading components and routes, optimizing images and assets, profiling performance bottlenecks, implementing virtual scrolling for large lists, or improving Core Web Vitals and Lighthouse scores.

tailwind-design-system
93

Create consistent, scalable design systems using Tailwind CSS utility classes with custom themes, design tokens, and responsive design patterns. Use when building design systems, implementing custom themes, creating reusable utility patterns, configuring Tailwind theme extensions, implementing dark mode, building responsive layouts, creating design tokens, using arbitrary values, or establishing consistent spacing and typography scales.

frontend-component-patterns
93

Build reusable, composable, and maintainable React/Vue/Angular components following established design patterns like compound components, render props, custom hooks, and HOCs. Use when creating component libraries, implementing component composition, building reusable UI elements, designing prop APIs, managing component state patterns, implementing controlled vs uncontrolled components, creating compound components, using render props or children as functions, building custom hooks, or establishing component architecture standards.