agent-native-toolkit
Ce qu’il fait
Cette compétence définit quels comportements de l'espace de travail doivent être partagés entre les applications Agent-Native et lesquels doivent rester propres à chaque application. Elle couvre les réglages, la navigation, le partage, les commentaires et l'interface de l'agent. Elle s'adresse aux développeurs qui construisent l'habillage et les fonctionnalités partagées.
Quand l’utiliser
- ✓Quand vous êtes sur le point de construire les réglages, la navigation ou le partage d'une application.
- ✓Quand vous devez décider si un comportement doit être local à l'application ou partagé.
- ✓Quand vous ajoutez une interface destinée à l'agent, comme une barre latérale de discussion ou la progression d'une exécution.
Lien du skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/agent-native-toolkit/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Dois-je construire moi-même la fenêtre de partage de mon application, ou utiliser le composant partagé de l'espace de travail ?”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La compétence répartit les comportements en deux groupes. Les comportements transversaux à l'espace de travail, gouvernés ou répétés d'une application à l'autre vont dans des éléments partagés, tandis que les flux métier restent dans l'application.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Que met-on dans les éléments partagés ?
Les comportements transversaux à l'espace de travail, visibles par l'agent, gouvernés ou répétés d'une application à l'autre, comme les réglages et les permissions.
Qu'est-ce qui reste dans l'application ?
Les modèles métier, les actions métier et les flux propres au produit restent dans chaque application.
Où s'ouvrent les réglages ?
La compétence indique que les réglages s'ouvrent depuis le menu du compte et le raccourci clavier, et non depuis la navigation principale.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 7.6k
- Position au classement
- #13134
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
design-exploration
7.6kAide votre agent à explorer plusieurs directions de conception d'interface côte à côte, à vous laisser en choisir une, puis à affiner la version retenue.
visual-edit
7.6kAide votre agent à ouvrir une application locale en cours d'exécution dans un éditeur visuel, pour que vous en examiniez et modifiiez ensemble les écrans réels.
turn-into-app
7.6kTransforme un flux de travail, un tableur ou un projet en application visuelle soignée, avec des écrans remplis et un agent qui travaille derrière les commandes.
visual-plan
7.6kTransforme un plan écrit en plan visuel interactif, avec diagrammes, cartes de fichiers, extraits de code commentés et questions ouvertes.
Skills similaires
angular-developer
280kAide votre agent à créer du code Angular et à conseiller sur la structure des projets. Utile pour démarrer, créer des composants ou améliorer performances et accessibilité.
frontend-a11y
280kAide votre agent à rendre les interfaces web accessibles à tous. Il garantit que sites et apps fonctionnent avec les lecteurs d'écran et la navigation au clavier.
frontend-patterns
280kPermet à votre agent d'appliquer les modèles modernes du frontend : optimisation des performances, gestion d'état et bonnes pratiques avec React et Next.js.