Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

flutter-frontend-designFlutter frontend 设计

Agent Skill

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

总安装

1,560

周安装

65

GitHub Stars

公开资料未说明

下载量

520
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:flutter-frontend-design(Flutter frontend 设计)
来源仓库:https://github.com/syeduzaif/flutter-frontend-design
仓库路径:skills/flutter-frontend-design
安装命令:
npx skills add https://github.com/syeduzaif/flutter-frontend-design --skill flutter-frontend-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syeduzaif/flutter-frontend-design --skill flutter-frontend-design

简介

flutter-frontend-design 用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合让 Agent 生成或审查相关代码,整理组件结构或定位布局问题。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。
  • 涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Flutter Frontend Design Skill

This skill guides creation of distinctive, production-grade Flutter interfaces that avoid generic "AI slop" aesthetics. Implement real working Flutter/Dart code with exceptional attention to aesthetic details and creative choices.

The user provides Flutter UI requirements: a screen, widget, component, or full app to build. They may include context about the purpose, audience, platform targets, or technical constraints.

Design Thinking (Before Coding)

Before writing any Dart code, understand the context and commit to a BOLD aesthetic direction:

  • Purpose: What problem does this interface solve? Who uses it? Mobile-first? Tablet? Web?
  • Tone: Pick a strong direction: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, glassmorphism, neumorphism, claymorphism, etc.
  • Platform: Material 3, Cupertino, or custom design system? Adaptive UI?
  • Constraints: State management (Riverpod, Bloc, Provider, GetX), navigation (GoRouter, auto_route), target platforms.
  • Differentiation: What makes this UNFORGETTABLE? What's the one thing someone will remember?

CRITICAL: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.

Flutter Architecture Patterns

Always follow these Flutter-specific patterns:

Widget Structure

lib/
├── main.dart
├── app.dart                    # MaterialApp / CupertinoApp config
├── core/
│   ├── theme/
│   │   ├── app_theme.dart      # ThemeData definitions
│   │   ├── app_colors.dart     # Color constants & extensions
│   │   ├── app_typography.dart # TextStyle definitions
│   │   └── app_spacing.dart    # Spacing constants
│   ├── constants/
│   └── utils/
├── features/
│   └── feature_name/
│       ├── presentation/
│       │   ├── screens/
│       │   ├── widgets/
│       │   └── controllers/
│       ├── domain/
│       └── data/
└── shared/
    └── widgets/                # Reusable custom widgets

State Management

  • Use StatefulWidget for simple local state
  • Recommend Riverpod or Bloc for complex state
  • Always separate UI from business logic
  • Use ValueNotifier / ChangeNotifier for lightweight reactive patterns

Responsive Design

// Always think responsive
LayoutBuilder(
  builder: (context, constraints) {
    if (constraints.maxWidth > 1200) return _desktopLayout();
    if (constraints.maxWidth > 600) return _tabletLayout();
    return _mobileLayout();
  },
)

Flutter Aesthetics Guidelines

Typography

  • NEVER use default Material font (Roboto) without customization
  • Use Google Fonts package (google_fonts) for distinctive typography
  • Pair a bold display font with a refined body font
  • Examples of strong pairings:

- Display: Playfair Display / Body: Source Sans Pro - Display: Space Grotesk / Body: DM Sans - Display: Cormorant Garamond / Body: Fira Sans - Display: Sora / Body: Inter (when Inter fits the design) - Display: Clash Display / Body: Satoshi

  • Define ALL text styles in AppTypography class using TextTheme extensions

Color & Theme

  • Define colors using ColorScheme.fromSeed() or custom ColorScheme
  • Use ThemeExtension<T> for custom color properties beyond Material
  • Support BOTH light and dark themes from the start
  • CSS variables equivalent → Dart constants + Theme.of(context).extension<T>()
  • Dominant colors with sharp accents outperform timid, evenly-distributed palettes
// Example: Strong color system
class AppColors {
  // Primary palette
  static const primary = Color(0xFF1A1A2E);
  static const accent = Color(0xFFE94560);
  static const surface = Color(0xFF16213E);
  static const background = Color(0xFF0F3460);

  // Semantic colors
  static const success = Color(0xFF00C897);
  static const warning = Color(0xFFFFB800);
  static const error = Color(0xFFFF4757);

  // Gradients
  static const heroGradient = LinearGradient(
    colors: [Color(0xFF667eea), Color(0xFF764ba2)],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );
}

Motion & Animation

Flutter excels at animation. Use it:

  • Implicit animations: AnimatedContainer, AnimatedOpacity, AnimatedScale, AnimatedSlide, AnimatedSwitcher
  • Hero animations: For screen transitions with shared elements
  • Staggered animations: Use Interval with AnimationController for orchestrated reveals
  • Micro-interactions: GestureDetector + AnimatedScale for tap feedback
  • Page transitions: Custom PageRouteBuilder with SlideTransition, FadeTransition, ScaleTransition
  • Lottie: For complex illustrations and loading states (lottie package)
  • Rive: For interactive vector animations (rive package)
// Staggered list animation example
class StaggeredListItem extends StatelessWidget {
  final int index;
  final Animation<double> animation;

  Widget build(BuildContext context) {
    return SlideTransition(
      position: Tween<Offset>(
        begin: const Offset(0, 0.3),
        end: Offset.zero,
      ).animate(CurvedAnimation(
        parent: animation,
        curve: Interval(
          index * 0.1,
          (index * 0.1) + 0.4,
          curve: Curves.easeOutCubic,
        ),
      )),
      child: FadeTransition(
        opacity: animation,
        child: child,
      ),
    );
  }
}

Spatial Composition

  • Use SliverAppBar with FlexibleSpaceBar for immersive scroll effects
  • CustomScrollView with mixed Sliver widgets for complex layouts
  • Stack + Positioned for overlapping elements
  • Transform for rotation, skew, perspective effects
  • ClipPath / CustomClipper for non-rectangular shapes
  • CustomPaint / CustomPainter for unique backgrounds and decorative elements

Backgrounds & Visual Details

  • ShaderMask for gradient text and masked effects
  • BackdropFilter with ImageFilter.blur for glassmorphism
  • CustomPainter for geometric patterns, noise textures, decorative elements
  • DecoratedBox with complex BoxDecoration (gradients, shadows, borders)
  • Container with BoxShadow lists for layered depth effects
  • Use dart:ui canvas operations for grain overlays and mesh gradients
// Glassmorphism card
ClipRRect(
  borderRadius: BorderRadius.circular(20),
  child: BackdropFilter(
    filter: ImageFilter.blur(sigmaX: 15, sigmaY: 15),
    child: Container(
      decoration: BoxDecoration(
        color: Colors.white.withOpacity(0.1),
        borderRadius: BorderRadius.circular(20),
        border: Border.all(color: Colors.white.withOpacity(0.2)),
      ),
      child: content,
    ),
  ),
)

What to NEVER Do

  • NEVER use default Material theme without customization
  • NEVER use only Scaffold + ListView + Card with zero styling
  • NEVER rely solely on Material default colors (purple/teal)
  • NEVER ignore dark mode support
  • NEVER skip animations entirely — Flutter's animation system is its superpower
  • NEVER hardcode sizes — use MediaQuery, LayoutBuilder, Flexible, Expanded
  • NEVER use generic placeholder patterns that look like every other Flutter tutorial
  • NEVER ignore platform conventions (iOS users expect Cupertino patterns)

Package Recommendations

PurposePackageUsage
Fontsgoogle_fontsTypography
Iconsflutter_svg, hugeicons, phosphor_flutterCustom icon sets
Animationflutter_animate, lottie, riveComplex animations
Chartsfl_chart, syncfusion_flutter_chartsData visualization
Effectsshimmer, flutter_blurhashLoading & image effects
Layoutflutter_staggered_grid_viewMasonry/staggered grids
Navigationgo_router, auto_routeDeclarative routing
Stateflutter_riverpod, flutter_blocState management
Imagescached_network_image, extended_imageImage loading & caching

Delivery Format

When building Flutter UI:

  1. Single widget/screen: Provide complete .dart file with imports
  2. Multi-screen feature: Provide folder structure + all files
  3. Full app: Provide pubspec.yaml + complete lib/ structure
  4. Always include pubspec.yaml dependencies when using external packages
  5. Code must compile and run — no pseudo-code or incomplete snippets
  6. Include comments explaining non-obvious design decisions

Quality Checklist

Before delivering Flutter UI code, verify:

  • Custom ThemeData with unique colors and typography
  • Responsive layout (mobile + tablet minimum)
  • At least 2-3 meaningful animations or transitions
  • Dark mode support or explicit dark/light theme
  • Proper widget extraction (no mega-build methods)
  • Performance considerations (const constructors, RepaintBoundary where needed)
  • Accessibility (Semantics widgets, sufficient contrast ratios)
  • Platform-adaptive elements where appropriate

Remember: Flutter gives you a pixel-perfect canvas with 120fps animations. Don't hold back — show what can truly be created when committing fully to a distinctive vision.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.33%
按下载量换算194

Claude

30.63%
按下载量换算159

Cursor

19.78%
按下载量换算103

Gemini CLI

9.33%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills