Agent skill

New Component

by rainxchzed in rainxchzed/RikkaUi

Scaffold a new RikkaUI component following all project conventions

Apache-2.0Auto-check passedFrontend & Design

Install New Component

skills CLI
$ npx skills add rainxchzed/RikkaUi --skill new-component -a claude-code

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

GitHub CLI
$ gh skill install rainxchzed/RikkaUi new-component --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/rainxchzed/RikkaUi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-component .claude/skills/new-component && 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
new-component
GitHub stars
177
Token cost
~400 tokens
SKILL.md length
122 words
Files
2
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

Scaffold a new RikkaUI component following all project conventions

  • Works in 5 steps: Create file at → Follow conventions (see conventions.md… → Compile → …
  • Frontend & Design work in your project
  • SKILL.md covers Current components for reference, Theme tokens available and Steps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Component is an agent skill from rainxchzed/RikkaUi. Scaffold a new RikkaUI component following all project conventions

Its SKILL.md is about 400 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `conventions.md`).

It sits in Frontend & Design. It works with Kotlin. The repository describes itself as: RikkaUI — composing elements into harmony. Shadcn/UI Inspired component library & design system for Jetpack Compose. The licence is Apache-2.0.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “/new-component”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep, Bash(./gradlew :components:*)

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Create file at
  2. Follow conventions (see conventions.md for full details)
  3. Compile
  4. Update CLAUDE.md package structure with the new entry.
  5. Ask user if they want a showcase example for the website.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep
    • Bash(./gradlew :components:*)

    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 bash).

    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

New Component loads about 400 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 122 words of instructions outside code blocks.

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

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 rainxchzed/RikkaUi at commit 43ac1bc, republished under its Apache-2.0 licence (© rainxchzed). 122 words, ~400 tokens.

Download SKILL.mdSave it as .claude/skills/new-component/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
new-component
description
Scaffold a new RikkaUI component following all project conventions
allowed-tools
Read, Write, Edit, Glob, Grep, Bash(./gradlew :components:*)
disable-model-invocation
true

Create New RikkaUI Component

Scaffold $ARGUMENTS in the :components library.

Current components for reference

!ls components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/ui/

Theme tokens available

!grep "val " components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/theme/RikkaColors.kt | head -20

Steps

  1. Create file at: components/src/commonMain/kotlin/zed/rainxch/rikkaui/components/ui/{lowercase}/{ Name}.kt

  2. Follow conventions (see conventions.md for full details):

    • Package: zed.rainxch.rikkaui.components.ui.{lowercase}
    • Foundation only — BasicText, clickable, NO Material3
    • Enum-based variants/sizes (not booleans, not strings)
    • Private resolve*() functions for colors/sizes
    • All tokens via RikkaTheme.colors, .typography, .spacing, .shapes, .motion
    • Both overloads: generic (content lambda) + convenience (string text)
    • Accessibility: Role, label param, disabled() semantics
    • @Immutable on data classes
    • Parameter order: required → modifier → optional → trailing content
    • KDoc with usage examples
    • Max 140 char lines
  3. Compile:

    bash
    ./gradlew :components:compileKotlinWasmJs
  4. Update CLAUDE.md package structure with the new entry.

  5. Ask user if they want a showcase example for the website.

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

Files

SKILL.md and 1 other file in .claude/skills/new-component of rainxchzed/RikkaUi.

  • SKILL.md
  • conventions.md

Open the folder on GitHubat commit 43ac1bc

Compare with similar skills

New Component 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.

New Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Component this skillrainxchzed/RikkaUi177—~400Automated safety check: PassApache-2.0
Fix Frontend Review CommentsJetBrains/kotlin-web-site1.6k—~444Automated safety check: PassApache-2.0
Update Web Assetsgarfiec/Librechat-Mobile112—~1.8kAutomated safety check: NotesMIT
I18n Composer0adkll/Campfire140—~3.2kAutomated safety check: PassGPL-3.0
Android Native Devaiskillstore/marketplace4301 repos~7.1kAutomated safety check: PassMIT
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0

Similar skills

  • Fix Frontend Review Comments

    JetBrains/kotlin-web-site

    Official

    Apply pull-request review comments to the frontend of kotlinlang.org (Next.js, React, TypeScript, CSS Modules under blocks/, components/, pages/, hooks/, utils/, test/).

    1.6k GitHub stars~444 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Update Web Assets

    garfiec/Librechat-Mobile

    Update the third-party JavaScript vendored into the app for the artifact, diagram, and math WebViews (KaTeX, mermaid, marked, highlight.js, Tailwind, Babel, React).

    112 GitHub stars~1.8k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • I18n Compose

    r0adkll/Campfire

    Extract hardcoded user-facing string literals from a Jetpack Compose / Compose Multiplatform file into the owning module's composeResources/values/<modulestrings.xml, then replace each call site…

    140 GitHub stars~3.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Android Native Dev

    aiskillstore/marketplace

    Android native application development and UI design guide. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~7.1k tokens
    Frontend & DesignAuto-check passed
  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Jetpack Compose Expert

    aldefy/compose-skill

    Guides Jetpack Compose and Compose Multiplatform work across Android, Desktop, iOS and web, plus Android TV, Material 3 motion, paging, navigation and design-to-code.

    596 GitHub stars~4.8k tokensUpdated 2 mo ago
    MobileAuto-check passed

More from rainxchzed/RikkaUi

  • Preview

    rainxchzed/RikkaUi

    Build the distributable and launch a local preview server to see the website

    177 GitHub stars~293 tokensUpdated 20 days ago
    Auto-check passed
  • Rikka Conventions

    rainxchzed/RikkaUi

    RikkaUI design system conventions. An agent skill from rainxchzed/RikkaUi.

    177 GitHub stars~393 tokensUpdated 20 days ago
    Auto-check passed

Works with

Questions about New Component

What does New Component do?

Scaffold a new RikkaUI component following all project conventions. New Component is an agent skill from rainxchzed/RikkaUi.

When should I use New Component?

New Component fits situations like: frontend & Design work in your project.

How do I install New Component in Claude Code?

Run `npx skills add rainxchzed/RikkaUi --skill new-component -a claude-code`. Or copy the skill folder (.claude/skills/new-component in rainxchzed/RikkaUi) into .claude/skills/new-component in your project. Claude Code loads it when a task matches its description.

How do I install New Component in Codex?

Run `npx skills add rainxchzed/RikkaUi --skill new-component -a codex`. Or copy the skill folder (.claude/skills/new-component in rainxchzed/RikkaUi) into .agents/skills/new-component in your project. Codex loads it when a task matches its description.

Can I use New Component 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 rainxchzed/RikkaUi --skill new-component -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-component, .gemini/skills/new-component, .github/skills/new-component and .opencode/skills/new-component in your project.

What does New Component need to run?

SKILL.md names no scripts, command-line tools or credentials: New Component is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep, Bash(./gradlew :components:*).

Does New Component 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 New Component 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 New Component use?

New Component is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Component use?

About 400 tokens (SKILL.md is roughly 1.6k 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 New Component?

Skills that share tags, products or a category with New Component: Fix Frontend Review Comments (JetBrains/kotlin-web-site, 1.6k stars), Update Web Assets (garfiec/Librechat-Mobile, 112 stars), I18n Compose (r0adkll/Campfire, 140 stars) and Android Native Dev (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Component?

rainxchzed (a GitHub user) maintains it in rainxchzed/RikkaUi, which has 177 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 18, 2026.

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