Chuyển đến nội dung
Skillpedia
Lập trình chung7.6k · #13193

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/BuilderIO/agent-native/blob/main/packages/core/docs/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

  1. Start from the generated app root.
  2. Start cross-corpus discovery with pnpm action framework-search --pattern "<feature>".
  3. Use --scope docs or --scope source and --mode glob, --mode sql-like, or --mode regex when the question needs a narrower pattern.
  4. Read a specific page with pnpm action docs-search --slug <slug>.
  5. Search source examples with pnpm action source-search --query "<pattern>" or read a file with pnpm 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>.
  6. If the action runner is unavailable, search node_modules/@agent-native/core/docs directly with rg. Search node_modules/@agent-native/core-corpus/corpus for source examples.
  7. For app-specific rules, also read the app's own AGENTS.md and 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-agent and agent-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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự