Chuyển đến nội dung
Skillpedia
Agent48k · #5076

llm-app-patterns

Skill này làm gì

Hướng dẫn này giúp bạn lên kế hoạch và xây dựng các ứng dụng dùng trí tuệ nhân tạo (AI), như chatbot hoặc trợ lý ảo. Nó chỉ cách kết nối AI với các công cụ và dữ liệu khác, đảm bảo mọi thứ hoạt động an toàn và đúng đắn.

Khi nào nên dùng

  • ✓Khi bạn lên kế hoạch cách ứng dụng AI của mình sẽ hoạt động.
  • ✓Khi bạn muốn AI dùng thông tin bên ngoài để trả lời.
  • ✓Khi bạn xây dựng trợ lý AI có thể dùng công cụ (như máy tính hoặc tìm kiếm web).

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/llm-app-patterns/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/llm-app-patterns/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

“Làm sao để sắp xếp các phần của ứng dụng AI để nó dùng dữ liệu và công cụ bên ngoài một cách an toàn?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Hướng dẫn cung cấp lộ trình và ví dụ để kết nối các phần khác nhau của ứng dụng AI. Bạn xác định dữ liệu và công cụ AI được dùng, cùng cách nó hoạt động để đảm bảo an toàn và chính xác.

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.

🤖 LLM Application Patterns

Architecture and integration sketches for LLM applications, with explicit retrieval, tool, privacy and verification boundaries.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use This Skill

Use this skill when:

  • Designing LLM-powered applications
  • Implementing RAG (Retrieval-Augmented Generation)
  • Building AI agents with tools
  • Setting up LLMOps monitoring
  • Choosing between agent architectures

Inputs, worked example and verification

Record provider/SDK versions, authorized data and tools, request/response schemas, latency/cost budgets and the expected task outcome. All code above is an integration sketch: llm, database, parser and provider-response adapters are project-owned and must be implemented explicitly. Never execute model-provided Python, expressions or fuzzy tool names; dispatch only exact registered tools after schema and authorization checks. Enforce per-call deadlines as well as loop limits.

Example: a planner first queues steps A and B, then after A replaces the remaining work with C. The executor must run A then C, never stale B. A parser step must apply the parser to the actual prior output. Two tenants with the same prompt must produce different cache keys, and cache reads/writes require an explicit reuse policy. These are concrete regression assertions; successful mocks still do not prove live provider behavior.

The limiter sketch is single-threaded and process-local. A distributed deployment needs a shared atomic limit and deadlines. Retry only retry-safe operations, honoring provider retry guidance; a timeout after a side effect is not evidence that nothing happened. See Tenacity retry predicates.

Limitations

  • A retrieved source list does not prove each answer claim is supported; verify claim-to-source evidence and abstention behavior.
  • Prompt text and JSON-shaped output are not authorization boundaries. Enforce permissions in the application.
  • Provider failover can change output quality, tool schemas, cost and data residency; only use pre-approved compatible fallbacks.
  • Caching must respect tenant access, data/prompt revisions and deletion policy; temperature zero does not make output deterministic.
  • Model/SDK examples are not a complete service, benchmark or production-readiness certificate.
Câu hỏi thường gặp

RAG là gì?

RAG (Retrieval-Augmented Generation) là kỹ thuật giúp AI dùng thông tin bên ngoài (như tài liệu hoặc cơ sở dữ liệu) để đưa ra câu trả lời chính xác và cập nhật hơn.

'Agent có công cụ' là gì?

Đây là các hệ thống AI có thể dùng công cụ bên ngoài (như tính toán, tìm kiếm internet, v.v.) để hoàn thành các tác vụ phức tạp hơn.

Vì sao tôi cần lo về bảo mật và ranh giới?

Điều quan trọng là đặt ranh giới rõ ràng cho những gì AI được truy cập và làm. Điều này ngăn nó truy cập thông tin không phù hợp hoặc thực hiện hành động không mong muốn, giúp dùng dữ liệu và công cụ an toàn.

Chi tiết

Mô tả gốc của tác giả

Architecture and integration sketches for LLM applications, with explicit retrieval, tool, privacy and verification boundaries.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5076
Giấy phép
MIT
Cập nhật
15/10/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ự