Chuyển đến nội dung
Skillpedia
Agent280k · #132

agent-self-evaluation

Skill này làm gì

Công cụ này giúp AI kiểm tra xem công việc vừa làm có tốt không. Nó tự chấm điểm theo 5 khía cạnh: độ chính xác, tính đầy đủ, độ rõ ràng, khả năng áp dụng và súc tích, kèm điểm số và gợi ý cải thiện.

Khi nào nên dùng

  • ✓Sau khi hoàn thành một tác vụ phức tạp.
  • ✓Khi AI cần đảm bảo nó đã làm mọi thứ đúng.
  • ✓Khi bạn hỏi “làm được đến mức nào?”.

Liên kết skill

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/agent-self-evaluation/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/affaan-m/ECC/blob/main/pi/core/skills/agent-self-evaluation/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

“Hãy đánh giá đoạn code bạn vừa viết.”

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

Cách hoạt động

AI so sánh việc đã làm với yêu cầu của bạn, theo 5 tiêu chí. Với mỗi điểm dưới 5, nó giải thích rõ điều gì còn thiếu hoặc sai.

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 Self-Evaluation

After completing a complex task, the agent pauses to rate its own output against a structured 5-axis rubric. This is NOT a pass/fail gate — it's a deliberate reflection step that catches omissions, flags overconfidence, and surface areas for improvement before the user has to.

When to Activate

  • After writing code that spans 3+ files or 50+ lines
  • After completing a multi-step workflow (implement → test → review)
  • After a debugging session that involved 3+ attempts
  • After producing a design document, architecture decision, or written analysis
  • When the user asks "how good was that?" or "rate yourself"
  • At the end of any session Stop hook (if configured — see references/hook-integration.md)

Core Concepts

The 5 Evaluation Axes

Axis Question What it catches
Accuracy Are the facts, claims, and outputs correct? Hallucinations, wrong API names, incorrect syntax, false statements
Completeness Did it cover everything the user asked for? Missed edge cases, unhandled error paths, forgotten requirements, skipped subtasks
Clarity Is the explanation understandable and well-structured? Confusing explanations, jargon without definition, missing context, rambling
Actionability Can the user act on the output immediately? Vague suggestions, missing steps, "you should X" without showing how, no verification path
Conciseness Did it use the minimum words/tokens needed? Redundancy, over-explanation, repeating the user's question verbatim, filler content

Scoring Scale

5 — Exceptional: no reasonable improvement possible
4 — Good: minor nits only, no substantive gaps
3 — Adequate: meets the request but has a notable weakness on at least one axis
2 — Weak: has a clear gap that affects usability or correctness
1 — Poor: fundamentally misses the request or contains significant errors

The Evidence Rule

Every score below 5 MUST cite specific evidence. A score of 3 cannot just say "could be better" — it must say exactly what is missing or wrong. The mantra: "Show the gap, don't just name it."

Workflow

Step 1: Collect the Raw Material

Gather what you'll evaluate:

- The original user request (read back from conversation)
- Your final response/output (the deliverable)
- Any tool outputs that verify correctness (test results, exit codes, lint output)
- Any user feedback received during the task (corrections, "try again", "that's not right")

Step 2: Score Each Axis Independently

Work through the 5 axes one at a time. For each:

  1. Read the axis question
  2. Find evidence (or lack of evidence) in the output
  3. Assign a score 1-5
  4. If score < 5, write a one-sentence improvement note citing the gap

Do NOT average the scores in your head first and then work backwards. Score each axis fresh.

Step 3: Produce the Evaluation Report

Use the template from templates/evaluation-report.md. The report must include:

- One-line summary
- 5-axis scorecard (score + evidence per axis)
- Overall score (simple average, rounded to 1 decimal)
- 1-3 specific improvements ranked by impact
- Self-check: "Would the user agree with this assessment?"

Step 4: Apply the Improvement

If any axis scored 3 or below:

  1. State what you would do differently
  2. If the gap is fixable in < 30 seconds (missing link, unclear phrasing), fix it now
  3. If the gap requires rework, flag it explicitly: "This axis scored [reason] because [evidence]. Re-running with [specific fix] would likely raise it to [score]."

Code Examples

Example: Good Evaluation (Score 4+)

Task: Add retry logic to HTTP client

Scorecard:
  Accuracy:    5 — All API calls correct. Verified: retries use
                  exponential backoff. No hallucinated methods.
  Completeness: 4 — Covered happy path + 3 error cases. Missing:
                  timeout handling for hung connections.
  Clarity:      5 — Code comments explain backoff formula.
                  PR description links to incident that motivated this.
  Actionability:5 — Single merge. No follow-up tasks. Tests pass.
  Conciseness:  4 — 47 lines total. The retry loop could be extracted
                  into a helper to drop ~8 lines.

Overall: 4.6 — One gap (timeout handling). Fix before merging.

Example: Weak Evaluation (Score 2-3)

Task: Add retry logic to HTTP client

Scorecard:
  Accuracy:    2 — Used urllib3 which doesn't match our

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

5 trục đánh giá là gì?

Đó là các tiêu chí: Accuracy (chính xác, có đúng không), Completeness (đầy đủ, đã bao quát mọi thứ chưa), Clarity (rõ ràng, có dễ hiểu không), Actionability (có dùng được ngay không) và Conciseness (ngắn gọn, đi thẳng vào vấn đề không).

Điểm 5 nghĩa là gì?

Nghĩa là công việc xuất sắc, không còn chỗ hợp lý để cải thiện.

Tại sao AI cần tự đánh giá?

Để đầu ra cuối cùng là tốt nhất có thể, bắt lỗi hoặc điểm yếu trước khi bạn phải chỉ ra.

Chi tiết

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

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

repo: affaan-m/ECC

Độ phổ biến

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