Agent skill

Miuix UI

by FrancoGiudans in FrancoGiudans/Capsulyric

Build, review, and refactor Compose Miuix UI in IslandLyrics using Miuix 0.9.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification.

GPL-3.0Auto-check passedFrontend & Design

Install Miuix UI

skills CLI
$ npx skills add FrancoGiudans/Capsulyric --skill miuix-ui -a claude-code

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

GitHub CLI
$ gh skill install FrancoGiudans/Capsulyric miuix-ui --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/FrancoGiudans/Capsulyric.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/miuix-ui .claude/skills/miuix-ui && 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
miuix-ui
GitHub stars
203
Token cost
~1.4k tokens
SKILL.md length
577 words
Files
5 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
GPL-3.0

At a glance

Build, review, and refactor Compose Miuix UI in IslandLyrics using Miuix 0.9.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification.

  • Works in 3 steps: Treat Material and Miuix as separate… → Prefer an existing upstream 0.9.3… → Read the closest reference before…
  • Any Miuix screen
  • SKILL.md covers First Decisions, Non-Negotiable Rules, Project Defaults and Component Selection, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Miuix UI is an agent skill from FrancoGiudans/Capsulyric. Build, review, and refactor Compose Miuix UI in IslandLyrics using Miuix 0.9.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification. Use for any Miuix screen or component work; do not use for Material-only UI.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `references/code-review.md` and `references/components.md`).

It sits in Frontend & Design, covering Design tokens. The repository describes itself as: 提供基于Live Update和小米超级岛机制的状态栏歌词。 The licence is GPL-3.0.

When your agent uses it

  • Any Miuix screen
  • Do not use for Material-only UI

Example prompts

  • “/miuix-ui”

Workflow steps

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

  1. Treat Material and Miuix as separate stacks. Change only the requested stack; never edit ui/material to fix a Miuix issue unless…
  2. Prefer an existing upstream 0.9.3 component before creating a wrapper. Add a project wrapper only when it supplies real behavior such as…
  3. Read the closest reference before inventing layout

What it can do on your machine

Read from SKILL.md and the folder at commit dd020bc. 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 kotlin and powershell).

    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

Miuix UI loads about 1.4k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 577 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
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.3k

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 FrancoGiudans/Capsulyric at commit dd020bc, republished under its GPL-3.0 licence (© FrancoGiudans). 577 words, ~1,390 tokens.

Download SKILL.mdSave it as .claude/skills/miuix-ui/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
miuix-ui
description
Build, review, and refactor Compose Miuix UI in IslandLyrics using Miuix 0.9.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification. Use for any Miuix screen or component work; do not use for Material-only UI.

Miuix UI

First Decisions

  1. Treat Material and Miuix as separate stacks. Change only the requested stack; never edit ui/material to fix a Miuix issue unless explicitly asked.
  2. Prefer an existing upstream 0.9.3 component before creating a wrapper. Add a project wrapper only when it supplies real behavior such as blur, fallback, preference listening, predictive back, drag reorder, or cross-page style policy.
  3. Read the closest reference before inventing layout:
    • Upstream source: reference/miuix-0.9.3
    • Chinese docs: reference/miuix-0.9.3/docs/zh_CN/components and /guide
    • Project wrappers: app/src/main/java/com/example/islandlyrics/ui/miuix

Non-Negotiable Rules

  • Wrap every page in a Miuix scaffold family component. OverlayDialog, OverlayBottomSheet, OverlayListPopup, dropdown preferences, and spinner preferences require its popup host.
  • Keep popups on the same host as their trigger surface. Inside MiuixBlurDialog, set renderInRootScaffold = false; ordinary page controls normally keep the default true.
  • Use MiuixTheme.colorScheme.* and MiuixTheme.textStyles.*. Do not hardcode colors, font sizes, or copy Material typography/colors.
  • Do not replace upstream BasicComponent's custom layout with Row + weight(1f); its start/center/end distribution intentionally handles overflow.
  • Respect minSdk/runtime capability for effects. Gate blur paths rather than assuming support; avoid recursive backdrop capture (never blur a surface from inside itself).
  • Preserve unrelated files and user-visible labels exactly when making targeted changes.

Project Defaults

  • Theme: use MiuixAppTheme / existing controller; derive light/dark and custom seed behavior there.
  • Page chrome: prefer MiuixBlurScaffold plus MiuixBlurTopAppBar / MiuixBlurSmallTopAppBar.
  • Dialogs/sheets: prefer MiuixBlurDialog / MiuixBlurBottomSheet when the product expects blur; use plain Window APIs only when blur is not wanted.
  • Dropdown settings rows: use BlurOverlayDropdownPreference (often imported as SuperDropdown) for the established blur + edge-highlight behavior.
  • Lists: use BasicComponent / preference components first; promote a local row helper only after reuse appears across pages.
  • Reordering: use MiuixBlurReorderablePanel; do not put it inside another vertically scrollable container without checking measurement.

Component Selection

Use this order:

  1. Direct upstream API: Button, TextButton, Card, SwitchPreference, ArrowPreference, SliderPreference, TextField, TopAppBar, etc.
  2. Established app wrapper when blur/project behavior is required: MiuixBlur*, BlurOverlayDropdownPreference, MiuixBackHandler, MiuixBackIcon.
  3. New shared component only with a real reusable behavior and an upstream-style API.
  4. Page-local helper only if no other page needs it.
Show full SKILL.md (243 more words)Show less

Implementation Conventions

Follow upstream API shape:

kotlin
@Composable
fun ComponentName(
    requiredStateOrCallback: ...,
    modifier: Modifier = Modifier,
    enabled: Boolean = true,
    colors: ComponentColors = ComponentDefaults.componentColors(),
    content: @Composable () -> Unit,
)
  • Put dimensions/constants in ComponentDefaults; expose colors through a @Composable defaults factory backed by theme tokens.
  • Mark truly immutable color/style data classes @Immutable; use @Stable when they contain callbacks/state-backed properties.
  • Avoid unstable raw collections in public composable state where practical.
  • Use rememberUpdatedState only to keep long-lived closures current; forward callbacks directly when possible.
  • Keep interaction state consistent: mixed-height right-side actions need explicit vertical alignment; whole-row click semantics must not conflict with the embedded control's own click target.
  • For new screens, follow an existing feature screen under feature/*/miuix; do not introduce a second navigation/top-bar pattern.

Blur And Effects

  • Use one effect stack per surface. Do not mix Haze and miuix-blur approaches.
  • Capture backdrop at the stable ancestor/container, then apply texture/blur/highlight to the foreground panel.
  • Edge highlight is a separate opt-in behavior controlled by project preferences; do not bake a permanent global highlight into generic components.
  • Verify dark mode, light mode, edge-to-edge insets, dialog layering, and fallback behavior—not just normal-page rendering.

Verification

Run targeted compilation before claiming success:

powershell
.\gradlew.bat :app:compileDebugKotlin --console=plain -q

Then choose the smallest additional check that proves the change:

  • Existing unit/UI tests when applicable.
  • Emulator/UIAutomator or screenshots for layout, gesture, popup layering, dark mode, and blur regressions.
  • Explicitly distinguish code inference from visual/device verification; never claim you saw a screenshot unless one was actually inspected.

References

Read only what is relevant:

  • references/components.md: common components, selection rules, host requirements.
  • references/theme-and-effects.md: theme tokens, text styles, blur/backdrop/highlight constraints.
  • references/code-review.md: checklist for reviewing/refactoring Miuix changes.

© FrancoGiudans, GPL-3.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 4 other files (references) in .agents/skills/miuix-ui of FrancoGiudans/Capsulyric.

  • SKILL.md
  • agents/openai.yaml
  • references/code-review.md
  • references/components.md
  • references/theme-and-effects.md

Open the folder on GitHubat commit dd020bc

Compare with similar skills

Miuix UI 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.

Miuix UI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Miuix UI this skillFrancoGiudans/Capsulyric203—~1.4kAutomated safety check: PassGPL-3.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
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Design SystemOhh-889/skyroc79511 repos~1.7kAutomated safety check: PassMIT
Design Dnazanwei/design-dna1.9k1 repos~2.1kAutomated 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
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 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
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Frontend & DesignAuto-check passed

More from FrancoGiudans/Capsulyric

  • Workthrough Tracker

    FrancoGiudans/Capsulyric

    A skill your agent uses whenever starting any new work, formulating a development plan, or completing individual tasks/steps in this project.

    203 GitHub stars~748 tokensUpdated 2 days ago
    Auto-check passed

Questions about Miuix UI

What does Miuix UI do?

Build, review, and refactor Compose Miuix UI in IslandLyrics using Miuix 0.9.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification. Miuix UI is an agent skill from FrancoGiudans/Capsulyric.3 conventions, the app blur wrapper stack, theme tokens, popup-host rules, and compile-first verification.

When should I use Miuix UI?

Miuix UI fits situations like: any Miuix screen; do not use for Material-only UI.

How do I install Miuix UI in Claude Code?

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

How do I install Miuix UI in Codex?

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

Can I use Miuix UI 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 FrancoGiudans/Capsulyric --skill miuix-ui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/miuix-ui, .gemini/skills/miuix-ui, .github/skills/miuix-ui and .opencode/skills/miuix-ui in your project.

What does Miuix UI need to run?

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

Does Miuix UI 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 Miuix UI 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 Miuix UI use?

Miuix UI is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Miuix UI use?

About 1.4k tokens (SKILL.md is roughly 5.6k 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 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Miuix UI?

Skills that share tags, products or a category with Miuix UI: Figma Design System Builder (warpdotdev/warp, 65k stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), MCP Development (coollabsio/coolify, 63k stars) and Design System (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Miuix UI?

FrancoGiudans (a GitHub user) maintains it in FrancoGiudans/Capsulyric, which has 203 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 8, 2026.

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