跳到正文
Skillpedia
界面(UI/UX)48k · #5075

liuguang-banlan-ui

它能做什么

这个工具可以为界面创建两种特定的视觉风格:“虹彩白”和“彩色黑”。你可以调整颜色和强度等细节,获得可控的视觉效果。

适用场景

  • ✓当你明确要求“虹彩白”或“彩色黑”风格时。
  • ✓当你需要一个可配置、颜色数值精确的视觉起点时。
  • ✓当最终报告需要包含所用颜色的精确细节时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/liuguang-banlan-ui/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/liuguang-banlan-ui/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请创建一个“虹彩白”风格的界面,把整体强度调整为 70%,蓝色调整为 50%。”

每周 5 个新技能,1 分钟读完。

工作原理

该工具使用 OKLCH 颜色模型来定义颜色。你可以控制每种颜色的强度以及整体强度,还能调整其他视觉属性,并生成一份详细的报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

流光斑斓 UI 工坊

Overview

Use one skill with two explicit modes, not a generic material library. Preserve a stable information workspace while treating the spectral field as a controlled environmental layer. Keep the implementation parameterized so every output can report total color intensity, per-color intensity, OKLCH values, peak opacity, spatial scale, phase, and measured coverage.

Read style-contract.md before choosing a mode or changing palette semantics. Read verification.md before claiming visual or screenshot validation.

When to Use

  • Use when a user names 流光溢彩白 or 五彩斑斓黑, asks for one unified skill covering both, or needs a reusable parameterized starter.
  • Use when the final report must include total color intensity, each color's intensity, OKLCH values, and screenshot measurements.
  • Do not use for a generic theme-token library or an unparameterized visual mockup.

Workflow

1. Classify the request

  • Map “流光溢彩白” to opal and “五彩斑斓黑” to obsidian.
  • If both are requested, keep one shared implementation and two explicit theme manifests.
  • Inspect the existing project, framework, route, build system, and uncommitted work before copying starter assets.
  • Use the smallest appropriate change surface; do not replace an existing design system without authorization.

2. Gate visual verification

  • Confirm that the executing model can directly inspect images before taking a screenshot-based visual claim.
  • If native image inspection is unavailable, continue with code and deterministic pixel checks but mark the result visual-unverified; never infer visual quality from DOM or CSS alone.
  • Record modelVision, screenshotCapture, deterministicPixelMetrics, and visualVerificationMode in the final report.

3. Establish the scene and structure

  • Choose a neutral, information-dense workbench domain such as field research, inventory, monitoring, or operations.
  • Use a continuous three-pane or similarly coherent workspace: navigation, queue/list, detail, metadata, and one signature observation band.
  • Keep color in the field, map markers, and state accents. Keep the logo, avatar, rules, text, controls, boundaries, and semantic hierarchy neutral; do not paint them with palette gradients.
  • Prefer restrained surfaces and weak fills. Avoid turning every region into a floating card.

4. Implement the parameter contract

Maintain a serializable manifest with these top-level fields:

{
  schemaVersion, mode, label, preset, seed,
  overallColorIntensity,
  base: { oklch },
  colors: [{
    id, label, oklch, srgbFallback,
    intensity, peakOpacity,
    fieldScale, phase,
    measuredCoverage, effectiveShare
  }],
  field: { scale, octaves, warpStrength, motionSpeed, staticTime, ditherStrength, luminanceCap },
  output: { colorSpace, reducedMotion }
}
  • Keep every intensity in [0, 1]; make overallColorIntensity the global budget and colors[].intensity the per-color budget. The renderer multiplies intensity by peakOpacity, so treat peakOpacity as the calibrated strength at full intensity.
  • Order colors by hue. The renderer draws six hue stops around a loop and mixes each color with its array neighbors; near-complementary neighbors mix toward gray.
  • luminanceCap applies only in obsidian. ditherStrength is the dither amplitude in output codes; 1 removes quantization bias.
  • Use OKLCH as the authoring space and provide an sRGB fallback for non-OKLCH contexts.
  • Keep the seed, static frame, phases, and field scales deterministic; do not use random per render.
  • Expose sliders for the global intensity and every configured color. Make reset, JSON export, and copy actions available.

5. Build the spectral field

  • Use a procedural fBm/domain-warp field or an equivalent continuous field; keep it behind the interface with pointer-events: none.
  • Use broad flowing hue regions or ribbons, not obvious radial blobs, spotlight circles, or hard rainbow bands.
  • Upload the complete palette and per-color field scales to the renderer. Apply the dark-mode luminance cap after palette mixing.
  • Encode output with the sRGB transfer function, dither in output codes, and quantize in the shader. A power-curve encode or a weak linear-light dither biases the output, most visibly in low-intensity fields and near black.

…

常见问题

“虹彩白”和“彩色黑”模式是什么?

这是工具可以生成的两种预设视觉主题:一种以白色和虹彩色调为主,另一种以黑色背景搭配鲜明的色彩为主。

什么是 OKLCH?

它是一种描述颜色的体系,更容易被设计师理解和调整,能让你更精确地控制颜色外观。

“vision gating”和“screenshot QA”是什么意思?

意思是该工具可以分析图片(截图),检查视觉风格是否正确应用,确保最终效果符合预期。

详情

作者的原始描述

Builds two parameterized UI modes—流光溢彩白 (iridescent white) and 五彩斑斓黑 (colorful black)—with OKLCH, WebGL/CSS fallback, vision gating, screenshot QA, and total/per-color intensity reports. Use when a UI request names either mode or needs measured color parameters.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5075
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能