Communitygithub.com

alfathafp/portofolio-web-design

React Native 및 Expo 애플리케이션 개발을 위한 모범 사례 가이드입니다. 성능 최적화, 애니메이션, UI 패턴, 네이티브 모듈 작업 시 참고하세요.

portofolio-web-design란 무엇인가요?

이 스킬은 React Native와 Expo 기반 모바일 앱 개발 시 필수적인 모범 사례를 종합적으로 제공합니다. 주요 카테고리로는 리스트 성능(FlashList 사용, 항목 메모이제이션 등), 애니메이션(GPU 속성만 애니메이션, useDerivedValue 활용), 네비게이션(네이티브 스택/탭 사용), UI 패턴(expo-image, Pressable, 네이티브 모달 등), 상태 관리(최소 구독, 디스패처 패턴), 렌더링 최적화, 모노레포 설정, 그리고 폰트/임포트 설정 등의 저우선순위 항목을 포함합니다. 각 규칙은 우선순위(Critical, High, Medium, Low)별로 정리되어 있으며, 구체적인 코드 예제와 설명이 포함된 개별 파일로 제공됩니다. Cursor, Claude Code 등 다양한 AI 어시스턴트와 함께 사용할 수 있으며, 성능이 중요한 React Native 프로젝트에서 특히 유용합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/alfathafp/portofolio-web-design/tree/HEAD/.agents/skills/vercel-react-native-skills

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

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

문서

React Native 스킬

React Native 및 Expo 애플리케이션을 위한 종합적인 모범 사례입니다. 성능, 애니메이션, UI 패턴, 플랫폼별 최적화 등 여러 카테고리로 구성된 규칙을 포함합니다.

적용 시기

다음과 같은 경우 이 지침을 참조하세요.

  • React Native 또는 Expo 앱 빌드
  • 리스트 및 스크롤 성능 최적화
  • Reanimated를 사용한 애니메이션 구현
  • 이미지 및 미디어 작업
  • 네이티브 모듈 또는 폰트 구성
  • 네이티브 종속성을 가진 모노레포 프로젝트 구조화

우선순위별 규칙 카테고리

우선순위카테고리영향도접두사
1리스트 성능치명적list-performance-
2애니메이션높음animation-
3네비게이션높음navigation-
4UI 패턴높음ui-
5상태 관리중간react-state-
6렌더링중간rendering-
7모노레포중간monorepo-
8구성낮음fonts-, imports-

빠른 참조

1. 리스트 성능 (치명적)

  • list-performance-virtualize - 대규모 리스트에는 FlashList 사용
  • list-performance-item-memo - 리스트 항목 컴포넌트 메모이제이션
  • list-performance-callbacks - 콜백 참조 안정화
  • list-performance-inline-objects - 인라인 스타일 객체 사용 금지
  • list-performance-function-references - 함수를 렌더 외부로 추출
  • list-performance-images - 리스트 내 이미지 최적화
  • list-performance-item-expensive - 비용이 큰 작업을 항목 외부로 이동
  • list-performance-item-types - 이종 리스트에는 항목 유형 사용

2. 애니메이션 (높음)

  • animation-gpu-properties - transform과 opacity만 애니메이션 처리
  • animation-derived-value - 계산된 애니메이션에 useDerivedValue 사용
  • animation-gesture-detector-press - Pressable 대신 Gesture.Tap 사용

3. 네비게이션 (높음)

  • navigation-native-navigators - JS 네비게이터보다 네이티브 스택 및 네이티브 탭 사용

4. UI 패턴 (높음)

  • ui-expo-image - 모든 이미지에 expo-image 사용
  • ui-image-gallery - 이미지 라이트박스에 Galeria 사용
  • ui-pressable - TouchableOpacity 대신 Pressable 사용
  • ui-safe-area-scroll - ScrollView에서 안전 영역 처리
  • ui-scrollview-content-inset - 헤더에 contentInset 사용
  • ui-menus - 네이티브 컨텍스트 메뉴 사용
  • ui-native-modals - 가능하면 네이티브 모달 사용
  • ui-measure-views - measure() 대신 onLayout 사용
  • ui-styling - StyleSheet.create 또는 Nativewind 사용

5. 상태 관리 (중간)

  • react-state-minimize - 상태 구독 최소화
  • react-state-dispatcher - 콜백에 디스패처 패턴 사용
  • react-state-fallback - 첫 번째 렌더링 시 폴백 표시
  • react-compiler-destructure-functions - React Compiler용 구조 분해 할당
  • react-compiler-reanimated-shared-values - 컴파일러와 공유 값 처리

6. 렌더링 (중간)

  • rendering-text-in-text-component - 텍스트는 Text 컴포넌트 안에 배치
  • rendering-no-falsy-and - 조건부 렌더링에 falsy && 사용 금지

7. 모노레포 (중간)

  • monorepo-native-deps-in-app - 네이티브 종속성은 앱 패키지에 유지
  • monorepo-single-dependency-versions - 패키지 간 단일 버전 사용

8. 구성 (낮음)

  • fonts-config-plugin - 커스텀 폰트에 구성 플러그인 사용
  • imports-design-system-folder - 디자인 시스템 임포트 정리
  • js-hoist-intl - Intl 객체 생성 호이스팅

사용 방법

자세한 설명과 코드 예제는 개별 규칙 파일을 참조하세요.

rules/list-performance-virtualize.md
rules/animation-gpu-properties.md

각 규칙 파일에는 다음이 포함됩니다.

  • 중요성에 대한 간략한 설명
  • 잘못된 코드 예제 및 설명
  • 올바른 코드 예제 및 설명
  • 추가 컨텍스트 및 참고 자료

전체 컴파일 문서

모든 규칙이 확장된 전체 가이드는 다음 파일을 참조하세요. AGENTS.md

Individual skills in this repo

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

alfathafp/portofolio-web-design

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

alfathafp/portofolio-web-design

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.

alfathafp/portofolio-web-design

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

alfathafp/portofolio-web-design

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. Use when asked to review a diff or a pull request, even when the diff is pasted inline.

alfathafp/portofolio-web-design

Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

alfathafp/portofolio-web-design

Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says "set up constraints" or "define our standards", when the user wants dimensions they care about — accessibility, web performance, coverage — set up as enforced constraints, when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.

alfathafp/portofolio-web-design

Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.

alfathafp/portofolio-web-design

Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than guessing.

alfathafp/portofolio-web-design

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

alfathafp/portofolio-web-design

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

alfathafp/portofolio-web-design

Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

alfathafp/portofolio-web-design

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

alfathafp/portofolio-web-design

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

alfathafp/portofolio-web-design

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

alfathafp/portofolio-web-design

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

alfathafp/portofolio-web-design

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

alfathafp/portofolio-web-design

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

alfathafp/portofolio-web-design

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.

alfathafp/portofolio-web-design

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".

alfathafp/portofolio-web-design

Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend.

관련 스킬