yd-react-expert SKILL.md skillA

yd-react-expert from leeyudok/agents-scaffold is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add leeyudok/agents-scaffold/yd-react-expert@git:20261024.27d9360

Pins git:20261024.27d9360 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
leeyudok/agents-scaffold
Path
plugins/yd-skills/skills/yd-react-expert/SKILL.md
Versions recorded
1
Latest version
git:20261024.27d9360, committed Oct 24, 2026
Size
11,228 bytes
Repository stars
38
License
MIT

React 컴포넌트를 설계·구현·리팩터링하거나 상태 관리, useEffect 남용, 리렌더 성능, 접근성 문제를 다룰 때 사용한다. React 19 기준.

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-react-expert

컴포넌트 코드가 대상이다. 번들러·패키지 매니저·의존성은 `yd-frontend-build`,
디자인 토큰·컴포넌트 선택은 `yd-doksam-ui` 가 맡는다.

이 문서는 **일반론을 적지 않는다.** 판단이 갈리는 지점, 자주 틀리는 곳, React 19 에서
바뀐 것만 담는다.

## 1. 상태는 필요한 만큼만, 있어야 할 곳에

판단 순서:

1. **props 나 기존 상태에서 계산할 수 있는가** → 렌더 중에 계산한다. `useState` + `useEffect`
   조합으로 파생값을 동기화하지 않는다. 이 패턴이 버그의 큰 축이다.
2. **여러 컴포넌트가 공유하는가** → 가장 가까운 공통 부모로 올린다. 전역 스토어는
   "여러 화면이 같은 서버 상태를 본다"가 성립할 때만.
3. **URL 에 있어야 하는가** — 새로고침·공유·뒤로가기가 의미 있으면 라우터 상태다.
   상세 화면·필터·탭이 여기 해당한다.

```tsx
// 나쁨 — 파생값을 상태로 두고 동기화
const [filtered, setFiltered] = useState<Room[]>([])
useEffect(() => { setFiltered(rooms.filter(r => r.name.includes(q))) }, [rooms, q])

// 좋음 — 렌더 중 계산
const filtered = useMemo(() => rooms.filter(r => r.name.includes(q)), [rooms, q])
```

`useMemo` 는 **측정 가능한 비용이 있을 때만**. 배열 몇 개 도는 것에 붙이면 코드만 늘어난다.

## 2. useEffect 는 "외부 시스템과 동기화"에만

effect 를 쓰기 전에 답한다: **이 코드가 맞물리려는 외부 시스템이 무엇인가?**
(네트워크, DOM 이벤트, 타이머, 구독) 답이 없으면 effect 가 아니다.

- **사용자 행동의 결과는 이벤트 핸들러에서 처리한다.** 상태를 바꾸고 그 변화를 effect 로
  감지해 후속 작업을 하는 구조는 흐름을 끊고 중복 실행을 부른다.
- **StrictMode 에서 effect 는 두 번 실행된다.** 이건 버그가 아니라 정리(cleanup) 누락을
  드러내는 장치다. 두 번 돌아 깨지면 effect 쪽을 고친다. 개발 빌드에서만 일어나고 프로덕션 빌드는 한 번 실행한다.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add leeyudok/agents-scaffold/yd-react-expert@sha256:e8a1cc2fd312da92

The line at the top of this page pins the label git:20261024.27d9360, 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_gqsqk7k4oxvl2675.svg)](https://markdownregistry.com/a/art_gqsqk7k4oxvl2675)

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.

versioncommittedcommitsizeaudit
git:20261024.27d9360 latest2026-10-24 27d9360 11,228 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 (11228 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

leeyudok/agents-scaffold · 38 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gqsqk7k4oxvl2675
GET https://markdownregistry.com/api/v1/resolve?ref=leeyudok/agents-scaffold/yd-react-expert
GET https://markdownregistry.com/api/v1/blob/e8a1cc2fd312da92f71c0d80ee97e613dce701727dbb461f536c112c100a8776

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

docs-sync SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/docs-sync/SKILL.md · 문서 현행화(docs-sync) — 코드·구성이 바뀐 뒤(디렉터리 삭제·이동, 포트·명령·의존성 변경, 큰 리팩터링 머지) 에이전트…
git:20261024.a835af9 · audit A · 38 stars
example-skill SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/example-skill/SKILL.md · 이 파일을 복제해 프로젝트 스킬을 만든다. 트리거 조건을 description 에 구체적으로 적을 것.
git:20260816.a9fd324 · audit A · 38 stars
grill-me SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/grill-me/SKILL.md · 사용자가 /grill-me 를 호출하거나 아이디어·기능 요청·스펙을 구현 전에 굽고(grill)·압박 검증하고·심문해 달라고 할 때 사용. superpowers:brainstorming 의 opt-in 대체재 —…
git:20260822.35847f9 · audit A · 38 stars
handoff SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/handoff/SKILL.md · 세션을 끊고 다음 세션에 넘긴다 — 협업 인프라(GitHub·GitLab·Forgejo·Jira·Plane·Slack)가 있으면 재개 가능한 상태를 그 트래커 이슈 본문으로 남기고 이슈 URL 하나로 건넨다 —…
git:20261024.c5b81d9 · audit B · 38 stars
memory-factcheck SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/memory-factcheck/SKILL.md · 에이전트 영속 메모리를 실제 근거(코드·DB·이슈 트래커·파일시스템)와 대조해 낡은 기억을 교정하고 죽은 기억을 아카이브 후보로 보고하는 감사 스킬. 메모리가 ~30개 파일을 넘었을 때, 큰 스택/인프라…
git:20261024.c5b81d9 · audit A · 38 stars
review SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/review/SKILL.md · 코드 변경사항 전체 리뷰. code-reviewer 에이전트 + security-audit 에이전트를 순차 실행하는 래퍼 스킬. PR/MR 생성 전 또는 리뷰 요청 시 사용.
git:20260925.ba49be6 · audit A · 38 stars
search-first SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/search-first/SKILL.md · 코드를 새로 짜기 전에 기존 솔루션(레포 내부 → 사내 미러 → 패키지 레지스트리 → MCP/스킬 → GitHub)을 먼저 검색하는 워크플로. 새 기능/유틸/의존성 추가 직전, "X 기능 넣어줘" 요청에 코드부터…
git:20261004.c8ec29b · audit A · 38 stars
security-precheck SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/security-precheck/SKILL.md · 외부 보안팀 코드 검사 전 자체 사전점검. security-audit 에이전트(+ 설정돼 있으면 SonarQube 보안 핫스팟)를 돌려 P0/P1/P2로 정리하고, 발견사항을 이슈로 쪼개 병렬 서브에이전트로…
git:20260925.6a0b105 · audit A · 38 stars
skill-evolve SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/skill-evolve/SKILL.md · 사용자 피드백이나 에이전트의 실패 사례를 이 저장소 스킬의 SKILL.md 규칙으로 반영하는 메타 스킬. "스킬 고쳐줘", "이 실수 스킬에 박아줘", "다음부터 안 그러게 스킬에 반영해"…
git:20261024.a835af9 · audit A · 38 stars
status SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/status/SKILL.md · 프로젝트 상태 한눈에 보기. Git 상태·빌드·테스트·최근 이슈·브랜치 현황을 한 번에 조회. 작업 시작 전 또는 상태 점검 시 사용.
git:20260925.ba49be6 · audit A · 38 stars
yd-agents-yaml SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/yd-agents-yaml/SKILL.md · 저장소의 에이전트 지침을 사람용 AGENTS.md + 기계 판독용 AGENTS.yaml + 검증기 scripts/check-agents-yaml.sh 세 파일로 세팅하거나 갱신한다. AGENTS.yaml 이 없는…
git:20261024.c5b81d9 · audit A · 38 stars
yd-blueprint SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/yd-blueprint/SKILL.md · 프로젝트의 구조·기록 흐름·구현 현황·남은 작업을 JSONL 데이터로 적고 bun+Vite+React 청사진 화면(localhost:5173/blueprint/)으로 띄운다. 청사진·구조도·구현 현황표를 만들거나…
git:20261024.c5b81d9 · audit A · 38 stars

Every file in leeyudok/agents-scaffold

Other files named yd-react-expert

yd-react-expert SKILL.md skill
leeyudok/agents-scaffold · .claude/skills/yd-react-expert/SKILL.md · React 컴포넌트를 설계·구현·리팩터링하거나 상태 관리, useEffect 남용, 리렌더 성능, 접근성 문제를 다룰 때 사용한다. React 19 기준.
git:20261024.c5b81d9 · audit A · 38 stars
yd-react-expert SKILL.md skill
leeyudok/doksam-skills · skills/yd-react-expert/SKILL.md · React 컴포넌트를 설계·구현·리팩터링하거나 상태 관리, useEffect 남용, 리렌더 성능, 접근성 문제를 다룰 때 사용한다. React 19 기준.
git:20261004.6e1e1fe · audit A · 14 stars

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