跳到正文
Skillpedia
界面(UI/UX)48k · #6040

ui-page

它能做什么

这个工具会按照特定的设计模式,为新的移动应用页面搭建基本结构。它会预先放置一些核心组件,比如顶部标题栏、内容区域和底部导航栏。

适用场景

  • ✓当你需要在移动应用中新建一个页面时。
  • ✓当你想按照风格指南(StyleSeed)来创建界面时。
  • ✓当你需要为新的页面功能快速找到一个起点时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-page/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个新的用户个人资料页面。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会使用一个预先定义的模板,其中包含常见的移动端页面元素。它会根据设计系统的规则来排列这些元素,以保证视觉上的一致性。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

什么是 StyleSeed 布局模式?

它们是设计系统中定义的视觉规则和模板,用来确保所有应用页面都有一致的外观和体验。

我可以把它用于桌面端页面吗?

不可以。这个工具专注于创建移动端页面(移动优先)。

如果我需要多个相互关联的页面呢?

如果要创建一系列页面或页面之间的导航,请先使用 `/ss-flow` 工具。

详情

作者的原始描述

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

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6040
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能