Agent skill

Chunui

by liseami in liseami/ChunUI

Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM).

MITAuto-check passedMobile

Install Chunui

skills CLI
$ npx skills add liseami/ChunUI --skill chunui -a claude-code

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

GitHub CLI
$ gh skill install liseami/ChunUI chunui --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/liseami/ChunUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chunui .claude/skills/chunui && 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
chunui
GitHub stars
531
Token cost
~642 tokens
SKILL.md length
104 words
Files
11
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM).

  • Works in 5 steps: 唯一彩色:页面上只有 Color.cc.primary… → 三梯度字号:只用… → 呈现走命令式:sheet/alert/toast 全走… → …
  • Integrating ChunUI via SPM
  • SKILL.md covers 目录(按需深入), 架构一图流, 质感五铁律(违反即失真) and 快速上手(30 秒), plus 1 more section
  • Runs Swift scripts from its folder

What it does

Chunui is an agent skill from liseami/ChunUI. Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM). Use when integrating ChunUI via SPM, theming with CCColors, using CC components (buttons/forms/cards/sheet/toast/alert/skeleton), Metal effects (aurora/fractal/generating/sweep), motion primitives (ccReveal/zoom transitions), or the UIKit×SwiftUI hybrid presentation architecture. Includes real production page sources as LEGO blueprints.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files (for example `components/reference.md`, `examples/README.md` and `usage/effects-motion.md`).

It sits in Mobile, covering iOS development. It works with SwiftUI. The repository describes itself as: Define your palette. Ship the same texture. — Monochrome-quality SwiftUI design system extracted from Zinner (阿奇). The licence is MIT.

When your agent uses it

  • Integrating ChunUI via SPM
  • Theming with CCColors
  • Using CC components (buttons/forms/cards/sheet/toast/alert/skeleton)
  • Metal effects (aurora/fractal/generating/sweep)

Example prompts

  • “/chunui”

Workflow steps

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

  1. 唯一彩色:页面上只有 Color.cc.primary 一个彩色,其余全灰阶语义色;功能色也从品牌色同轴选冷调
  2. 三梯度字号:只用 Font.cc.sm(13)/base(17)/lg(24)(+Bold);文字统一 .ccText(font:color:)
  3. 呈现走命令式:sheet/alert/toast 全走 AppHelper/CCToastCenter,禁系统原生弹窗 API
  4. 动效走令牌:入场一律 ccReveal/ccWaveReveal,循环动画禁 repeatForever
  5. 图标统一 PikaIcon:1225 枚随包,禁散用 SF Symbols 当业务图标

What it can do on your machine

Read from SKILL.md and the folder at commit b240cbb. 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

    Ships script files (Swift), which the agent can run.

    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

Chunui loads about 642 tokens when it runs. Until then it costs about 115 tokens; SKILL.md has 104 words of instructions outside code blocks.

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

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 liseami/ChunUI at commit b240cbb, republished under its MIT licence (© liseami). 104 words, ~642 tokens.

Download SKILL.mdSave it as .claude/skills/chunui/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
chunui
description
Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM). Use when integrating ChunUI via SPM, theming with CCColors, using CC components (buttons/forms/cards/sheet/toast/alert/skeleton), Metal effects (aurora/fractal/generating/sweep), motion primitives (ccReveal/zoom transitions), or the UIKit×SwiftUI hybrid presentation architecture. Includes real production page sources as LEGO blueprints.

ChunUI 开发技能

ChunUI 是从生产级 iOS 应用 Zinner(阿奇/Chat0IM)提取的 SwiftUI 设计系统。 使命:让你用它搭积木,搭出 Chat0IM 同级别 UI 质感的产品。

目录(按需深入)

文档内容
usage/setup.mdSPM 接入、一行换肤、宿主接线座、组件文案本地化、可选资产
usage/presentation.mdUIKit×SwiftUI 混合架构:窗口分层、sheet 标准(脏态/zoom 转场)、toast/alert、相册相机
usage/effects-motion.md入场动画范式、AI 工作态特效、氛围底纹、骨架屏、打字机/流式、粒子消散、性能纪律
components/reference.md全组件逐类参考(令牌/按钮/表单/卡片/chrome/反馈/媒体/文本/图标)
examples/五个真实生产页面源码——组件组合的积木图纸(README 有阅读法)

架构一图流

UIWindow 层级:  主窗口(UINav+Hosting) → CCToastWindow(+1) → CCAlertWindow(+2) → Sweep 覆盖窗
呈现命令式:     AppHelper.presentSheet / showBottomAlert / CCToastCenter.show(禁 SwiftUI .sheet/.alert)
主题单向流:     ChunUI.configure(colors:strings:) → CCColors.current → Color.cc.* → 全组件

质感五铁律(违反即失真)

  1. 唯一彩色:页面上只有 Color.cc.primary 一个彩色,其余全灰阶语义色;功能色也从品牌色同轴选冷调
  2. 三梯度字号:只用 Font.cc.sm(13)/base(17)/lg(24)(+Bold);文字统一 .ccText(font:color:)
  3. 呈现走命令式:sheet/alert/toast 全走 AppHelper/CCToastCenter,禁系统原生弹窗 API
  4. 动效走令牌:入场一律 ccReveal/ccWaveReveal,循环动画禁 repeatForever
  5. 图标统一 PikaIcon:1225 枚随包,禁散用 SF Symbols 当业务图标

快速上手(30 秒)

swift
// 1. App 启动
var colors = CCColors.default
colors.primary = .hex("你的品牌色")
ChunUI.configure(colors: colors)

// 2. SceneDelegate
CCToastWindow.shared.attach(to: windowScene)
CCAlertWindow.shared.attach(to: windowScene)

// 3. 开搭
CCNeoButton("开始", variant: .primary, fullWidth: true) { await start() }
CCToastCenter.shared.show(.success, "已保存")
AppHelper.shared.presentSheet(.form) { EditView() }

常见坑

症状解法
shader 特效黑块宿主自绘调了 ShaderLibrary.xxx(主 bundle 无 metallib,函数查找失败即渲染黑块)。一律改 CCShaders.xxx(包内库,public)。真实案例:Zinner 订阅卡分形纹理直调 ShaderLibrary.fractalJulia 迁包后全黑,改 CCShaders.fractalJulia 即愈
换肤不生效configure 必须先于首个视图创建;运行时换主题需触发根视图重建
sheet 无脏态确认内容视图缺 @EnvironmentObject var ctx: CCEditSheetContext 或未挂 .ccEditSheetDirty
toast 不显示未 attach 窗口,或场景未 foregroundActive
组件文案是英文未覆写 CCStrings(usage/setup.md)
图标空白图标名不在 pika 集,用 PikaIcon.Name.* 常量防拼写

© liseami, MIT. 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 10 other files in skills/chunui of liseami/ChunUI.

  • SKILL.md
  • components/reference.md
  • examples/DatesView.swift
  • examples/MainTabbar.swift
  • examples/ProfileView.swift
  • examples/README.md
  • examples/ScreenshotAnalysisCard.swift
  • examples/VipBuyView.swift
  • usage/effects-motion.md
  • usage/presentation.md
  • usage/setup.md

Open the folder on GitHubat commit b240cbb

Compare with similar skills

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

Chunui compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chunui this skillliseami/ChunUI531—~642Automated safety check: PassMIT
Swiftui Protwostraws/SwiftUI-Agent-Skill5.2k2 repos~1.5kAutomated safety check: PassMIT
Swiftui UI PatternsAFK-surf/OpenBridge4304 repos~887Automated safety check: PassMIT
Swiftui Performance Auditharperreed/dotfiles3348 repos~1.4kAutomated safety check: PassNone
Hig Project Contextraintree-technology/hig-doctor1435 repos~1.2kAutomated safety check: PassMIT
Hig Components Contentraintree-technology/hig-doctor1435 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Swiftui Pro

    twostraws/SwiftUI-Agent-Skill

    Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance.

    5.2k GitHub starsUsed in 2 repos~1.5k tokens
    MobileAuto-check passed
  • Swiftui UI Patterns

    AFK-surf/OpenBridge

    Best practices and example-driven guidance for building SwiftUI views and components.

    430 GitHub starsUsed in 4 repos~887 tokens
    MobileAuto-check passed
  • Swiftui Performance Audit

    harperreed/dotfiles

    Audit and improve SwiftUI runtime performance from code review and architecture.

    334 GitHub starsUsed in 8 repos~1.4k tokens
    MobileAuto-check passed
  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    143 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Hig Components Content

    raintree-technology/hig-doctor

    Apple Human Interface Guidelines for content display components.

    143 GitHub starsUsed in 5 repos~1.3k tokens
    MobileAuto-check passed
  • Logo To Swiftui Draw

    RhuanCruz/swiftui-logo-draw

    Transforma a imagem (PNG) de um logo num Shape do SwiftUI e num componente que desenha o contorno a traço e depois preenche (splash screen, loading, hero).

    159 GitHub stars~1.7k tokensUpdated 1 mo ago
    MobileAuto-check passed

Works with

Categories

Questions about Chunui

What does Chunui do?

Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM). Chunui is an agent skill from liseami/ChunUI. Build iOS apps with the ChunUI design system (Monochrome texture extracted from the production app Zinner/Chat0IM).

When should I use Chunui?

Chunui fits situations like: integrating ChunUI via SPM; theming with CCColors; using CC components (buttons/forms/cards/sheet/toast/alert/skeleton); metal effects (aurora/fractal/generating/sweep).

How do I install Chunui in Claude Code?

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

How do I install Chunui in Codex?

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

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

What does Chunui need to run?

Going by SKILL.md and its folder, Chunui needs Swift for the scripts in its folder.

Does Chunui 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 Chunui 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 Chunui use?

Chunui is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chunui use?

About 642 tokens (SKILL.md is roughly 2.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 Chunui?

Skills that share tags, products or a category with Chunui: Swiftui Pro (twostraws/SwiftUI-Agent-Skill, 5.2k stars), Swiftui UI Patterns (AFK-surf/OpenBridge, 430 stars), Swiftui Performance Audit (harperreed/dotfiles, 334 stars) and Hig Project Context (raintree-technology/hig-doctor, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chunui?

liseami (a GitHub user) maintains it in liseami/ChunUI, which has 531 GitHub stars. The repository was last updated on September 23, 2026.

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