Communitygithub.com

mcollina/typescript-magician

복잡한 제네릭 타입을 설계하고, `any` 타입을 엄격한 대안으로 리팩토링하며, 타입 가드와 유틸리티 타입을 생성하고 TypeScript 컴파일러 오류를 해결합니다.

typescript-magician란 무엇인가요?

mcollina/typescript-magician은 TypeScript 개발자를 위한 전문화된 AI 에이전트 스킬입니다. 이 스킬은 복잡한 제네릭 타입, 조건부 타입, 매핑된 타입, 템플릿 리터럴 타입 등의 고급 타입 시스템 기능을 설계하고 구현하는 데 특화되어 있습니다. 또한 `any` 타입을 엄격한 타입으로 리팩토링하고, 사용자 정의 타입 가드와 유틸리티 타입을 생성하며, TypeScript 컴파일러 오류를 진단하고 해결합니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 주요 AI 에이전트 플랫폼에서 사용할 수 있으며, 개발자가 TypeScript의 타입 시스템을 최대한 활용하여 더 안전하고 유지보수 가능한 코드를 작성할 수 있도록 지원합니다. `infer`, `extends`, `Partial`, `Record`, `ReturnType`, `Awaited`와 같은 키워드 및 유틸리티 타입과 관련된 질문에 특히 효과적입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mcollina/skills/tree/main/skills/typescript-magician

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

typescript-magician은(는) 무엇을 하나요?

복잡한 제네릭 타입을 설계하고, any 타입을 엄격한 대안으로 리팩토링하며, 타입 가드와 유틸리티 타입을 생성하고 TypeScript 컴파일러 오류를 해결합니다. 사용자가 TypeScript(TS) 타입, 제네릭, 타입 추론, 타입 가드, any 타입 제거, 엄격한 타입 지정, 타입 오류, infer, extends, 조건부 타입, 매핑된 타입, 템플릿 리터럴 타입, branded/opaque 타입, 또는 Partial, Record, ReturnType, Awaited와 같은 유틸리티 타입에 대해 물을 때 사용하세요.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

mcollina/documentation

Creates, structures, and reviews technical documentation following the Diátaxis framework (tutorials, how-to guides, reference, and explanation pages). Use when a user needs to write or reorganize docs, structure a tutorial vs. a how-to guide, build reference docs or API documentation, create explanation pages, choose between Diátaxis documentation types, or improve existing documentation structure. Trigger terms include: documentation structure, Diátaxis, tutorials vs how-to guides, organize docs, user guide, reference docs, technical writing.

mcollina/fastify-best-practices

Guides development of Fastify Node.js backend servers and REST APIs using TypeScript or JavaScript. Use when building, configuring, or debugging a Fastify application — including defining routes, implementing plugins, setting up JSON Schema validation, handling errors, optimising performance, managing authentication, configuring CORS and security headers, integrating databases, working with WebSockets, and deploying to production. Covers the full Fastify request lifecycle (hooks, serialization, logging with Pino) and TypeScript integration via strip types. Trigger terms: Fastify, Node.js server, REST API, API routes, backend framework, fastify.config, server.ts, app.ts.

mcollina/node

Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging, and more. Use when setting up Node.js projects with native TypeScript support, configuring type stripping (--experimental-strip-types), writing Node 22+ TypeScript without a build step, or when the user mentions 'native TypeScript in Node', 'strip types', 'Node 22 TypeScript', '.ts files without compilation', 'ts-node alternative', or needs guidance on error handling, graceful shutdown, flaky tests, profiling, or environment configuration in Node.js. Helps configure tsconfig.json for type stripping, set up package.json scripts, handle module resolution and import extensions, and apply robust patterns across the full Node.js stack.

mcollina/nodejs-core

Debugs native module crashes, optimizes V8 performance, configures node-gyp builds, writes N-API/node-addon-api bindings, and diagnoses libuv event loop issues in Node.js. Use when working with C++ addons, native modules, binding.gyp, node-gyp errors, segfaults, memory leaks in native code, V8 optimization/deoptimization, libuv thread pool tuning, N-API or NAN bindings, build system failures, or any Node.js internals below the JavaScript layer.

관련 스킬