Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)48k · #6040

ui-page

Skill này làm gì

Công cụ này tạo cấu trúc cơ bản cho một màn hình ứng dụng di động mới, theo một mẫu thiết kế cụ thể. Nó thiết lập các thành phần thiết yếu như tiêu đề, khu vực nội dung và thanh điều hướng phía dưới.

Khi nào nên dùng

  • ✓Khi bạn cần bắt đầu một màn hình mới trong ứng dụng di động.
  • ✓Khi làm theo một hướng dẫn phong cách (StyleSeed) để tạo giao diện.
  • ✓Khi bạn cần một điểm khởi đầu nhanh cho một tính năng màn hình mới.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-page/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-page/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một màn hình hồ sơ người dùng mới.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng một mẫu định sẵn có các thành phần thường thấy của màn hình di động. Nó sắp xếp các thành phần này theo quy tắc của hệ thống thiết kế để đảm bảo nhất quán về mặt hình ảnh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Mobile Page Scaffolder

When to Use

Use this skill when you need scaffold a new mobile page/screen using the StyleSeed layout patterns.

When NOT to use

  • For a single composed pattern within an existing page → use /ss-pattern
  • For desktop-only screens — this skill is mobile-first
  • For multi-page navigation structure → use /ss-flow first
  • For tweaking an existing page — edit the file directly

Create a new page: $0 Description: $ARGUMENTS

Instructions

  1. Read the design system reference:

    • CLAUDE.md for file structure and conventions
    • components/patterns/page-shell.tsx for page layout
    • components/patterns/top-bar.tsx for header pattern
    • components/patterns/bottom-nav.tsx for navigation
  2. Page structure template:

import { PageShell, PageContent } from "@/components/patterns/page-shell"
import { TopBar, TopBarAction } from "@/components/patterns/top-bar"
import { BottomNav } from "@/components/patterns/bottom-nav"

export default function PageName() {
  return (
    <PageShell>
      <TopBar
        logo={/* logo or page title */}
        subtitle={/* optional subtitle */}
        actions={/* optional action buttons */}
      />
      <PageContent>
        {/* Page sections with space-y-6 */}
      </PageContent>
      <BottomNav items={[/* nav items */]} activeIndex={0} />
    </PageShell>
  )
}
  1. Layout rules:

    • Container: max-w-[430px] (mobile viewport)
    • Page background: bg-background
    • Section horizontal padding: px-6
    • Section vertical spacing: space-y-6
    • Bottom padding for nav: pb-24
    • Cards: bg-card rounded-2xl p-6 shadow-[var(--shadow-card)]
  2. Use semantic tokens for all colors — never hardcode hex values.

  3. Compose the page from existing components (ui/ and patterns/) wherever possible.

  4. Safe area: include env(safe-area-inset-*) padding for modern devices.

  5. Post-generation verification (MANDATORY): After creating the page, verify against the Golden Rules:

    • All content is inside cards (no bare background content)
    • Only --brand color used for accents (no other accent colors)
    • No hardcoded hex values (all semantic tokens)
    • Section types alternate (no two identical types in a row)
    • Numbers have 2:1 ratio with units
    • Spacing uses 6px multiples (p-1.5, p-3, p-6)
    • mx-6 for single cards, px-6 for grids/carousels
    • Touch targets ≥ 44px on all interactive elements If any violation is found, fix it before presenting the page to the user.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
Câu hỏi thường gặp

“StyleSeed layout patterns” là gì?

Đây là các quy tắc và mẫu hình ảnh được định nghĩa trong hệ thống thiết kế để đảm bảo mọi màn hình ứng dụng có diện mạo và cảm giác nhất quán.

Tôi có dùng cái này cho màn hình máy tính không?

Không, công cụ này tập trung vào việc tạo màn hình di động (mobile-first).

Nếu tôi cần nhiều màn hình liên kết với nhau thì sao?

Để tạo chuỗi màn hình hoặc điều hướng giữa chúng, hãy dùng công cụ `/ss-flow` trước.

Chi tiết

Mô tả gốc của tác giả

Scaffold a new mobile page/screen using the StyleSeed layout patterns

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#6040
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự