LogoClawIndex
CasesSkillsAbout
LogoClawIndex

typescript - TypeScript Strict Patterns and Best Practices Implementation

Implement and refactor TypeScript code with strict patterns and best practices in .ts/.tsx files

Tags

Updated: 2026-02-15
typescripttype-safetyrefactoringcode-qualitystrict-mode

Capabilities

create const object typesextract types from const objectswrite flat interfacescreate type guards

Typical Inputs

TypeScript files (.ts/.tsx)existing type definitionssource code with types/interfaces

Typical Outputs

refactored TypeScript codestrict type definitionstype-safe interfaces

What this skill does

  • create const object types
  • extract types from const objects
  • write flat interfaces
  • create type guards
  • use TypeScript utility types
  • remove any usage
  • tighten unknown types
  • implement generics
  • import type declarations

Inputs

  • TypeScript files (.ts/.tsx)
  • existing type definitions
  • source code with types/interfaces

Outputs

  • refactored TypeScript code
  • strict type definitions
  • type-safe interfaces
  • const object patterns
  • type guard functions

Requirements

  • TypeScript project
  • access to .ts/.tsx files
  • permission to edit code

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.