holographic-ui – skill Thiết kế & UI cho agent AI
Hướng dẫn triển khai Web và App cho Holographic UI. Kích hoạt khi người dùng muốn giao diện có hiệu ứng ánh sáng, giao diện chiếu (projected) và các phần tử nổi trong suốt.
Cài skill holographic-ui bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/holographic-ui-fc50c.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /holographic-ui – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/holographic-ui-fc50c.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $holographic-ui – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/holographic-ui-fc50c.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /holographic-ui – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/holographic-ui-fc50c.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /holographic-ui – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Holographic UI
> "Made of light. Interfaces projected into thin air, visible but completely translucent."
When to Use
Use this sub-style when the user's request matches the aesthetic described above. This is a child reference of the design-it skill and is not meant to be triggered directly.
Core Principles
1. Translucent Decoration: Use optional translucent surfaces; essential text and controls need stable contrast and may require opaque backgrounds.
2. Scanlines and Interference: The illusion of a projection is sold by horizontal scanlines, slight chromatic aberration, or flickering.
3. Luminous Edges: The borders of elements are brighter than the centers, mimicking how lasers or light projections focus at the edges.
Visual DNA
- Colors: Almost exclusively monochrome Cyan, Blue, or Green, with white core highlights.
- Typography: Thin, technical sans-serifs. Must have a glowing
text-shadow. - Styling: Intensive use of
rgba(),mix-blend-mode: screen(or a supported additive compositing operation)`, and CSS filters.
Web Implementation
- CSS Example:
body {
background-color: #020202; /* Must be dark for holograms to show */
background-image: url('dark-lab-background.jpg');
background-size: cover;
color: #88ffff;
}
.hologram-panel {
background: rgba(0, 200, 255, 0.05); /* Extremely sheer */
border: 1px solid rgba(136, 255, 255, 0.5);
border-radius: 4px;
padding: 30px;
/* The glowing edge */
box-shadow:
inset 0 0 20px rgba(0, 200, 255, 0.2),
0 0 15px rgba(0, 200, 255, 0.3);
/* Scanline effect */
background-image: linear-gradient(
rgba(136, 255, 255, 0.1) 1px,
transparent 1px
);
background-size: 100% 4px;
}
.holo-text {
font-family: 'Rajdhani', sans-serif;
text-transform: uppercase;
text-shadow: 0 0 8px rgba(136, 255, 255, 0.8);
mix-blend-mode: screen;
}
/* Subtle flicker */
.holo-flicker {
/* Static by default: essential content must not flicker or fade. */
}
@keyframes hologramFlicker {
0%, 100% { opacity: 1; }
92% { opacity: 1; }
93% { opacity: 0.4; }
94% { opacity: 0.9; }
96% { opacity: 0.2; }
98% { opacity: 1; }
}App Implementation
SwiftUI
struct HolographicUIView: View {
@State private var isFlickering = false
var body: some View {
ZStack {
Color.black.ignoresSafeArea()
VStack {
Text("HOLOGRAM ACTIVE")
.font(.custom("Courier", size: 24))
.foregroundColor(Color(hex: "88FFFF"))
.shadow(color: Color(hex: "88FFFF"), radius: 10)
.blendMode(.screen) // Critical for light UI
Spacer().frame(height: 40)
VStack {
Text("SYSTEM DIAGNOSTICS")
.foregroundColor(Color(hex: "88FFFF"))
}
.padding(30)
.frame(maxWidth: .infinity)
.background(Color(hex: "88FFFF").opacity(0.05))
.border(Color(hex: "88FFFF").opacity(0.5), width: 1)
// The glowing edge effect
.shadow(color: Color(hex: "88FFFF").opacity(0.5), radius: 15)
.blendMode(.screen)
.opacity(isFlickering ? 0.4 : 1.0)
}
.padding()
// Scanline Overlay
LinearGradient(
stops: [
.init(color: Color(hex: "88FFFF").opacity(0.1), location: 0),
.init(color: .clear, location: 0.5)
],
startPoint: .top, endPoint: .bottom
)
.frame(height: 4)
.background(Color.clear)
// You would tile this in a real app using an Image or custom shape
.blendMode(.screen)
}
// Keep diagnostics static; no repeating timer or random flicker.
}
}.blendMode(.screen)is absolutely critical. It makes elements act like projected light.- Stack multiple
.shadow()modifiers to create a bloom effect around text and borders.
Flutter
class HolographicScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black, // Dark lab background
body: Stack(
children: [
Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Glowing Text
const Text(
'HOLOGRAM ACTIVE',
style: TextStyle(
fontFamily: 'Courier',
fontSize: 24,
color: Color(0xFF88FFFF),
shadows: [Shadow(color: Color(0xFF88FFFF), blurRadius: 10)],
),
),
const SizedBox(height: 40),
// Hologram Panel
Container(
width: double.infinity,
padding: const EdgeInsets.all(30),
decoration: BoxDecoration(
color: const Color(0xFF88FFFF).withOpacity(0.05),
border: Border.all(color: const Color(0xFF88FFFF).withOpacity(0.5)),
boxShadow: [
BoxShadow(color: const Color(0xFF88FFFF).withOpacity(0.2), blurRadius: 15, spreadRadius: 5),
],
),
child: const Text(
'SYSTEM DIAGNOSTICS',
textAlign: TextAlign.center,
style: TextStyle(color: Color(0xFF88FFFF)),
),
),
],
),
),
// Scanlines (IgnorePointer so it doesn't block taps)
IgnorePointer(
child: ShaderMask(
blendMode: BlendMode.screen, // Makes it act like light
shaderCallback: (bounds) => const LinearGradient(
begin: Alignment.topCenter, end: Alignment.bottomCenter,
stops: [0.0, 0.5, 0.5, 1.0],
colors: [Colors.black12, Colors.black12, Colors.transparent, Colors.transparent],
).createShader(bounds),
// To actually tile in Flutter, you often need a CustomPainter.
// Here we simulate the blend mode.
child: Container(color: const Color(0xFF88FFFF).withOpacity(0.1)),
),
),
],
),
);
}
}- The
Shadowarray insideTextStylecreates the glowing text. BoxShadowwithspreadRadiuscreates the glowing panel border.ShaderMaskwithBlendMode.screenlayered over the UI gives it that light-projection quality.
React Native
const HolographicScreen = () => {
return (
<View style={{ flex: 1, backgroundColor: '#020202', padding: 24, justifyContent: 'center' }}>
<Text style={{
fontFamily: 'monospace', fontSize: 24, textAlign: 'center', color: '#88FFFF',
textShadowColor: '#88FFFF', textShadowRadius: 10, marginBottom: 40
}}>
HOLOGRAM ACTIVE
</Text>
<View style={{
backgroundColor: 'rgba(0, 200, 255, 0.05)',
borderWidth: 1, borderColor: 'rgba(136, 255, 255, 0.5)',
padding: 30, borderRadius: 4,
// The glowing edge
shadowColor: '#88FFFF', shadowOffset: { width: 0, height: 0 },
shadowOpacity: 0.5, shadowRadius: 15, elevation: 10
}}>
<Text style={{ color: '#88FFFF', textAlign: 'center', fontFamily: 'monospace' }}>
SYSTEM DIAGNOSTICS
</Text>
</View>
{/* Pseudo-scanlines overlay. In a real app, use an repeating Image background. */}
<View pointerEvents="none" style={{
position: 'absolute', top: 0, left: 0, right: 0, bottom: 0,
backgroundColor: 'rgba(136, 255, 255, 0.03)',
}} />
</View>
);
};- React Native doesn't support
mix-blend-modeout of the box, so you must rely heavily on low-opacity backgrounds and intensetextShadow/shadowRadius. - Use
pointerEvents="none"on scanline overlays so they don't block user interactions.
Jetpack Compose
@Composable
fun HolographicScreen() {
Box(modifier = Modifier.fillMaxSize().background(Color(0xFF020202))) {
Column(
modifier = Modifier.fillMaxSize().padding(24.dp),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
) {
// Glowing Text
Text(
text = "HOLOGRAM ACTIVE",
fontFamily = FontFamily.Monospace,
fontSize = 24.sp,
color = Color(0xFF88FFFF),
style = TextStyle(
shadow = Shadow(color = Color(0xFF88FFFF), … (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- hugging-face-vision-trainer – Huấn luyện mô hình nhận diện đối tượng, phân loại ảnh và phân đoạn SAM hoặc SAM2 cục bộ…
- iconsax-library – Thư viện icon phong phú và kỹ năng tạo icon bằng AI cho thiết kế UI/UX cao cấp.
- image-alt-tag-generator – Công cụ tạo thẻ alt cho hình ảnh. Dùng khi làm việc với hình ảnh hoặc mô tả hình ảnh…
- image-generator – Tạo và chỉnh sửa hình ảnh bằng mô hình Nano Banana Pro của Gemini…
- image-studio – Studio tạo hình ảnh thông minh: tự động định tuyến giữa ai-studio-image (ảnh người…
- imagen – Kỹ năng tạo hình ảnh bằng AI do Google Gemini cung cấp, hỗ trợ tạo nội dung hình ảnh…
- industrial-brutalist-ui – Dùng khi tạo giao diện telemetry công nghiệp hoặc chiến thuật thô, với lưới cứng…
- isometric-design – Hướng dẫn triển khai Isometric Design cho web và ứng dụng. Kích hoạt khi người dùng muốn…