极简设计系统免费版
极简设计系统免费版帮助个人开发者将精密设计系统无缝集成到现有代码库。包含设计令牌(色彩/字体/间距/阴影)、组件规范、响应式策略与可访问性指南,. 适用于需要minimalist design tool相关能力的开发场景,提供结构化的工作流程和配置指引. 该工具经过深度差异化处理,针对用户反馈和使用痛点进行了优化改进,提升了实用性和可操作性.
天轰穿
@thcjp
What This Skill Does
Provides a minimalist design system with design tokens (colors, typography, spacing, shadows), component specifications, and responsive strategies for personal front-end projects. Includes Tailwind CSS configuration and React component examples.
Replaces manually defining a design system from scratch by offering a ready-to-use token set and component specs aligned with minimalist modernism.
When to Use It
- Set up a consistent color palette and typography for a personal portfolio site
- Apply design tokens to a Tailwind CSS project via config injection
- Build a landing page with predefined button, card, and input component styles
- Implement responsive spacing and layout rules for a single-page application
- Ensure WCAG 2.1 AA accessibility with keyboard navigation and reduced motion support
Install
$ openclaw skills install @thcjp/minimalist-design-tool-free核心功能: 本技能提供结构化的工作流程和配置指引等能力。
极简设计系统免费版
概述
极简设计系统免费版帮助个人开发者将精密设计系统无缝集成到现有代码库。工具以极简现代主义为核心设计哲学,提供设计令牌(色彩、字体、间距、阴影)、组件规范、响应式策略与可访问性指南,确保视觉一致性与技术架构的前瞻性. 本版本面向个人开发者与小型团队,提供核心设计令牌与基础组件规范.
核心能力
设计令牌速查
色彩
| 令牌 | 数值 | 用途 |
|---|---|---|
background | #FAFAFA | 主画布 |
foreground | #0F172A | 主文字/深色背景 |
muted | #F1F5F9 | 次要表面 |
accent | #0052FF | 主电光蓝 |
accent-secondary | #4D7CFF | 渐变辅助色 |
border | #E2E8F0 | 极细结构线 |
card | #FFFFFF | 悬浮层表面 |
签名渐变:linear-gradient(135deg, #0052FF, #4D7CFF)
字体
- Display:
"Calistoga", serif- H1/H2标题 - UI/Body:
"Inter", sans-serif- 正文/UI - Monospace:
"JetBrains Mono"- Badge/代码
空间
- 章节Padding:
py-28到py-44(奢侈留白) - 容器宽度:
max-w-6xl(72rem) - 英雄区比例:
1.1fr / 0.9fr(微妙的失衡动量)
阴影
shadow-sm: 0 1px 3px rgba(0,0,0,0.06)
shadow-md: 0 4px 6px rgba(0,0,0,0.07)
shadow-xl: 0 20px 25px rgba(0,0,0,0.1)
shadow-accent: 0 4px 14px rgba(0,82,255,0.25)
处理: 解析设计令牌速查的输入参数,完成核心逻辑,返回结构化响应. 输出: 返回设计令牌速查的响应数据,包含状态码、结果和日志.
组件规范
按钮
- Primary:渐变背景,圆角
12px - 悬停:阴影加深 + 向上平移
2px - 点击:
scale(0.98)机械按压感
卡片
- 纯白背景 + 1px边框(
Slate-200) - 悬停:阴影
md→xl,背景渐变发光accent/0.03 - 特色卡片:2px渐变边框
输入框
- 高度
h-14,背景muted/10 - 焦点:
ring-2 ring-offset-2强调色
处理: 解析组件规范的输入参数,完成核心逻辑,返回结构化响应. 输出: 返回组件规范的响应数据,包含状态码、结果和日志.
工程目标
- A11y优先:WCAG 2.1 AA标准,完善键盘导航
- 视觉连贯性:严格遵循设计系统
- 全设备适配:超宽屏到移动端
- 减弱动效:监听
prefers-reduced-motion
处理: 解析工程目标的输入参数,完成核心逻辑,返回结构化响应. 输出: 返回工程目标的响应数据,包含状态码、结果和日志. 能力覆盖范围:本skill的核心能力覆盖以下场景关键词:极简现代主义设计、系统集成指南、组件规范与响应式、适合个人前端项目、极简设计系统免费、版帮助个人开发者、将精密设计系统无、缝集成到现有代码、响应式策略与可访、问性指南、确保视觉一致性与、技术架构的前瞻性、Use、when、需要代码生成、编程辅助、调试测试、开发部署时使用、不适用于无明确技、术栈的模糊需求、适用于独立开发者、企业团队和自动化、工作流场景等。这些关键词对应description中声明的使用场景,均已在上述能力点中提供对应的操作支持.
使用场景
场景一:个人作品集网站
需求:设计师需要构建一个视觉精致的个人作品集.
// Tailwind配置 - 注入设计令牌
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
background: "#FAFAFA",
foreground: "#0F172A",
muted: "#F1F5F9",
accent: "#0052FF",
"accent-secondary": "#4D7CFF",
border: "#E2E8F0",
card: "#FFFFFF"
},
fontFamily: {
display: ["Calistoga", "serif"],
body: ["Inter", "sans-serif"],
mono: ["JetBrains Mono", "monospace"]
},
boxShadow: {
sm: "0 1px 3px rgba(0,0,0,0.06)",
md: "0 4px 6px rgba(0,0,0,0.07)",
xl: "0 20px 25px rgba(0,0,0,0.1)",
accent: "0 4px 14px rgba(0,82,255,0.25)"
}
}
}
};
场景二:产品落地页
需求:独立开发者为SaaS产品制作落地页.
// 使用设计令牌的组件示例
function HeroSection() {
return (
<section className="py-44 bg-background">
<div className="max-w-6xl mx-auto px-6">
<div className="grid grid-cols-2 gap-8">
<div className="space-y-6">
<h1 className="font-display text-5xl text-foreground">
产品标题
</h1>
<p className="font-body text-lg text-muted-foreground">
产品描述文字
</p>
<button className="px-6 py-3 rounded-xl bg-accent text-white
shadow-accent hover:shadow-xl transition-all
hover:-translate-y-0.5 active:scale-[0.98]">
开始使用
</button>
</div>
<div className="bg-card rounded-2xl border border-border shadow-md">
{/* 产品预览 */}
</div>
</div>
</div>
</section>
);
}
场景三:博客系统
需求:个人博客需要统一的视觉风格.
/* CSS变量定义设计令牌 */
:root {
--color-background: #FAFAFA;
--color-foreground: #0F172A;
--color-muted: #F1F5F9;
--color-accent: #0052FF;
--color-accent-secondary: #4D7CFF;
--color-border: #E2E8F0;
--color-card: #FFFFFF;
// ...
--font-display: "Calistoga", serif;
--font-body: "Inter", sans-serif;
--font-mono: "JetBrains Mono", monospace;
// ...
--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
--shadow-md: 0 4px 6px rgba(0,0,0,0.07);
--shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
--shadow-accent: 0 4px 14px rgba(0,82,255,0.25);
}
快速开始
Step 1:技术栈识别
分析现有项目的技术栈:
- 框架:React / Next.js / Vue / Svelte
- 样式方案:Tailwind / shadcn / CSS Modules
- 设计令牌:色彩体系、空间系统、字体阶梯
- 工程约束:CSS冲突、包体积限制
Step 2:配置设计令牌
# 在此执行相关操作
echo "操作完成"
Step 3:应用组件规范
// 按钮组件
function Button({ variant = "primary", children, ...props }) {
const variants = {
primary: "bg-accent text-white shadow-accent hover:shadow-xl",
secondary: "bg-muted text-foreground hover:bg-muted/80",
ghost: "bg-transparent text-foreground hover:bg-muted/50"
};
# ...
return (
<button
className={`px-6 py-3 rounded-xl transition-all
5 active:scale-[0.98]
${variants[variant]}`}
{...props}
>
{children}
</button>
);
}
示例
Tailwind完整配置
// tailwind.config.js - 极简设计系统
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
background: "#FAFAFA",
foreground: "#0F172A",
muted: { DEFAULT: "#F1F5F9", foreground: "#64748B" },
accent: {
DEFAULT: "#0052FF",
secondary: "#4D7CFF",
foreground: "#FFFFFF"
},
border: "#E2E8F0",
card: "#FFFFFF"
},
fontFamily: {
display: ["Calistoga", "serif"],
body: ["Inter", "sans-serif"],
mono: ["JetBrains Mono", "monospace"]
},
borderRadius: { xl: "12px", "2xl": "16px" },
boxShadow: {
},
spacing: { section: "7rem" },
backgroundImage: {
"accent-gradient": "linear-gradient(135deg, #0052FF, #4D7CFF)"
}
}
},
plugins: []
};
CSS变量方案
/* design-tokens.css - CSS变量方案 */
:root {
/* 色彩 */
--color-bg: #FAFAFA;
--color-fg: #0F172A;
--color-muted: #F1F5F9;
--color-accent: #0052FF;
--color-accent-2: #4D7CFF;
--color-border: #E2E8F0;
--color-card: #FFFFFF;
// ...
/* 字体 */
--font-display: "Calistoga", serif;
--font-body: "Inter", sans-serif;
--font-mono: "JetBrains Mono", monospace;
// ...
/* 间距 */
--space-section: 7rem;
--container-max: 72rem;
// ...
/* 阴影 */
// ...
/* 圆角 */
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
}
优秀实践
设计原则
| 原则 | 说明 | 实践要点 |
|---|---|---|
| 设计令牌中心化 | 通过全局变量统一管理 | 所有颜色/字体/间距使用令牌 |
| 可复用性与组合性 | 无状态、高内聚组件 | 组件不包含业务逻辑 |
| 消除样式冗余 | 拒绝一次性硬编码 | 使用设计令牌而非硬编码值 |
| 维护性与语义化 | 命名反映意图而非外观 | text-primary而非text-blue |
响应式策略
/* 响应式断点 */
/* sm: 640px - 手机横屏 */
/* md: 768px - 平板竖屏 */
/* lg: 1024px - 平板横屏/小屏笔记本 */
/* xl: 1280px - 桌面 */
/* 2xl: 1536px - 大屏桌面 */
// ...
/* 移动优先策略 */
.container {
width: 100%; /* 移动端 */
padding: 0 1.5rem;
}
@media (min-width: 768px) {
.container { max-width: 768px; }
}
@media (min-width: 1024px) {
.container { max-width: 1024px; }
}
@media (min-width: 1280px) {
.container { max-width: 72rem; }
}
可访问性清单
- WCAG 2.1 AA标准
- 完善键盘导航
- 颜色对比度4.5:1(正文)/3:1(大文字)
- 焦点状态明显可见
- 语义化HTML结构
- ARIA标签正确使用
- 支持
prefers-reduced-motion
动效规范
// Framer Motion动效配置
const motionConfig = {
duration: 0.7,
ease: [0.16, 1, 0.3, 1], // 自定义缓动
variants: {
fadeIn: {
hidden: { opacity: 0 },
visible: { opacity: 1 }
},
slideUp: {
hidden: { y: 20, opacity: 0 },
visible: { y: 0, opacity: 1 }
}
}
};
// ...
// 尊重用户偏好
const prefersReducedMotion = window.matchMedia(
"(prefers-reduced-motion: reduce)"
).matches;
常见问题
Q1: 如何在现有项目中集成设计系统?
A: 步骤:1)识别技术栈(框架/样式方案);2)在Tailwind配置中注入设计令牌;3)将硬编码值替换为令牌引用;4)应用组件规范.
Q2: 免费版提供哪些组件?
A: 免费版提供按钮、卡片、输入框三个核心组件的规范。如需完整组件库(导航、表单、数据展示等),请使用PRO版.
Q3: 是否支持非Tailwind项目?
A: 支持。设计令牌可导出为CSS Variables,适用于任何CSS方案。也可手动转换为其他CSS-in-JS方案.
Q4: 如何确保响应式设计?
A: 采用移动优先策略,从小屏幕开始设计。使用Tailwind的响应式断点(sm/md/lg/xl/2xl)或CSS媒体查询.
Q5: 动效是否会影响性能?
A: 合理使用动效不会显著影响性能。建议:1)使用transform和opacity(不触发重排);2)监听prefers-reduced-motion为敏感用户关闭动效;3)避免过多同时动画.
依赖说明
运行环境
- Agent平台: 支持SKILL.md规范的任意AI Agent(Claude Code / Cursor / Codex / Gemini CLI等)
- 操作系统: Windows / macOS / Linux
- Node.js: 16+(用于前端构建)
依赖详情
| 依赖项 | 类型 | 是否必需 | 获取方式 |
|---|---|---|---|
| LLM API | API | 必需 | 由Agent内置LLM提供 |
| Tailwind CSS | 构建工具 | 推荐 | npm install tailwindcss |
| Framer Motion | 动效库 | 可选 | npm install framer-motion |
| Lucide React | 图标库 | 可选 | npm install lucide-react |
API Key 配置
- 本skill基于Markdown指令规范驱动,无需额外API Key
- 设计令牌为本地配置,无需云端服务
- 字体可通过Google Fonts或本地引入
可用性分类
- 分类: MD+EXEC模式纯Markdown指令+部分执行能力)
- 说明: 基于Markdown指令驱动Agent执行设计系统集成任务,通过配置文件实现设计令牌管理
- 免费版限制: 核心设计令牌、3个基础组件、基础Tailwind配置、无组件库生成、无主题切换
错误处理
| 错误场景 | 原因 | 处理方式 |
|---|---|---|
| 配置错误 | 参数缺失或格式错误 | 检查依赖说明中的配置要求 |
| 运行时错误 | 运行环境不满足 | 确认运行环境符合依赖说明 |
| 网络错误 | 连接超时或不可达 | 执行ping命令测试网络连通性,检查防火墙和代理设置连接后执行ping命令测试网络连通性,检查防火墙和代理设置连接后重新执行命令,参考国内替代方案 |
已知限制
- 需LLM支持,无LLM环境不可用
- 复杂业务场景建议结合人工经验判断
- 执行效率受模型能力与网络环境影响
- 当前为免费版本,如需完整功能请升级到付费版获取全部能力
输出格式
{
"success": true,
"data": {
"result": "极简设计系统免费版处理结果",
"execution_time": "0.5s",
"metadata": {
"version": "1.0",
"processor": "minimalist design"
}
},
"execution_log": ["解析输入参数", "执行核心处理", "格式化输出结果"],
"error": null
}
Top skills in this category
SuperDesign
@mpociotExpert frontend design guidelines for creating beautiful, modern UIs. Use when building landing pages, dashboards, or any user interface.
Video Frames
@steipeteExtract frames or short clips from videos using ffmpeg.
Frontend Design
@michaelmonetizedCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when building web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Remotion Video Toolkit
@shreefentsarComplete toolkit for programmatic video creation with Remotion + React. Covers animations, timing, rendering (CLI/Node.js/Lambda/Cloud Run), captions, 3D, charts, text effects, transitions, and media handling. Use when writing Remotion code, building video generation pipelines, or creating data-driven video templates.
Feishu Evolver Wrapper
@autogame-17(Depreciated: This skill is no longer maintained; its related functions have been absorbed by the Evolver main body.) Feishu-integrated wrapper for the capability-evolver. Manages the evolution loop lifecycle (start/stop/ensure), sends rich Feishu card reports, and provides...