AI identity và AI team của bạn, portable trên mọi nền tảng AI.
Đăng nhập Bắt đầu
Menu
Xây dựng Agent of Me Khám phá Phong cách Professional Agents Agent cộng đồng Bảng xếp hạng Tin tức AI
Nền tảng AI Danh mục Model Matrix So sánh Tôi nên dùng AI nào? Hướng dẫn tích hợp Thiết lập OpenClaw Prompt Fit
Học & Công cụ Học Hỏi dữ liệu Agent Builder API
Giới thiệu Về chúng tôi Liên hệ Tuyên bố miễn trách
Đăng nhập Bắt đầu
Tài khoản
AI identity của bạn, mang đi được

Tạo tài khoản miễn phí để xây dựng profile của bạn. Mặc định riêng tư. Không có gì được chia sẻ trừ khi bạn tự công bố.

Bắt đầu Đăng nhập
Chế độ tối

🧭 Chế độ hướng dẫn
Chưa quen với prompt, system instruction, context window, token? Chúng tôi giải thích từng thuật ngữ ngay khi bạn duyệt, bằng ngôn ngữ dễ hiểu. Cùng một trang, tích hợp sẵn phần hướng dẫn.

⚡ Chế độ chuyên gia
Bạn đã biết cách prompting hoạt động. Chỉ phần nội dung thực chất, gọn gàng và súc tích, không có giải thích thêm. Đây là chế độ xem mặc định.

Ngôn ngữ giao diện

Prompt Systems & Agents · Phần 2/5, Designing a Specialist

Mục tiêu học tập
Nhấn Next (hoặc dùng phím mũi tên) để chuyển từng ý một. Không giới hạn thời gian, bài kiểm tra 5 câu chờ ở cuối. Mũi tên ← ở trên cùng thoát bất cứ lúc nào; tiến trình được giữ lại.

A job description, not a costume

An agent prompt is a reusable specialist: instructions that define a job, saved once, invoked whenever the job comes up. The complete design has five parts. ROLE: what the specialist is and is not. WORKFLOW: the steps it follows, in order. REQUIRED INPUTS: what it must be given, or must ask for, before starting. OUTPUT CONTRACT: the exact shape of what comes back. GUARDRAILS: what it never does, plus any disclaimers its domain demands.

Miss a part and the failure is predictable. No workflow: plausible but unmethodical answers. No required inputs: confident work built on guesses. No output contract: a different shape every time. No guardrails: the one bad day that makes you stop trusting it.

Why structure beats role-play

'You are an experienced contract lawyer' is a costume. It shifts vocabulary and confidence, mostly confidence, while the underlying work stays whatever the model felt like doing. The costume version sounds more expert without being more careful.

The structured version defines the work: 'Review the contract clause by clause. For each flagged clause: quote it, name the risk, rate severity, propose alternative wording. Ask for the governing jurisdiction if it is not stated. End with the three clauses to negotiate first, and note that this is not legal advice.' Same domain, but now the expertise is a procedure you can verify and improve.

Guardrails and worked examples

Guardrails are the never-do rules that hold on the bad day: 'never invent a citation', 'never state a deadline without naming its source', 'always include the not-legal-advice line'. Write them from failures you have seen or can predict. Each guardrail should have a story. Domains with real stakes (legal, medical, financial) also need their standing disclaimer built in, not remembered per prompt.

Then pin the behavior with one worked example: a sample input and the exact output you want for it, inside the agent prompt. You know why from earlier courses, patterns hold better than descriptions. One example tunes tone, depth and format at once, and each new failure mode becomes a new example or a new guardrail.

Version your agents

The first version of any agent is a hypothesis. You will meet inputs you did not predict and outputs that drift from the contract. So treat the prompt like the small piece of infrastructure it is: number the versions, change one thing at a time, keep one line per version on what changed and why.

The discipline pays off the first time an agent gets worse. With versions, you compare v4 against v3 and find the line that caused it; without them you are rewriting from memory. Versioning also makes agents shareable, a teammate can adopt v5 and report problems against something specific.

Câu đố nhanh, Designing a Specialist

5 câu hỏi, được rút ngẫu nhiên từ ngân hàng đề mỗi lần thử. Điểm đạt 60%. Làm lại không giới hạn.

Phần tiếp theo: Composing Profile + Specialist →
Đọc toàn bộ văn bản bài học

1. A job description, not a costume

An agent prompt is a reusable specialist: instructions that define a job, saved once, invoked whenever the job comes up. The complete design has five parts. ROLE: what the specialist is and is not. WORKFLOW: the steps it follows, in order. REQUIRED INPUTS: what it must be given, or must ask for, before starting. OUTPUT CONTRACT: the exact shape of what comes back. GUARDRAILS: what it never does, plus any disclaimers its domain demands.

Miss a part and the failure is predictable. No workflow: plausible but unmethodical answers. No required inputs: confident work built on guesses. No output contract: a different shape every time. No guardrails: the one bad day that makes you stop trusting it.

2. Why structure beats role-play

'You are an experienced contract lawyer' is a costume. It shifts vocabulary and confidence, mostly confidence, while the underlying work stays whatever the model felt like doing. The costume version sounds more expert without being more careful.

The structured version defines the work: 'Review the contract clause by clause. For each flagged clause: quote it, name the risk, rate severity, propose alternative wording. Ask for the governing jurisdiction if it is not stated. End with the three clauses to negotiate first, and note that this is not legal advice.' Same domain, but now the expertise is a procedure you can verify and improve.

3. Guardrails and worked examples

Guardrails are the never-do rules that hold on the bad day: 'never invent a citation', 'never state a deadline without naming its source', 'always include the not-legal-advice line'. Write them from failures you have seen or can predict. Each guardrail should have a story. Domains with real stakes (legal, medical, financial) also need their standing disclaimer built in, not remembered per prompt.

Then pin the behavior with one worked example: a sample input and the exact output you want for it, inside the agent prompt. You know why from earlier courses, patterns hold better than descriptions. One example tunes tone, depth and format at once, and each new failure mode becomes a new example or a new guardrail.

4. Version your agents

The first version of any agent is a hypothesis. You will meet inputs you did not predict and outputs that drift from the contract. So treat the prompt like the small piece of infrastructure it is: number the versions, change one thing at a time, keep one line per version on what changed and why.

The discipline pays off the first time an agent gets worse. With versions, you compare v4 against v3 and find the line that caused it; without them you are rewriting from memory. Versioning also makes agents shareable, a teammate can adopt v5 and report problems against something specific.

Doanh nghiệp

Business AnalystChief of StaffExecutive AssistantM&A AnalystManagement ConsultantOperations AnalystProject ManagerRecruiter

Tài chính

AccountantDue Diligence AnalystEquity Research AnalystFamily Office AnalystFinancial AnalystFixed Income AnalystInvestment Banking AnalystPortfolio Analyst

Pháp lý

Contract Review AssistantLegal Due Diligence AssistantLegal Research AssistantParalegal

Marketing

Brand StrategistContent StrategistGEO AnalystMarketing StrategistSEO AnalystSales Strategist

Cá nhân

Career CoachLearning TutorReflection AssistantResearch AssistantTravel PlannerWriting Assistant

Bất động sản

Acquisition AnalystAsset Management AnalystCommercial Real Estate AnalystDevelopment AnalystLease AnalystProperty Financial Analyst

Nghiên cứu

Competitive Intelligence AnalystDeep Research AnalystIndustry Research AnalystJournalist ResearcherMarket Research AnalystMedical Research Assistant

Công nghệ

AI Strategy AdvisorCybersecurity Research AssistantData AnalystProduct ManagerSoftware Engineer