Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Building Components

ASecurity

Guide for building modern, accessible, and composable UI components. Use when building new components, implementing accessibility, creating composable APIs, setting up design tokens, publishing to npm/registry, or writing component documentation.

4 stars
0 votes
0 copies
1 views
Added 9/19/2026
developmenttypescripttestingapidocumentation

Works with

cliapi

Security Analysis

A100/100

Pro scans all 16 files and shows the line behind each finding

Scanned 9/19/2026

$npx -y skills add jgamaraalv/delivery-loop --skill building-components --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Building Components?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Building Components
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jgamaraalv-building-components/badge)](https://www.skillsdirectory.com/skills/jgamaraalv-building-components)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: building-components
description: Guide for building modern, accessible, and composable UI components. Use when building new components, implementing accessibility, creating composable APIs, setting up design tokens, publishing to npm/registry, or writing component documentation.
---

# Building Components

## References

Each file is loaded on demand — read one only when the task needs that depth (progressive disclosure).

- `references/definitions.mdx` — artifact taxonomy: primitives, components, blocks, templates and when to use each · read when choosing the right abstraction level for a new component.
- `references/principles.mdx` — core component design principles: single responsibility, composition over configuration, minimal API surface · read when designing a new component's API.
- `references/accessibility.mdx` — ARIA roles/attributes, keyboard navigation, focus management, WCAG compliance patterns · read when implementing interactive or custom-widget components.
- `references/composition.mdx` — slot patterns, render props, controlled/uncontrolled state, compound components · read when designing composable component APIs.
- `references/as-child.mdx` — the Radix-style `asChild` pattern for element polymorphism without wrapper divs · read when implementing `asChild` or polymorphic roots.
- `references/polymorphism.mdx` — `as` prop, generic polymorphic components, TypeScript inference for polymorphic types · read when a component must render as different HTML elements.
- `references/types.mdx` — TypeScript typing patterns: discriminated unions, generic props, `ComponentPropsWithoutRef`, `forwardRef` · read when typing component props or forwarding refs.
- `references/state.mdx` — controlled vs uncontrolled state, `useControllableState`, default value patterns · read when deciding how a component should own or delegate its state.
- `references/data-attributes.mdx` — using `data-*` attributes for CSS state, testing hooks, and styling variants · read when styling component states or wiring tests.
- `references/design-tokens.mdx` — CSS custom property token systems, theming, dark mode, token naming conventions · read when setting up or extending a design token layer.
- `references/styling.mdx` — CSS Modules, Tailwind, CSS-in-JS, class variance authority (CVA), style encapsulation · read when choosing or implementing a component styling approach.
- `references/registry.mdx` — shadcn/ui-style registry distribution, `components.json`, CLI-installable components · read when publishing via a component registry.
- `references/npm.mdx` — npm package publishing: entry points, bundling, peer deps, package.json fields · read when shipping a component library to npm.
- `references/marketplaces.mdx` — component marketplace distribution (Shadcn registry, v0, etc.) · read when distributing components via a marketplace.
- `references/docs.mdx` — writing component documentation: prop tables, usage examples, Storybook stories · read when documenting a component for end users.

Attribution

jgamaraalvjgamaraalv
View sourceSee grades on GitHubMore from jgamaraalv →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

285172 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10341 votes
View all in development →