@lobehub/ui 5.xのアプリを6.xへ移行し、依存関係やテーマ設定、コンポーネントの変更点を順に修正して動作を確認するスキルです。
- @lobehub/ui 5.xから6.xへ移行したいとき
- ThemeProviderやテーマ設定を置き換えたいとき
- codemodの指摘とコンポーネント変更を確認したいとき
@lobehub/ui/awesomeのランディングページ用コンポーネントを組み合わせ、製品や文書サイトのホーム画面を構成してリンクや配色まで整えます。
Compose a product or documentation home page from the @lobehub/ui/awesome landing components: LandingHero, AgentSkillCard, LogoMarquee, LandingSection, BentoGrid/BentoCard, CodeShowcase, FeatureGrid, InstallBanner and FluidGradient. Covers page structure, the lobedocs homePage hook, router links, theming the accent gradient, and a review checklist. Trigger on build a home page, landing page, docs home, marketing page, hero section, redesign home, lobedocs homePage, 首页, 落地页, 官网首页.
実行スコア 未検証
インストール方法を見る@lobehub/ui/awesomeに用意されたコンポーネントを組み合わせて、製品やドキュメントサイトのホームページを構成します。ヒーロー、ロゴ一覧、実際に動くコンポーネント例、機能紹介、インストール案内などから必要なセクションを選び、リンクやアクセントカラーも設定します。lobedocsのホームページとして組み込む方法や、ページの確認項目も扱います。
既存のUIコンポーネントを使って製品紹介ページを作りたいときや、ドキュメントサイトのトップを整えたいときに向いています。スマートフォンでの表示、ライト・ダークテーマ、リンクの遷移を含めてページを見直す場面にも役立ちます。
@lobehub/ui/awesomeのコンポーネントを使います。lobedocsサイトではdocs.config.tsのhomePage設定が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Every band of a landing page has a component. Your job is to choose the bands, write honest copy and render real product UI inside them, not to restyle containers.
All components import from @lobehub/ui/awesome. Read each one's page before using a prop you
have not seen here: https://ui.lobehub.com/skills/components/awesome/<kebab-name>.md.
| Band | Component | Use it for |
|---|---|---|
| Opening | LandingHero | Badge, title with gradient accent, description, up to two actions, optional aside column. |
| Beside the hero text | AgentSkillCard | "I'm an Agent / I'm a Human" card: a prompt for coding agents and an install command for people. |
| Under the hero | LogoMarquee | Integrations or supported providers. Icons from @lobehub/icons. |
| Any middle band | LandingSection | Tag, title and description on the left, small actions on the right, content below. Wrap every middle band in it. |
| Live component gallery | BentoGrid + BentoCard | Tiles that render real components; colSpan/rowSpan for emphasis; href to the docs page. |
| Code next to its result | CodeShowcase | Two to four short snippets, each with a live preview. |
| Reasons to choose | FeatureGrid | Three or six cards of icon, title and one-sentence description. |
| Closing call to action | InstallBanner | Title, copyable install command, footnote with license and a docs link. |
| Background texture | FluidGradient | Place it behind a positioned band when you want a texture. Needs a positioned parent. |
Default order. Drop a band rather than filling it with filler.
LandingHero with aside={<AgentSkillCard />} and children={<LogoMarquee />}.LandingSection + BentoGrid: the widest, most visual proof.LandingSection + CodeShowcase: how little code it takes.LandingSection + FeatureGrid: foundations such as theming, i18n, performance.InstallBanner.import {
AgentSkillCard,
InstallBanner,
LandingHero,
LandingSection,
LogoMarquee,
} from '@lobehub/ui/awesome';
import { ArrowRight } from 'lucide-react';
export default function Home() {
return (
<>
<LandingHero
accent="UI Kit"
actions={[
{
href: '/docs',
icon: ArrowRight,
iconPlacement: 'end',
label: 'Get Started',
primary: true,
},
{ href: 'https://github.com/acme/kit', label: 'GitHub' },
]}
aside={
<AgentSkillCard
agent={{
code: 'Read https://kit.acme.dev/skills.md and follow it to build UI with @acme/kit.',
description: 'Send this prompt to your agent to pick the right components',
}}
human={{
code: 'npx skills add acme/kit',
description: 'Install the skills into your project',
}}
/>
}
description="One sentence on what it is and who it is for."
title="Acme"
>
<LogoMarquee items={[/* { icon: OpenAI, label: 'OpenAI' } */]} />
</LandingHero>
<LandingSection
actions={[{ href: '/components', label: 'Browse components' }]}
eyebrow="Components"
id="home-gallery"
title="Built for AI interfaces"
>
{/* BentoGrid of live tiles */}
</LandingSection>
<InstallBanner
command="pnpm add @acme/kit"
footnote="Open source · MIT license"
title="Start building"
/>
</>
);
}
homePage: './docs/home/home.tsx' in docs.config.ts. The default export
receives { description, getStartedPathname }; use getStartedPathname for the primary action.LandingHero, BentoCard and FeatureGrid render plain anchors. Pass one
shared renderLink so internal links use the router and absolute URLs open in a new tab:import type { LandingLinkRender } from '@lobehub/ui/awesome';
import { Link } from 'react-router';
export const renderLink: LandingLinkRender = ({ external, href, ...props }) =>
external ? (
<a href={href} rel="noreferrer" target="_blank" {...props} />
) : (
<Link to={href} {...props} />
);
--lobe-landing-gradient. Set it once on :root (and per theme) instead of overriding
component styles. FluidGradient takes its three stops through colors.<span data-pagefind-meta="title"> /
"description" when the site uses Pagefind.skills.md (lobedocs generates it)
or llms.txt. Say what the agent should do with it, in one sentence.human and the card shows the prompt alone.agents defaults to DEFAULT_SKILL_AGENTS (Claude Code, Codex, Cursor, Gemini CLI, GitHub
Copilot, Windsurf, Cline, OpenCode). Replace it with the .Avatar components from
@lobehub/icons that the project actually supports, or [] to hide the row.footer for secondary links such as skills.md and llms.txt.accent. No more than four words.primary, one secondary.colSpan={2} rowSpan={2}.CodeShowcase snippets fit in about ten lines and compile as written.FeatureGrid uses three or six items; each description is one sentence.LandingSection id values must be unique; they label the headings.eyebrow is a one- or two-word tag ("Components", "Foundations"); give each band its own
eyebrowColor preset (blue, green, orange…). Give a section at most one actions entry.primary. Every other action renders as
BottomGradientButton; pass onNavigate={useNavigate()} so internal ones route client-side.hrefs, prompt URL, footer links.prefers-reduced-motion (the marquee stops, the texture freezes).まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
@lobehub/ui 5.xのアプリを6.xへ移行し、依存関係やテーマ設定、コンポーネントの変更点を順に修正して動作を確認するスキルです。
lobe-uiのコンポーネントやドキュメントサイトをローカルブラウザーで確認し、表示や操作、テーマ、画面幅、実行時エラーを検証します。
lobe-uiの色トークンを測定・再生成し、ブランド色や状態色の見え方、ライト・ダーク両テーマのコントラストを調整するスキルです。
@lobehub/docs-kitでドキュメントサイトを構築し、設定ファイルやコンポーネント解説、デモ、API表を整えてビルド時の検証まで行うスキルです。