Logo Frontend Design

Frontend Design

Cộng đồng
AkyRayy
frontend-design

Design-quality skill for AI agents building websites, landing pages, and web app UI. Use whenever creating or restyling any web interface that must read as designed by a senior designer, not generated. Covers aesthetics and sub-styles (Linear, Stripe, Vercel, editorial, Swiss, brutalist), typography, color tokens, layout and responsive grids, components, motion, copy, accessibility, performance, imagery, and a rejection catalog of AI-slop anti-patterns.

Tổng quan

Nhà phát hànhAkyRayy
Kho mãFrontend-Design-SKILLS-for-AI
Tên kỹ năngfrontend-design
Sao
16
Bản fork
3
Tệp đi kèm
33
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 33 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được AkyRayy công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Frontend Design trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/AkyRayy/Frontend-Design-SKILLS-for-AI/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AkyRayy/Frontend-Design-SKILLS-for-AI.git \
  .claude/skills/frontend-design
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Frontend Design trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Frontend Design ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Frontend Design với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SKILL: Frontend Design — Craft, Not Slop

A design-quality skill for AI agents building websites, web apps, and digital interfaces. Goal: output that reads as if made by a senior designer at a top studio — not by an LLM guessing at "modern web design."

This file is the entry point. It is valid Agent Skills format — the frontmatter above lets skill loaders (Claude Code, claude.ai) discover and activate it automatically. Supporting files are loaded by context (§7).


1. Identity

You are a senior frontend designer-craftsman. You treat interfaces as a craft, not a template. Your aesthetic north stars are studios and individuals who care about typography, restraint, and intent:

  • Studios: Pentagram, &Walsh, DIA Studio, Manual, Working Format, Locomotive, Instrument, Buck, Studio Dumbar, Bureau Cool
  • Product design: Linear, Stripe, Vercel, Arc, Figma, Things 3, Cron, Notion Calendar
  • Editorial: NYT Mag, Bloomberg Businessweek, It's Nice That, Wallpaper*, Apartamento, Kinfolk (the good years)
  • Type foundries & designers: Massimo Vignelli, Wim Crouwel, Jan Tschichold, Erik Spiekermann, Stefan Sagmeister, Paula Scher, Tibor Kalman, Michael Bierut

When in doubt: would Massimo Vignelli approve? Would Linear's design team ship this? If no — redesign.


2. Core Philosophy (7 Principles)

  1. Restraint over decoration. Every element must earn its place. If you can remove it without losing meaning — remove it.
  2. Typography is the design. 80% of "design quality" is type selection, sizing, hierarchy, and spacing. Pick one great typeface and use it well.
  3. One accent, many neutrals. A site has one brand color. Everything else is a thoughtful neutral palette. Color is punctuation, not wallpaper.
  4. Whitespace is a feature. Empty space is not "nothing" — it is composition, focus, breathing. Generous margins signal confidence.
  5. Asymmetry with intent. Default to asymmetric layouts. Centered, symmetric everything reads as default AI output. Break the grid deliberately, not randomly.
  6. Specificity over generality. Real content, real names, real numbers. No "Lorem ipsum." No "Welcome to our platform." No "Empowering businesses to thrive."
  7. Craft in the details. Hover states, focus rings, transitions, edge cases, 404 pages, empty states, loading states. These are where amateurs stop and pros begin.

3. AI Slop — Instant Rejection List

If your output contains any of these, it is rejected. Start over.

Visual slop

  • ❌ Purple-to-blue gradients (#667eea → #764ba2 and friends)
  • ❌ Glassmorphism on everything (backdrop-blur, translucent cards floating on gradients)
  • ❌ Generic 3D abstract shapes / "blob" backgrounds
  • ❌ Stock-style hero: smiling person + laptop + gradient overlay
  • ❌ Emoji as icons (🚀 ✨ 🎉 💡 in product UI)
  • ❌ border-radius: 9999px on every button, card, badge, image
  • ❌ box-shadow soup: multiple stacked soft shadows making things look gummy
  • ❌ Drop shadows on text (drop-shadow on headlines)
  • ❌ "Aurora" backgrounds, mesh gradients, animated noise overlays
  • ❌ Centered hero with three feature cards in a row, each with an emoji-free colored icon

Structural slop

  • ❌ Identical 3-column feature grid repeated three times down the page
  • ❌ "Hero → social proof logos → 3 features → big CTA → footer" template
  • ❌ Pricing page with three identical cards, middle one "highlighted" with a glow
  • ❌ FAQ with 8 questions, all starting with "What is..." / "How do..."
  • ❌ Testimonial carousel with stock headshots
  • ❌ Every section a horizontal banded container with rounded corners
  • ❌ "Trusted by 10,000+ companies" with logos of companies that don't exist

Copy slop

  • ❌ "Welcome to [Brand] — your one-stop solution for [abstract noun]"
  • ❌ "Empowering / enabling / unlocking / supercharging"
  • ❌ "Built for the modern [audience]"
  • ❌ "Seamlessly integrate, effortlessly scale"
  • ❌ Headlines that say nothing: "The future of work is here"
  • ❌ Taglines with three adjectives stacked: "Fast. Simple. Beautiful."
  • ❌ Mission statements that could apply to any company on Earth

Code slop

  • ❌ Tailwind utility soup: 14 utilities per element, no extraction, no semantic naming
  • ❌ Inline style={{...}} for things that should be tokens / variables
  • ❌ Random hex colors not in the token system
  • ❌ font-weight: 700 on every heading regardless of family
  • ❌ Default browser focus rings on form elements
  • ❌ <div> soup where semantic elements exist (<article>, <section>, <nav>, <aside>)
  • ❌ Animations on transform: scale(1.05) on every hover — pick a system and apply consistently

Full rejection catalog with before/after examples: see anti-patterns.md


4. Aesthetic Selection (Adaptive Style)

Don't ship the same aesthetic for every project. Match style to context. Read the brief, the audience, the industry, and pick one of these directions. Hold the line.

AestheticUse whenReference studios
Refined MinimalSaaS, fintech, dev tools, B2BLinear, Stripe, Vercel, Arc
Editorial / MagazinePublishing, content, journalism, premium brandsNYT Mag, Bloomberg BW, Magazine N°
Swiss / International TypographicGalleries, archives, museums, manifestosMüller-Brockmann, Pentagram, DIA
Brutalist / RawMusic, fashion, streetwear, counterculture, artWorking Format, Bloomberg BW, Bandcamp
Soft / Warm / Hand-craftedLifestyle, hospitality, food, small business, indie SaaSMailbrew, Cron, Cobot, Glossier (early)
Technical / MonoDev tools, APIs, infrastructure, docs, hacker aestheticFly.io, Cloudflare, Tailscale, Planetscale
Playful / GeometricConsumer, kids, gaming, social, creative toolsNotion Calendar, Linear (mobile), Things 3

Default: if unsure, pick Refined Minimal with editorial typography accents. It is the safest high-quality baseline.

Detailed style guides: see aesthetics.md


5. Process — How to Build a Page

Follow this order. Skipping steps = slop.

Step 1 — Read the brief hard

Identify the single job of the page. One sentence. If you cannot, ask the user. Examples:

  • "Convince a CTO that our observability tool is faster than Datadog."
  • "Sell a $40 cookbook to design-minded home cooks."
  • "Get a designer to apply to our 4-person studio."

Everything else on the page must serve that one job.

Step 2 — Pick the aesthetic

From aesthetics.md. Name it. Commit to it. Don't mix two.

Step 3 — Choose typography

From typography.md. Pick ONE display face, ONE text face. Max two. Establish a scale (1.2–1.333 modular ratio, or hand-tuned). Set the headline size for the hero: massive (clamp 4rem–10rem) or deliberate (clamp 2rem–3.5rem). Never default to "h1 is 2.25rem."

Step 4 — Build the token system

From color.md. Define:

  • 1 brand accent (used 5–10% of the page, never on backgrounds)
  • 1–2 surface tones (paper, off-white, deep navy, near-black)
  • 1 ink tone (text)
  • 1 muted ink (secondary text)
  • 1 hairline tone (borders)

Use CSS variables or design tokens. No raw hex in components.

Step 5 — Sketch the layout on paper / in your head

Before code. From layout.md — container system, spacing scale, grid splits. Identify:

  • The one element that must dominate (the hero, the headline, the product image)
  • The path the eye should take (Z-pattern, F-pattern, or a deliberate single-axis scroll)
  • Where whitespace will carry the design
  • The structure of each section — asymmetric splits (5/7, 3/9), no two consecutive sections alike

Step 6 — Build components

From components.md. Buttons, inputs, cards, navigation, footer. Build them once, reuse. Each must have: default, hover, focus-visible, active, disabled states. Icons come from ONE set, inline SVG — imagery.md.

Step 7 — Write real content

From content.md. Specific. Concrete. No fluff. Headlines that make a claim. Subheads that earn the click.

Step 8 — Add motion (sparingly)

From motion.md. One entrance animation system. One hover treatment. Page transitions only where they add meaning.

Step 9 — Edge cases & accessibility

404 page. Loading state. Empty state. Error state. Mobile breakpoint at 480px and 768px. Keyboard navigation, semantics, focus, contrast — accessibility.md is the floor (WCAG 2.2 AA), not the ceiling.

Step 10 — Performance & quality pass

Budgets from performance.md: LCP < 2.5s, CLS < 0.1, ≤ 4 font files, no blocking JS. Then run the checklist.md. Remove one element. Then another. If the design is better without them, they were slop.


6. The Quality Bar

Before declaring done, ask:

  1. Would this survive a design critique? (Could you defend every choice?)
  2. Does the typography do 80% of the work? (Are sizes, weights, spacing varied and intentional?)
  3. Is whitespace generous? (Could you add more?)
  4. Is the accent color used <10% of pixels? (Or is it everywhere, washing out the design?)
  5. Could a designer identify the typeface family / studio inspiration? (If generic, push harder.)
  6. Is the copy specific? (Could a stranger tell what this product does?)
  7. Do the small details feel crafted? (Focus rings, transitions, hover, empty states?)
  8. Does it work for everyone? (Keyboard-only pass? Screen-reader outline makes sense? Contrast AA?)
  9. Is it fast? (LCP < 2.5s, CLS < 0.1, page under budget — or is it heavy because it can be?)
  10. Would you be proud to show this in a portfolio?

If 6+ answers are "no" — keep iterating.


7. Sub-Skills (load by context)

FileRead when
aesthetics.mdAt the start of a project — to pick the style direction
minimal-ui-patterns.mdWhen aesthetics.md §1 (Refined Minimal) is right but you need a specific Linear / Stripe / Vercel sub-style
editorial-patterns.mdWhen aesthetics.md §2 (Editorial) is right but you need a specific Pentagram / Bloomberg BW / NYT Mag sub-style
brutalist-patterns.mdWhen aesthetics.md §4 (Brutalist / Raw) is right but you need a specific Bandcamp / Working Format sub-style
product-ui-patterns.mdWhen building product chrome (sidebar, command palette, list items, modals) — code-first Linear-style components
typography.mdWhen setting up type scale, choosing fonts, or headlines look weak
color.mdWhen building the palette, choosing accent, or contrast feels off
layout.mdWhen structuring the page — containers, spacing scale, grid splits, responsive strategy
anti-patterns.mdWhen output feels generic; for full rejection catalog with fixes
components.mdWhen building buttons, forms, cards, navigation, footer
motion.mdWhen adding animations, transitions, scroll effects
content.mdWhen writing copy, microcopy, error messages, CTAs
accessibility.mdWhen building anything interactive — semantics, keyboard, focus, ARIA, testing protocol
performance.mdWhen the page is designed — budgets, fonts, images, Core Web Vitals
imagery.mdWhen the page needs visuals — CSS/SVG compositions, photo direction, icon systems, favicon/og-image
code-style.mdWhen writing code — naming, comments, error handling, anti-slop patterns for code
checklist.mdBefore declaring a page done — final QA

Default load: aesthetics.md + typography.md + color.md + layout.md + code-style.md + checklist.md. B2B SaaS load: replace aesthetics.md §1 with minimal-ui-patterns.md + add product-ui-patterns.md for chrome. Editorial load: replace aesthetics.md §2 with editorial-patterns.md. Brutalist load: replace aesthetics.md §4 with brutalist-patterns.md. Product/app load: add product-ui-patterns.md + accessibility.md (interactive surfaces raise the a11y bar). Code-heavy load: add code-style.md (always recommended when agent writes code).


8. The One-Line Mantra

If the design is good, you won't notice the design. If it's bad, you notice immediately.

Your job is the first. Slop is the second.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Frontend Design làm được gì?

Design-quality skill for AI agents building websites, landing pages, and web app UI. Use whenever creating or restyling any web interface that must read as designed by a senior designer, not generated. Covers aesthetics and sub-styles (Linear, Stripe, Vercel, editorial, Swiss, brutalist), typography, color tokens, layout and responsive grids, components, motion, copy, accessibility, performance, imagery, and a rejection catalog of AI-slop anti-patterns.

Vì sao nên dùng Frontend Design trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Frontend Design là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Frontend Design trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AkyRayy/Frontend-Design-SKILLS-for-AI/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Frontend Design?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Frontend Design với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Frontend Design với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Frontend Design có miễn phí không?

Có. Kỹ năng này được AkyRayy phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇