Logo Design System

Design System

Cộng đồng
Omar-Obando
design-system

Hệ thống thiết kế chuyên nghiệp với quy tắc về bảng màu, kiểu chữ, khoảng cách, kiến trúc nhiều trang, trang chi tiết dịch vụ/sản phẩm, giới hạn điều hướng, chính sách không dùng emoji, khoảng cách giữa các phần và hướng dẫn triển khai (Astro + Cloudflare). Đảm bảo cấu trúc website nhiều trang, với trang riêng cho từng dịch vụ/sản phẩm.

Add to TypingMind

Tổng quan

Nhà phát hànhOmar-Obando
Kho mãqwen-orchestrator
Tên kỹ năngdesign-system
Sao
53
Bản fork
13
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Omar-Obando 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 Design System 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/Omar-Obando/qwen-orchestrator/tree/main/skills/design-system
  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/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/design-system .claude/skills/design-system
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 Design System 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 Design System 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 Design System 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.

Design System Skill — Professional UI/UX, Spacing & Multi-Page Architecture

This skill enforces professional design standards: proper color palettes, typography, section spacing, navigation limits, detailed service/product pages, zero emojis, and multi-page website architecture. Recommended stack: Astro for static/content sites, deployed to Cloudflare Pages.

⚠️ MANDATORY: Multi-Page Website Rule

NEVER create a single landing page when the user asks for a website.

When the user requests a website (e.g., "marketing agency site", "restaurant website", "company site"), you MUST create a COMPLETE multi-page website with the following pages at minimum:

Standard Website Pages (MANDATORY)

PagePurposePriority
HomeHero, value proposition, key sections CTARequired
AboutCompany story, team, mission, valuesRequired
ServicesService LISTING page with links to detail pagesRequired
Service DetailIndividual page per service (e.g., /services/web-design)Required
ContactContact form, map, phone, email, hoursRequired
Products/PortfolioProduct LISTING page with links to detail pagesRequired

Service Pages — DETAILED (NOT Generic)

Every service MUST have its OWN dedicated page. The services listing page shows cards/summaries that link to individual detail pages.

❌ BANNED:
- /services page with all services listed but NO individual pages
- One generic /services page with short descriptions
- Services described in only 2-3 lines of text
- No pricing, process, or deliverables per service

✅ REQUIRED STRUCTURE:
/services              → Listing page (cards with image + title + excerpt + CTA)
/services/web-design   → Detail page (description, process, deliverables, pricing, FAQ, CTA)
/services/seo          → Detail page (description, process, deliverables, pricing, FAQ, CTA)
/services/social-media → Detail page (description, process, deliverables, pricing, FAQ, CTA)

Each service detail page MUST include:

  • Description: 3-5 paragraphs explaining the service
  • Process: Step-by-step (1. Discovery → 2. Design → 3. Development → 4. Launch)
  • Deliverables: What the client receives
  • Pricing tiers or "Starting at $X" (or CTA for custom quote)
  • FAQ section: 3-5 common questions
  • CTA: "Get a Quote", "Book a Consultation", "Start Your Project"
  • Testimonials or case studies (if available)

Product Pages — DETAILED (NOT Generic)

Every product MUST have its OWN dedicated page. The products listing page shows cards that link to individual detail pages.

❌ BANNED:
- /products page with a simple list or grid and NO detail pages
- Products described in a single card with no specs
- No pricing, features, or images per product

✅ REQUIRED STRUCTURE:
/products              → Listing page (cards with image + name + price excerpt + CTA)
/products/product-a    → Detail page (gallery, full description, specs, pricing, reviews, related)
/products/product-b    → Detail page (gallery, full description, specs, pricing, reviews, related)

Each product detail page MUST include:

  • Image gallery: 3-5 product images
  • Full description: Features, specifications, materials
  • Pricing: Clear price display
  • CTA: "Add to Cart", "Request Quote", "Buy Now"
  • Related products section
  • Reviews/testimonials (if available)

Additional Pages (Based on Business Type)

Business TypeAdditional Pages
AgencyPortfolio, Case Studies, Team, Process, Pricing
RestaurantMenu, Reservations, Gallery, Chef/Story, Private Events
E-commerceShop, Product Detail, Cart, Checkout, Account, Wishlist
SaaSFeatures, Pricing, Docs, Blog, Changelog, Status
PortfolioProjects, About Me, Resume/CV, Testimonials, Contact
Real EstateListings, Property Detail, Agents, Neighborhoods, Mortgage Calc
HealthcareServices, Doctors/Team, Appointments, Patient Portal, Locations
EducationPrograms, Courses, Faculty, Admissions, Campus Life, Calendar
LegalPractice Areas, Attorneys, Testimonials, Resources, Free Consult
Non-profitMission, Programs, Impact, Get Involved, Donate, Events

When to Ask About Pages

Use AskUserQuestion to confirm the page structure:

AskUserQuestion({
  questions: [
    {
      question: "Which pages should the website include?",
      header: "Pages",
      options: [
        { label: "Full Site", description: "Home + About + Services + Products + Contact (recommended)" },
        { label: "Standard", description: "Home + About + Services + Contact" },
        { label: "Extended", description: "Full Site + Blog + FAQ + Portfolio + Pricing" }
      ]
    }
  ]
})

Anti-Pattern: Single Landing Page

❌ BANNED (when user asks for "a website"):
- Creating index.html as the ONLY page
- Putting all content in one scrollable page
- Calling it a "website" when it's a single HTML file
- Sections pretending to be pages (e.g., #about, #services, #contact)

✅ REQUIRED:
- Separate route/page per section (e.g., /about, /services, /contact)
- Each page has its own layout, meta tags, and SEO optimization
- Navigation menu linking all pages
- Shared header/footer components
- Consistent design system across all pages
- INDIVIDUAL detail pages for each service and product

The ONLY exception: The user EXPLICITLY says "landing page" or "one-page site".


⚠️ MANDATORY: Zero Emoji Policy

Professional websites do NOT use emojis. Period.

❌ BANNED:
- 🚀 🎯 💡 ✨ 🏆 📱 💻 🛒 📧 📞 ✅ ❌ 🔥 ⭐ 💪 🎨 📊 🔒 🌍 emojis anywhere in the website
- Emoji as section icons
- Emoji in headings, buttons, or CTAs
- Emoji in navigation labels
- Emoji in meta titles or descriptions

✅ REQUIRED:
- Use SVG icons from icon libraries (Lucide, Heroicons, Phosphor, Tabler)
- Use CSS shapes or decorative elements for visual interest
- Use proper icon components (<svg> or icon font)
- Plain text for all headings, buttons, and labels

Icon Libraries (use one, be consistent):

LibraryInstallStyleBest For
Lucidenpm install lucide-reactClean, modernMost websites
Heroiconsnpm install @heroicons/reactBold, clearDashboards, SaaS
Phosphornpm install @phosphor-icons/reactFlexible, 6 weightsVersatile projects
Tablernpm install @tabler/icons-reactOutlinedAdmin panels

⚠️ MANDATORY: Section Spacing

Sections must NEVER touch each other. Every section needs breathing room.

Minimum Spacing Rules

ElementMinimum Padding (top/bottom)CSS Variable
Page sectionsvar(--space-20) (80px)--section-padding
Hero sectionvar(--space-32) (128px)--hero-padding
Footer top paddingvar(--space-32) (128px)--footer-padding
Header heightvar(--space-16) (64px)--header-height
Between content blocksvar(--space-12) (48px)--block-gap
CTA sectionvar(--space-20) (80px)--cta-padding

Section Spacing CSS

css
:root {
  --section-padding: clamp(4rem, 8vw, 6rem); /* 64-96px */
  --hero-padding: clamp(6rem, 12vw, 10rem); /* 96-160px */
  --footer-padding: clamp(5rem, 10vw, 8rem); /* 80-128px */
  --header-height: 4rem; /* 64px */
  --block-gap: clamp(2rem, 4vw, 3rem); /* 32-48px */
}

section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.hero {
  padding-top: var(--hero-padding);
  padding-bottom: var(--hero-padding);
  min-height: 70vh;
}

footer {
  padding-top: var(--footer-padding);
  padding-bottom: var(--space-12);
  margin-top: 0; /* NEVER collapse footer spacing */
}

/* Alternating sections get different backgrounds */
section:nth-of-type(even) {
  background-color: var(--color-surface);
}
section:nth-of-type(odd) {
  background-color: var(--color-bg);
}

Spacing Anti-Patterns

❌ BANNED:
- Footer directly touching the section above (no gap)
- Sections with padding < 64px (feels cramped)
- Hero section with < 96px padding (weak visual impact)
- Using margin: 0 on major sections
- All sections same background color (no visual separation)
- Tight spacing on mobile (< 48px section padding)

✅ REQUIRED:
- Footer ALWAYS has generous top padding (128px+)
- Every section has clear visual separation (spacing + alternating bg)
- Hero takes at least 70vh with ample padding
- Mobile sections use clamp() for adaptive spacing
- CTA section before footer has its own distinct background

⚠️ MANDATORY: Navigation Limits

Navigation menus must NOT be saturated. Max 7 top-level items.

Navigation Rules

  1. Maximum 7 items in the main navigation bar
  2. Group related pages under dropdown menus
  3. Use footer navigation for secondary links (Privacy, Terms, Sitemap)
  4. Mobile: Hamburger menu with collapsible sections
  5. NEVER put ALL pages in the main nav

Recommended Navigation Structure

MAIN NAV (5-7 items max):
  Home | About | Services ▼ | Products | Portfolio | Contact | CTA Button

DROPDOWN for Services:
  Services Overview
  ─────────────────
  Web Design
  SEO Optimization
  Social Media
  Brand Strategy

FOOTER NAV (secondary links):
  Privacy Policy | Terms of Service | Sitemap | FAQ | Careers

Navigation Anti-Patterns

❌ BANNED:
- More than 7 items in main nav bar (cluttered, overwhelming)
- Every single page in the top nav
- No dropdown/mega-menu for grouped content
- Hamburger menu that just lists ALL links flat
- Nav items with emojis (e.g., "🏠 Home" "📧 Contact")
- Text-only nav with no visual hierarchy

✅ REQUIRED:
- Max 7 top-level items, group extras under dropdowns
- Primary CTA button (different color/style from nav links)
- Footer contains secondary links (legal, extras)
- Mobile: hamburger menu with grouped sections
- Active state on current page link
- Hover states on all nav items

⚠️ MANDATORY: Recommended Framework — Astro

For static websites, marketing sites, and content-heavy sites, RECOMMEND Astro.

Why Astro Over Next.js for Marketing Sites

FactorAstroNext.js
Default outputZero JS (HTML only)React runtime required
PerformanceNear-perfect Lighthouse scoresGood, but needs optimization
Content focusBuilt for content sitesBuilt for web apps
Bundle size0KB JS by default~80KB+ React runtime
Learning curveEasy (HTML + components)Moderate (React + SSR concepts)
Multi-frameworkUse React/Vue/Svelte in islandsReact only
SEOPerfect (static HTML)Good (requires config)
HostingCloudflare Pages, Vercel, NetlifyVercel (optimized), others

When to Recommend What

Project TypeRecommended Framework
Marketing/Agency siteAstro + Tailwind
Restaurant/Local bizAstro + Tailwind
Portfolio/ResumeAstro + Tailwind
Blog/Content siteAstro + Tailwind
Landing pageAstro or HTML/Tailwind
SaaS Web AppNext.js + React
E-commerceNext.js + React
Dashboard/AdminReact + Vite
Mobile AppFlutter or React Native

Astro Project Setup

bash
npm create astro@latest my-site
cd my-site
npx astro add tailwind

Astro Page Structure

src/
├── pages/
│   ├── index.astro          # Home
│   ├── about.astro          # About
│   ├── services/
│   │   ├── index.astro      # Services listing
│   │   ├── web-design.astro # Service detail
│   │   ├── seo.astro        # Service detail
│   │   └── social-media.astro
│   ├── products/
│   │   ├── index.astro      # Products listing
│   │   └── [slug].astro     # Dynamic product detail
│   ├── contact.astro
│   ├── blog/
│   │   ├── index.astro      # Blog listing
│   │   └── [slug].astro     # Blog article
│   └── 404.astro
├── layouts/
│   └── BaseLayout.astro     # Shared HTML shell
├── components/
│   ├── Header.astro
│   ├── Footer.astro
│   ├── ServiceCard.astro
│   ├── ProductCard.astro
│   └── SEO.astro            # Reusable meta/JSON-LD
└── styles/
    └── global.css           # Design tokens

⚠️ MANDATORY: Cloudflare Pages Deployment

For static/Astro sites, deploy to Cloudflare Pages (free, fast, global CDN).

Deployment Setup

bash
# Install Wrangler CLI
npm install -g wrangler

# Login to Cloudflare
wrangler login

# Build the project
npm run build

# Deploy (first time — creates project)
npx wrangler pages deploy dist --project-name=my-site

# Subsequent deploys
npm run build && npx wrangler pages deploy dist

GitHub Auto-Deploy (Recommended)

  1. Push project to GitHub
  2. Go to Cloudflare Dashboard → Pages → Create a project
  3. Connect GitHub repository
  4. Set build settings:
    • Build command: npm run build
    • Build output directory: dist
    • Node.js version: 20
  5. Every push to main auto-deploys

Cloudflare Pages Configuration

toml
# wrangler.toml (optional, for advanced config)
name = "my-site"
compatibility_date = "2024-01-01"

[site]
bucket = "./dist"

Custom Domain

  1. Cloudflare Dashboard → Pages → Project → Custom domains
  2. Add domain → Cloudflare auto-configures DNS
  3. SSL automatically provisioned

Astro Config for Cloudflare

javascript
// astro.config.mjs
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';

export default defineConfig({
  output: 'static',
  adapter: undefined, // Static output for Cloudflare Pages
  integrations: [tailwind()],
  build: {
    assets: '_assets', // Cache-friendly asset naming
  },
});

Color Palette Rules — Professional Standards

The 6-Color Professional Palette

Every website MUST define these 6 color roles before writing a single line of CSS:

RoleCSS VariablePurposeRules
Primary--color-primaryBrand identity, CTAs, links1 color. Must pass WCAG AA on white.
Secondary--color-secondarySupporting accent, secondary CTAs1 color. Harmonize with primary.
Accent--color-accentHighlights, badges, attention items1 color. High contrast against primary.
Background--color-bgPage backgroundLight or dark. Set body background.
Surface--color-surfaceCards, modals, elevated containersSlightly different from background.
Text--color-textBody text, headingsMust pass 4.5:1 contrast on background.

Color Palette Formula

:root {
  /* Primary palette */
  --color-primary: #2563EB;        /* Main brand color */
  --color-primary-light: #60A5FA;  /* Hover states, backgrounds */
  --color-primary-dark: #1D4ED8;   /* Active states, emphasis */

  /* Secondary palette */
  --color-secondary: #7C3AED;      /* Supporting brand color */
  --color-secondary-light: #A78BFA;

  /* Accent */
  --color-accent: #F59E0B;         /* CTAs, highlights, badges */

  /* Backgrounds */
  --color-bg: #FFFFFF;             /* Page background */
  --color-surface: #F8FAFC;        /* Cards, containers */
  --color-surface-alt: #F1F5F9;    /* Alternating sections */

  /* Text */
  --color-text: #0F172A;           /* Primary text */
  --color-text-secondary: #475569; /* Descriptions, captions */
  --color-text-muted: #94A3B8;     /* Placeholders, disabled */

  /* Borders & Dividers */
  --color-border: #E2E8F0;
  --color-divider: #CBD5E1;

  /* Feedback */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
}

Industry-Specific Color Palettes

IndustryPrimarySecondaryAccentBackgroundStyle
Tech/SaaS#2563EB (Blue)#7C3AED (Violet)#10B981 (Green)#FFFFFFClean, modern
Health/Wellness#059669 (Emerald)#F97316 (Warm)#FBBF24 (Gold)#FFF7ED (Warm)Calming, organic
Finance#1E293B (Slate)#2563EB (Blue)#10B981 (Green)#FFFFFFProfessional, trust
Restaurant#DC2626 (Red)#78350F (Brown)#FBBF24 (Gold)#FFFBEB (Cream)Warm, appetizing
Creative/Agency#7C3AED (Violet)#EC4899 (Pink)#F59E0B (Amber)#0F172A (Dark)Bold, artistic
Education#1D4ED8 (Blue)#059669 (Green)#F59E0B (Amber)#FFFFFFTrust, knowledge
Real Estate#1E40AF (Navy)#B45309 (Gold)#059669 (Green)#FFFBEB (Cream)Luxury, trust
Legal#1E293B (Slate)#B45309 (Gold)#1D4ED8 (Blue)#FFFFFFAuthority, trust
E-commerce#DB2777 (Pink)#2563EB (Blue)#F59E0B (Amber)#FFFFFFVibrant, action
Non-profit#059669 (Green)#2563EB (Blue)#F97316 (Orange)#FFFFFFHope, community

Color Rules (MANDATORY)

  1. Contrast ratios: All text must meet WCAG AA — 4.5:1 for normal text, 3:1 for large text
  2. No more than 3 brand colors — primary, secondary, accent only
  3. 60-30-10 rule: 60% neutral (background), 30% primary/secondary, 10% accent
  4. Never use pure black (#000) — use dark slate/charcoal instead (#0F172A, #1E293B)
  5. Never use pure white text on bright backgrounds — ensure 4.5:1 contrast
  6. Test colors with accessibility tools — use WebAIM contrast checker
  7. Dark mode: If supporting dark mode, define a parallel palette with inverted contrast
  8. Consistency: The same color means the same thing everywhere (blue = links, red = errors, green = success)

Anti-Pattern Colors

❌ BANNED:
- Random hex colors without a defined palette
- Different blues on different pages (inconsistent brand)
- Using opacity to "make it lighter" (unpredictable contrast)
- Text that's "close enough" in contrast (#999 on white = FAIL)
- Rainbow color schemes (more than 3 brand colors)
- Default framework colors without customization (e.g., raw Tailwind blue)
- Colors that look different on different monitors (always test)

✅ REQUIRED:
- All colors defined as CSS custom properties
- A consistent palette documented in the project's design system
- Contrast verified with tools (Lighthouse, axe, WebAIM)
- Dark mode palette defined if supporting dark mode

Typography System

Font Pairing Rules

  1. Maximum 2 font families: 1 for headings + 1 for body text
  2. Contrast in pairing: Serif + Sans-serif OR Display + Sans-serif
  3. Performance: Use Google Fonts with display=swap OR self-host WOFF2
  4. Fallback stack: Always define system font fallbacks

Professional Font Pairings by Industry

IndustryHeading FontBody FontPersonality
Tech/SaaSInter / DM SansInter / Source SansClean, technical
CreativePlayfair Display / SoraInter / Work SansBold, expressive
HealthNunito / OutfitOpen Sans / NunitoFriendly, warm
FinancePlus Jakarta Sans / ManropeInter / ManropeProfessional
RestaurantPlayfair Display / LoraSource Sans / OutfitElegant, warm
EducationPoppins / NunitoInter / Source SansApproachable
LegalMerriweather / LoraOpen Sans / InterAuthoritative
LuxuryCormorant GaramondMontserrat / KarlaElegant, premium
StartupSpace Grotesk / SoraInter / DM SansModern, dynamic

Typography Scale

css
:root {
  /* Font families */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes (fluid typography) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 0.9rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.1rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2.3vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.5rem + 3.5vw, 3.5rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);

  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
}

Spacing & Layout System

8px Base Grid

All spacing MUST be multiples of 4px, with 8px as the base unit:

css
:root {
  --space-1: 0.25rem; /* 4px  */
  --space-2: 0.5rem; /* 8px  */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-8: 2rem; /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem; /* 48px */
  --space-16: 4rem; /* 64px */
  --space-20: 5rem; /* 80px */
  --space-24: 6rem; /* 96px */
  --space-32: 8rem; /* 128px */
}

Responsive Breakpoints

BreakpointWidthTarget
sm640pxMobile landscape
md768pxTablet
lg1024pxDesktop
xl1280pxLarge desktop
2xl1536pxUltra-wide

Container Widths

css
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-narrow {
  max-width: 768px;
}
.container-wide {
  max-width: 1440px;
}

Page Architecture Standards

Navigation (Shared Component)

Every page MUST have:

  • Header: Logo + Navigation + CTA button + Mobile hamburger
  • Footer: Contact info + Social links + Legal links + Newsletter signup
  • Responsive: Hamburger menu on mobile, horizontal nav on desktop

Page Layout Template

┌──────────────────────────────────────────────────────┐
│  HEADER: Logo | Nav Links | CTA Button               │
├──────────────────────────────────────────────────────┤
│                                                      │
│  HERO SECTION                                        │
│  - Headline + Subheadline + CTA                      │
│  - Background image/gradient/pattern                 │
│  - Breadcrumbs (except home)                         │
│                                                      │
├──────────────────────────────────────────────────────┤
│                                                      │
│  MAIN CONTENT                                        │
│  - Page-specific content sections                    │
│  - Consistent spacing (--space-12 to --space-20)     │
│  - Alternating background (bg / surface-alt)         │
│                                                      │
├──────────────────────────────────────────────────────┤
│                                                      │
│  CTA SECTION                                         │
│  - Final call-to-action before footer                │
│                                                      │
├──────────────────────────────────────────────────────┤
│  FOOTER: Links | Social | Contact | Legal            │
└──────────────────────────────────────────────────────┘

SEO Per Page

Each page MUST have unique:

  • <title> tag (Page Name | Brand Name)
  • <meta name="description"> (150-160 chars)
  • Open Graph tags (og:title, og:description, og:image, og:url, og:type)
  • Twitter Card tags (twitter:card, twitter:title, twitter:description, twitter:image)
  • Canonical URL (absolute, no trailing slash ambiguity)
  • H1 heading (exactly one per page)
  • JSON-LD structured data (see schema table below)

Per-Page SEO Schema Requirements

Every page MUST include a <script type="application/ld+json"> block with structured data appropriate for that page type. Use @graph to combine schemas.

PageJSON-LD Schemas RequiredAdditional Requirements
HomeOrganization + WebSite + WebPage + SearchActionLocalBusiness if physical location exists
AboutWebPage + BreadcrumbList + Organization + Person[]Team members with jobTitle, image, sameAs (social links)
ServicesWebPage + BreadcrumbList + Service[]Each service: name, description, provider, areaServed
ProductsWebPage + BreadcrumbList + Product[] + ItemListOffer (price), AggregateRating, Review if available
ContactWebPage + BreadcrumbList + ContactPage + LocalBusinessGeoCoordinates + OpeningHoursSpecification
BlogWebPage + BreadcrumbList + CollectionPageBlog index with ItemList of articles
ArticleWebPage + BreadcrumbList + Article/BlogPostingAuthor (Person), Publisher (Organization), datePublished
FAQWebPage + BreadcrumbList + FAQPageQuestion[] → Answer[] for each FAQ item
PricingWebPage + BreadcrumbList + SoftwareApp/Service + Offer[]Each pricing tier as a separate Offer
404WebPage (minimal)No Organization/WebSite schema on 404 pages

SEO File Requirements (Website Root)

FileRequiredPurpose
robots.txt✅Crawl directives, sitemap location, bot permissions
sitemap.xml✅ALL indexable URLs with <lastmod> and <priority>
favicon.ico✅Browser tab icon (32x32, 16x16)
404.html✅Custom 404 with navigation back to site
humans.txtOptionalTeam credits, technology stack

robots.txt Template

text
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Disallow: /404.html

Sitemap: https://example.com/sitemap.xml

sitemap.xml Template

xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-05-07</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/about</loc>
    <lastmod>2026-05-07</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://example.com/services</loc>
    <lastmod>2026-05-07</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-05-07</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Pre-Delivery Design & SEO Checklist

Before ANY website is marked complete:

Design

  • Color palette defined with all 6 roles
  • Colors pass WCAG AA contrast (4.5:1)
  • Typography system with 2 fonts maximum
  • Spacing follows 8px grid
  • Responsive at 375px, 768px, 1024px, 1440px
  • Navigation works on mobile (hamburger menu)
  • All pages linked in navigation
  • Consistent header/footer across ALL pages
  • No # links (all links navigate to real pages)
  • No "Coming Soon" sections
  • All images have alt text
  • Focus states visible for keyboard navigation
  • No emojis as icons (use SVG: Heroicons/Lucide)
  • cursor: pointer on all clickable elements
  • Smooth hover transitions (150-300ms)
  • Light/dark mode consistent (if supported)

SEO & Technical

  • Each page has unique meta title + description
  • Open Graph + Twitter Card tags on every public page
  • JSON-LD structured data on every page (with @graph)
  • BreadcrumbList on every non-home page
  • Organization + WebSite schema on all pages
  • Page-specific schemas (Article, Product, Service, etc.)
  • robots.txt with sitemap reference
  • sitemap.xml with all indexable pages
  • favicon.ico + apple-touch-icon
  • Custom 404 page with navigation
  • Canonical URLs on all pages
  • <html lang="xx"> set correctly

Using External UI/UX Skills

When available, leverage these skills for enhanced design intelligence:

UI UX Pro Max (Recommended)

bash
# Search for industry-specific design system
python3 src/ui-ux-pro-max/scripts/search.py "marketing agency" --domain product

# Search for color palettes
python3 src/ui-ux-pro-max/scripts/search.py "creative agency" --domain color

# Search for typography pairings
python3 src/ui-ux-pro-max/scripts/search.py "modern startup" --domain typography

# Search for layout patterns
python3 src/ui-ux-pro-max/scripts/search.py "saas landing" --domain landing

# Get framework-specific code
python3 src/ui-ux-pro-max/scripts/search.py "navigation" --stack react

Taste Skill (Anti-Slop)

bash
npx skills add https://github.com/Leonxlnx/taste-skill

Use design-taste-frontend for premium layout, or minimalist-ui for clean aesthetic.

Designer Skills (Comprehensive)

/plugin marketplace add Owl-Listener/designer-skills

Key commands: /ui-design:color-palette, /ui-design:type-system, /ui-design:design-screen

When NOT to Use

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Writing API endpoint implementations (use api-design skill)
  • Reviewing code for quality issues (use code-review skill)
  • Performing security audits (use security-auditor skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Reviewing git workflows (use git-workflow skill)
  • Designing database schemas (use database-design skill)

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

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

Hệ thống thiết kế chuyên nghiệp với quy tắc về bảng màu, kiểu chữ, khoảng cách, kiến trúc nhiều trang, trang chi tiết dịch vụ/sản phẩm, giới hạn điều hướng, chính sách không dùng emoji, khoảng cách giữa các phần và hướng dẫn triển khai (Astro + Cloudflare). Đảm bảo cấu trúc website nhiều trang, với trang riêng cho từng dịch vụ/sản phẩm.

Vì sao nên dùng Design System 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. Design System 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 Design System trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/design-system. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Design System?

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 Design System 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 Design System 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 Design System có miễn phí không?

Có. Kỹ năng này được Omar-Obando 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 👇