agentleFS
fatih-developerfatih-developer/fth-skills/skills/agent-reviewer/SKILL.md

agent-reviewer

Skill7 starsChanged 43 days agoMITView on GitHub

After an agentic task completes, perform a retrospective analysis across 6 dimensions (goal alignment, efficiency, decision quality, error handling, communication, reusability). Score performance, identify inefficiency patterns, evaluate skill usage, and produce actionable improvement recommendations. Triggers on 'how did it go', 'retrospective', 'review performance', 'what could be better', or after any long agentic task completes.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Agent Reviewer Protocol

Task is done — now look back. What went well, what went wrong, what should be different next time? Goal: never repeat the same mistake and continuously improve skills and processes.

Core principle: Retrospectives are painful but necessary. A good agent evaluates itself.


6 Review Dimensions

1. Goal Alignment

Did the result match the original intent?

  • Was the user's actual request met?
  • Did scope creep occur?
  • Over-delivery or under-delivery?

2. Efficiency

Did the task take longer than necessary?

  • Unnecessary tool calls?
  • Repeated operations?
  • Sequential steps that could have been parallel?
  • Token/resource waste?

3. Decision Quality

Were decisions well-reasoned?

  • Were assumptions verified?
  • Were alternatives considered?
  • Did early decisions cause later problems?

4. Error Handling

How were errors addressed?

  • Detected quickly?
  • Right strategy applied?
  • Same error repeated?

5. Communication

How was user interaction quality?

  • Unnecessary confirmations requested?
  • Critical information missing at key points?
  • Too many or too few questions?

6. Reusability

Can lessons from this task transfer to the next?

  • General patterns discovered?
  • Which skills were missing or insufficient?
  • Which decisions should become standard?

Finding Severity

SeverityMeaningAction
CRITICALEndangered the task or significantly reduced qualityMust fix
MODERATECreated inefficiency but didn't break the resultImprove
POSITIVESomething that went better than expectedRepeat, standardize

Output Format

AGENT REVIEWER — Task Retrospective
Task     : [task name]
Score    : X/10
Findings : N critical | N moderate | N positive

## Dimension Scores

| Dimension | Score | Summary |
|-----------|-------|---------|
| Goal Alignment | X/10 | ... |
| Efficiency | X/10 | ... |
| Decision Quality | X/10 | ... |
| Error Handling | X/10 | ... |
| Communication | X/10 | ... |
| Reusability | X/10 | ... |
| **Overall** | **X/10** | |

## Critical Findings
[If any — what happened, why critical, how to prevent]

## Improvement Areas
[Inefficiencies, missed opportunities]

## What Went Well
[Decisions and approaches worth repeating]

## Action Items

### For Next Task
1. [Concrete change — what to do]
2. [Concrete change]

### Skill / Process Improvement
1. [Which skill should be updated / added]
2. [Which pattern should be standardized]

## Lessons Learned
[Items a future agent instance should know — candidates for memory-ledger]

Inefficiency Patterns — Auto-Detect

Scan the task history for these patterns:

PatternSymptomFix
Repeated tool callSame file/API read 2+ timesCache it
Unnecessary confirmationLow-risk step triggered approvalAdjust checkpoint-guardian threshold
Late assumption discovery"Actually it should be..." after errorTrigger assumption-checker earlier
Sequential parallel stepsIndependent steps ran sequentiallyUse parallel-planner
Blind retryLogic error treated as transientFix error-recovery categorization
Context lossPrevious step info forgottenMemory-ledger not updated
Over-decomposition2-step task split into 8Adjust task-decomposer granularity

Skill Performance Evaluation

Evaluate skills used during the task:

## Skills Used

| Skill | Used? | Effective? | Notes |
|-------|-------|------------|-------|
| task-decomposer | Yes/No | Good/Fair/Poor | ... |
| checkpoint-guardian | Yes/No | Good/Fair/Poor | ... |
| assumption-checker | Yes/No | Good/Fair/Poor | ... |
| tool-selector | Yes/No | Good/Fair/Poor | ... |
| parallel-planner | Yes/No | Good/Fair/Poor | ... |
| error-recovery | Yes/No | Good/Fair/Poor | ... |
| memory-ledger | Yes/No | Good/Fair/Poor | ... |
| output-critic | Yes/No | Good/Fair/Poor | ... |

Missing / untriggered skills and why?

When to Skip

  • Task was single-step or under 5 minutes
  • Prototype / experimental task
  • User said "no retrospective needed"

Guardrails

  • Be honest, not kind — the value is in finding problems, not hiding them.
  • Concrete suggestions only — "do better" is useless; "cache file reads to avoid 3 redundant calls" is actionable.
  • Cross-skill: this is the ecosystem's feedback loop — findings here should update other skills and processes.

References

  • references/EXAMPLES.md — a complete retrospective of a skill-development session, showing scores, findings, and action items. Read it when the expected output format or level of detail is unclear.

🔗 Next Steps & Handoffs

<!-- BEGIN GENERATED: handoffs (generated from the ecosystem workflow map by build_ecosystems.py — do not edit by hand) -->

Ecosystem: @ecosystem-orchestration — Agent Orchestration.

Workflows:

  • Complex Task Execution Flow (orch-complex-task, step 6 of 6): last step → once it passes, complete the workflow and report the outcome.

Handoff contract: pass results to the next skill through an inline Handoff block in your reply with the fields skill, workflow, created_at, inputs, summary, and next (the handoff contract of @ecosystem-orchestration). If a next skill is not installed, continue with its step from the ecosystem map, or install it with npx skills add fatih-developer/fth-skills --skill <name> after the user agrees.

<!-- END GENERATED: handoffs -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.