ui-design-taste
High-Agency Frontend Skill
1. ACTIVE BASELINE CONFIGURATION
- 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 checkpackage.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.
- RSC SAFETY: Global state works ONLY in Client Components. In Next.js, wrap providers in a
- State Management: Use local
useState/useReducerfor 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.jsonfirst. Do not use v4 syntax in v3 projects.
- TAILWIND VERSION LOCK: Check
More from snailuu/skill
git-exclude
将文件/文件夹添加到本地 git 忽略区(.git/info/exclude),不修改 .gitignore 文件。当用户说"忽略文件"、"本地忽略"、"git exclude"、"不提交"、"排除文件"、"添加到忽略"时触发。不适用于:修改 .gitignore、git rm 等通用 git 操作。
9code-review-expert
Expert code review with a senior engineer lens. 当用户说\"代码审查\"、\"review 代码\"、\"code review\"、\"审查变更\"、\"检查代码质量\"时触发。不适用于:编写新代码、修复 bug、重构等开发操作。
8git-commit-gen
根据 git status 和 git diff 自动生成符合规范的中文 commit message,支持 Conventional Commits 格式,包含模块名称。当用户说"生成 commit"、"生成提交信息"、"commit message"、"帮我写 commit"、"提交信息"、"git commit"时触发。不适用于:查看 git log、切换分支、合并冲突等通用 git 操作。
6skill-writer
Claude Code skill 设计和编写助手。仅通过 /skill-writer 命令手动触发,不自动激活。负责分析需求合理性、边界情况、降级兼容处理,最终生成规范的 SKILL.md 文件。
6create-readme
Create a README.md file for the project
3diagram-gen
根据用户描述生成各种类型的图表(时序图、流程图、类图、状态图等),使用 Mermaid 语法,支持保存为文件
2