agent-native-docs
Skill này làm gì
Skill này chỉ cho agent cách tìm trong tài liệu và mã ví dụ đi kèm framework đã cài, để dùng đúng API. Dành cho lập trình viên xây dựng trên framework Agent-Native.
Khi nào nên dùng
- ✓Khi bạn bắt đầu một tính năng dùng các API lõi của Agent-Native.
- ✓Khi bạn cần một ví dụ về cách dùng một tính năng của framework.
- ✓Khi bạn cần tài liệu khớp với phiên bản framework đã cài.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/packages/core/docs/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
“Thêm một tính năng dùng các action của framework, và kiểm tra tài liệu đã cài trước để khớp với phiên bản này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm trong tài liệu và mã nguồn đi kèm framework đã cài, bắt đầu bằng tìm kiếm rộng rồi đọc đúng trang hoặc ví dụ cần thiết.
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 Docs Lookup
Rule
Before implementing non-trivial Agent-Native functionality, read the
version-matched docs installed with @agent-native/core. When implementation
examples or template patterns matter, inspect the packaged source corpus too.
How
- Start from the generated app root.
- Start cross-corpus discovery with
pnpm action framework-search --pattern "<feature>". - Use
--scope docsor--scope sourceand--mode glob,--mode sql-like, or--mode regexwhen the question needs a narrower pattern. - Read a specific page with
pnpm action docs-search --slug <slug>. - Search source examples with
pnpm action source-search --query "<pattern>"or read a file withpnpm action source-search --path <path>. If it reports that template source is unavailable, install the matching corpus package:pnpm add -D @agent-native/core-corpus@<installed-core-version>. - If the action runner is unavailable, search
node_modules/@agent-native/core/docsdirectly withrg. Searchnode_modules/@agent-native/core-corpus/corpusfor source examples. - For app-specific rules, also read the app's own
AGENTS.mdand any relevant.agents/skills/<name>/SKILL.md.
Useful Slugs
| Need | Slugs |
|---|---|
| Actions and typed client calls | actions, client |
| SQL, auth, access, sharing | database, authentication, security, sharing |
| UI state visible to the agent | context-awareness |
| Headless and chat-first apps | pure-agent-apps, agent-surfaces, using-your-agent |
| Automations and schedules | automations, recurring-jobs |
| Cross-app and external agents | a2a-protocol, external-agents, mcp-protocol, mcp-apps |
| Skills and instructions | skills-guide, writing-agent-instructions |
Don't
- Do not rely on memory for framework APIs when local package docs are present.
- Do not add custom REST wrappers for normal app data before reading
actions. - Do not add inline LLM calls before reading
using-your-agentandagent-surfaces.
Câu hỏi thường gặp
Tại sao không dựa vào trí nhớ để dùng API của framework?
Tài liệu cài cùng gói khớp với đúng phiên bản mà ứng dụng đang dùng.
Nếu thiếu ví dụ mã nguồn thì sao?
Skill nói hãy cài gói tài liệu (corpus) khớp với phiên bản lõi đã cài.
Agent tìm kiếm gì đầu tiên?
Một tìm kiếm trên toàn bộ tài liệu bằng tên tính năng, trước khi tìm hẹp hơn.
Chi tiết
Mô tả gốc của tác giả
How to look up version-matched Agent-Native framework docs and source in node_modules. Use before coding against @agent-native/core APIs or advanced features.
repo: BuilderIO/agent-native
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13193
- 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ự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.