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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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-flowfirst - For tweaking an existing page — edit the file directly
Create a new page: $0 Description: $ARGUMENTS
Instructions
Read the design system reference:
CLAUDE.mdfor file structure and conventionscomponents/patterns/page-shell.tsxfor page layoutcomponents/patterns/top-bar.tsxfor header patterncomponents/patterns/bottom-nav.tsxfor navigation
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>
)
}
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)]
- Container:
Use semantic tokens for all colors — never hardcode hex values.
Compose the page from existing components (ui/ and patterns/) wherever possible.
Safe area: include
env(safe-area-inset-*)padding for modern devices.Post-generation verification (MANDATORY): After creating the page, verify against the Golden Rules:
- All content is inside cards (no bare background content)
- Only
--brandcolor 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-6for single cards,px-6for 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
热度
- GitHub 星标
- 48k
- 排名
- #6040
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。