y2k-design – skill Thiết kế & UI cho agent AI
Hướng dẫn triển khai web và ứng dụng cho Y2K Design. Kích hoạt khi người dùng muốn hiệu ứng chrome, phong cách tương lai thập niên 2000, hình dạng blob và tinh thần lạc quan công nghệ.
Cài skill y2k-design 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/y2k-design-6fd6f.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /y2k-design – 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/y2k-design-6fd6f.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $y2k-design – 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/y2k-design-6fd6f.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /y2k-design – 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/y2k-design-6fd6f.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /y2k-design – 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.
Y2K Design
> "The optimistic, shiny future as imagined in 1999. Chrome, blobs, and alien tech."
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. Metallic & Chrome Effects: Extensive use of silver, chrome, and shiny metallic gradients.
2. Organic, Amorphous Shapes: "Blob" architecture, curved intersecting lines, and liquid-like forms.
3. Tech-Optimism: Circuit board motifs, target crosshairs, and digital grid backgrounds.
Visual DNA
- Colors: Silver/chrome, bright cyan, hot pink, lime green. Industrial Chic mixed with neon accents works well.
- Typography: Extended (wide) sans-serifs, pixel fonts, or futuristic/alien display fonts (e.g.,
Orbitron,Syncopate). - Styling: Outer glows, metallic bevels, and starry glints (sparkles).
Web Implementation
- Rely heavily on complex linear and radial gradients to simulate shiny metal.
- CSS Example:
body {
background-color: #000000;
/* Digital grid background */
background-image: linear-gradient(#333 1px, transparent 1px),
linear-gradient(90deg, #333 1px, transparent 1px);
background-size: 20px 20px;
color: #ffffff;
font-family: 'Syncopate', sans-serif;
}
.y2k-chrome-text {
font-size: 4rem;
font-weight: 900;
text-transform: uppercase;
/* Chrome gradient effect */
background: linear-gradient(
to bottom,
#ffffff 0%,
#999999 45%,
#222222 50%,
#cccccc 55%,
#ffffff 100%
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
/* Outer glow */
filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}
.y2k-blob-btn {
background: linear-gradient(135deg, #00FFFF, #FF00FF);
border: none;
border-radius: 50% 20% / 10% 40%; /* Amorphous blob shape */
padding: 20px 40px;
color: #fff;
font-weight: bold;
text-shadow: 1px 1px 2px #000;
box-shadow: 0 0 15px #FF00FF;
}App Implementation
SwiftUI
struct Y2KDesignView: View {
// Chrome Gradient
let chromeGradient = LinearGradient(
colors: [Color.white, Color(white: 0.6), Color(white: 0.2), Color(white: 0.8), Color.white],
startPoint: .top,
endPoint: .bottom
)
var body: some View {
ZStack {
Color.black.ignoresSafeArea()
VStack(spacing: 40) {
// Chrome Text
Text("Y2K FUTURE")
.font(.custom("Syncopate-Bold", size: 48))
.foregroundStyle(chromeGradient)
// Cyan glow
.shadow(color: Color(hex: "00FFFF"), radius: 10, x: 0, y: 0)
// Blob Button (Faked with Capsule in standard SwiftUI, requires Path for true blob)
Button(action: {}) {
Text("ENTER CORE")
.font(.custom("Orbitron-Bold", size: 20))
.foregroundColor(.white)
.padding(.vertical, 20)
.padding(.horizontal, 40)
.background(LinearGradient(colors: [Color(hex: "00FFFF"), Color(hex: "FF00FF")], startPoint: .topLeading, endPoint: .bottomTrailing))
.clipShape(Capsule())
// Glow
.shadow(color: Color(hex: "FF00FF").opacity(0.8), radius: 15, x: 0, y: 0)
}
}
}
}
}- SwiftUI's
.foregroundStyle()makes applying a complex multi-stopLinearGradientto text trivial, which is exactly how you build the Chrome Text effect. - Add an un-offset
.shadow()with a neon color to create the Y2K outer glow.
Flutter
class Y2KDesignScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Chrome Text via ShaderMask
ShaderMask(
shaderCallback: (bounds) => const LinearGradient(
begin: Alignment.topCenter, end: Alignment.bottomCenter,
colors: [Colors.white, Color(0xFF999999), Color(0xFF222222), Color(0xFFCCCCCC), Colors.white],
stops: [0.0, 0.45, 0.5, 0.55, 1.0],
).createShader(bounds),
child: const Text(
'Y2K FUTURE',
style: TextStyle(
fontFamily: 'Syncopate', fontSize: 48, fontWeight: FontWeight.w900, color: Colors.white,
shadows: [Shadow(color: Color(0xFF00FFFF), blurRadius: 20)], // Glow
),
),
),
const SizedBox(height: 40),
// Neon Button
Container(
decoration: BoxDecoration(
gradient: const LinearGradient(colors: [Color(0xFF00FFFF), Color(0xFFFF00FF)]),
borderRadius: BorderRadius.circular(50),
boxShadow: const [BoxShadow(color: Color(0xFFFF00FF), blurRadius: 20)],
),
child: ElevatedButton(
onPressed: () {},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.transparent, shadowColor: Colors.transparent,
padding: const EdgeInsets.symmetric(horizontal: 40, vertical: 20),
),
child: const Text('ENTER CORE', style: TextStyle(fontFamily: 'Orbitron', fontSize: 20, color: Colors.white)),
),
)
],
),
),
);
}
}- You MUST use
ShaderMaskwith a complex multi-stopLinearGradientto render the metallic chrome effect on text in Flutter. - The
stopsproperty[0.0, 0.45, 0.5, 0.55, 1.0]is the secret to a good metal gradient: a sharp contrast right in the middle simulates the horizon reflection on a cylinder.
React Native
// REQUIRES: @react-native-masked-view/masked-view and react-native-linear-gradient
import MaskedView from '@react-native-masked-view/masked-view';
import LinearGradient from 'react-native-linear-gradient';
const Y2KDesignScreen = () => {
return (
<View style={{ flex: 1, backgroundColor: '#000', justifyContent: 'center', alignItems: 'center' }}>
{/* Chrome Text */}
<View style={{ height: 60, width: '100%', marginBottom: 40, shadowColor: '#00FFFF', shadowOffset: {width: 0, height: 0}, shadowOpacity: 1, shadowRadius: 10 }}>
<MaskedView
style={{ flex: 1 }}
maskElement={<Text style={{ fontFamily: 'Syncopate-Bold', fontSize: 48, color: '#FFF', textAlign: 'center' }}>Y2K FUTURE</Text>}
>
<LinearGradient
colors={['#FFFFFF', '#999999', '#222222', '#CCCCCC', '#FFFFFF']}
locations={[0, 0.45, 0.5, 0.55, 1]}
style={{ flex: 1 }}
/>
</MaskedView>
</View>
{/* Neon Gradient Button */}
<View style={{ shadowColor: '#FF00FF', shadowOffset: {width: 0, height: 0}, shadowOpacity: 1, shadowRadius: 15 }}>
<LinearGradient
colors={['#00FFFF', '#FF00FF']} start={{x: 0, y: 0}} end={{x: 1, y: 1}}
style={{ borderRadius: 50, paddingHorizontal: 40, paddingVertical: 20 }}
>
<Text style={{ fontFamily: 'Orbitron-Bold', fontSize: 20, color: '#FFF' }}>ENTER CORE</Text>
</LinearGradient>
</View>
</View>
);
};- In React Native, you need the community
MaskedViewto apply a gradient to text. Create the<Text>in themaskElementprop, and put the<LinearGradient>inside as a child. - Pass
locationsto the gradient to create the sharp metallic reflection line.
Jetpack Compose
@Composable
fun Y2KDesignScreen() {
Box(
modifier = Modifier.fillMaxSize().background(Color.Black),
contentAlignment = Alignment.Center
) {
Column(horizontalAlignment = Alignment.CenterHorizontally) {
// Chrome Text
Text(
text = "Y2K FUTURE",
fontSize = 48.sp,
fontFamily = FontFamily.SansSerif, // Replace with Syncopate
fontWeight = FontWeight.Black,
style = TextStyle(
// Apply Chrome Gradient to Text
brush = Brush.verticalGradient(
0.0f to Color.White,
0.45f to Color(0xFF999999),
0.5f to Color(0xFF222222),
0.55f to Color(0xFFCCCCCC),
1.0f to Color.White
),
shadow = Shadow(color = Color(0xFF00FFFF), blurRadius = 20f) // Glow
)
)
Spacer(Modifier.height(40.dp))
… (nội dung đầy đủ có trong gói tải về)
Skill liên quan
- api-and-interface-design – Hướng dẫn thiết kế API và giao diện ổn định. Dùng khi thiết kế API, ranh giới module…
- 20-andruia-niche-intelligence – Dùng sau khi xác định lĩnh vực của dự án: chuẩn bị hồ sơ tổng hợp bằng tiếng Tây Ban Nha…
- 2d-games – Nguyên tắc phát triển game 2D. Sprite, atlas, tilemap, vật lý, camera và các mẫu thể…
- 3d-ui – Hướng dẫn triển khai web và ứng dụng cho giao diện 3D. Kích hoạt khi người dùng muốn đối…
- accessibility-compliance – Triển khai giao diện tuân thủ WCAG 2.2 với khả năng tiếp cận trên di động, mẫu thiết kế…
- brand-guidelines – Áp dụng màu thương hiệu và kiểu chữ của OpenAI cho bất kỳ sản phẩm nào cần khớp với giao…
- chatgpt-apps – Xây dựng, scaffold, refactor và xử lý sự cố ứng dụng ChatGPT Apps SDK kết hợp máy chủ…
- baoyu-comic – Công cụ tạo truyện tranh kiến thức, hỗ trợ nhiều phong cách nghệ thuật và giọng điệu…