What problem does it solve?
AI agents often produce outputs that require structured evaluation and guided refinement to reach acceptable quality. This skill provides patterns for self-critique, evaluation-then-improvement loops, and separate evaluator-optimizer workflows to enable reliable, incremental improvements.
Core Features & Use Cases
- Self-critique loops: Agents critique their own outputs and generate targeted improvements.
- Evaluator-Optimizer separation: Distinct components generate results, evaluate quality, and apply refinements.
- Code-specific reflection: Applies test-driven refinement patterns to code generation tasks.
- Strategic evaluation methods: Rubric-based scoring, LLM-as-Judge comparisons, and outcome-focused assessment.
Quick Start
Provide an initial task to the agent and allow it to iterate evaluation and refinement until it meets criteria.