Agent skill

Building Components

by Compound-inc in Compound-inc/rift

Guide for building modern, accessible, and composable UI components.

Custom licenceAuto-check passedFrontend & Design

Install Building Components

skills CLI
$ npx skills add Compound-inc/rift --skill building-components -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Compound-inc/rift building-components --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Compound-inc/rift.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/building-components .claude/skills/building-components && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
building-components
GitHub stars
124
Used in
1 other repo
Token cost
~538 tokens
SKILL.md length
147 words
Files
16 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Guide for building modern, accessible, and composable UI components.

  • Building new components
  • SKILL.md covers When to use this skill and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Implementing accessibility

What it does

Building Components is an agent skill from Compound-inc/rift. 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.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including reference files.

It sits in Frontend & Design, covering Accessibility and Design tokens. It works with npm.

When your agent uses it

  • Building new components
  • Implementing accessibility
  • Creating composable APIs
  • Setting up design tokens

Example prompts

  • “/building-components”

What it can do on your machine

Read from SKILL.md and the folder at commit 4471fb5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Building Components loads about 538 tokens when it runs, and up to ~30k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~538
With references · SKILL.md plus every file in references/, read only if the agent opens them
~30k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 147 words (~538 tokens).

name
building-components

Read the full SKILL.md on GitHub

Files

SKILL.md and 15 other files (references) in .cursor/skills/building-components of Compound-inc/rift.

  • SKILL.md
  • references/accessibility.mdx
  • references/as-child.mdx
  • references/composition.mdx
  • references/data-attributes.mdx
  • references/definitions.mdx
  • references/design-tokens.mdx
  • references/docs.mdx
  • references/marketplaces.mdx
  • references/npm.mdx
  • references/polymorphism.mdx
  • references/principles.mdx
  • references/registry.mdx
  • references/state.mdx
  • references/styling.mdx
  • references/types.mdx

Open the folder on GitHubat commit 4471fb5

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Compound-inc/rift, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Building Components next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Building Components compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Building Components this skillCompound-inc/rift1241 repos~538Automated safety check: PassCustom licence
Light Frontend DesignLight0305/Light-skills641—~3.1kAutomated safety check: PassMIT
Design Md Validatorfabricioctelles/skills106—~1.7kAutomated safety check: PassApache-2.0
Extract DesignManavarya09/design-extract4.2k—~786Automated safety check: NotesMIT
Better Colorstrycompai/crm11k—~1.9kAutomated safety check: PassMIT
Material Design 3 UI/UX Guideskydashnet/material-design-3-ui-skill130—~3kAutomated safety check: PassMIT

Similar skills

  • Light Frontend Design

    Light0305/Light-skills

    Light 按需工程技能·前端设计:把模糊的「做个好看的界面」落成能跑的 React/Tailwind/shadcn 代码 + 设计决策说明—— 有视觉记忆点(signature element)、风格自洽(design tokens 一致)、适配场景(学术海报/数据大屏/管理后台/移动端/营销 landing 信息密度各不同)、反「一眼 AI」(紫蓝渐变/Inter/16px 圆角/巨型…

    641 GitHub stars~3.1k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Design Md Validator

    fabricioctelles/skills

    Validate DESIGN.md files against the official Google specification using the @google/design.md CLI linter.

    106 GitHub stars~1.7k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Extract Design

    Manavarya09/design-extract

    Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.

    4.2k GitHub stars~786 tokensUpdated 8 days ago
    Frontend & DesignAuto-check: notes
  • Better Colors

    trycompai/crm

    OKLCH color space and color usage for web projects. An agent skill from trycompai/crm.

    11k GitHub stars~1.9k tokensUpdated 26 days ago
    Frontend & DesignAuto-check passed
  • Material Design 3 UI/UX Guide

    skydashnet/material-design-3-ui-skill

    Guides designing, reviewing or implementing interfaces that follow Google's Material Design 3 system: semantic tokens, component states, adaptive layout and accessibility.

    130 GitHub stars~3k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • UI Component Spec Designer

    plugin87/ux-ui-agent-skills

    Writes a complete UI component spec with anatomy, variants, sizes, eight interaction states, design-token mapping and accessibility notes before or alongside code.

    1.5k GitHub stars~2.8k tokensUpdated today
    Frontend & DesignAuto-check passed

More from Compound-inc/rift

  • Rift Backend Effect

    Compound-inc/rift

    A skill your agent uses when adding, reviewing, or refactoring backend code in Rift's TanStack Start app that should follow apps/start/BACKENDEFFECTPLAYBOOK.md.

    124 GitHub stars~1.8k tokensUpdated 10 days ago
    Auto-check passed
  • AI SDK

    Compound-inc/rift

    Answer questions about the AI SDK and help build AI-powered features.

    124 GitHub starsUsed in 2 repos~568 tokens
    Auto-check passed
  • Zero Sync

    Compound-inc/rift

    Zero sync engine patterns for React and TanStack Start apps.

    124 GitHub stars~3.7k tokensUpdated 10 days ago
    Auto-check: notes
  • Adding Sidebar Sections

    Compound-inc/rift

    Add a new sidebar section (e.g. An agent skill from Compound-inc/rift.

    124 GitHub stars~1.7k tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Building Components

What does Building Components do?

Guide for building modern, accessible, and composable UI components. Building Components is an agent skill from Compound-inc/rift. Guide for building modern, accessible, and composable UI components.

When should I use Building Components?

Building Components fits situations like: building new components; implementing accessibility; creating composable APIs; setting up design tokens.

How do I install Building Components in Claude Code?

Run `npx skills add Compound-inc/rift --skill building-components -a claude-code`. Or copy the skill folder (.cursor/skills/building-components in Compound-inc/rift) into .claude/skills/building-components in your project. Claude Code loads it when a task matches its description.

How do I install Building Components in Codex?

Run `npx skills add Compound-inc/rift --skill building-components -a codex`. Or copy the skill folder (.cursor/skills/building-components in Compound-inc/rift) into .agents/skills/building-components in your project. Codex loads it when a task matches its description.

Can I use Building Components in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Compound-inc/rift --skill building-components -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/building-components, .gemini/skills/building-components, .github/skills/building-components and .opencode/skills/building-components in your project.

What does Building Components need to run?

SKILL.md names no scripts, command-line tools or credentials: Building Components is instructions for the agent only.

Does Building Components access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Building Components safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Building Components use?

Building Components has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Building Components use?

About 538 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 30k tokens, read only when the agent opens those files.

What are the alternatives to Building Components?

Skills that share tags, products or a category with Building Components: Light Frontend Design (Light0305/Light-skills, 641 stars), Design Md Validator (fabricioctelles/skills, 106 stars), Extract Design (Manavarya09/design-extract, 4.2k stars) and Better Colors (trycompai/crm, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Building Components?

Compound-inc (a GitHub organization) maintains it in Compound-inc/rift, which has 124 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 28, 2026.

Source: Compound-inc/rift on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.