Chunui logo

Chunui

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

Overview

Publisherliseami
RepositoryChunUI
Skill namechunui
Stars
535
Forks
28
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by liseami on GitHub. Read the source before you install it.

Installation

Install the Chunui AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/liseami/ChunUI/tree/main/skills/chunui
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/liseami/ChunUI.git /tmp/ChunUI
mkdir -p .claude/skills
cp -r /tmp/ChunUI/skills/chunui .claude/skills/chunui
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Chunui in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Chunui on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Chunui is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.* 常量防拼写

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Chunui AI skill do?

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.

Why use Chunui on TypingMind?

Because you install it once and use it with any model. Chunui is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Chunui in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/liseami/ChunUI/tree/main/skills/chunui. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Chunui?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Chunui?

As many as you like. As long as a model supports skills, you can use Chunui with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Chunui AI skill free?

Yes. It is published on GitHub by liseami under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇