sci-fi-interface
它能做什么
这份指南教你做出科幻电影里那种电脑界面。重点是以战术和分析的方式展示信息的显示屏。
适用场景
- ✓为飞船设计控制面板。
- ✓为战争游戏制作战术显示界面。
- ✓为应用设计一块未来感的电脑屏幕。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-it/sci-fi-interface/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想为太空飞行模拟器做一个 HUD 界面,要有细线、圆圈和红色警报。”
每周 5 个新技能,1 分钟读完。
工作原理
核心思路是主要使用细线而不是实心色块,并加入许多圆形元素,比如雷达。正常显示使用青色或绿色,警报则使用红色。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Sci-Fi Interface Design (HUD)
"Heads-Up Display. Tactical, precise, and highly analytical."
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
- Wireframe and Outlines: Interfaces are built almost entirely out of thin strokes rather than solid filled boxes.
- Circular Arrays & Radars: Heavy use of concentric circles, radar sweeps, and curved progress bars.
- Monochrome + Warning: Often entirely monochromatic (just blue, or just green) with a secondary color (red) used exclusively for alerts.
Visual DNA
- Colors: Midnight background. UI is pure Cyan, Emerald Green, or Amber (like classic monochrome monitors). Minimalist Slate works if made dark.
- Typography: Strict, technical monospace fonts (
Share Tech Mono,VT323,Space Mono). All caps. - Styling: Tiny UI chroming details (target brackets
[ ], framing lines, precise pixel coordinates).
Web Implementation
- Heavy use of SVG for circular dials, and CSS borders for the layout.
- CSS Example:
body {
background-color: #000b18; /* Deep space navy */
color: #4df; /* Holographic cyan */
font-family: 'Share Tech Mono', monospace;
text-transform: uppercase;
}
/* The HUD Frame */
.hud-container {
border: 1px solid rgba(68, 221, 255, 0.3);
position: relative;
padding: 30px;
}
/* Corner brackets */
.hud-container::before {
content: '';
position: absolute;
top: -2px; left: -2px;
width: 20px; height: 20px;
border-top: 2px solid #4df;
border-left: 2px solid #4df;
}
.hud-container::after {
content: '';
position: absolute;
bottom: -2px; right: -2px;
width: 20px; height: 20px;
border-bottom: 2px solid #4df;
border-right: 2px solid #4df;
}
.hud-value {
font-size: 3rem;
text-shadow: 0 0 10px rgba(68, 221, 255, 0.8);
}
.hud-warning {
color: #ff3333;
text-shadow: 0 0 10px rgba(255, 51, 51, 0.8);
animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
App Implementation
SwiftUI
struct SciFiHUDView: View {
@State private var bootUp = false
var body: some View {
ZStack {
Color(hex: "000b18").ignoresSafeArea() // Deep space navy
VStack {
// Circular Radar/Dial
ZStack {
Circle()
.stroke(Color(hex: "4df").opacity(0.3), lineWidth: 1)
Circle()
.trim(from: 0.0, to: bootUp ? 0.75 : 0.0)
.stroke(Color(hex: "4df"), style: StrokeStyle(lineWidth: 4, lineCap: .round))
.rotationEffect(.degrees(-90))
Text("SYS.OK")
.font(.custom("Space Mono", size: 24))
.foregroundColor(Color(hex: "4df"))
.shadow(color: Color(hex: "4df"), radius: 5)
}
.frame(width: 200, height: 200)
.padding(.bottom, 40)
// HUD Data Frame
HStack {
Text("COORD: 45.22, 12.8")
Spacer()
Text("[ LOCK ]")
}
.font(.custom("Space Mono", size: 16))
.foregroundColor(Color(hex: "4df"))
.padding()
.border(Color(hex: "4df").opacity(0.5), width: 1)
.overlay(
// Corner bracket accents
Path { path in
path.move(to: CGPoint(x: 0, y: 15)); path.addLine(to: CGPoint(x: 0, y: 0)); path.addLine(to: CGPoint(x: 15, y: 0))
path.move(to: CGPoint(x: 300, y: 15)); path.addLine(to: CGPoint(x: 300, y: 0)); path.addLine(to: CGPoint(x: 285, y: 0))
}
.stroke(Color(hex: "4df"), lineWidth: 2)
)
}
.padding()
}
.onAppear {
withAnimation(.easeInOut(duration: 2.0)) { bootUp = true }
}
}
}
- SwiftUI is uniquely fantastic for Sci-Fi HUDs.
Circle().trim(from: to:)lets you build complex sweeping circular progress rings. - Use
Pathoverlays to draw the exact 90-degree corner brackets ([ ]) that define the HUD look.
Flutter
…
常见问题
应该用什么颜色?
使用深色背景(接近黑色),界面元素用青色、翡翠绿或琥珀色。红色只留给警告。
什么字体最合适?
像 Share Tech Mono 或 Space Mono 这样技术感强的等宽字体(多为全大写),能做出正确的感觉。
怎样做出“括号”式的角标?
可以用简单的图形细节实现,比如线条或 SVG 图形,做出画框或瞄准括号的效果。
详情
作者的原始描述
Web and App implementation guide for Sci-Fi Interface Design. Trigger when user wants HUDs, spacecraft dashboards, or tactical military readouts.
热度
- GitHub 星标
- 48k
- 排名
- #4413
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。