typescript SKILL.md skillA

typescript from dalestudy/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dalestudy/skills/typescript@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dalestudy/skills
Path
skills/typescript/SKILL.md
Versions recorded
3
Latest version
v1.0.0, committed Feb 1, 2026
First version recorded
Jan 28, 2026
Size
4,931 bytes
Repository stars
4
License
MIT

TypeScript 타입 정의 및 베스트 프랙티스 스킬. 다음 상황에서 사용: (1) TypeScript 파일(.ts, .tsx) 작성 또는 수정 시, (2) 타입 정의(interface, type) 작업 시, (3) tsconfig.json 설정 또는 컴파일러 옵션 조정 시, (4) 타입 에러 해결 또는 타입 안전성 개선 시, (5) 제네릭, 유틸리티 타입, 타입 조작 작업 시, (6) 'typescript', 'ts', 'type', 'interface', 'generic' 키워드가 포함된 작업 시.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# TypeScript

TypeScript 핸드북 기반 타입 정의 및 베스트 프랙티스. 기본 문법·타입 조작·유틸리티 타입 상세는 [references/](references/) 및 [Handbook](https://www.typescriptlang.org/docs/handbook/intro.html) 참고.

## 기본 원칙

### 1. 타입 추론 활용

불필요한 어노테이션 생략. 변경 시 이중 수정 부담 감소, 추론이 더 정확한 경우 많음.

```typescript
// ❌
const name: string = "John";
const user: { name: string; age: number } = { name: "John", age: 30 };

// ✅
const name = "John";
const user = { name: "John", age: 30 };
```

### 2. 명시적 반환 타입

함수 계약 명확화, 반환 타입 오변경 방지. 공개 API·복잡한 로직에서 필수.

```typescript
function calculateTotal(items: Item[]): number {
  return items.reduce((sum, item) => sum + item.price, 0);
}
async function fetchUser(id: string): Promise<User> {
  const res = await fetch(`/api/users/${id}`);
  return res.json();
}
```

### 3. any 사용 금지

타입 안전성·자동완성 무효화. `unknown` + 타입 가드 또는 구체 타입 사용.

```typescript
// ❌
function process(data: any) {
  return data.value;
}

// ✅
function process(data: unknown): number {
  if (typeof data === "object" && data !== null && "value" in data)
    return (data as { value: number }).value;
  throw new Error("Invalid data");
}
```

## 함수 · 제네릭

- 함수: 인자·반환 타입 명시. 오버로드 시 구현 시그니처는 유니온으로.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dalestudy/skills/typescript@sha256:dfe284bf532b25f8

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6otk4ypt2lzuhwbc.svg)](https://markdownregistry.com/a/art_6otk4ypt2lzuhwbc)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jan 28, 2026 and Feb 1, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-02-01 b3db8f9 4,931 BA view · diff
v1.02026-01-29 d987db3 4,929 BA view · diff
v1.02026-01-28 48a4d5c 4,860 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4931 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dalestudy/skills · 4 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6otk4ypt2lzuhwbc
GET https://markdownregistry.com/api/v1/resolve?ref=dalestudy/skills/typescript
GET https://markdownregistry.com/api/v1/blob/dfe284bf532b25f87e62313886e147e3a8437db2cc286aa09de141b271625d50

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dalestudy/skills

AGENTS.md AGENTS.md file
dalestudy/skills · AGENTS.md
git:20261018.387c1a8 · audit A · 4 stars
CLAUDE.md CLAUDE.md file
dalestudy/skills · CLAUDE.md
git:20260128.50669c5 · audit B · 4 stars
bun SKILL.md skill
dalestudy/skills · skills/bun/SKILL.md · Node.js 대신 Bun 런타임 사용을 위한 스킬. 다음 상황에서 사용: (1) 새 JavaScript/TypeScript 프로젝트 생성 시, (2) package.json 또는 의존성 관련 작업 시, (3)…
v1.0.0 · audit C · 4 stars
cloudflare SKILL.md skill
dalestudy/skills · skills/cloudflare/SKILL.md · DaleStudy 조직의 Cloudflare 사용 규칙 (Workers 배포, 시크릿 관리, PR 미리보기, URL 형식). 다음 상황에서 사용: (1) wrangler.jsonc 또는 wrangler.toml…
v1.1.0 · audit A · 4 stars
git SKILL.md skill
dalestudy/skills · skills/git/SKILL.md · Git 버전 관리 모범 관례 및 워크플로우 가이드. 다음 상황에서 사용: (1) Git 커밋 메시지 작성 시 (Conventional Commits 규칙 적용), (2) 브랜치 생성 및 관리 시 (GitHub…
v1.0.0 · audit A · 4 stars
github-actions SKILL.md skill
dalestudy/skills · skills/github-actions/SKILL.md · GitHub Actions 워크플로우 생성, 보안 및 버전 관리 스킬. 다음 상황에서 사용: (1) 새 워크플로우 파일(.yml) 작성 시, (2) 기존 워크플로우 수정 시, (3) 액션 버전 검토 또는 업데이트…
v2.0.0 · audit A · 4 stars
github SKILL.md skill
dalestudy/skills · skills/github/SKILL.md · GitHub CLI(gh)를 활용한 GitHub 플랫폼 상호작용 가이드. 다음 상황에서 사용: (1) GitHub 이슈 생성, 조회, 수정 시, (2) Pull Request 생성, 리뷰, 병합 시, (3)…
v1.0.0 · audit A · 4 stars
mcp-server SKILL.md skill
dalestudy/skills · skills/mcp/SKILL.md · mcp 서버 연결 문제를 분석하고 최신 specification 기준으로 구현을 검증한다. tools/list 또는 tools/call 오류, stdio sse http transport 이슈, resources…
v1.0.0 · audit A · 4 stars
react SKILL.md skill
dalestudy/skills · skills/react/SKILL.md · React 성능 최적화 및 베스트 프랙티스 스킬. Vercel Engineering 가이드 기반, 프레임워크 비종속. 다음 상황에서 사용: (1) React 컴포넌트(.tsx, .jsx) 작성 또는 수정 시…
v1.0.0 · audit A · 4 stars
skill-creator SKILL.md skill
dalestudy/skills · skills/skill-creator/SKILL.md · DaleStudy/skills 저장소의 스킬 생성, 수정, 검증 시 사용. 다음 상황에서 활성화: (1) 새 스킬 생성 요청 시, (2) skills/ 디렉토리 내 SKILL.md 파일 수정 시, (3)…
v1.2.0 · audit A · 4 stars
storybook SKILL.md skill
dalestudy/skills · skills/storybook/SKILL.md · Storybook 스토리 작성 및 CSF 3.0 베스트 프랙티스 스킬. 다음 상황에서 사용: (1) 새 스토리 파일(.stories.tsx, .stories.ts) 작성 시, (2) 기존 스토리 수정 시, (3)…
v1.1.0 · audit A · 4 stars
testing SKILL.md skill
dalestudy/skills · skills/testing/SKILL.md · React Testing Library 및 Vitest 기반 테스팅 모범 관례. 다음 상황에서 사용: (1) .test.tsx, .test.ts, .spec.tsx, .spec.ts 파일 작업 시, (2) 컴포넌트…
v1.1.0 · audit A · 4 stars

Every file in dalestudy/skills

Other files named typescript

typescript SKILL.md skill
gaia-react/gaia · frontend/.claude/skills/typescript/SKILL.md · Applies GAIA's patterns and conventions for all TypeScript code. Use this skill whenever writing or reviewing…
git:20261019.39d38f1 · audit A · 24 stars
typescript Cursor rule
jnpiyush/agentx · .cursor/rules/typescript.mdc · TypeScript / Node backend standards (Frontier)
git:20261010.87e53aa · audit A · 17 stars
typescript SKILL.md skill
alexander-danilenko/cortex-ai-skills · plugins/engineering/cortex-web/skills/typescript/SKILL.md · Apply these opinionated TypeScript conventions whenever writing or reviewing TypeScript: branded types for domain…
git:20261013.ecfffa1 · audit A · 17 stars
typescript SKILL.md skill
alexander-danilenko/cortex-claude-code-plugins · plugins/engineering/cortex-web/skills/typescript/SKILL.md · Apply these opinionated TypeScript conventions whenever writing or reviewing TypeScript: branded types for domain…
git:20261013.ecfffa1 · audit A · 17 stars
typescript SKILL.md skill
dhaupin/vant · models/public/vant/skills/vant-skill-typescript/SKILL.md · Typed JavaScript.
v1.0 · audit A · 12 stars
typescript SKILL.md skill
jvoliveiran/constellation-harness · plugins/constellation-stack-node/skills/typescript/SKILL.md · Rules to follow when writting typescript code
git:20260824.c5fdf86 · audit A · 10 stars
typescript SKILL.md skill
sentimony/skills · plugins/skills/skills/typescript/SKILL.md · You MUST use this when working on TypeScript-specific problems - compiler errors,
v1.6.0 · audit B · 6 stars
typescript SKILL.md skill
zhaojiannet/canon · plugins/lockstep-typescript/skills/typescript/SKILL.md · Enforce TypeScript 7 strict type-checking. Use when editing .ts/.tsx or tsconfig.json, or when the user mentions…
git:20260914.a9571da · audit A · 4 stars

Browse by kind, by grade A, or by owner.