frontend-dev
Skill0 starsChanged 2 months agoMITView on GitHub
Frontend development with premium UI design, animations, and AI-generated media assets. TRIGGER when: building landing pages, marketing sites, product pages with rich animations, generating media assets (image/video/audio/music via MiniMax API), implementing cinematic scroll animations, creating generative art. DO NOT TRIGGER when: simple UI components, basic form pages, minor CSS fixes, adding a button or modal, standard CRUD interfaces, simple responsive adjustments. 触发词:落地页、营销页、动效、滚动动画、AI 配图、生成艺术、前端页面。
- Reads credentials
11 other projects use a version of this.
Adopted by
Most recently taken up by
- Douglasst102/AgentSkillstheir own version, first seen Sep 28, 2026
- coroboros/agent-skillstheir own version, first seen Sep 26, 2026
- HHU3637kr/skillstheir own version, first seen Sep 22, 2026
- idexal/idexal-skillstheir own version, first seen Aug 26, 2026
- TSS-Blue-AI-Lab/ai-lab-agent-skillstheir own version, first seen Aug 6, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- MiniMax-AI/skills★ 14ksame name
- doccker/cc-use-exp★ 1.1ksame name
- HHU3637kr/skills★ 145same name
- TSS-Blue-AI-Lab/ai-lab-agent-skills★ 25same name
- krzysztofsurdy/code-virtuoso★ 22same name
- idexal/idexal-skills★ 13same name
- joabgonzalez/ai-agents-skills★ 9same name
- coroboros/agent-skills★ 4same name
- Douglasst102/AgentSkills★ 4same name
- jhy0285/monofield★ 4same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browser-useSkill
- fullstack-devSkill
- senior-developerSkill
The file
Files
Frontend Studio
构建生产级前端页面,整合 5 大能力:设计工程、动效系统、AI 资产生成、文案、生成艺术。
Skill Structure
frontend-dev/
├── SKILL.md # 本文件(工作流骨架)
├── references/ # 详细指南(按需读取)
│ ├── design-rules.md # 设计规则与禁止模式
│ ├── motion-recipes.md # 动效代码片段
│ ├── minimax-cli-reference.md # CLI 参数速查
│ ├── asset-prompt-guide.md # 资产 Prompt 工程
│ ├── minimax-tts-guide.md # TTS 用法
│ ├── minimax-music-guide.md # 音乐生成
│ ├── minimax-video-guide.md # 视频生成
│ ├── minimax-image-guide.md # 图片生成
│ ├── minimax-voice-catalog.md # 语音ID目录
│ └── env-setup.md # 环境配置Workflow
Phase 1: Design Architecture
- 分析需求 — 确定页面类型和上下文
- 规划布局分区,确定资产需求
- 选择技术方案(详见
references/design-rules.md)
Phase 2: Motion Architecture
- 按分区选择动效工具(见下方工具矩阵)
- 规划动效序列,遵守性能规则
Phase 3: Asset Generation
使用 AI 资产生成能力生成所有图片/视频/音频资产。绝不使用占位符 URL。
- 解析资产需求(类型、风格、规格、用途)
- 编写 Prompt,展示给用户确认后再生成
- 执行生成,保存到项目本地
- 所有资产保存完毕后才进入 Phase 5
Phase 4: Copywriting
使用 AIDA/PAS/FAB 框架撰写文案。不使用 Lorem ipsum。
Phase 5: Build UI
搭建项目,逐区构建。集成生成的资产和文案。所有媒体引用必须指向本地文件。
Phase 6: Quality Gates
- 移动端布局正常
min-h-[100dvh]非h-screen- Empty/Loading/Error 状态齐全
- 动效工具未在同一组件混用
useEffect有 cleanupprefers-reduced-motion已处理- 无占位符 URL(grep 检查)
- 所有媒体资产存在于本地
- 依赖已在
package.json中声明
Motion Tool Selection Matrix
| 场景 | 工具 |
| UI 进出/布局动画 | Framer Motion |
| 滚动叙事(pin, scrub) | GSAP + ScrollTrigger |
| 循环图标 | Lottie(懒加载) |
| 3D/WebGL | Three.js / R3F(隔离 Canvas) |
| Hover/Focus 状态 | 纯 CSS |
| 原生滚动驱动 | CSS animation-timeline: scroll() |
冲突规则:
- ❌ 同一组件不混用 GSAP + Framer Motion
- ❌ R3F 必须隔离在 Canvas wrapper 中
- ❌ 重型库(Lottie/GSAP/Three.js)必须懒加载
Asset Generation Quick Reference
| 类型 | 生成方式 | 模式 |
| 图片 | 图片生成 API / CLI | 同步 |
| TTS | 语音合成 API / CLI | 同步 |
| 音乐 | 音乐生成 API / CLI | 同步 |
| 视频 | 视频生成 API / CLI | 异步(创建→轮询→下载) |
环境变量:MINIMAX_API_KEY(使用 MiniMax 生成时必须)
资产命名规范: {type}-{descriptor}-{timestamp}.{ext}
预设快捷键:
| 快捷键 | 规格 |
hero | 16:9, 电影感, 文字安全区 |
thumb | 1:1, 主体居中 |
icon | 1:1, 扁平, 干净背景 |
bg-video | 768P, 6s, 静态镜头 |
bgm | 30s, 无人声, 可循环 |
Performance Rules
只动画 GPU 属性: transform, opacity, filter, clip-path
绝不动画: width, height, top, left, margin, padding
移动端:
- 尊重
prefers-reduced-motion - 粗指针设备禁用视差/3D
- 粒子上限:桌面 800 / 平板 300 / 手机 100
详细参考文档
需要深入指导时查阅 references/ 目录:
- 设计规则与禁止模式 →
references/design-rules.md - 动效代码片段 →
references/motion-recipes.md - MiniMax 各类资产生成详细指南 → 对应
references/minimax-*-guide.md - 环境配置 →
references/env-setup.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

