yd-typescript SKILL.md skillA
This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.
yd-typescript from leeyudok/agents-scaffold is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add leeyudok/agents-scaffold/yd-typescript@git:20261024.c5b81d9Pins git:20261024.c5b81d9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- leeyudok/agents-scaffold
- Path
.claude/skills/yd-typescript/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261024.c5b81d9, committed Oct 24, 2026
- Size
- 4,629 bytes
- Repository stars
- 38
- License
- MIT
TypeScript 코드를 작성·리뷰할 때 타입 경계, 비동기 상태, DOM 접근, strict 설정을 점검한다. Bun 브라우저 코드에도 적용한다. 빌드·의존성은 yd-frontend-build, React 컴포넌트는 yd-react-expert가 맡는다.
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
# yd-typescript TypeScript의 정적 보장이 실제 실행 데이터에도 성립하는지 확인한다. 기존 프로젝트의 런타임·프레임워크·배포 방식을 유지하고, 이번 변경과 관계없는 전면 리팩터링은 하지 않는다. 패키지·번들 설정은 `yd-frontend-build`, React 상태와 컴포넌트는 `yd-react-expert`가 맡는다. ## 데이터 경계 - `fetch().json()`, JSONP 콜백, `JSON.parse`, `localStorage`, DOM의 `dataset`은 타입이 붙어 보여도 외부 값이다. 입력을 `unknown`으로 받고 실제 사용하는 필드의 존재·타입·허용 범위를 확인한 뒤 도메인 타입으로 좁힌다. 실패 시 화면 상태나 저장 데이터가 어떻게 되는지도 정한다. - `as ApiResponse`, `as HTMLElement`, 후위 `!`는 검증이 아니다. DOM 요소가 반드시 있어야 하면 한 번 조회해 `instanceof` 또는 null 검사를 거친 뒤 쓰고, 선택 요소는 없을 때의 동작을 명시한다. 제네릭 헬퍼도 런타임 검사를 생략하지 않는다. - 선택적 필드에서 **부재**와 `undefined` 값이 다른 계약이면 `exactOptionalPropertyTypes`를 검토한다. 배열·인덱스 조회 실패가 의미 있으면 `noUncheckedIndexedAccess`를 켜거나 사용 지점에서 검사한다. 기존 설정을 한꺼번에 강화해 무관한 오류를 대량 생산하지 않는다. - 이름·ID·URL처럼 외부 문자열을 HTML에 표시할 때는 `textContent`와 DOM 노드로 조립한다. `innerHTML`이 필요하다면 신뢰 경계와 허용 마크업을 먼저 명시한다. ## 비동기 UI - 연속 선택·검색·폴링에서 이전 응답이 나중 응답을 덮을 수 있다. 요청 취소(`AbortController`)나 세대 번호로 최신 결과만 반영한다. 타이머·이벤트 리스너를 교체하거나 화면을 닫을 때 정리한다. - POST 응답이 성공 코드여도 본문이 비었거나 형식이 틀릴 수 있다. 성공 여부와 응답 스키마를 각각 검사하고, 저장 완료 안내는 유효한 응답을 화면에 반영한 뒤 표시한다. - 시간 제한 후 실패했을 때 서버 쓰기가 이미 끝났을 수 있다. 곧바로 재시도해 중복 기록을 만들기보다 현재 상태를 다시 조회하거나 사용자에게 확인 가능성을 알린다. ## Bun·TypeScript 확인 …
Read the whole file at its exact version.
How to install
mdr add leeyudok/agents-scaffold/yd-typescript@sha256:fd349ffd96a9524bThe line at the top of this page pins the label git:20261024.c5b81d9, 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.
[](https://markdownregistry.com/a/art_i5mk6uthmk2es2m5)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 24, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4629 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
leeyudok/agents-scaffold · 38 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_i5mk6uthmk2es2m5 GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/agents-scaffold/yd-typescript GET https://markdownregistry.com/api/v1/blob/fd349ffd96a9524b5ab5455d463dfc2bf378a7ee8b3d9112db071e9431465948
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 leeyudok/agents-scaffold
Every file in leeyudok/agents-scaffold