Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)48k · #5075

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/liuguang-banlan-ui/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

…

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.

repo: sickn33/agentic-awesome-skills

Độ 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự