agent-native-toolkit
Skill này làm gì
Skill này nêu rõ hành vi workspace nào nên được dùng chung giữa các ứng dụng Agent-Native và hành vi nào nên thuộc riêng từng ứng dụng. Nó bao gồm cài đặt, điều hướng, chia sẻ, bình luận và giao diện agent. Skill dành cho lập trình viên xây dựng phần khung và tính năng dùng chung của ứng dụng.
Khi nào nên dùng
- ✓Khi bạn sắp xây dựng cài đặt, điều hướng hoặc chia sẻ cho một ứng dụng.
- ✓Khi bạn cần quyết định một hành vi nên là cục bộ của ứng dụng hay dùng chung.
- ✓Khi bạn thêm giao diện hướng agent như thanh chat hoặc tiến trình chạy.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/agent-native-toolkit/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi nên tự xây hộp thoại chia sẻ cho ứng dụng hay dùng component chia sẻ của workspace?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chia hành vi thành hai nhóm. Hành vi toàn workspace, có quản trị hoặc lặp lại giữa nhiều ứng dụng thì đưa vào các thành phần dùng chung, còn quy trình nghiệp vụ riêng thì ở lại trong ứng dụng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Những gì thuộc về thành phần dùng chung?
Hành vi toàn workspace, agent nhìn thấy được, có quản trị hoặc lặp lại giữa các ứng dụng, như cài đặt và quyền.
Những gì ở lại trong ứng dụng?
Mô hình nghiệp vụ, action nghiệp vụ và quy trình đặc thù sản phẩm ở lại trong từng ứng dụng.
Cài đặt mở từ đâu?
Skill nói cài đặt được mở từ menu tài khoản và phím tắt, chứ không từ điều hướng chính.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13134
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.