Skillpedia
المواقع والواجهات (frontend)7.6k · #13134

agent-native-toolkit

ما الذي تفعله

تحدد هذه المهارة السلوكيات المشتركة في مساحة العمل عبر تطبيقات Agent-Native، والسلوكيات التي تبقى خاصة بكل تطبيق. تغطي الإعدادات والتنقل والمشاركة والتعليقات وواجهة الوكيل. وهي مخصصة للمطورين الذين يبنون عناصر الواجهة العامة والميزات المشتركة.

متى تستخدمها

  • ✓عندما توشك على بناء الإعدادات أو التنقل أو المشاركة لتطبيق.
  • ✓عندما تحتاج إلى تقرير هل يجب أن يكون السلوك محلياً في التطبيق أو مشتركاً.
  • ✓عندما تضيف واجهة موجهة للوكيل مثل شريط المحادثة أو تقدم التشغيل.

رابط المهارة

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/agent-native-toolkit/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/agent-native-toolkit/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل أبني نافذة المشاركة لتطبيقي بنفسي، أم أستخدم مكون مساحة العمل المشترك؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تفرز المهارة السلوكيات إلى مجموعتين. السلوك الخاص بمساحة العمل كلها أو الخاضع للحوكمة أو المتكرر عبر التطبيقات يذهب إلى قطع مشتركة، أما سير العمل الخاص بالمجال فيبقى في التطبيق.

المحتوى التقني (ملف 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 Chat just because the app was scaffolded from the chat template.
  • Settings is not a rail item. It opens from the account menu (OrgSwitcher in the sidebar footer) and from ⌘, (Ctrl+, elsewhere), which AppProviders binds. Keep the /settings route; don't add a Settings entry to items, secondaryItems, or the footer.
  • The right AgentSidebar owns contextual agent work. Domain buttons that call sendToAgentChat should 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 sendToAgentChat with bounded context and openSidebar: 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 AgentSidebar must use one AgentKit controller and transport. Core's AssistantChat export remains supported as an alias for AgentKitAssistantChat; 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/agentkit context 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
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة