跳到正文
cccskills
免费在 GitHub 公开

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Covers design thinking, typography pairing, color theory, motion design, spatial composition, and code quality. Generates real working code — HTML/CSS/JS or React — with intentional aesthetic direction, not generic AI output.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(4)

  • SKILL.md7.3 KB
  • EXAMPLES.md3.0 KB
  • LICENSE1.0 KB
  • REFERENCE.md7.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Frontend Design

Create distinctive, production-grade web interfaces that avoid generic AI aesthetics.

Install

git clone https://github.com/thatrebeccarae/claude-marketing.git && cp -r claude-marketing/skills/frontend-design ~/.claude/skills/

Design Thinking Process

1. Understand Context

Before writing code, answer:

  • Purpose: What problem does this interface solve? Who uses it?
  • Audience: Technical sophistication, expectations, emotional state when arriving
  • Constraints: Framework requirements, browser support, performance budget, accessibility needs

2. Commit to an Aesthetic Direction

Choose a specific point of view — not "clean and modern" but a real aesthetic:

DirectionCharacteristics
Brutally minimalMonochrome, system fonts, stark spacing, no decoration
MaximalistDense, layered, multiple type scales, rich texture
Retro-futuristicNeon accents, dark backgrounds, grid lines, monospace
Organic/naturalSoft shapes, earth tones, hand-drawn elements, warm
Luxury/refinedThin serifs, generous whitespace, muted palette, restrained
Playful/toy-likeRounded shapes, bright primaries, bouncy animations
Editorial/magazineStrong grid, dramatic type hierarchy, pull quotes
Brutalist/rawExposed structure, monospace, raw HTML feeling
Art deco/geometricSymmetry, metallic accents, decorative borders, angular
Soft/pastelLight palette, gentle gradients, rounded, approachable
Industrial/utilitarianExposed grid, status indicators, dense information

3. Identify the Memorable Thing

Every interface should have one element someone remembers:

  • An unexpected interaction
  • A distinctive type treatment
  • A bold color choice
  • An animation that surprises
  • A layout that breaks convention

4. Execute with Intentionality

The key is commitment, not intensity. Maximalism executed fully works. Minimalism executed with precision works. The mushy middle does not.

Typography

Principles

  • Choose distinctive fonts, NOT defaults (avoid Arial, Inter, Roboto for display use)
  • Pair a display font (personality) with a body font (readability)
  • Size hierarchy: display (48-96px), heading (24-36px), body (16-18px), small (12-14px)
  • Tight letter-spacing on large display text (-0.02 to -0.04em)
  • Normal or slightly loose spacing on body text

Free Font Sources

SourceBest For
Google FontsWidest selection, easy CDN
FontshareHigh-quality display fonts
FontsourceSelf-hosted, npm installable
Atipo FoundryDistinctive display faces

Pairing Strategy

DisplayBodyVibe
Serif (dramatic)Sans-serif (clean)Editorial, luxury
Geometric sansHumanist sansModern, friendly
MonospaceSystem sansTechnical, brutalist
Slab serifNeutral sansBold, structured
Handwritten/displayGeometric sansPlayful, creative

Color & Theme

Building a Palette

  1. Start with one dominant color (the mood-setter)
  2. Add 1-2 accent colors (for interaction, emphasis)
  3. Define neutral scale (backgrounds, borders, text)
  4. Add semantic colors (success, warning, error)
  5. Store everything in CSS custom properties
:root {
  --color-primary: #...;
  --color-accent: #...;
  --color-bg: #...;
  --color-surface: #...;
  --color-text: #...;
  --color-text-secondary: #...;
  --color-border: #...;
}

Rules

  • Dominant + accent, not evenly distributed
  • WCAG AA contrast minimum (4.5:1 for text, 3:1 for large text)
  • Dark vs. light: commit fully. Do not hedge.
  • Test with real content, not lorem ipsum

Motion & Animation

CSS Transitions (Micro-interactions)

.button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

CSS @keyframes (Ambient)

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floating-element { animation: float 3s ease-in-out infinite; }

Scroll-Triggered (IntersectionObserver)

const observer = new IntersectionObserver((entries) => {
  entries.forEach(entry => {
    if (entry.isIntersecting) {
      entry.target.classList.add('visible');
    }
  });
}, { threshold: 0.1 });

document.querySelectorAll('.animate-on-scroll').forEach(el => observer.observe(el));

Staggered Reveals

.stagger-item { opacity: 0; transform: translateY(20px); transition: all 0.5s ease; }
.stagger-item.visible { opacity: 1; transform: translateY(0); }
.stagger-item:nth-child(1) { transition-delay: 0s; }
.stagger-item:nth-child(2) { transition-delay: 0.1s; }
.stagger-item:nth-child(3) { transition-delay: 0.2s; }

Performance

  • Animate only transform and opacity (GPU-composited)
  • Avoid animating width, height, margin, padding (trigger layout)
  • Use will-change sparingly and only on elements that will animate
  • Prefer CSS over JS for simple animations
  • Use prefers-reduced-motion media query for accessibility

Spatial Composition

  • Break out of the centered-content-column default
  • Use asymmetry and grid-breaking elements intentionally
  • Overlap elements with z-index for depth
  • Generous negative space OR controlled density — commit to one
  • CSS Grid for complex layouts, Flexbox for component alignment

Code Quality

  • Semantic HTML (nav, main, article, section, aside, footer)
  • Accessible: ARIA labels, keyboard navigation, focus management
  • Responsive: mobile-first or fluid, tested at 320-1440px
  • Performance: lazy loading images, efficient selectors, minimal JS
  • No external dependencies unless essential (CDN fonts are fine)

Anti-Patterns

  • Generic AI aesthetics (purple gradients everywhere, glassmorphism on everything)
  • Cookie-cutter component libraries used without customization
  • Predictable layouts (hero → 3-column → testimonials → CTA)
  • "Clean and modern" as the entire design direction
  • Overused fonts (Inter, Poppins for display)
  • Decorative elements without purpose
  • Rounded everything (a specific choice is fine, but default rounding is lazy)
  • Dark mode with neon accents (overdone)

For typography pairings, color construction, animation library, and accessibility checklist, see REFERENCE.md.

Brand Context (Optional)

If brand-profile.json exists in the working directory, read it before designing. Use colors (primary, secondary, background, text) for the design system, typography (heading and body fonts) for type selections, aesthetic (mood keywords, texture, negative space) for layout decisions, and imagery (style, composition) for hero sections and visual elements. This profile is produced by the brand-dna skill.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

A/B and multivariate testing methodology. Design experiments, calculate sample sizes, determine statistical significance, avoid common pitfalls, and interpret results. Platform-agnostic framework applicable to landing pages, emails, ads, pricing, and product features. Use when the user asks about A/B testing, split testing, experiment design, statistical significance, or conversion experiments.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

Google and Meta paid media account structure evaluation. Audits campaign/ad set architecture against conversion volume minimums, budget thresholds, and targeting overlap. Identifies over-segmentation, under-segmentation, budget fragmentation, and structural anti-patterns blocking algorithmic learning. Provides consolidation roadmaps with migration plans. Use when inheriting accounts, quarterly health checks, or before scaling budgets.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

Answer Engine Optimization (AEO) and Generative Engine Optimization (GEO) specialist. Optimize content and websites to appear in AI-generated answers from ChatGPT, Perplexity, Claude, Google AI Overviews, and other LLM-powered search experiences. Use when the user asks about AI search optimization, AEO, GEO, AI Overviews, appearing in AI answers, LLM citations, or optimizing for generative search.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

brand-dna

免费

Extract brand identity from a website URL — voice, colors, typography, imagery, values, and target audience — into a structured brand-profile.json. The profile feeds downstream skills (seo-content-writer, email-composer, frontend-design, pro-deck-builder, cross-platform-audit) for brand-consistent output. Use when the user says brand DNA, brand profile, extract brand, analyze brand, brand voice, brand identity, brand colors, or brand style guide.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

Develop brand voice, tone matrices, messaging frameworks, and brand book documentation. Use when the user asks about brand voice, tone of voice, brand guidelines, messaging framework, or brand consistency.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

braze

免费

Braze customer engagement platform expertise. Audit campaigns, Canvases, segments, messaging channels, and data architecture. Use when the user asks about Braze, customer engagement, push notifications, in-app messaging, cross-channel orchestration, or lifecycle marketing at scale.

中文简介正在准备中。当前显示原文说明。

thatrebeccarae/claude-marketing1762026年5月15日 更新

查看 thatrebeccarae 的全部技能

报告此技能的问题