用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ChonSong/skill-retriever --skill ui-page命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ui-page |
| description | Scaffold a new mobile page/screen using the StyleSeed layout patterns |
| risk | unknown |
| source | https://github.com/bitjaru/styleseed/tree/main/engine/.claude/skills/ss-page |
| source_repo | bitjaru/styleseed |
| source_type | community |
| date_added | 2026-07-01T00:00:00.000Z |
| license | MIT |
| license_source | https://github.com/bitjaru/styleseed/blob/main/LICENSE |
Use this skill when you need scaffold a new mobile page/screen using the StyleSeed layout patterns.
/ss-pattern/ss-flow firstCreate a new page: $0 Description: $ARGUMENTS
Read the design system reference:
CLAUDE.md for file structure and conventionscomponents/patterns/page-shell.tsx for page layoutcomponents/patterns/top-bar.tsx for header patterncomponents/patterns/bottom-nav.tsx for navigationPage 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= */}
= */}
/>
{/* Page sections with space-y-6 */}
)
}
Layout rules:
max-w-[430px] (mobile viewport)bg-backgroundpx-6space-y-6pb-24bg-card rounded-2xl p-6 shadow-[var(--shadow-card)]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:
--brand color used for accents (no other accent colors)mx-6 for single cards, px-6 for grids/carousels