Khi sử dụng Antigravity để làm việc với AI Agent, hai khái niệm Skill và Workflow rất dễ gây nhầm lẫn. Có thể hiểu đơn giản: Skill = AI biết làm việc như thế nào. Workflow = AI phải thực hiện quy trình nào. 1. Skill là gì? Skill là một tập instruction giúp Agent biết cách thực hiện một loại công việc . Ví dụ, chúng ta muốn AI biết cách phân tích một screenshot UI. Ta tạo: .agent/ └── skills/ └── ui-analysis/ └── SKILL.md SKILL.md có thể viết: --- name: ui-analysis description: Analyze UI screenshots and create a UI specification. --- # UI Analysis When analyzing a UI screenshot: 1. Identify the page structure. 2. Identify layout regions. 3. Identify UI components. 4. Identify visible fields. 5. Identify visible states. 6. Distinguish visible information from assumptions. 7. Check whether similar components already exist. 8. Do not invent business rules. 9. Do not implement code. The result should be a structured UI specification. Skill này nói cho AI biết: "Nếu ...
Suy nghĩ, yêu thương và làm việc hết mình