Communitygithub.com

xzedm/clipplic-landing

확장 가능한 React 컴포지션 패턴. boolean prop이 proliferating된 컴포넌트 리팩토링, 유연한 컴포넌트 라이브러리 구축, 재사용 가능한 API 설계 시 사용합니다. 복합 컴포넌트, render props, 컨텍스트 프로바이더 또는 컴포넌트 아키텍처와 관련된 작업에서 트리거됩니다. React 19 API 변경 사항을 포함합니다.

clipplic-landing란 무엇인가요?

이 스킬은 React 컴포넌트를 유연하고 유지보수하기 쉽게 만드는 컴포지션 패턴을 제공합니다. 특히 boolean prop이 과도하게 proliferating되는 문제를 해결하고, 복합 컴포넌트(compound components), 상태 끌어올리기(state lifting), 내부 구성(internal composition)을 통해 더 깔끔하고 확장 가능한 아키텍처를 설계하는 데 초점을 맞춥니다. 주로 Cursor, Claude Code, Codex와 같은 AI 에이전트 플랫폼에서 사용되며, AI가 React 코드를 리팩토링하거나 라이브러리를 설계할 때 구체적인 규칙을 제공합니다. 이 스킬은 네 가지 우선순위 카테고리(컴포넌트 아키텍처, 상태 관리, 구현 패턴, React 19 API)로 구성되어 있으며, 각 규칙 파일(예: `rules/architecture-avoid-boolean-props.md`)에는 설명과 함께 잘못된 코드 예시와 올바른 코드 예시가 포함되어 있습니다. 이를 통해 AI는 모범 사례를 자동으로 적용하여 일관성 있고 고품질의 React 코드를 생성할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/xzedm/clipplic-landing/tree/HEAD/.agents/skills/vercel-composition-patterns

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

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

문서

React 컴포지션 패턴

유연하고 유지보수 가능한 React 컴포넌트를 만들기 위한 컴포지션 패턴입니다. 복합 컴포넌트, 상태 끌어올리기, 내부 구성을 사용하여 boolean prop의 proliferation을 방지합니다. 이러한 패턴을 사용하면 코드베이스가 확장됨에 따라 사람과 AI 에이전트 모두가 더 쉽게 작업할 수 있습니다.

적용 시기

다음 경우에 이 가이드라인을 참조하세요.

  • 많은 boolean prop을 가진 컴포넌트를 리팩토링할 때
  • 재사용 가능한 컴포넌트 라이브러리를 구축할 때
  • 유연한 컴포넌트 API를 설계할 때
  • 컴포넌트 아키텍처를 검토할 때
  • 복합 컴포넌트 또는 컨텍스트 프로바이더로 작업할 때

우선순위별 규칙 카테고리

우선순위카테고리영향접두사
1컴포넌트 아키텍처높음architecture-
2상태 관리중간state-
3구현 패턴중간patterns-
4React 19 API중간react19-

빠른 참조

1. 컴포넌트 아키텍처 (높음)

  • architecture-avoid-boolean-props - 동작을 사용자 정의하기 위해 boolean prop을 추가하지 말고 컴포지션을 사용하세요.
  • architecture-compound-components - 공유 컨텍스트를 사용하여 복잡한 컴포넌트를 구조화하세요.

2. 상태 관리 (중간)

  • state-decouple-implementation - 프로바이더만이 상태가 어떻게 관리되는지 알고 있습니다.
  • state-context-interface - 의존성 주입을 위해 상태, 액션, 메타로 구성된 일반 인터페이스를 정의하세요.
  • state-lift-state - 형제 컴포넌트 간의 접근을 위해 상태를 프로바이더 컴포넌트로 이동하세요.

3. 구현 패턴 (중간)

  • patterns-explicit-variants - boolean 모드 대신 명시적인 변형 컴포넌트를 만드세요.
  • patterns-children-over-render-props - renderX prop 대신 children을 사용하여 컴포지션하세요.

4. React 19 API (중간)

⚠️ React 19+ 전용입니다. React 18 이하를 사용하는 경우 이 섹션을 건너뛰세요.

  • react19-no-forwardref - forwardRef를 사용하지 말고 useContext() 대신 use()를 사용하세요.

사용 방법

자세한 설명과 코드 예제는 개별 규칙 파일을 읽어보세요.

rules/architecture-avoid-boolean-props.md
rules/state-context-interface.md

각 규칙 파일에는 다음이 포함되어 있습니다.

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

전체 컴파일 문서

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

Individual skills in this repo

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

xzedm/clipplic-landing

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

xzedm/clipplic-landing

Material Design 3 and Android platform guidelines. Use when building Android apps with Jetpack Compose or XML layouts, implementing Material You, navigation, or accessibility. Triggers on tasks involving Android UI, Compose components, dynamic color, or Material Design compliance.

xzedm/clipplic-landing

Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces.

xzedm/clipplic-landing

Design iOS apps following Apple's Human Interface Guidelines. Generate native components, validate designs, and ensure accessibility compliance for iPhone, iPad, and Apple Watch.

xzedm/clipplic-landing

Redesign mobile app UI to feel unmistakably Apple-like, iOS-forward, and native. Use this skill when building iOS apps, applying Apple Human Interface Guidelines, or creating native-feeling mobile interfaces with SF Pro typography, translucency, and system-like components.

xzedm/clipplic-landing

Accessibility engineering for product interfaces, from focus states and keyboard support to ARIA, forms, and screen readers. Use when building or reviewing UI components, modals, menus, forms, custom widgets, or when the user says "make this accessible" or reports keyboard or screen-reader issues. Triggers on accessibility, a11y, WCAG, aria, focus ring, focus-visible, focus trap, keyboard navigation, tab order, tabindex, screen reader, sr-only, aria-live, alt text, hit area, touch target, prefers-reduced-motion, autoplay, toast duration, skip link, semantic HTML, aria-label, form errors, disabled buttons, "not keyboard accessible".

xzedm/clipplic-landing

OKLCH color space and color usage for web projects. Convert hex/rgb/hsl to oklch, generate palettes, check contrast, handle gamut boundaries, theme with Tailwind v4, and apply color with meaning. Triggers on oklch, color conversion, palette generation, contrast ratio, gamut, display p3, design tokens, semantic color tokens, hue drift, chroma, dark mode colors, accent color, color meaning, light and dark appearance, increased contrast.

xzedm/clipplic-landing

Layout structure for web interfaces, from grouping and alignment to reading order, progressive disclosure, and adaptive breakpoints. Use when structuring a page or component, spacing or aligning controls, deciding what collapses at small sizes, handling RTL layout direction, or reviewing frontend code for layout. Triggers on layout, spacing, alignment, grouping, negative space, whitespace, visual hierarchy, reading order, progressive disclosure, breakpoints, responsive layout, container queries, safe area, full-bleed, edge-to-edge, layout margins, RTL layout, logical properties.

xzedm/clipplic-landing

Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, checking heading hierarchy, styling text in components, truncating text, styling underlines, selection, placeholders or carets, or reviewing frontend code for typography. Triggers on typography, fonts, font formats, woff2, variable fonts, font-weight, opentype, font-feature-settings, letter-spacing, line-height, type scale, heading hierarchy, heading levels, tabular numbers, text-wrap, truncation, line clamp, underlines, text-decoration, text selection, iOS input zoom, scaled input text, font smoothing, text contrast, measure, line length, text-box, smart punctuation, drop cap.

xzedm/clipplic-landing

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

xzedm/clipplic-landing

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".

xzedm/clipplic-landing

Generate developer handoff specs from a design. Use when a design is ready for engineering and needs a spec sheet covering layout, design tokens, component props, interaction states, responsive breakpoints, edge cases, and animation details.

xzedm/clipplic-landing

This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.

xzedm/clipplic-landing

Extract design primitives from a public website and generate starter token files for your project.

xzedm/clipplic-landing

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, or any composed multi-section view in Figma from code or a description. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.

xzedm/clipplic-landing

**MANDATORY prerequisite**: you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context, e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.

xzedm/clipplic-landing

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

xzedm/clipplic-landing

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications.

xzedm/clipplic-landing

Elite UX/UI & Advanced GSAP Motion Engineer. Enforces Python-driven true randomization for layout variance, strict AIDA page structure, wide editorial typography (bans 6-line wraps), gapless bento grids, strict GSAP ScrollTriggers (pinning, stacking, scrubbing), inline micro-images, and massive section spacing.

xzedm/clipplic-landing

Fast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)

관련 스킬