Token导航 LogoToken导航

Agent Skill · 前端设计

frontend-dev(前端开发)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

frontend-dev 是前端设计类 Agent Skill,可用宿主为 Local Agent,通过unknown获取,权限为只读;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 8,294。

总安装 297周安装 12下载 93核验 2026-05-01
前端设计只读unknown未标认证来源可访问许可证需确认审计未展示Local Agent

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-dev(前端开发)
来源仓库:https://modelscope.cn
仓库路径:frontend-dev
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

frontend-dev 用于现代前端工程化开发与部署流水线。涵盖 Webpack、Vite 等构建工具配置指导。需同步 package.json 依赖版本防止冲突。CI/CD 集成时应设置自动化测试门禁关卡。frontend-dev 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

生产环境构建务必开启代码压缩与 Tree Shaking。

来源仓库内路径:frontend-dev

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Local Agent;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    没有现成安装命令,按unknown的说明从来源页面获取,仓库路径是 frontend-dev。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

frontend-dev 怎么安装?

公开资料没有给出可以直接复制的命令,需要按来源页面说明手动安装,仓库内路径为 frontend-dev。

frontend-dev 支持哪些 AI 工具?

公开资料标注支持 Local Agent。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

frontend-dev 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

frontend-dev 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

frontend-dev 用的人多吗?

公开数据是累计安装 297 次,近一周安装 12 次,下载 93 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

frontend-dev 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 Local Agent 一种宿主,触发方式和使用习惯不用来回切换。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Local Agent,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
frontend-dev

前端开发 · 本页

297—只读未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Frontend Studio

Build complete, production-ready frontend pages by orchestrating 5 specialized capabilities: design engineering, motion systems, AI-generated assets, persuasive copy, and generative art.

Invocation

/frontend-dev <request>

The user provides their request as natural language (e.g. "build a landing page for a music streaming app").

Skill Structure

frontend-dev/
├── SKILL.md                      # Core skill (this file)
├── scripts/                      # Asset generation scripts
│   ├── minimax_tts.py            # Text-to-speech
│   ├── minimax_music.py          # Music generation
│   ├── minimax_video.py          # Video generation (async)
│   └── minimax_image.py          # Image generation
├── references/                   # Detailed guides (read as needed)
│   ├── minimax-cli-reference.md  # CLI flags quick reference
│   ├── asset-prompt-guide.md     # Asset prompt engineering rules
│   ├── minimax-tts-guide.md      # TTS usage & voices
│   ├── minimax-music-guide.md    # Music prompts & lyrics format
│   ├── minimax-video-guide.md    # Camera commands & models
│   ├── minimax-image-guide.md    # Ratios & batch generation
│   ├── minimax-voice-catalog.md  # All voice IDs
│   ├── motion-recipes.md         # Animation code snippets
│   ├── env-setup.md              # Environment setup
│   └── troubleshooting.md        # Common issues
├── templates/                    # Visual art templates
│   ├── viewer.html               # p5.js interactive art base
│   └── generator_template.js     # p5.js code reference
└── canvas-fonts/                 # Static art fonts (TTF + licenses)

Project Structure

Assets (Universal)

All frameworks use the same asset organization:

assets/
├── images/
│   ├── hero-landing-1710xxx.webp
│   ├── icon-feature-01.webp
│   └── bg-pattern.svg
├── videos/
│   ├── hero-bg-1710xxx.mp4
│   └── demo-preview.mp4
└── audio/
    ├── bgm-ambient-1710xxx.mp3
    └── tts-intro-1710xxx.mp3

Asset naming: {type}-{descriptor}-{timestamp}.{ext}

By Framework

FrameworkAsset LocationComponent Location
Pure HTML./assets/N/A (inline or ./js/)
React/Next.jspublic/assets/src/components/
Vue/Nuxtpublic/assets/src/components/
Svelte/SvelteKitstatic/assets/src/lib/components/
Astropublic/assets/src/components/

Pure HTML

project/
├── index.html
├── assets/
│   ├── images/
│   ├── videos/
│   └── audio/
├── css/
│   └── styles.css
└── js/
    └── main.js           # Animations (GSAP/vanilla)

React / Next.js

project/
├── public/assets/        # Static assets
├── src/
│   ├── components/
│   │   ├── ui/           # Button, Card, Input
│   │   ├── sections/     # Hero, Features, CTA
│   │   └── motion/       # RevealSection, StaggerGrid
│   ├── lib/
│   ├── styles/
│   └── app/              # Pages
└── package.json

Vue / Nuxt

project/
├── public/assets/
├── src/                  # or root for Nuxt
│   ├── components/
│   │   ├── ui/
│   │   ├── sections/
│   │   └── motion/
│   ├── composables/      # Shared logic
│   ├── pages/
│   └── assets/           # Processed assets (optional)
└── package.json

Astro

project/
├── public/assets/
├── src/
│   ├── components/       # .astro, .tsx, .vue, .svelte
│   ├── layouts/
│   ├── pages/
│   └── styles/
└── package.json

Component naming: PascalCase (HeroSection.tsx, HeroSection.vue, HeroSection.astro)


Compliance

All rules in this skill are mandatory. Violating any rule is a blocking error — fix before proceeding or delivering.


Workflow

Phase 1: Design Architecture

  1. Analyze the request — determine page type and context
  2. Set design dials based on page type
  3. Plan layout sections and identify asset needs

Phase 2: Motion Architecture

  1. Select animation tools per section (see Tool Selection Matrix)
  2. Plan motion sequences following performance guardrails

Phase 3: Asset Generation

Generate all image/video/audio assets using scripts/. NEVER use placeholder URLs (unsplash, picsum, placeholder.com, via.placeholder, placehold.co, etc.) or external URLs.

  1. Parse asset requirements (type, style, spec, usage)
  2. Craft optimized prompts, show to user, confirm before generating
  3. Execute via scripts, save to project — do NOT proceed to Phase 5 until all assets are saved locally

Phase 4: Copywriting & Content

Follow copywriting frameworks (AIDA, PAS, FAB) to craft all text content. Do NOT use "Lorem ipsum" — write real copy.

Phase 5: Build UI

Scaffold the project and build each section following Design and Motion rules. Integrate generated assets and copy. All <img>, <video>, <source>, and CSS background-image MUST reference local assets from Phase 3.

Phase 6: Quality Gates

Run final checklist (see Quality Gates section).


1. Design Engineering

1.1 Baseline Configuration

DialDefaultRange
DESIGN_VARIANCE81=Symmetry, 10=Asymmetric
MOTION_INTENSITY61=Static, 10=Cinematic
VISUAL_DENSITY41=Airy, 10=Packed

Adapt dynamically based on user requests.

1.2 Architecture Conventions

  • DEPENDENCY VERIFICATION: Check package.json before importing any library. Output install command if missing.
  • Framework: React/Next.js. Default to Server Components. Interactive components must be isolated "use client" leaf components.
  • Styling: Tailwind CSS. Check version in package.json — NEVER mix v3/v4 syntax.
  • ANTI-EMOJI POLICY: NEVER use emojis anywhere. Use Phosphor or Radix icons only.
  • Viewport: Use min-h-[100dvh] not h-screen. Use CSS Grid not flex percentage math.
  • Layout: max-w-[1400px] mx-auto or max-w-7xl.

1.3 Design Rules

RuleDirective
TypographyHeadlines: text-4xl md:text-6xl tracking-tighter. Body: text-base leading-relaxed max-w-[65ch]. NEVER use Inter — use Geist/Outfit/Satoshi. NEVER use Serif on dashboards.
ColorMax 1 accent, saturation < 80%. NEVER use AI purple/blue. Stick to one palette.
LayoutNEVER use centered heroes when VARIANCE > 4. Force split-screen or asymmetric layouts.
CardsNEVER use generic cards when DENSITY > 7. Use border-t, divide-y, or spacing.
StatesALWAYS implement: Loading (skeleton), Empty, Error, Tactile feedback (scale-[0.98]).
FormsLabel above input. Error below. gap-2 for input blocks.

1.4 Anti-Slop Techniques

  • Liquid Glass: backdrop-blur + border-white/10 + shadow-[inset_0_1px_0_rgba(255,255,255,0.1)]
  • Magnetic Buttons: Use useMotionValue/useTransform — never useState for continuous animations
  • Perpetual Motion: When INTENSITY > 5, add infinite micro-animations (Pulse, Float, Shimmer)
  • Layout Transitions: Use Framer layout and layoutId props
  • Stagger: Use staggerChildren or CSS animation-delay: calc(var(--index) * 100ms)

1.5 Forbidden Patterns

CategoryBanned
VisualNeon glows, pure black (#000), oversaturated accents, gradient text on headers, custom cursors
TypographyInter font, oversized H1s, Serif on dashboards
Layout3-column equal card rows, floating elements with awkward gaps
ComponentsDefault shadcn/ui without customization

1.6 Creative Arsenal

CategoryPatterns
NavigationDock magnification, Magnetic button, Gooey menu, Dynamic island, Radial menu, Speed dial, Mega menu
LayoutBento grid, Masonry, Chroma grid, Split-screen scroll, Curtain reveal
CardsParallax tilt, Spotlight border, Glassmorphism, Holographic foil, Swipe stack, Morphing modal
ScrollSticky stack, Horizontal hijack, Locomotive sequence, Zoom parallax, Progress path, Liquid swipe
GalleryDome gallery, Coverflow, Drag-to-pan, Accordion slider, Hover trail, Glitch effect
TextKinetic marquee, Text mask reveal, Scramble effect, Circular path, Gradient stroke, Kinetic grid
MicroParticle explosion, Pull-to-refresh, Skeleton shimmer, Directional hover, Ripple click, SVG draw, Mesh gradient, Lens blur

1.7 Bento Paradigm

  • Palette: Background #f9fafb, cards pure white with border-slate-200/50
  • Surfaces: rounded-[2.5rem], diffusion shadow
  • Typography: Geist/Satoshi, tracking-tight headers
  • Labels: Outside and below cards
  • Animation: Spring physics (stiffness: 100, damping: 20), infinite loops, React.memo isolation

5-Card Archetypes:

  1. Intelligent List — auto-sorting with layoutId
  2. Command Input — typewriter + blinking cursor
  3. Live Status — breathing indicators
  4. Wide Data Stream — infinite horizontal carousel
  5. Contextual UI — staggered highlight + float-in toolbar

1.8 Brand Override

When brand styling is active:

  • Dark: #141413, Light: #faf9f5, Mid: #b0aea5, Subtle: #e8e6dc
  • Accents: Orange #d97757, Blue #6a9bcc, Green #788c5d
  • Fonts: Poppins (headings), Lora (body)

2. Motion Engine

2.1 Tool Selection Matrix

NeedTool
UI enter/exit/layoutFramer Motion — AnimatePresence, layoutId, springs
Scroll storytelling (pin, scrub)GSAP + ScrollTrigger — frame-accurate control
Looping iconsLottie — lazy-load (~50KB)
3D/WebGLThree.js / R3F — isolated <Canvas>, own "use client" boundary
Hover/focus statesCSS only — zero JS cost
Native scroll-drivenCSS — animation-timeline: scroll()

Conflict Rules [MANDATORY]:

  • NEVER mix GSAP + Framer Motion in same component
  • R3F MUST live in isolated Canvas wrapper
  • ALWAYS lazy-load Lottie, GSAP, Three.js

2.2 Intensity Scale

LevelTechniques
1-2 SubtleCSS transitions only, 150-300ms
3-4 SmoothCSS keyframes + Framer animate, stagger ≤3 items
5-6 FluidwhileInView, magnetic hover, parallax tilt
7-8 CinematicGSAP ScrollTrigger, pinned sections, horizontal hijack
9-10 ImmersiveFull scroll sequences, Three.js particles, WebGL shaders

2.3 Animation Recipes

See references/motion-recipes.md for full code. Summary:

RecipeToolUse For
Scroll RevealFramerFade+slide on viewport entry
Stagger GridFramerSequential list animations
Pinned TimelineGSAPHorizontal scroll with pinning
Tilt CardFramerMouse-tracking 3D perspective
Magnetic ButtonFramerCursor-attracted buttons
Text ScrambleVanillaMatrix-style decode effect
SVG Path DrawCSSScroll-linked path animation
Horizontal ScrollGSAPVertical-to-horizontal hijack
Particle BackgroundR3FDecorative WebGL particles
Layout MorphFramerCard-to-modal expansion

2.4 Performance Rules

GPU-only properties (ONLY animate these): transform, opacity, filter, clip-path

NEVER animate: width, height, top, left, margin, padding, font-size — if you need these effects, use transform: scale() or clip-path instead.

Isolation:

  • Perpetual animations MUST be in React.memo leaf components
  • will-change: transform ONLY during animation
  • contain: layout style paint on heavy containers

Mobile:

  • ALWAYS respect prefers-reduced-motion
  • ALWAYS disable parallax/3D on pointer: coarse
  • Cap particles: desktop 800, tablet 300, mobile 100
  • Disable GSAP pin on mobile < 768px

Cleanup: Every useEffect with GSAP/observers MUST return () => ctx.revert()

2.5 Springs & Easings

FeelFramer Config
Snappystiffness: 300, damping: 30
Smoothstiffness: 150, damping: 20
Bouncystiffness: 100, damping: 10
Heavystiffness: 60, damping: 20
CSS EasingValue
Smooth decelcubic-bezier(0.16, 1, 0.3, 1)
Smooth accelcubic-bezier(0.7, 0, 0.84, 0)
Elasticcubic-bezier(0.34, 1.56, 0.64, 1)

2.6 Accessibility

  • ALWAYS wrap motion in prefers-reduced-motion check
  • NEVER flash content > 3 times/second (seizure risk)
  • ALWAYS provide visible focus rings (use outline not box-shadow)
  • ALWAYS add aria-live="polite" for dynamically revealed content
  • ALWAYS include pause button for auto-playing animations

2.7 Dependencies

npm install framer-motion           # UI (keep at top level)
npm install gsap                    # Scroll (lazy-load)
npm install lottie-react            # Icons (lazy-load)
npm install three @react-three/fiber @react-three/drei  # 3D (lazy-load)

3. Asset Generation

3.1 Scripts

TypeScriptPattern
TTSscripts/minimax_tts.pySync
Musicscripts/minimax_music.pySync
Videoscripts/minimax_video.pyAsync (create → poll → download)
Imagescripts/minimax_image.pySync

Env: MINIMAX_API_KEY (required).

3.2 Workflow

  1. Parse: type, quantity, style, spec, usage
  2. Craft prompt: Be specific (composition, lighting, style). NEVER include text in image prompts.
  3. Execute: Show prompt to user, MUST confirm before generating, then run script
  4. Save: <project>/public/assets/{images,videos,audio}/ as {type}-{descriptor}-{timestamp}.{ext} — MUST save locally
  5. Post-process: Images → WebP, Videos → ffmpeg compress, Audio → normalize
  6. Deliver: File path + code snippet + CSS suggestion

3.3 Preset Shortcuts

ShortcutSpec
hero16:9, cinematic, text-safe
thumb1:1, centered subject
icon1:1, flat, clean background
avatar1:1, portrait, circular crop ready
banner21:9, OG/social
bg-video768P, 6s, [Static shot]
video-hd1080P, 6s
bgm30s, no vocals, loopable
ttsMiniMax HD, MP3

3.4 Reference

  • references/minimax-cli-reference.md — CLI flags
  • references/asset-prompt-guide.md — Prompt rules
  • references/minimax-voice-catalog.md — Voice IDs
  • references/minimax-tts-guide.md — TTS usage
  • references/minimax-music-guide.md — Music generation (prompts, lyrics, structure tags)
  • references/minimax-video-guide.md — Camera commands
  • references/minimax-image-guide.md — Ratios, batch

4. Copywriting

4.1 Core Job

  1. Grab attention → 2. Create desire → 3. Remove friction → 4. Prompt action

4.2 Frameworks

AIDA (landing pages, emails):

ATTENTION:  Bold headline (promise or pain)
INTEREST:   Elaborate problem ("yes, that's me")
DESIRE:     Show transformation
ACTION:     Clear CTA

PAS (pain-driven products):

PROBLEM:    State clearly
AGITATE:    Make urgent
SOLUTION:   Your product

FAB (product differentiation):

FEATURE:    What it does
ADVANTAGE:  Why it matters
BENEFIT:    What customer gains

4.3 Headlines

FormulaExample
Promise"Double open rates in 30 days"
Question"Still wasting 10 hours/week?"
How-To"How to automate your pipeline"
Number"7 mistakes killing conversions"
Negative"Stop losing leads"
Curiosity"The one change that tripled bookings"
Transformation"From 50 to 500 leads"

Be specific. Lead with outcome, not method.

4.4 CTAs

Bad: Submit, Click here, Learn more

Good: "Start my free trial", "Get the template now", "Book my strategy call"

Formula: [Action Verb] + [What They Get] + [Urgency/Ease]

Place: above fold, after value, multiple on long pages.

4.5 Emotional Triggers

TriggerExample
FOMO"Only 3 spots left"
Fear of loss"Every day without this, you're losing $X"
Status"Join 10,000+ top agencies"
Ease"Set it up once. Forget forever."
Frustration"Tired of tools that deliver nothing?"
Hope"Yes, you CAN hit $10K MRR"

4.6 Objection Handling

ObjectionResponse
Too expensiveShow ROI: "Pays for itself in 2 weeks"
Won't work for meSocial proof from similar customer
No time"Setup takes 10 minutes"
What if it fails"30-day money-back guarantee"
Need to thinkUrgency/scarcity

Place in FAQ, testimonials, near CTA.

4.7 Proof Types

Testimonials (with name/title), Case studies, Data/metrics, Social proof, Certifications


5. Visual Art

Philosophy-first workflow. Two output modes.

5.1 Output Modes

ModeOutputWhen
StaticPDF/PNGPosters, print, design assets
InteractiveHTML (p5.js)Generative art, explorable variations

5.2 Workflow

Step 1: Philosophy Creation

Name the movement (1-2 words). Articulate philosophy (4-6 paragraphs) covering:

  • Static: space, form, color, scale, rhythm, hierarchy
  • Interactive: computation, emergence, noise, parametric variation

Step 2: Conceptual Seed

Identify subtle, niche reference — sophisticated, not literal. Jazz musician quoting another song.

Step 3: Creation

Static Mode:

  • Single page, highly visual, design-forward
  • Repeating patterns, perfect shapes
  • Sparse typography from canvas-fonts/
  • Nothing overlaps, proper margins
  • Output: .pdf or .png + philosophy .md

Interactive Mode:

  1. Read templates/viewer.html first
  2. Keep FIXED sections (header, sidebar, seed controls)
  3. Replace VARIABLE sections (algorithm, parameters)
  4. Seeded randomness: randomSeed(seed); noiseSeed(seed);
  5. Output: single self-contained HTML

Step 4: Refinement

Refine, don't add. Make it crisp. Polish into masterpiece.


Quality Gates

Design:

  • Mobile layout collapse (w-full, px-4) for high-variance designs
  • min-h-[100dvh] not h-screen
  • Empty, loading, error states provided
  • Cards omitted where spacing suffices

Motion:

  • Correct tool per selection matrix
  • No GSAP + Framer mixed in same component
  • All useEffect have cleanup returns
  • prefers-reduced-motion respected
  • Perpetual animations in React.memo leaf components
  • Only GPU properties animated
  • Heavy libraries lazy-loaded

General:

  • Dependencies verified in package.json
  • No placeholder URLs — grep the output for unsplash, picsum, placeholder, placehold, via.placeholder, lorem.space, dummyimage. If ANY found, STOP and replace with generated assets before delivering.
  • All media assets exist as local files in the project's assets directory
  • Asset prompts confirmed with user before generation

*React and Next.js are trademarks of Meta Platforms, Inc. and Vercel, Inc., respectively. Vue.js is a trademark of Evan You. Tailwind CSS is a trademark of Tailwind Labs Inc. Svelte and SvelteKit are trademarks of their respective owners. GSAP/GreenSock is a trademark of GreenSock Inc. Three.js, Framer Motion, Lottie, Astro, and all other product names are trademarks of their respective owners.*

平台分布

Local Agent

72.61%
按下载量换算68

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills