liuguang-banlan-ui
Skill này làm gì
Công cụ này tạo hai phong cách trực quan cụ thể cho giao diện: 'trắng ánh ngũ sắc' (iridescent white) và 'đen nhiều màu' (colorful black). Nó cho phép điều chỉnh màu và độ đậm nhạt để có diện mạo được kiểm soát.
Khi nào nên dùng
- ✓Khi bạn yêu cầu rõ 'trắng ánh ngũ sắc' hoặc 'đen nhiều màu'.
- ✓Khi bạn cần một điểm khởi đầu có thể cấu hình cho hình ảnh với màu được đo đạc.
- ✓Khi báo cáo cuối cùng cần ghi rõ chi tiết chính xác về màu sắc đã dùng.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/liuguang-banlan-ui/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo giao diện theo phong cách 'trắng ánh ngũ sắc', điều chỉnh độ đậm tổng thể lên 70% và màu xanh dương lên 50%.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ dùng mô hình màu OKLCH để xác định màu sắc. Nó cho phép kiểm soát độ đậm của từng màu và tổng thể, cùng các thuộc tính hình ảnh khác, rồi tạo một báo cáo chi tiết.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
流光斑斓 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
opaland “五彩斑斓黑” toobsidian. - 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, andvisualVerificationModein 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]; makeoverallColorIntensitythe global budget andcolors[].intensitythe per-color budget. The renderer multipliesintensitybypeakOpacity, so treatpeakOpacityas the calibrated strength at full intensity. - Order
colorsby hue. The renderer draws six hue stops around a loop and mixes each color with its array neighbors; near-complementary neighbors mix toward gray. luminanceCapapplies only inobsidian.ditherStrengthis the dither amplitude in output codes;1removes 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.
…
Câu hỏi thường gặp
Hai chế độ 'trắng ánh ngũ sắc' và 'đen nhiều màu' là gì?
Đây là hai chủ đề hình ảnh có sẵn mà công cụ có thể tạo: một với tông trắng và ánh ngũ sắc, và một với nền đen cùng các màu rực rỡ.
OKLCH là gì?
Đây là hệ thống mô tả màu sắc dễ điều chỉnh và dễ hiểu hơn cho nhà thiết kế, giúp kiểm soát chính xác hơn giao diện.
'Vision gating' và 'screenshot QA' nghĩa là gì?
Nghĩa là công cụ có thể phân tích hình ảnh (ảnh chụp màn hình) để kiểm tra phong cách hình ảnh đã được áp dụng đúng chưa, đảm bảo kết quả khớp với kỳ vọng.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5075
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.