iaud-ts-conversion

Convert i-AUD .script.ts files from JavaScript to TypeScript with MTSD type mapping.

3|1|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-ts-conversion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iaud-ts-conversion
Source: https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit/tree/main/.claude/skills/iaud-ts-conversion
Command: npx skills add https://github.com/AUD-DEV-TEAM/i-AUD-Developer-Kit --skill iaud-ts-conversion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

i-AUD 클라이언트 스크립트의 자바스크립트에서 타입스크립트로의 전환을 체계적으로 돕고, MTSD 기반 컨트롤 타입 매핑과 변환 규칙을 상세히 제공합니다.

Core Features & Use Cases

  • MTSD 파일 기반 컨트롤 타입 매핑과 안전한 캐스팅 규칙을 안내합니다.
  • var → let/const 변환, 함수/루프 변환, 이벤트 핸들러 파라미터 타입 주석 등을 포함한 마이그레이션 절차를 제시합니다.
  • 대규모 스크립트의 단계별 리팩토링 및 테스트 방법에 대한 실전 사례를 제공합니다.

Quick Start

iaud-ts-conversion 스킬의 지침에 따라 대상 파일을 식별하고 MTSD 정보를 확인한 뒤 변환을 시작합니다.

Frequently Asked Questions about iaud-ts-conversion

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

FAQPage Schema
How do I migrate JavaScript client scripts to TypeScript safely?

TypeScript migration of client scripts requires guided conversion applying MTSD-driven type mapping, var-to-let/const transformations, and proper control typings while preserving runtime behavior. This process enforces safe imports and avoids converting constructor functions into classes.

What is MTSD-based control type mapping in TypeScript migration?

MTSD-based control type mapping provides safe casting rules and proper control typings during TypeScript migration. It enables MCP-based control lookups to accurately type client script components, ensuring type safety without altering original runtime behavior.

How do I convert var declarations to let and const in TypeScript?

Converting var to let/const involves applying systematic transformation rules during the TypeScript migration workflow. The process identifies variable scope and usage patterns, replacing var with const for immutable bindings and let for reassignable ones.

Can I convert constructor functions to classes during JavaScript to TypeScript migration?

Constructor functions should not be converted to classes during TypeScript migration. The guided conversion process explicitly avoids this transformation to preserve runtime behavior, focusing instead on safe imports, proper control typings, and event handler parameter type annotations.

How do I add type annotations to event handler parameters in TypeScript?

Event handler parameter type annotations are applied during the TypeScript migration process by inferring proper types from MTSD control definitions. This ensures type safety for event callbacks while maintaining the original script's runtime behavior.

What is the best way to refactor large scripts to TypeScript step by step?

Step-by-step TypeScript refactoring of large scripts involves identifying target files, confirming MTSD information, applying type mappings, and performing incremental transformations with testing at each stage to preserve runtime behavior throughout the migration workflow.