Chuyển đến nội dung
Skillpedia
Agent40k · #7041

agent-architecture

Skill này làm gì

Agent này giúp lên cấu trúc cho một AI agent. Nó có thể lập kế hoạch cho agent mới hoặc phân tích agent hiện có để tìm vấn đề.

Khi nào nên dùng

  • ✓Khi lên kế hoạch cho một AI agent mới.
  • ✓Khi xem lại một AI agent hoạt động chưa tốt.
  • ✓Khi muốn tìm cách tốt nhất để xây dựng một AI agent.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/agent-architecture/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/github/awesome-copilot/blob/main/skills/agent-architecture/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

“Tôi muốn lên kế hoạch cho một AI agent trả lời các câu hỏi nấu ăn. Tôi nên tổ chức nó thế nào?”

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

Cách hoạt động

Agent đặt câu hỏi để hiểu agent cần làm gì và các yêu cầu là gì. Dựa trên đó, nó đề xuất một cấu trúc và cách kiểm tra xem cấu trúc có hoạt động hay khô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.

AI Agent Architecture

Help the user obtain a justified architecture for their task or an evidence-based audit of an existing agent. Deliver architectural decisions and ways to verify them, without implementing the agent. By default, completed work includes a PDF report and a visualization of the results. An “ideal architecture” fits the requirements, cost of failure, and team resources; it does not maximize the number of components.

Choose a route

Request Route Read
New agent, requirements are not yet clear Design: working cases → early design → requirements and decision coverage → delivery design.md, architecture-contract.md
Architecture from an existing specification Design: fill in what is known and clarify only gaps The same files; do not restart the interview
Review an agent already written Audit: reconstruct actual paths → verify → deliver findings audit.md, and architecture-contract.md as criteria
Agent makes mistakes, has degraded, or falsely reports “done” Diagnosis within the audit: case → hypotheses → discriminating checks → correction and closure criterion audit.md and diagnostic-review.md
Review and redesign Audit first; its demonstrated problems become design inputs audit.md first, then design.md

In either mode, read source-map.md once: it explains the origins of the principles and the textbook's limitations. The original PDF is not needed for ordinary skill use. scenarios.md is needed only to test the skill itself.

When choosing or revisiting the execution approach, use architecture-selection.md; when designing acceptance or reviewing quality claims, use evaluation-design.md. Develop the validation loop and completion evidence using validation-loop.md; for long-running/background work, pauses, recovery, and competing sessions, use execution-continuity.md, including storage, RTO/RPO, budgets, the human decision queue, and scheduling. Develop delegation, mutable memory, execution isolation, and long-running/streaming interaction only when the task has these properties. A section's existence does not make its question mandatory: material gaps under discovery-protocol.md determine depth.

Shared decision rules

  • First read the available specification, local instructions, architectural decisions, and relevant materials. Use code to reconstruct architecture, not to make unsolicited fixes. Do not run an application with external effects for an audit.
  • Maintain a brief register: source-confirmed / user requirement / proposal / assumption / open question / not applicable. Identify where requirements came from. A user decision and an architect's hypothesis have different statuses.
  • Corporate contracts and accepted decisions apply only within their own project. The textbook is an engineering reference, not a source of authority or a replacement for local canon. Identify conflicts rather than resolving them silently.
  • First consider ordinary automation without an LLM, a single call, and a predefined workflow. Introduce an agent loop, RAG, persistent memory, MCP, or multiple agents only for a concrete need. For each added complexity, identify its benefit, cost, verification method, and simpler alternative.
  • Do not select a model or framework before understanding the task. For a concrete selection, check current official documentation and version constraints. A documented capability is not yet demonstrated quality on the user's data.
  • Separate probabilistic model decisions from programmatically enforced rules. Describe where permissions, parameters, budget, and action admissibility are checked before an external effect, including bypass paths and resumption.
  • For a timed-out external write, a readback that finds nothing does not by itself prove that no effect occurred. Permit a retry only under an established downstream idempotency contract or authoritative proof of non-execution; otherwise retain effect unknown and reconcile or escalate. Apply this rule in concrete flows and examples as well as in the risk section.

…

Câu hỏi thường gặp

Agent có viết mã cho tôi không?

Không, nó chỉ lập kế hoạch cấu trúc. Việc xây dựng mã được thực hiện riêng.

“Kiến trúc” trong ngữ cảnh này là gì?

Đó là kế hoạch tổng thể về cách AI agent được tổ chức, có những phần nào và các phần giao tiếp với nhau ra sao.

Tôi có cần biết lập trình để dùng agent này không?

Không, agent được thiết kế để giải thích mọi thứ một cách đơn giản.

Chi tiết

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

Design AI agent architectures through requirements discovery, or audit and diagnose architectural flaws in existing agents. Architecture only; excludes implementation and general code review.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7041
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ự