By kufu
Guides AI coding agents to correctly select and use SmartHR UI design system components — buttons, dialogs, forms, tables, layouts — with proper props and accessibility rules for building SmartHR applications.
smarthr-ui のどのコンポーネントを使うべきかの選定ガイド。フォームを作る、テーブルを表示する、ボタンを置く、ダイアログを開く、通知を出すなど、何らかの UI を実装しようとしているときに使う。具体的なコンポーネントの SKILL.md を呼ぶ前にまず読む。 主なシナリオ: Button(ユーザーに操作を促すとき、フォームを送信するとき、アクションを選択するとき)、Input(テキスト・数値を1行で入力させるとき、フォームに入力欄を追加するとき)、Table(データを行列で一覧表示するとき、レコードを並べて比較するビューを提示するとき)、ActionDialog(フォーム要素を含まない確認・実行のダイアログを表示するとき)、TextLink(本文中にリンクを置くとき、HelpLinkやUpwardLinkで表現できないテキストリンクを提供するとき)。
AccordionPanelは、縦に積まれた見出しのリストで、関連する詳細の表示・非表示を切り替えられるコンポーネントです。情報量が多い場合に表示内容を絞るときに使います。
ActionDialogは、ユーザーに確認や単純な操作を求めるためのダイアログコンポーネントです。フォーム要素を含まない確認・実行のダイアログを表示するときに使います。
AppHeaderは、画面上部に配置するSmartHR共通ヘッダーコンポーネントです。HeaderとAppNaviを結合し、各アプリケーションの表示を共通化します。
【非推奨】AppLauncherは、Header内に配置されるSmartHRの複数のアプリケーション間を遷移するためのランチャーコンポーネントです。
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

main branch: https://smarthr-design-system.netlify.app
.node-versionに記載されているバージョンのNode.jsと最新のpnpmがインストールされている必要があります。
cd) to the repo directorypnpm to install dependenciespnpm dev to start the dev serverindex.mdxがないディレクトリがあった場合、左側のサイドバーや、探すページのサイトマップの表示が狂うので注意してください。
フロントマターのorderに指定するのは同階層での並び順です。
自身より下層のページがある場合、index.mdxをおく必要がありますが、index.mdxは常に、自身より1つ下の階層のファイルと横に並んでいることに注意してください。
例えば、画像のように並べたい場合、
「ライティングガイド」にあたる、/products/writing/index.mdxに指定するorderの値は6になりますが、
/products/writing/index.mdxはエディタでは次のように見えるので、同列に並んでいるbasic-concept.mdxと比べ、1とつけたくなってしまいがちです。
しかし、実際にはそれぞれの階層は次の画像のようになります。
というようにindex.mdxは常に1つ下の階層と隣になるので、横にあるファイルの階層が1つ下の階層であることに注意してください。
例外的に/products/components/以下の各コンポーネントのページではorderは適用されません。コンポーネントの名前順に並びます。
また、第2階層(「はじめに」「基本原則」など)については別途/src/data/navigationItem.jsonに定義された順序が適用されます。このJSONはヘッダー・フッター・検索ページ下部のサイトマップに反映されます。
/srcのエイリアスが@/として設定されているので、 mdxファイル内で
import Hoge from '../../../../src/components/hoge'
ではなく、
import Hoge from '@/components/hoge'
と書けるようになっています。積極的に利用してください。
イラスト画像はzipでダウンロードできるようにしているため、変更があった場合はzipも更新する必要があります。下記のコマンドを実行してください。
pnpm export:zip-images
Gotchaの画像はサイズが大きいため、画像配信CDNCloudinaryを利用しています。画像の追加・更新の際はCloudinaryのsdsフォルダに追加したい画像をアップロードしてください。
アップロードすると、Cloudinary上で名前がつきますので、/src/data/gotchaItem.jsonにその画像名と、タイトルなどの情報を記載してください。
※Cloudinaryは、1回目の画像アクセス時に画像の最適化・キャッシュを行なうので、初回表示時のみ数秒程度の時間がかかるかもしれません。2回目以降の表示が高速であれば問題ありません。
アイテムを削除したい場合は、/src/data/gotchaItem.jsonから該当の項目を削除すれば表示されなくなります。Cloudinary上の画像もあわせて削除しても構いません。
npx claudepluginhub kufu/smarthr-design-system --plugin smarthr-design-systemCreates comprehensive design systems with typography, colors, components, and documentation for consistent UI development. Use when establishing design standards, building component libraries, or ensuring cross-team consistency.
Complete UI/UX design system for React Native & Next.js with 4 core skills
Use this agent when creating user interfaces, designing components, building design systems, or improving visual aesthetics. This agent specializes in creating beautiful, functional interfaces that can be implemented quickly within 6-day sprints. Examples:\n\n<example>\nContext: Starting a new app or feature design
Build, document, and maintain scalable design systems — from tokens and components to accessibility and theming.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.