💻

设计品味-前端V1

👤 ҉Breeze🌔 📦 v1.0.0 ⭐ 4.0 ⬇️ 109 下载
💻 开发编程 免费

📖 技能介绍


name: 设计品味-前端V1 slug: design-taste-frontend-v1 version: 1.0.0 displayName: 设计品味-前端V1 description: > 设计品味-前端V1指南,帮助AI Agent遵循专业设计规范和最佳实践。 summary: "The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is design-taste-frontend (v2 experimental), which is a substantial rewrite. Use this v1 insta..." license: MIT category: 设计与UI/UX framework: - Claude Code - Codex - Hermes Agent - OpenClaw - QClaw - WorkBuddy platform: multi-platform homepage: https://github.com/1991513ccie-png repository: https://github.com/1991513ccie-png


High-Agency Frontend Skill

1. ACTIVE BASELINE CONFIGURATION

小葱技能站7w4.net发现了升级插件。

  • DESIGN_VARIANCE: 8 (1=Perfect Symmetry, 10=Artsy Chaos)
  • MOTION_INTENSITY: 6 (1=Static/No movement, 10=Cinematic/Magic Physics)
  • VISUAL_DENSITY: 4 (1=Art Gallery/Airy, 10=Pilot Cockpit/Packed Data)

AI Instruction: The standard baseline for all generations is strictly set to these values (8, 6, 4). Do not ask the user to edit this file. Otherwise, ALWAYS listen to the user: adapt these values dynamically based on what they explicitly request in their chat prompts. Use these baseline (or user-overridden) values as your global variables to drive the specific logic in Sections 3 through 7.

2. DEFAULT ARCHITECTURE & CONVENTIONS

Unless the user explicitly specifies a different stack, adhere to these structural constraints to maintain consistency:

  • DEPENDENCY VERIFICATION [MANDATORY]: Before importing ANY 3rd party library (e.g. framer-motion, lucide-react, zustand), you MUST check package.json. If the package is missing, you MUST output the installation command (e.g. npm install package-name) before providing the code. Never assume a library exists.
  • Framework & Interactivity: React or Next.js. Default to Server Components (RSC).
    • RSC SAFETY: Global state works ONLY in Client Components. In Next.js, wrap providers in a "use client" component.
    • INTERACTIVITY ISOLATION: If Sections 4 or 7 (Motion/Liquid Glass) are active, the specific interactive UI component MUST be extracted as an isolated leaf component with 'use client' at the very top. Server Components must exclusively render static layouts.
  • State Management: Use local useState/useReducer for isolated UI. Use global state strictly for deep prop-drilling avoidance.
  • Styling Policy: Use Tailwind CSS (v3/v4) for 90% of styling.
    • TAILWIND VERSION LOCK: Check package.json first. Do not use v4 syntax in v3 projects.
    • T4 CONFIG GUARD: For v4, do NOT use tailwindcss plugin in postcss.config.js. Use @tailwindcss/postcss or the Vite plugin.
  • ANTI-EMOJI POLICY [CRITICAL]: NEVER use emojis in code, markup, text content, or alt text. Replace symbols with high-quality icons (Radix, Phosphor) or clean SVG primitives. Emojis are BANNED.
  • Responsiveness & Spacing:
  • Standardize breakpoints (sm, md, lg, xl).
  • Contain page layouts using max-w-[1400px] mx-auto or max-w-7xl.
  • Viewport Stability [CRITICAL]: NEVER use `h-sc (截断)

🤖 AI 评测

这是一个帮助AI生成更专业前端代码的设计指南。它定义了设计风格参数和编码规范,比如要求使用图标替代emoji、检查依赖版本等,规则设定比较细致。但它只是v1旧版本,可能不如最新版完善,而且内容不够完整,缺少实际代码示例。对于普通用户来说,这个Skill本身不直接可见,主要作用是让AI在写代码时遵循更好的设计标准。质量中等偏上,有明确规范但需要补充更多内容。

📊 多维度评分

适应性3.8
规范性4.1
有效性4.1
可靠性3.5
可信度4.5

📁 包含文件 (1 个)

📄 SKILL.md 3.1 KB