Communitygithub.com

ulasalyesil/personal-website-v2

Build modern, composable, and accessible React UI components following the components.build specification. Use when creating, reviewing, or refactoring component libraries, design systems, or any reusable UI components. Triggers on tasks involving component APIs, composition patterns, accessibility, styling systems, or TypeScript props.

¿Qué es personal-website-v2?

personal-website-v2 is a Claude Code agent skill that build modern, composable, and accessible React UI components following the components.build specification. Use when creating, reviewing, or refactoring component libraries, design systems, or any reusable UI components. Triggers on tasks involving component APIs, composition patterns, accessibility, styling systems, or TypeScript props.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ulasalyesil/personal-website-v2/tree/HEAD/.agents/skills/components-build

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Components.build Specification

Comprehensive guidelines for building modern, composable, and accessible UI components. Contains 16 rule categories covering everything from core principles to distribution, co-authored by Hayden Bleasel and shadcn.

When to Apply

Reference these guidelines when:

  • Creating new React components or component libraries
  • Designing component APIs and prop interfaces
  • Implementing accessibility features (keyboard, ARIA, focus management)
  • Building composable component architectures
  • Styling components with Tailwind CSS and CVA
  • Publishing components to registries or npm

Rule Categories by Priority

PriorityCategoryFocusPrefix
1OverviewSpecification scope and goalsoverview
2PrinciplesCore design philosophyprinciples
3DefinitionsCommon terminologydefinitions
4CompositionBreaking down complex componentscomposition
5AccessibilityKeyboard, screen readers, ARIAaccessibility
6StateControlled/uncontrolled patternsstate
7TypesTypeScript props and interfacestypes
8PolymorphismElement switching with as proppolymorphism
9As-ChildRadix Slot composition patternas-child
10Data Attributesdata-state and data-slotdata-attributes
11StylingTailwind CSS, cn utility, CVAstyling
12Design TokensCSS variables and themingdesign-tokens
13DocumentationComponent documentationdocumentation
14RegistryComponent registriesregistry
15NPMPublishing to npmnpm
16MarketplacesComponent marketplacesmarketplaces

Quick Reference

1. Overview

  • overview - Specification scope, goals, and philosophy

2. Principles

  • principles - Composability, accessibility, customization, transparency

3. Definitions

  • definitions - Common terminology (primitive, compound, headless, etc.)

4. Composition

  • composition-root - Root component with Context for shared state
  • composition-item - Item wrapper components
  • composition-trigger - Interactive trigger components
  • composition-content - Content display components
  • composition-export - Namespace export pattern

5. Accessibility

  • accessibility-semantic-html - Use appropriate HTML elements
  • accessibility-keyboard - Full keyboard navigation support
  • accessibility-aria - Proper ARIA roles, states, and properties
  • accessibility-focus - Focus management and restoration
  • accessibility-live-regions - Screen reader announcements
  • accessibility-contrast - Color contrast requirements

6. State

  • state-uncontrolled - Internal state management
  • state-controlled - External state delegation
  • state-controllable - Support both patterns with useControllableState

7. Types

  • types-extend-html - Extend native HTML attributes
  • types-export - Export prop types for consumers
  • types-single-element - One component wraps one element

8. Polymorphism

  • polymorphism-as-prop - Change rendered element type
  • polymorphism-typescript - Type-safe polymorphic components
  • polymorphism-defaults - Semantic element defaults

9. As-Child

  • as-child-slot - Radix Slot for prop merging
  • as-child-composition - Compose with child components

10. Data Attributes

  • data-attributes-state - Use data-state for styling states
  • data-attributes-slot - Use data-slot for targeting sub-components

11. Styling

  • styling-cn-utility - Combine clsx and tailwind-merge
  • styling-order - Base → Variants → Conditionals → User overrides
  • styling-cva - Class Variance Authority for variants
  • styling-css-variables - Dynamic values with CSS variables

12. Design Tokens

  • design-tokens-css-variables - Define tokens as CSS variables
  • design-tokens-theming - Support light/dark modes and themes

13. Documentation

  • documentation-props - Document all props with JSDoc
  • documentation-examples - Provide usage examples

14. Registry

  • registry-structure - Registry file structure
  • registry-schema - Component metadata schema

15. NPM

  • npm-package-json - Package configuration
  • npm-exports - Module exports

16. Marketplaces

  • marketplaces-distribution - Component distribution strategies

How to Use

Read individual rule files for detailed explanations and code examples:

rules/composition/SKILL.md
rules/accessibility/SKILL.md
rules/styling/SKILL.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Best practices and common pitfalls

Full Compiled Document

For the complete guide with all rules expanded: AGENTS.md

Key Principles

  1. Composition over Configuration - Break components into composable sub-components
  2. Accessibility by Default - Not an afterthought, but a requirement
  3. Single Element Wrapping - Each component wraps one HTML element
  4. Extend HTML Attributes - Always extend native element props
  5. Export Types - Make prop types available to consumers
  6. Support Both State Patterns - Controlled and uncontrolled
  7. Intelligent Class Merging - Use cn() utility with tailwind-merge

Authors

Co-authored by:

Adapted as an AI skill by:

Based on the components.build specification.

Individual skills in this repo

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

ulasalyesil/personal-website-v2

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

ulasalyesil/personal-website-v2

Conduct design interviews, generate five distinct UI variations in a temporary design lab, collect feedback, and produce implementation plans. Use when the user wants to explore UI design options, redesign existing components, or create new UI with multiple approaches to compare.

ulasalyesil/personal-website-v2

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 (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

ulasalyesil/personal-website-v2

Design and implement microinteractions, motion design, transitions, and user feedback patterns. Use when adding polish to UI interactions, implementing loading states, or creating delightful user experiences.

ulasalyesil/personal-website-v2

This skill is for interface design — dashboards, admin panels, apps, tools, and interactive products. NOT for marketing design (landing pages, marketing sites, campaigns).

ulasalyesil/personal-website-v2

Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.

ulasalyesil/personal-website-v2

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.

ulasalyesil/personal-website-v2

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

ulasalyesil/personal-website-v2

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

ulasalyesil/personal-website-v2

Enforces an opinionated UI baseline to prevent AI-generated interface slop.

ulasalyesil/personal-website-v2

Ship correct, complete metadata.

ulasalyesil/personal-website-v2

Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

ulasalyesil/personal-website-v2

Defines the product's objects, relationships, states, and vocabulary independently of any interface — the most load-bearing layer

ulasalyesil/personal-website-v2

Maps domain concepts, terminology conflicts, and bounded contexts — produces a noun harvest for the conceptual model layer

ulasalyesil/personal-website-v2

Maps interaction structure and flow — produces breadboard notation with edge cases, failure paths, and open decisions

ulasalyesil/personal-website-v2

Framework orientation for Layers of Product Design — load this first; provides the context all other skills depend on

ulasalyesil/personal-website-v2

User research planning and synthesis at the observed behaviour layer — produces candidate job stories with confidence ratings

ulasalyesil/personal-website-v2

Diagnostic audit across all seven layers — identifies the bottleneck layer and recommends where to focus

ulasalyesil/personal-website-v2

Connects user opportunities to business outcomes and solution bets — produces a strategy tree and prioritised experiments

ulasalyesil/personal-website-v2

Audits existing surface against lower-layer decisions and produces a surface decision inventory — vocabulary, object consistency, completeness, feedback, hierarchy, accessibility

Skills relacionados