retro-futurism – skill Thiết kế & UI cho agent AI
Hướng dẫn triển khai Web và App cho Retro Futurism. Kích hoạt khi người dùng muốn ý tưởng tương lai cổ điển, thẩm mỹ thời đại vũ trụ thập niên 1950 hoặc không khí atompunk.
Cài skill retro-futurism 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/retro-futurism-73433.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /retro-futurism – 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/retro-futurism-73433.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $retro-futurism – 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/retro-futurism-73433.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /retro-futurism – 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/retro-futurism-73433.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /retro-futurism – 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.
Retro Futurism
> "The future as imagined in the 1950s and 60s. Rockets, atoms, and sleek, aerodynamic chrome."
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. Aerodynamic Shapes: Lots of sweeping curves, teardrop shapes, and swooping lines. Nothing is a perfect square.
2. Space-Age Motifs: Stars, atoms, orbits, and fins (like a 1950s Cadillac).
3. Mid-Century Colors mixed with Chrome: Classic 50s pastels paired with shiny, reflective metals.
Visual DNA
- Colors: Turquoise (
#40E0D0), Atomic Tangerine (#FF9966), Mint Green (#98FF98), paired with Silver/Chrome and deep Space Black. - Typography: Googie architecture fonts, bold cursive scripts, or clean mid-century geometric sans-serifs (like
Futura). - Styling: Sleek bezels, dramatic drop shadows, and offset overlapping shapes.
Web Implementation
- CSS Example:
body {
background-color: #FDF5E6; /* Old paper / cream */
color: #2F4F4F;
font-family: 'Futura', 'Trebuchet MS', sans-serif;
overflow-x: hidden;
}
/* Googie-style sweeping background element */
.retro-future-swoop {
position: absolute;
top: 0; right: -10%;
width: 120%; height: 300px;
background-color: #40E0D0; /* Turquoise */
border-radius: 0 0 50% 50%;
transform: rotate(-5deg);
z-index: -1;
border-bottom: 8px solid #FF9966; /* Atomic tangerine stripe */
}
.atompunk-card {
background-color: #fff;
border: 4px solid silver;
border-radius: 40px 10px 40px 10px; /* Sweeping, aerodynamic corners */
padding: 32px;
box-shadow: 15px 15px 0px rgba(0,0,0,0.1);
position: relative;
}
/* Classic starburst motif */
.starburst {
position: absolute;
top: -20px; left: -20px;
width: 40px; height: 40px;
background-color: #FF9966;
clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}App Implementation
SwiftUI
struct AtompunkShape: Shape {
func path(in rect: CGRect) -> Path {
var path = Path()
// Sweeping aerodynamic curves (large radius top-left, bottom-right)
path.addRoundedRect(
in: rect,
cornerSize: CGSize(width: 40, height: 40),
style: .continuous
)
// To be perfectly authentic, use Path to draw teardrop curves
return path
}
}
struct RetroFutureCard: View {
var body: some View {
VStack(alignment: .leading, spacing: 16) {
Text("ATOMPUNK")
.font(.custom("Futura", size: 28))
.fontWeight(.bold)
.foregroundColor(Color(red: 0.18, green: 0.31, blue: 0.31))
Text("Sleek chrome and sweeping curves.")
.font(.custom("Futura", size: 16))
}
.padding(32)
.background(Color.white)
// Asymmetric corners: large top-left/bottom-right, small top-right/bottom-left
.clipShape(UnevenRoundedRectangle(
topLeadingRadius: 40, bottomLeadingRadius: 10,
bottomTrailingRadius: 40, topTrailingRadius: 10
)) // iOS 17+; use a tested custom Shape for older targets
.overlay(
// Chrome-like border
RoundedRectangle(cornerRadius: 10) // Simplified overlay for demo
.stroke(
LinearGradient(colors: [.gray, .white, .gray], startPoint: .top, endPoint: .bottom),
lineWidth: 4
)
)
.shadow(color: .black.opacity(0.1), radius: 0, x: 15, y: 15)
}
}
// UnevenRoundedRectangle supplies asymmetric corners on supported SwiftUI targets.- Rely on asymmetrical corner radii to create the aerodynamic, teardrop aesthetic.
- Metallic/Chrome borders are faked by using a
LinearGradientof grays and whites.
Flutter
class RetroFutureCard extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.all(32),
decoration: BoxDecoration(
color: Colors.white,
// Asymmetric "aerodynamic" shape
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(40),
bottomRight: Radius.circular(40),
topRight: Radius.circular(10),
bottomLeft: Radius.circular(10),
),
// Chrome border simulation
border: Border.all(
width: 4,
color: Colors.transparent, // Requires custom painter for gradient border
),
boxShadow: [
BoxShadow(
color: Colors.black.withOpacity(0.1),
offset: const Offset(15, 15),
blurRadius: 0, // Hard shadow
),
],
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: const [
Text('ATOMPUNK',
style: TextStyle(fontFamily: 'Futura', fontSize: 28, fontWeight: FontWeight.bold, color: Color(0xFF2F4F4F))),
SizedBox(height: 16),
Text('Sleek chrome and sweeping curves.',
style: TextStyle(fontFamily: 'Futura', fontSize: 16)),
],
),
);
}
}- Flutter handles asymmetric corners natively via
BorderRadius.only(). - Gradient borders (for chrome) require a
CustomPaintor wrapping the container in another container with a gradient background and padding.
React Native
const RetroFutureCard = () => {
return (
<View style={{
backgroundColor: '#FFF',
padding: 32,
// Asymmetric aerodynamic corners
borderTopLeftRadius: 40,
borderBottomRightRadius: 40,
borderTopRightRadius: 10,
borderBottomLeftRadius: 10,
borderWidth: 4,
borderColor: '#C0C0C0', // Solid silver fallback for chrome
// Offset hard shadow
shadowColor: '#000',
shadowOffset: { width: 15, height: 15 },
shadowOpacity: 0.1,
shadowRadius: 0,
elevation: 5,
}}>
<Text style={{ fontFamily: 'Futura', fontSize: 28, fontWeight: 'bold', color: '#2F4F4F' }}>
ATOMPUNK
</Text>
<Text style={{ fontFamily: 'Futura', fontSize: 16, marginTop: 16 }}>
Sleek chrome and sweeping curves.
</Text>
</View>
);
};- React Native natively supports
borderTopLeftRadiusstyle independent props, making the aerodynamic shapes trivial. - Complex geometric backgrounds (like starbursts) should definitely be SVG components imported via
react-native-svg.
Jetpack Compose
@Composable
fun RetroFutureCard() {
Box(
modifier = Modifier
.padding(24.dp)
// Fake hard shadow
.drawBehind {
drawRoundRect(
color = Color.Black.copy(alpha = 0.1f),
topLeft = Offset(15.dp.toPx(), 15.dp.toPx()),
size = size,
cornerRadius = CornerRadius(40.dp.toPx(), 10.dp.toPx()) // Simplification
)
}
.background(
color = Color.White,
// Aerodynamic asymmetric corners
shape = RoundedCornerShape(
topStart = 40.dp,
topEnd = 10.dp,
bottomEnd = 40.dp,
bottomStart = 10.dp
)
)
.border(
width = 4.dp,
brush = Brush.verticalGradient(listOf(Color.LightGray, Color.White, Color.LightGray)),
shape = RoundedCornerShape(
topStart = 40.dp,
topEnd = 10.dp,
bottomEnd = 40.dp,
bottomStart = 10.dp
)
)
.padding(32.dp)
) {
Column {
Text("ATOMPUNK",
fontFamily = FontFamily.SansSerif, // Replace with Futura
fontSize = 28.sp, fontWeight = FontWeight.Bold, color = Color(0xFF2F4F4F))
Spacer(Modifier.height(16.dp))
Text("Sleek chrome and sweeping curves.", fontSize = 16.sp)
}
}
}- Use
RoundedCornerShape(topStart, topEnd, bottomEnd, bottomStart)to create the atompunk aesthetic. - The
Modifier.bordertakes aBrushnatively, making the metallic chrome gradient incredibly easy to achieve compared to other frameworks.
Do's and Don'ts
- DO: Use strict
FuturaorCentury Gothicfor a very authentic mid-century feel. - DON'T: Make the UI look dirty or distressed (that's standard retro or steampunk). Retro-futurism is clean, optimistic, and shiny.
Limitations
- This is a styling reference and does not replace environment-specific validation, accessibility testing, or expert review.
- Ensure appropriate contrast ratios and responsive behaviors are verified separately.
Skill liên quan
- reverse-image-search – Tìm kiếm ngược hình ảnh. Dùng khi làm việc với hình ảnh hoặc URL hình ảnh công khai.
- robius-state-management – CRITICAL: Dùng cho các mẫu quản lý trạng thái của Robius. Kích hoạt khi có: AppState…
- robius-widget-patterns – CRITICAL: Dùng cho các mẫu widget của Robius. Kích hoạt khi có: apply_over, TextOrImage…
- saas-multi-tenant – Thiết kế và triển khai kiến trúc SaaS đa khách hàng (multi-tenant) với row-level…
- scarcity-urgency-psychologist – Thiết kế thông điệp về sự khan hiếm và tính cấp bách một cách trung thực, khi tồn kho…
- schema-markup – Thiết kế, kiểm tra và tối ưu dữ liệu có cấu trúc schema.org để đạt đủ điều kiện hiển…
- sci-fi-interface – Hướng dẫn triển khai Web và App cho thiết kế giao diện Sci-Fi. Kích hoạt khi người dùng…
- seek-and-analyze-video – Tìm kiếm và phân tích nội dung video bằng Memories.ai Large Visual Memory Model, phục vụ…