react
A background skill in the LobeHub repository, loaded automatically rather than called by users, with rules for writing React and TSX components in LobeHub's codebase.
スキルの内容
A background skill in the LobeHub repository, loaded automatically rather than called by users, with rules for writing React and TSX components in LobeHub's codebase. Styling goes through StyleX with lobe-ui variables for new code, while older styling APIs are only being migrated away, whole files at a time, with a list of shorthand properties that silently compile to nothing. Components are chosen in a fixed order from the project's own, then lobe-ui's headless and higher-level ones, then Ant Design. It keeps state in the smallest owner, splits components only at real boundaries, closes popovers on navigation, treats memoisation as opt-in with a stated reason, and lays out with Flexbox and gaps.
できること
- Style components with StyleX
- Pick components in a fixed priority order
- Place state in its smallest owner
- Decide when memoisation is justified
概要
- 公開元
- LobeHub
- ツール
- フロントエンドデザイン
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- references/layout-kit.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/lobehub/lobehub · 根拠となる項目:スクリプトを含む2026年11月17日
- GitHubリポジトリgithub.com/lobehub/lobehub · 根拠となる項目:公開元, 活動状況2026年11月11日
- スキルファイル(SKILL.md)github.com/lobehub/lobehub · 根拠となる項目:ライセンス2026年11月10日
- リポジトリ内のフォルダ(react)github.com/lobehub/lobehub · 根拠となる項目:スクリプトを含む2026年11月10日