Agent skill

Rikka Conventions

by rainxchzed in rainxchzed/RikkaUi

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

Apache-2.0Auto-check passedFrontend & Design

Install Rikka Conventions

skills CLI
$ npx skills add rainxchzed/RikkaUi --skill rikka-conventions -a claude-code

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

GitHub CLI
$ gh skill install rainxchzed/RikkaUi rikka-conventions --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/rikka-conventions .claude/skills/rikka-conventions && 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
rikka-conventions
GitHub stars
178
Token cost
~393 tokens
SKILL.md length
144 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Works in 10 steps: Foundation only — NEVER import… → Enum-based config — Variants, sizes,… → Theme tokens always — RikkaTheme.colors,… → …
  • Modifying any component
  • SKILL.md covers Absolute Rules, Module Boundaries and Style System
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rikka Conventions is an agent skill from rainxchzed/RikkaUi. RikkaUI design system conventions. Use when writing or modifying any component, theme token, or showcase code.

Its SKILL.md is about 390 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 Frontend & Design, covering Design tokens and Design systems. 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

  • Modifying any component
  • Tasks that involve Design tokens
  • Tasks that involve Design systems

Example prompts

  • “/rikka-conventions”

Workflow steps

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

  1. Foundation only — NEVER import Material3. Use BasicText, clickable, InteractionSource.
  2. Enum-based config — Variants, sizes, animations = enums. NEVER booleans or strings.
  3. Theme tokens always — RikkaTheme.colors, .typography, .spacing, .shapes, .motion. NEVER hardcode.
  4. Motion tokens — All springs/tweens reference RikkaTheme.motion. NEVER hardcode spring() or tween().
  5. Localization — All UI strings use stringResource(Res.string.*). NEVER hardcode English strings.
  6. Accessibility — Every interactive component: Role, contentDescription via label, disabled() semantics.
  7. @Immutable on all theme data classes. staticCompositionLocalOf for theme tokens.
  8. KDoc on every public API with usage examples.
  9. Parameter order: required → modifier: Modifier = Modifier → optional → trailing content lambda.
  10. Max line length: 140 chars.

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 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

Rikka Conventions loads about 393 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 144 words of instructions outside code blocks.

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

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). 144 words, ~393 tokens.

Download SKILL.mdSave it as .claude/skills/rikka-conventions/SKILL.md (or your agent's skills folder).
name
rikka-conventions
description
RikkaUI design system conventions. Use when writing or modifying any component, theme token, or showcase code.
user-invocable
false

RikkaUI Conventions (Auto-Applied)

Absolute Rules

  1. Foundation only — NEVER import Material3. Use BasicText, clickable, InteractionSource.
  2. Enum-based config — Variants, sizes, animations = enums. NEVER booleans or strings.
  3. Theme tokens always — RikkaTheme.colors, .typography, .spacing, .shapes, .motion. NEVER hardcode.
  4. Motion tokens — All springs/tweens reference RikkaTheme.motion. NEVER hardcode spring() or tween().
  5. Localization — All UI strings use stringResource(Res.string.*). NEVER hardcode English strings.
  6. Accessibility — Every interactive component: Role, contentDescription via label, disabled() semantics.
  7. @Immutable on all theme data classes. staticCompositionLocalOf for theme tokens.
  8. KDoc on every public API with usage examples.
  9. Parameter order: required → modifier: Modifier = Modifier → optional → trailing content lambda.
  10. Max line length: 140 chars.

Module Boundaries

  • :components — The library. Zero app-specific code. Zero Material3.
  • :composeApp — The showcase website. Depends on :components. WasmJs only.

Style System

  • RikkaStylePreset enum (Default/Nova/Vega/Aurora/Nebula) bundles shapes+spacing+motion+typeScale
  • Custom styles via RikkaStyle data class
  • RikkaTheme(preset = RikkaStylePreset.Nova) convenience overload

© 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

Just SKILL.md in .claude/skills/rikka-conventions of rainxchzed/RikkaUi.

Open the folder on GitHubat commit 43ac1bc

Compare with similar skills

Rikka Conventions 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.

Rikka Conventions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rikka Conventions this skillrainxchzed/RikkaUi178—~393Automated safety check: PassApache-2.0
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Design SystemOhh-889/skyroc79511 repos~1.7kAutomated safety check: PassMIT
Design Dnazanwei/design-dna1.9k1 repos~2.1kAutomated safety check: PassMIT
Scalar Design Systemscalar/scalar16k—~2.7kAutomated safety check: PassMIT

Similar skills

  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Design System

    Ohh-889/skyroc

    Token architecture, component specifications, and slide generation.

    795 GitHub starsUsed in 11 repos~1.7k tokens
    Frontend & DesignAuto-check passed
  • Design Dna

    zanwei/design-dna

    Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects…

    1.9k GitHub starsUsed in 1 repo~2.1k tokens
    Frontend & DesignAuto-check passed
  • Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.

    16k GitHub stars~2.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Stitch Taste Design System

    google-labs-code/stitch-skills

    Official

    Generates a DESIGN.md design-language file for Google Stitch that encodes color, typography, layout, component behavior and motion rules to avoid generic AI-looking UI.

    8.5k GitHub starsUsed in 15 repos~3.1k tokens
    Frontend & DesignAuto-check passed

More from rainxchzed/RikkaUi

  • New Component

    rainxchzed/RikkaUi

    Scaffold a new RikkaUI component following all project conventions

    178 GitHub stars~400 tokensUpdated 22 days ago
    Auto-check passed
  • Preview

    rainxchzed/RikkaUi

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

    178 GitHub stars~293 tokensUpdated 22 days ago
    Auto-check passed

Questions about Rikka Conventions

What does Rikka Conventions do?

RikkaUI design system conventions. An agent skill from rainxchzed/RikkaUi. Rikka Conventions is an agent skill from rainxchzed/RikkaUi. RikkaUI design system conventions.

When should I use Rikka Conventions?

Rikka Conventions fits situations like: modifying any component; tasks that involve Design tokens; tasks that involve Design systems.

How do I install Rikka Conventions in Claude Code?

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

How do I install Rikka Conventions in Codex?

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

Can I use Rikka Conventions 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 rikka-conventions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rikka-conventions, .gemini/skills/rikka-conventions, .github/skills/rikka-conventions and .opencode/skills/rikka-conventions in your project.

What does Rikka Conventions need to run?

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

Does Rikka Conventions 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 Rikka Conventions 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 Rikka Conventions use?

Rikka Conventions 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 Rikka Conventions use?

About 393 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 Rikka Conventions?

Skills that share tags, products or a category with Rikka Conventions: Figma Design System Builder (warpdotdev/warp, 65k stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Design System (Ohh-889/skyroc, 795 stars) and Design Dna (zanwei/design-dna, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rikka Conventions?

rainxchzed (a GitHub user) maintains it in rainxchzed/RikkaUi, which has 178 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.