Agent skill

Zoonk Compound Components

by zoonk in zoonk/zoonk

Create or refactor reusable Zoonk React UI primitives using flat compound components.

MITAuto-check passedDevelopment

Install Zoonk Compound Components

skills CLI
$ npx skills add zoonk/zoonk --skill zoonk-compound-components -a claude-code

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

GitHub CLI
$ gh skill install zoonk/zoonk zoonk-compound-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/zoonk/zoonk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/zoonk-compound-components .claude/skills/zoonk-compound-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
zoonk-compound-components
GitHub stars
157
Token cost
~583 tokens
SKILL.md length
261 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Create or refactor reusable Zoonk React UI primitives using flat compound components.

  • Development work in your project
  • SKILL.md covers Repository conventions and Shared state
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Zoonk Compound Components is an agent skill from zoonk/zoonk. Create or refactor reusable Zoonk React UI primitives using flat compound components.

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with React, Vercel and Tailwind CSS. The repository describes itself as: Turn any topic into clear, structured lessons. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/zoonk-compound-components”

What it can do on your machine

Read from SKILL.md and the folder at commit d6d96be. 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 (its code samples are typescript).

    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

Zoonk Compound Components loads about 583 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 261 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~583

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

The full file from zoonk/zoonk at commit d6d96be, republished under its MIT licence (© zoonk). 261 words, ~583 tokens.

Download SKILL.mdSave it as .claude/skills/zoonk-compound-components/SKILL.md (or your agent's skills folder).
name
zoonk-compound-components
description
Create or refactor reusable Zoonk React UI primitives using flat compound components.
license
MIT
metadata.author
zoonk
metadata.version
2.0.0

Compound components

Use small composable primitives when callers need to arrange content or share styling. This convention applies to reusable UI building blocks; a page or domain composition can assemble several elements without turning every element into a new API.

Repository conventions

  • Prefer existing @zoonk/ui primitives. Put generic patterns in packages/ui and domain compositions in the owning app or feature.
  • A presentational primitive normally wraps one semantic element, accepts children and className, and exposes the relevant native props. Keep domain data fetching and orchestration in the composition that uses it.
  • Use flat names such as MediaCard, MediaCardTitle, and MediaCardDescription; do not introduce namespaced exports such as MediaCard.Title.
  • Use children for caller-owned content and className for styling overrides. Avoid bundles of title/description/action props or boolean variants when composition expresses the structure directly.
  • Name shared primitives by their UI purpose. Domain-specific names remain appropriate for domain compositions.
  • Use data-slot and Tailwind group/has variants for CSS coordination when needed. These attributes are not E2E selectors; preserve semantic elements, labels, and accessible relationships.
  • Translate fixed copy in the component that owns it. Caller-supplied content is appropriate when it is part of the intended reusable API.
tsx
<MediaCard>
  <MediaCardContent>
    <MediaCardTitle>{title}</MediaCardTitle>
    <MediaCardDescription>{description}</MediaCardDescription>
  </MediaCardContent>
</MediaCard>

Shared state

Pure visual composition does not need a provider. Use context when siblings must share state/actions or controls outside the main frame need access to them. For those cases, consult Vercel composition patterns, retaining Zoonk's flat naming. Do not add a provider solely to pass static content.

Use E2E coverage for user interactions according to the repository testing guidance; do not add isolated React component tests for these primitives.

© zoonk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/zoonk-compound-components of zoonk/zoonk.

Open the folder on GitHubat commit d6d96be

Compare with similar skills

Zoonk Compound 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.

Zoonk Compound Components compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Zoonk Compound Components this skillzoonk/zoonk157—~583Automated safety check: PassMIT
Petdexcrafter-station/petdex4.2k—~614Automated safety check: PassMIT
Coss Particlescrafter-station/petdex4.2k—~10kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Run Paritymillionco/react-doctor15k—~4.1kAutomated safety check: PassCustom licence
Next Best Practicesvercel-labs/openreview1.7k18 repos~1kAutomated safety check: PassNone

Similar skills

  • Petdex

    crafter-station/petdex

    Browse, install, submit, and edit pixel-art pets with the Petdex CLI.

    4.2k GitHub stars~614 tokensUpdated 11 days ago
    Game DevelopmentAuto-check passed
  • Coss Particles

    crafter-station/petdex

    Index of all COSS UI particle examples. An agent skill from crafter-station/petdex.

    4.2k GitHub stars~10k tokensUpdated 11 days ago
    Game DevelopmentAuto-check passed
  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Run Parity

    millionco/react-doctor

    Compare React Doctor diagnostics for a GitHub pull request (PR) with Vercel Sandbox.

    15k GitHub stars~4.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Next Best Practices

    vercel-labs/openreview

    Official

    Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

    1.7k GitHub starsUsed in 18 repos~1k tokens
    DevelopmentAuto-check passed
  • Coss

    crafter-station/petdex

    Helps implement coss UI components correctly. An agent skill from crafter-station/petdex.

    4.2k GitHub stars~1.4k tokensUpdated 11 days ago
    Frontend & DesignAuto-check passed

More from zoonk/zoonk

All 11 skills in this repo
  • Workflow

    zoonk/zoonk

    Creates durable, resumable workflows using Vercel's Workflow DevKit.

    157 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when designing, reviewing, or implementing Android UI or features for phones, tablets, foldables, ChromeOS, desktop windowing, Wear OS, Android TV, Android for Cars, Android…

    157 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when designing, reviewing, or implementing any Apple-platform UI or feature for iOS, iPadOS, macOS, visionOS, tvOS, watchOS, SwiftUI, UIKit, AppKit, WatchKit, app icons, Dark…

    157 GitHub stars~942 tokensUpdated yesterday
    Auto-check passed
  • Create or update problem-focused Zoonk GitHub issues and their requested metadata or relationships.

    157 GitHub stars~632 tokensUpdated yesterday
    Auto-check passed
  • Zoonk Commit

    zoonk/zoonk

    Write Zoonk commit messages and PR titles or descriptions when preparing a commit or pull request.

    157 GitHub stars~578 tokensUpdated yesterday
    Auto-check passed
  • Break work into GitHub issues, epics, or dependencies when the user explicitly requests an issue breakdown.

    157 GitHub stars~707 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Zoonk Compound Components

What does Zoonk Compound Components do?

Create or refactor reusable Zoonk React UI primitives using flat compound components. Zoonk Compound Components is an agent skill from zoonk/zoonk. Create or refactor reusable Zoonk React UI primitives using flat compound components.

When should I use Zoonk Compound Components?

Zoonk Compound Components fits situations like: development work in your project.

How do I install Zoonk Compound Components in Claude Code?

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

How do I install Zoonk Compound Components in Codex?

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

Can I use Zoonk Compound 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 zoonk/zoonk --skill zoonk-compound-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/zoonk-compound-components, .gemini/skills/zoonk-compound-components, .github/skills/zoonk-compound-components and .opencode/skills/zoonk-compound-components in your project.

What does Zoonk Compound Components need to run?

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

Does Zoonk Compound 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 Zoonk Compound 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 Zoonk Compound Components use?

Zoonk Compound Components is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Zoonk Compound Components use?

About 583 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Zoonk Compound Components?

Skills that share tags, products or a category with Zoonk Compound Components: Petdex (crafter-station/petdex, 4.2k stars), Coss Particles (crafter-station/petdex, 4.2k stars), Vercel Composition Patterns (supabase/supabase, 111k stars) and Run Parity (millionco/react-doctor, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Zoonk Compound Components?

zoonk (a GitHub organization) maintains it in zoonk/zoonk, which has 157 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 8, 2026.

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