frontend-prime by esramulkpinar/prime-frontend-skills
npx skills add https://github.com/esramulkpinar/prime-frontend-skills --skill frontend-prime每一次输出都必须感觉是精心设计的——绝不通用,绝无"AI垃圾感"。
在编写任何代码之前,先确定:
美学方向(选择一种,并与产品受众匹配):极致简约 · 极致编辑风 · 复古未来主义 · 有机/自然 · 奢华/精致 · 趣味性 · 粗野主义 · 装饰艺术 · 暗黑/情绪化 · 低保真/杂志风 · 手工感 · 瑞士/国际主义 · 新拟玻璃态 · 工业风 · 柔和/粉彩
一个令人难忘的元素:一个滚动动画、一个大胆的排版瞬间、一个微交互——一些能让人记住的东西。
然后全力以赴。 半心半意的设计 = 平庸的输出。
以下元素会立刻让输出显得像是AI生成的。绝不要:
rounded-xltext-gray-600相反,请始终:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
letter-spacing,标题使用 text-wrap: balancemax-width: 65ch, line-height: 1.5–1.7使用具有语义化名称的CSS自定义属性来定义颜色。绝不要在组件中硬编码十六进制值。
[data-theme="light"] {
--bg-primary: #fafafa; --bg-secondary: #ffffff;
--text-primary: #18181b; --text-secondary: #52525b;
--accent: #2563eb; --border: #e4e4e7;
}
[data-theme="dark"] {
--bg-primary: #09090b; --bg-secondary: #18181b;
--text-primary: #fafafa; --text-secondary: #a1a1aa;
--accent: #3b82f6; --border: #27272a;
}
深色模式规则:层级越高表面越亮,将强调色饱和度降低约15%,使用边框而非阴影来体现层级,提供浅色/深色/系统切换,在localStorage中持久化并在绘制前应用。
每个页面都需要:
<title>页面标题 — 品牌</title>
<meta name="description" content="150-160个字符">
<link rel="canonical" href="https://example.com/page">
<meta property="og:title/description/image/url" ...>
<meta name="twitter:card" content="summary_large_image">
此外还需要:JSON-LD结构化数据、sitemap.ts + robots.ts、每个页面一个h1、不跳过标题层级、描述性的alt文本、干净的小写连字符URL、用于i18n的hreflang。
在Next.js中:使用带有metadataBase、openGraph、twitter、alternates.canonical的metadata导出。
0.2s ease的微交互,始终尊重prefers-reduced-motionclamp()实现流畅的字体/间距,使用dvh而非vh,44×44px的触摸目标<button> / 链接用<a>,图标按钮使用aria-label,4.5:1的对比度,完整的键盘导航font-display: swap,延迟加载带尺寸的图片,content-visibility: auto,LCP<2.5sinput type + autocompletedangerouslySetInnerHTML,验证href中的URL,认证使用httpOnly cookie,服务器端验证每周安装量
83
代码仓库
GitHub星标
30
首次出现
2026年2月9日
安全审计
安装于
gemini-cli57
codex57
claude-code53
github-copilot52
opencode51
amp49
Every output must feel intentionally crafted — never generic, never "AI slop."
Before writing ANY code, decide:
Aesthetic direction (pick ONE, match it to the product's audience): Brutally minimal · Maximalist editorial · Retro-futuristic · Organic/natural · Luxury/refined · Playful · Brutalist · Art deco · Dark/moody · Lo-fi/zine · Handcrafted · Swiss/international · Neo-glassmorphic · Industrial · Soft/pastel
One unforgettable element : a scroll animation, a bold typographic moment, a micro-interaction — something memorable.
Then commit fully. Half-hearted design = generic output.
These instantly mark output as AI-generated. Never:
rounded-xltext-gray-600 on everythingInstead, always:
letter-spacing on large headings, text-wrap: balance on headlinesmax-width: 65ch, line-height: 1.5–1.7Define colors as CSS custom properties with semantic names. Never hardcode hex in components.
[data-theme="light"] {
--bg-primary: #fafafa; --bg-secondary: #ffffff;
--text-primary: #18181b; --text-secondary: #52525b;
--accent: #2563eb; --border: #e4e4e7;
}
[data-theme="dark"] {
--bg-primary: #09090b; --bg-secondary: #18181b;
--text-primary: #fafafa; --text-secondary: #a1a1aa;
--accent: #3b82f6; --border: #27272a;
}
Dark mode rules: higher elevation = lighter surface, desaturate accents ~15%, use borders not shadows for hierarchy, offer Light/Dark/System toggle, persist in localStorage and apply before paint.
Every page needs:
<title>Page Title — Brand</title>
<meta name="description" content="150-160 chars">
<link rel="canonical" href="https://example.com/page">
<meta property="og:title/description/image/url" ...>
<meta name="twitter:card" content="summary_large_image">
Also: JSON-LD structured data, sitemap.ts + robots.ts, one h1 per page, no skipped heading levels, descriptive alt text, clean lowercase hyphenated URLs, hreflang for i18n.
In Next.js: use metadata export with metadataBase, openGraph, twitter, alternates.canonical.
0.2s ease micro-interactions, always respect prefers-reduced-motionclamp() for fluid type/spacing, dvh not vh, 44×44px touch targets<button> for actions / <a> for links, aria-label on icon buttons, 4.5:1 contrast, full keyboard navfont-display: swap, lazy load images with dimensions, , LCP<2.5sWeekly Installs
83
Repository
GitHub Stars
30
First Seen
Feb 9, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli57
codex57
claude-code53
github-copilot52
opencode51
amp49
程序化SEO实战指南:大规模创建优质页面,避免内容单薄惩罚
39,700 周安装
content-visibility: autoinput type + autocompletedangerouslySetInnerHTML, validate URLs in href, httpOnly cookies for auth, server-side validation