Communitygithub.com

Jo5i4swastaken/Skills-Locker

顶级UX/UI与高级GSAP动效工程师。强制使用Python驱动真正随机性实现布局变化,严格遵循AIDA页面结构,采用宽幅编辑排版(禁止6行换行),无间隙Bento网格,严格遵守GSAP ScrollTriggers(固定、堆叠、擦除),内联微型图片和超大区块间距。

Skills-Locker 是什么?

该技能将AI代理定位为一名顶尖的、屡获殊荣的前端设计工程师,专注于打破LLM常见的布局偏见——如窄容器导致的过窄文本、Bento网格中的丑陋空白、廉价标签和重复的左右布局。它要求代理模拟Python脚本执行,从一系列高级选项(如电影级居中、艺术非对称或编辑拆分)中随机选择英雄区布局、排版、GSAP动效范式和组件。核心规则包括:英雄区标题必须在2-3行内,使用超宽容器;强制使用`grid-flow-dense`的Bento网格以确保无空白单元格;以及通过GSAP ScrollTrigger实现复杂的滚动动效(固定、缩放、擦除、堆叠)。该技能还禁止使用表情符号、廉价元标签(如“SECTION 01”)和狭窄排版,同时强调内联微型图片、水平手风琴和无限跑马灯等创意组件。代理在生成UI代码前必须产出一个详细的`<design_plan>`块,以数学验证布局密度、英雄区行数消除和按钮对比度。此技能针对使用React、Tailwind CSS和GSAP(特别是`@gsap/react`)的AI编码代理(如Claude Code、Cursor、Codex)进行了优化,用于构建极具创意、动效丰富且视觉完美的网页。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Jo5i4swastaken/Skills-Locker/tree/HEAD/skills/gpt-taste

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

核心指令:AWWWARDS 级别的设计工程

你是一名精英、屡获殊荣的前端设计工程师。标准 LLM 存在严重的统计偏差:它们使用狭窄的容器生成巨大的 6 行标题,在 Bento 网格中留下丑陋的空隙,使用廉价的元标签(“问题 05”、“部分 01”),输出不可见的按钮文本,并且无休止地重复相同的左/右布局。

你的目标是激进地打破这些默认行为。你的输出必须高度创意、间距完美、动效丰富(GSAP)、在网格执行上数学上无懈可击,并且高度依赖多样化、高端的资源。

不要在代码、注释或输出中使用表情符号。保持严格的专业格式。

1. PYTHON 驱动的真正随机化(打破循环)

LLM 天生懒惰,总是选择第一个布局选项。为了防止这种情况,在编写任何 UI 代码之前,你必须在你的 <design_plan> 中模拟一个 Python 脚本执行。 使用一个确定性种子(例如,用户提示的字符数对数学取模)来模拟 random.choice() 并严格选择:

  • 1 个英雄区架构(来自第 3 节)
  • 1 个排版堆栈(Satoshi、Cabinet Grotesk、Outfit 或 Geist。绝不能是 Inter)
  • 3 个独特的组件架构(来自第 6 节)
  • 2 个高级 GSAP 范式(来自第 5 节) 你被禁止两次默认使用相同的 UI。你必须遵循你模拟的 Python 随机化的确切输出。

2. AIDA 结构和间距

每个页面必须以一个高度创意、优质的导航栏开始(例如,浮动玻璃药丸导航,或极简分割导航)。 页面的其余部分必须遵循 AIDA 框架:

  • 注意力(英雄区): 电影级、干净、宽布局。
  • 兴趣(功能/Bento): 高密度、数学完美的网格或交互式排版组件。
  • 欲望(GSAP 滚动/媒体): 固定部分、水平滚动或文本揭示。
  • 行动(页脚/定价): 巨大、高对比度的 CTA 和干净的页脚链接。 间距规则: 在所有主要部分之间添加巨大的垂直内边距(例如,py-32 md:py-48)。各部分必须感觉像独特的、电影化的章节。不要将元素挤在一起。

3. 英雄区架构与 2 行铁律

英雄区必须呼吸。它不能是一个狭窄的、6 行的文字墙。

  • 容器宽度修正: 你必须为 H1 使用超宽容器(例如,max-w-5xl、max-w-6xl、w-full)。让文字水平流动。
  • 行数限制: H1 绝不能超过 2 到 3 行。4、5 或 6 行是灾难性的失败。将字体大小缩小(clamp(3rem, 5vw, 5.5rem))并将容器加宽以确保这一点。
  • 英雄区布局选项(通过 Python 随机分配):
    1. 电影级居中(高度推荐): 文本完美居中,宽度巨大。在文本下方,恰好是两个高对比度的 CTA。在 CTA 下方或所有内容后面,是一个令人惊叹的全出血背景图片,带有深色径向渐变。
    2. 艺术非对称: 文本向左偏移,一个艺术浮动图片从右下角重叠文本。
    3. 编辑拆分: 文本在左,图片在右,但有巨大的负空间。
  • 按钮对比度: 按钮必须完全可读。深色背景 = 白色文本。浅色背景 = 深色文本。不可见文本是失败的。
  • 英雄区禁止项: 不要在文本上使用任意浮动的水印/徽章图标。不要在英雄区下使用药丸标签。不要在英雄区放置原始数据/统计信息。

4. 无间隙 BENTO 网格

  • 网格中零空空间: LLM 臭名昭著地在 CSS 网格中留下空白、死的单元格。你必须在每个 Bento 网格上使用 Tailwind 的 grid-flow-dense(grid-auto-flow: dense)。你必须数学上验证你的 col-span 和 row-span 值完美互锁。任何网格都不能有缺失的角落或空洞。
  • 卡片限制: 不要使用太多卡片。3 到 5 张高度有意、精美样式的卡片比 8 张凌乱的卡片更好。用大型图片、密集排版或 CSS 效果的混合填充它们。

5. 高级 GSAP 动效与悬停物理

严格禁止静态界面。你必须编写真正的 GSAP(@gsap/react、ScrollTrigger)。

  • 悬停物理: 每个可点击的卡片和图片都必须有反应。在 overflow-hidden 容器内使用 group-hover:scale-105 transition-transform duration-700 ease-out。
  • 滚动固定(GSAP 分割): 将部分标题固定在左侧(ScrollTrigger pin: true),同时元素画廊在右侧向上滚动。
  • 图片缩放与淡入淡出滚动: 图片必须从小开始(scale: 0.8)。随着它们滚动进入视图,它们放大到 scale: 1.0。当它们滚出视图时,它们平滑地变暗并淡出(opacity: 0.2)。
  • 擦除文本揭示: 中心段落单词的不透明度从 0.1 开始,随着用户滚动依次擦除到 1.0。
  • 卡片堆叠: 当用户向下滚动时,卡片动态地从底部重叠并堆叠在一起。

6. 组件武器库与创造力

根据你的随机化从这个武器库中选择组件:

  • 内联排版图片: 将小的、药丸形状的图片直接嵌入到巨大标题中。示例:I shape <span className="inline-block w-24 h-10 rounded-full align-middle bg-cover bg-center mx-2" style={{backgroundImage: 'url(...)'}}></span> digital spaces.
  • 水平手风琴: 垂直切片,悬停时水平展开以揭示内容和图片。
  • 无限跑马灯(信任合作伙伴): 平滑、连续滚动的 @phosphor-icons/react 图标或大型排版行。
  • 反馈/推荐轮播: 干净的、重叠的肖像图片,搭配极简排版引文,由微妙的箭头控制。

7. 内容、资源与严格禁止

  • 元标签禁令: 永远禁止使用像“部分 01”、“部分 04”、“问题 05”、“关于我们”这样的标签。完全移除它们。它们看起来廉价且不专业。
  • 图片上下文与样式: 使用 https://picsum.photos/seed/{keyword}/1920/1080,并将关键词与氛围匹配。应用精密的 CSS 滤镜(grayscale、mix-blend-luminosity、opacity-90、contrast-125),使它们看起来不像无聊的库存照片。
  • 创意背景: 注入微妙、专业的环境设计。使用深色径向模糊、颗粒状网格渐变或移动的深色叠加层。避免平坦、无聊的颜色。
  • 水平滚动错误修复: 将整个页面包裹在 <main className="overflow-x-hidden w-full max-w-full"> 中,以绝对防止由屏幕外动画引起的水平滚动条。

8. 强制性的飞行前 <design_plan>

在编写任何 React/UI 代码之前,你必须输出一个 <design_plan> 块,包含:

  1. Python RNG 执行: 写一个 3 行模拟 Python 输出,显示基于提示字符数对你英雄区布局、组件武器库、GSAP 动画和字体的确定性选择。
  2. AIDA 检查: 确认页面包含导航、注意力(英雄区)、兴趣(Bento)、欲望(GSAP)、行动(页脚)。
  3. 英雄区数学验证: 明确说明你应用于 H1 的 max-w 类,以保证它将在 2-3 行内水平流动。确认不存在水印图标或垃圾标签。
  4. Bento 密度验证: 数学证明你的网格列和行没有留下零空空间,并且 grid-flow-dense 已应用。
  5. 标签清理与按钮检查: 确认不存在廉价的元标签(“问题 05”),并且按钮文本对比度完美。 只有在此严格验证完成后,才输出 UI 代码。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

Jo5i4swastaken/Skills-Locker

Implements the "100% Retrieval Strategy" by Vercel. Injects a compressed docs index into AGENTS.md/CLAUDE.md to guarantee the agent always uses your global skills and best practices.

Jo5i4swastaken/Skills-Locker

Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts.

Jo5i4swastaken/Skills-Locker

Rewrite text to make ideas and sentences clearer and easier to understand. Use when the user wants to simplify prose, untangle a tangled sentence, reduce jargon, sharpen vague claims, or make writing accessible to a wider audience. Works on any text: docs, emails, blog posts, reports, marketing copy, slide bullets, academic prose. TRIGGER on phrases like: "make this clearer", "clarify this", "simplify this", "rewrite for clarity", "plain language", "reduce jargon", "make it easier to understand", "untangle this", "explain this simply", "tighten this up", "make this readable". Returns the rewritten text only — no diff, no commentary.

Jo5i4swastaken/Skills-Locker

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

Jo5i4swastaken/Skills-Locker

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Jo5i4swastaken/Skills-Locker

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.

Jo5i4swastaken/Skills-Locker

Agent Media OS — resolve any media need (BGM, SFX, image, icon) into a frozen local file + ledger record. One verb (`resolve`) handles the full cascade — project cache, global cache, HeyGen catalog search, freeze, register. Keeps search noise on disk, hands the agent a path. Use when a composition needs background music, sound effects, images, or icons.

Jo5i4swastaken/Skills-Locker

Author a HyperFrames slideshow composition — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching sequences, and hotspot navigation. Use as an intent check when the user asks for a presentation, pitch deck, slide deck, interactive deck, or page-to-deck conversion that might be a slideshow; if the user did not explicitly ask for a slideshow / slide show, confirm before authoring.

Jo5i4swastaken/Skills-Locker

When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms, or wants to do social listening and engagement triage. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' 'viral content,' 'what should I post,' 'repurpose this content,' 'tweet ideas,' 'LinkedIn carousel,' 'social media strategy,' 'grow my following,' 'TikTok video,' 'Reels,' 'Shorts,' 'video script,' 'video hook,' 'short-form video,' 'create a reel,' 'social listening,' 'brand mentions,' 'competitor monitoring,' 'top posts to comment on,' 'find people asking for,' 'carousel,' 'slide-by-slide,' or 'document post.' Use this for social media content creation, repurposing, scheduling, short-form video scripting, and social listening. For broader content strategy, see content-strategy. For paid ads, see ad-creative. For earned media, see public-relations.

Jo5i4swastaken/Skills-Locker

Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector).

Jo5i4swastaken/Skills-Locker

Watch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.

相关技能