[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E1XGA8XFDTXXP2G3ZXGXWX":3,"skill-same:01M6E1XGA8XFDTXXP2G3ZXGXWX":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M6E1XGA8XFDTXXP2G3ZXGXWX","predictability",null,"Use when `getX()`나 `fetchX()`에 숨은 부수 효과가 있거나, 같은 종류의 함수들이 서로 다른 반환 타입을 가지거나, 함수 이름과 실제 동작이 다를 때","ByeongminLee\u002Fnextjs-claude-code","ByeongminLee","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F71276006?v=4","01M6E1S467E7GC0NE144SWHC0V","Byeongmin Lee","01M6E1S4AV3W0B08Z2YBK26VG9",3,"MIT","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpredictability\u002FSKILL.md",[],[5,19],"use","2026-11-10 10:12:30",false,"---\nname: predictability\ndescription: Use when `getX()`나 `fetchX()`에 숨은 부수 효과가 있거나, 같은 종류의 함수들이 서로 다른 반환 타입을 가지거나, 함수 이름과 실제 동작이 다를 때\n---\n\n# 예측 가능성\n\n함수는 이름이 암시하는 대로 동작해야 한다. 숨겨진 동작이 없어야 한다.\n\n## 핵심 패턴\n\n### 숨은 로직 드러내기\n\n❌ fetch 함수에 숨은 부수 효과:\n```tsx\nasync function fetchBalance(): Promise\u003Cnumber> {\n  const balance = await http.get\u003Cnumber>(\"...\");\n  logging.log(\"balance_fetched\"); \u002F\u002F 숨은 부수 효과!\n  return balance;\n}\n```\n\n✅ 부수 효과는 호출부에서 명시적으로:\n```tsx\nasync function fetchBalance(): Promise\u003Cnumber> {\n  return await http.get\u003Cnumber>(\"...\");\n}\n\nconst balance = await fetchBalance();\nlogging.log(\"balance_fetched\");\n```\n\n### 반환 타입 통일\n\n❌ 같은 종류인데 반환 타입 다름:\n```tsx\nfunction checkIsNameValid(name: string) {\n  return name.length > 0; \u002F\u002F boolean\n}\nfunction checkIsAgeValid(age: number) {\n  if (age \u003C 18) return { ok: false, reason: \"18세 이상\" };\n  return { ok: true }; \u002F\u002F 객체\n}\n```\n\n✅ Discriminated Union으로 통일:\n```tsx\ntype ValidationResult = { ok: true } | { ok: false; reason: string };\n\nfunction checkIsNameValid(name: string): ValidationResult {\n  if (name.length === 0) return { ok: false, reason: \"이름 필수\" };\n  return { ok: true };\n}\nfunction checkIsAgeValid(age: number): ValidationResult {\n  if (age \u003C 18) return { ok: false, reason: \"18세 이상\" };\n  return { ok: true };\n}\n```\n\n## 빠른 참조\n\n| 코드 냄새 | 개선 방법 |\n|----------|----------|\n| `getX()`에 부수 효과 | 순수 getter와 action 분리 |\n| `calculateX()`가 저장함 | `calculateAndSaveX()`로 이름 변경 또는 분리 |\n| 같은 종류인데 반환 타입 다름 | Discriminated Union: `{ ok: true } \\| { ok: false; reason }` |\n| 라이브러리 이름과 겹침 | 구분되는 이름 사용: `http` → `httpService` |\n\n## 주의사항\n\n- 부수 효과를 제거하지 말고 명시적 위치로 이동\n- 지나치게 복잡한 타입 피하기\n- 기존 API 계약 유지\n\n참고: https:\u002F\u002Ffrontend-fundamentals.com\u002Fcode-quality\u002Fpredictable\u002F\n","# 예측 가능성\n\n함수는 이름이 암시하는 대로 동작해야 한다. 숨겨진 동작이 없어야 한다.\n\n## 핵심 패턴\n\n### 숨은 로직 드러내기\n\n❌ fetch 함수에 숨은 부수 효과:\n```tsx\nasync function fetchBalance(): Promise\u003Cnumber> {\n  const balance = await http.get\u003Cnumber>(\"...\");\n  logging.log(\"balance_fetched\"); \u002F\u002F 숨은 부수 효과!\n  return balance;\n}\n```\n\n✅ 부수 효과는 호출부에서 명시적으로:\n```tsx\nasync function fetchBalance(): Promise\u003Cnumber> {\n  return await http.get\u003Cnumber>(\"...\");\n}\n\nconst balance = await fetchBalance();\nlogging.log(\"balance_fetched\");\n```\n\n### 반환 타입 통일\n\n❌ 같은 종류인데 반환 타입 다름:\n```tsx\nfunction checkIsNameValid(name: string) {\n  return name.length > 0; \u002F\u002F boolean\n}\nfunction checkIsAgeValid(age: number) {\n  if (age \u003C 18) return { ok: false, reason: \"18세 이상\" };\n  return { ok: true }; \u002F\u002F 객체\n}\n```\n\n✅ Discriminated Union으로 통일:\n```tsx\ntype ValidationResult = { ok: true } | { ok: false; reason: string };\n\nfunction checkIsNameValid(name: string): ValidationResult {\n  if (name.length === 0) return { ok: false, reason: \"이름 필수\" };\n  return { ok: true };\n}\nfunction checkIsAgeValid(age: number): ValidationResult {\n  if (age \u003C 18) return { ok: false, reason: \"18세 이상\" };\n  return { ok: true };\n}\n```\n\n## 빠른 참조\n\n| 코드 냄새 | 개선 방법 |\n|----------|----------|\n| `getX()`에 부수 효과 | 순수 getter와 action 분리 |\n| `calculateX()`가 저장함 | `calculateAndSaveX()`로 이름 변경 또는 분리 |\n| 같은 종류인데 반환 타입 다름 | Discriminated Union: `{ ok: true } \\| { ok: false; reason }` |\n| 라이브러리 이름과 겹침 | 구분되는 이름 사용: `http` → `httpService` |\n\n## 주의사항\n\n- 부수 효과를 제거하지 말고 명시적 위치로 이동\n- 지나치게 복잡한 타입 피하기\n- 기존 API 계약 유지\n\n참고: https:\u002F\u002Ffrontend-fundamentals.com\u002Fcode-quality\u002Fpredictable\u002F\n",{"name":5,"description":7},"main","330a71e3d12264515ce3477e446d29fd34a88a9d","template\u002F.claude\u002Fskills\u002Fpredictability",1,"https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code","https:\u002F\u002Fbyeongminlee.github.io\u002Fnextjs-claude-code\u002F","https:\u002F\u002Fgithub.com\u002FByeongminLee","byeongmin.dev","2026-03-27 12:45:44",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ByeongminLee\u002Fnextjs-claude-code --skill predictability",{"tool":40,"command":41},"bunx","bunx skills add ByeongminLee\u002Fnextjs-claude-code --skill predictability",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ByeongminLee\u002Fnextjs-claude-code --skill predictability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002F.claude\u002Fskills\u002Fpredictability\u002FSKILL.md",true,[],[49,67,75,102,125,149],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":20},"01M6E263DRDCZ5AX01N6MDYC6Z","zustand","Zustand state management guide. Use when working with store code (src\u002Fstore\u002F**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fzustand\u002FSKILL.md",[],[51,56,57,58,59,19,60,61,62,63,64,65,66],"triggers","state management","zustand state","implementation","guide","management","src","actions","state","code","development",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":20},"01M6E260QFP3ZMXY2Y6KTGZYXS","web-vitals","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fweb-vitals\u002FSKILL.md",[],[73,74],"web vitals","web",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":20},"01M6E25QEKXHH092S5RB0GKM0K","vercel-storage","Vercel storage expert guidance — Blob, Edge Config, and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fvercel-storage\u002FSKILL.md",[],[82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"vercel","vercel storage","storage","supabase","api","mongodb","SET","nextjs","database","auth","migrate","click","app","neon","prisma","postgres","expert","up","auto","configure",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M6E25EC9YM4QM0KBQ2W5R1SC","vercel-functions","Vercel Functions expert guidance — Serverless Functions, Edge Functions, Fluid Compute, streaming, Cron Jobs, and runtime configuration. Use when configuring, debugging, or optimizing server-side code running on Vercel.","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fvercel-functions\u002FSKILL.md",[],[109,82,110,111,112,113,114,115,94,95,116,117,118,119,120,121,122,123,124,98],"functions","vercel functions","local","shared","project","time","apps","express","vercel ai sdk","router","loop","server","logs","streaming","delete","create",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M6E25873YRYP96MSQK7E2D9X","ui-ux-pro-max","UI\u002FUX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn\u002Fui, and HTML\u002FCSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI\u002FUX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn\u002Fui MCP for component search and examples.","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fui-ux-pro-max\u002FSKILL.md",[],[132,133,134,135,136,137,138,139,94,140,141,142,143,144,145,146,147,63,148,124],"ui ux pro max","ui","ux","max","css","MCP","design","react","card","chart","fix","projects","plan","improve","Tailwind","Animation","search",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":20},"01M6E251G3FJSRB9019V20QK9X","turborepo","Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines,\ndependsOn, caching, remote cache, the \"turbo\" CLI, --filter, --affected, CI optimization, environment\nvariables, internal packages, monorepo structure\u002Fbest practices, and boundaries.\n\nUse when user: configures tasks\u002Fworkflows\u002Fpipelines, creates packages, sets up\nmonorepo, shares code between apps, runs changed\u002Faffected packages, debugs cache,\nor has apps\u002Fpackages directories.","https:\u002F\u002Fgithub.com\u002FByeongminLee\u002Fnextjs-claude-code\u002Fblob\u002Fmain\u002Ftemplate\u002Fskills-archive\u002Fturborepo\u002FSKILL.md",[],[151,156,19,157,158,115,56,159,160,99,161,162,163,164,165,166,65,167,168,169],"cli","filter","environment variables","caching","structure","environment","monorepo","system","canary","Optimization","ci","packages","tasks","workflows"]