LinkAI CLI
通过CLI调用 LinkAI 的对话、图像、视频和音频模型,以及智能体应用、知识库、数据库、工作流和插件等平台资源。
提供现代前端界面设计指南,适用于网页、落地页、仪表盘和各类用户界面的设计与实现。
/skill install frontend-design将产品需求转化为具有明确视觉风格的前端界面,兼顾内容层级、交互体验、响应式布局与可访问性。适合从零设计,也适合在现有页面基础上改版。
产品官网和落地页;管理后台与数据看板;界面组件设计;已有页面的视觉优化。
可直接用自然语言说明这些选项;带代码样式的参数按实际工具定义处理。
| 参数或输入项 | 填写说明 |
|---|---|
| 页面类型 | 如首页、定价页、控制台或登录页,建议同时说明核心目标。 |
| 技术栈 | 可填写 React、Vue 或 HTML/CSS,以及已有组件库约束。 |
| 视觉偏好 | 品牌色、深浅色、字体及参考风格;没有偏好时可描述产品气质。 |
| 适配与交付 | 桌面/手机端、指定宽度、设计说明或代码文件。 |
为一款 AI 设备管理平台设计控制台,使用 React,适配手机端,突出设备在线率、告警和常用操作,先给页面方案,再生成代码。
页面设计方案、关键组件与交互说明;具备开发环境时可进一步生成前端代码。
以下为技能最新版本的 SKILL.md 正文,智能体按其中的步骤完成任务。
Use this skill when creating UI components, landing pages, dashboards, or any frontend design work.
Follow this structured approach for UI design:
Before coding, sketch the layout in ASCII format:
┌─────────────────────────────────────┐
│ HEADER / NAV BAR │
├─────────────────────────────────────┤
│ │
│ HERO SECTION │
│ (Title + CTA) │
│ │
├─────────────────────────────────────┤
│ FEATURE │ FEATURE │ FEATURE │
│ CARD │ CARD │ CARD │
├─────────────────────────────────────┤
│ FOOTER │
└─────────────────────────────────────┘
Color Rules:
Font Selection (Google Fonts):
Sans-serif: Inter, Roboto, Poppins, Montserrat, Outfit, Plus Jakarta Sans, DM Sans, Space Grotesk
Monospace: JetBrains Mono, Fira Code, Source Code Pro, IBM Plex Mono, Space Mono, Geist Mono
Serif: Merriweather, Playfair Display, Lora, Source Serif Pro, Libre Baskerville
Display: Architects Daughter, Oxanium
Spacing & Shadows:
Modern Dark Mode (Vercel/Linear style):
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--primary: oklch(0.205 0 0);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.970 0 0);
--muted: oklch(0.970 0 0);
--muted-foreground: oklch(0.556 0 0);
--border: oklch(0.922 0 0);
--radius: 0.625rem;
--font-sans: Inter, system-ui, sans-serif;
}
Neo-Brutalism (90s web revival):
:root {
--background: oklch(1 0 0);
--foreground: oklch(0 0 0);
--primary: oklch(0.649 0.237 26.97);
--secondary: oklch(0.968 0.211 109.77);
--accent: oklch(0.564 0.241 260.82);
--border: oklch(0 0 0);
--radius: 0px;
--shadow: 4px 4px 0px 0px hsl(0 0% 0%);
--font-sans: DM Sans, sans-serif;
--font-mono: Space Mono, monospace;
}
Glassmorphism:
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 1rem;
}
Micro-syntax for planning:
button: 150ms [S1→0.95→1] press
hover: 200ms [Y0→-2, shadow↗]
fadeIn: 400ms ease-out [Y+20→0, α0→1]
slideIn: 350ms ease-out [X-100→0, α0→1]
bounce: 600ms [S0.95→1.05→1]
Common patterns:
Save all generated pages to the websites/ directory in the workspace root. The default workspace is ~/cow. Create the directory if it doesn't exist.
~/cow/
└── websites/
├── index.html
└── ...
Tailwind CSS:
<!-- Import via CDN for prototypes -->
<script src="https://cdn.tailwindcss.com"></script>
Flowbite (component library):
<link href="https://cdn.jsdelivr.net/npm/flowbite@2.0.0/dist/flowbite.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/flowbite@2.0.0/dist/flowbite.min.js"></script>
Icons (Lucide):
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
<script>lucide.createIcons();</script>
Images:
https://images.unsplash.com/photo-xxx?w=800&h=600Always design mobile-first and responsive:
/* Mobile first */
.container { padding: 1rem; }
/* Tablet */
@media (min-width: 768px) {
.container { padding: 2rem; }
}
/* Desktop */
@media (min-width: 1024px) {
.container { max-width: 1200px; margin: 0 auto; }
}
Cards:
Buttons:
Forms:
Navigation:
| Element | Recommendation |
|---|---|
| Primary font | Inter, Outfit, DM Sans |
| Code font | JetBrains Mono, Fira Code |
| Border radius | 0.5rem - 1rem (modern), 0 (brutalist) |
| Shadow | Subtle, 1-2 layers max |
| Spacing | 4px base unit (0.25rem) |
| Animation | 150-400ms, ease-out |
| Colors | oklch() for modern, avoid generic blue |
Based on SuperDesign patterns — https://superdesign.dev
| 版本 | 发布日期 | 更新说明 |
|---|---|---|
1.0.0 | 2026-10-15 | - |
通过CLI调用 LinkAI 的对话、图像、视频和音频模型,以及智能体应用、知识库、数据库、工作流和插件等平台资源。
管理 GitHub 仓库,支持仓库派生、合并请求、版本发布和问题评论等操作。
编写与优化分析SQL,包含窗口函数、CTE、聚合和主流数据仓库方言差异。
使用Polars进行CSV/Parquet清洗、关联、分组汇总和惰性查询,支持pandas迁移。
创建、读取和编辑 PowerPoint 演示文稿,支持内容提取、幻灯片合并与拆分,以及模板、布局、演讲备注和批注处理。
安装、配置和登录授权飞书 CLI,排查依赖缺失或技能未就绪,并通过飞书开放平台操作消息、文档、多维表格、电子表格、日历、邮箱、任务和会议等业务。当用户要求安装飞书 CLI、修复无法调用、完成授权或操作上述飞书资源时使用。
把团队的做事方法沉淀为技能
在技能中心导入技能包、从平台资源生成或在线编写,发布后安装到超级AI助理使用。
