agent-native-toolkit
できること
このスキルは、ワークスペースの動作のうち、どれをAgent-Nativeのアプリ全体で共有し、どれをアプリ固有のままにすべきかを示します。設定、ナビゲーション、共有、コメント、エージェントのUIを扱います。アプリの外枠や共有機能を作る開発者向けです。
使う場面
- ✓アプリの設定、ナビゲーション、共有の機能を作ろうとしているとき。
- ✓ある動作をアプリ内だけのものにするか、共有にするかを決める必要があるとき。
- ✓チャットのレールや実行の進捗など、エージェント向けのUIを追加するとき。
スキルのリンク
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/agent-native-toolkit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アプリの共有ダイアログは自分で作るべきですか、それとも共有のワークスペースのコンポーネントを使うべきですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、動作を2つのグループに分けます。ワークスペース全体、統制されている、または繰り返される動作は共有の部品に入れ、ドメイン固有のワークフローはアプリに残します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Agent-Native Toolkit
Use this skill when deciding whether app chrome, settings, collaboration, sharing, navigation, organization, setup, history, comments, or agent UX should be built app-locally or moved into reusable framework/toolkit pieces.
Core Rule
Apps own domain models, domain actions, and product-specific workflows. The
framework and @agent-native/toolkit own repeated workspace behavior users
expect to work the same everywhere.
Move behavior into shared toolkit primitives when it is:
- workspace-wide, such as settings, nav, search, org membership, or setup
- agent-visible, such as context, actions, run progress, or proof-of-done
- governed, such as secrets, permissions, sharing, audit, or billing
- repeated by two or more apps
- not tied to one domain model
Keep behavior app-local when the abstraction would hide important domain language or make a simple app-specific workflow harder to understand.
Agent Surface Contract
When using the shared app shell, keep its two navigation surfaces distinct:
- The left rail owns domain destinations and chat history when the app has a
full-page chat route. Do not label a domain workflow as
Chatjust because the app was scaffolded from the chat template. - Settings is not a rail item. It opens from the account menu (
OrgSwitcherin the sidebar footer) and from ⌘, (Ctrl+, elsewhere), whichAppProvidersbinds. Keep the/settingsroute; don't add a Settings entry toitems,secondaryItems, or the footer. - The right
AgentSidebarowns contextual agent work. Domain buttons that callsendToAgentChatshould open it (openSidebar: true) so the user can see, steer, and review the agent without losing the page they were using. - Keep
/or/chat/*as the full-page chat surface when the starter provides one. Put domain workflows on named routes and wire the shell's route checks, navigation labels, and handoffs to those routes together. - Use familiar message or neutral action icons for agent affordances. Never use sparkle, wand, magic, or robot icons as an AI label; the copy should carry the meaning.
- Give the right rail a quiet visual boundary with a subtle surface shift, divider, or both. The domain page and AgentSidebar should not collapse into a single undifferentiated background.
- Any button labeled as agent work must use
sendToAgentChatwith bounded context andopenSidebar: true; local deterministic analysis should be labeled as local, preview, or analyze. For original/generated review, stack the source above the result by default and use side-by-side only for short, highly scannable content. - Deterministic implementation does not make an AI-shaped experience deterministic. If the user expects research, analysis, generation, recommendation, synthesis, visible progress, or steering, route the button to the AgentSidebar and let the agent call focused actions. Keep revisions in the same thread instead of adding a second freeform prompt box.
- Standalone apps with
AgentSidebarmust use one AgentKit controller and transport. Core'sAssistantChatexport remains supported as an alias forAgentKitAssistantChat; use AgentKit slots and registries for custom message UI. Keep assistant-ui transcript/runtime imports inside the shared composer integration; when linked dependencies need Vite aliases, resolve one@agent-native/agentkitcontext and verify a real handoff.
Contextual agent UI is not a reason to expose every option at once. Start with the domain task's primary action, reveal review or configuration only when the current state needs it, and let the sidebar carry conversational depth.
When an app exposes context sources or integration shortcuts, show only capabilities available to that app and the current caller. Keep retrieving context distinct from asking the agent to invoke an integration, and recheck availability when the user submits. Do not infer agent-tool access from a connected messaging account or expose credential values. Link to shared Integrations settings when a required connection is missing.
Visual Direction And Workspace Variety
Shared workspace behavior should be consistent without forcing every app into
the same visual skin. Keep shell and component tokens semantic, then let each
app record a visual direction in DESIGN.md before styling. Choose its palette
and composition from the product context, and keep semantic states accessible.
Do not make warm be
よくある質問
共有の部品に入るものは何ですか?
ワークスペース全体にかかわり、エージェントから見えるもの、統制されているもの、複数のアプリで繰り返されるものです。たとえば設定や権限です。
アプリに残るものは何ですか?
ドメインのモデル、ドメイン固有のアクション、プロダクト固有のワークフローは、各アプリに残ります。
設定はどこから開きますか?
メインのナビゲーションからではなく、アカウントメニューとキーボードショートカットから開くとスキルは述べています。
詳細
作者による元の説明
Inventory and ownership rules for shared Agent-Native workspace UI. Use before building app chrome, settings, navigation, sharing, collaboration, setup, history, comments, chat rails, agent UX, or repeated workspace behavior.
repo: BuilderIO/agent-native
人気
- GitHubのスター
- 7.6k
- ランキング
- #13134
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
design-exploration
7.6kUIの複数のデザインの方向性を並べて検討し、1つを選んでもらい、選んだデザインを磨き上げるようエージェントを支援します。
visual-edit
7.6k実行中のローカルのアプリをビジュアルエディターで開き、本物の画面をまとめて確認し編集できるようエージェントを支援します。
turn-into-app
7.6kワークフロー、スプレッドシート、プロジェクトを、画面にデータが入り、操作の裏でエージェントが働く、洗練されたビジュアルアプリに変えます。
visual-plan
7.6kプレーンテキストの計画を、図、ファイルのマップ、コードの断片、未解決の質問を含む、対話できるビジュアルな計画に変えます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。