reflection-loop

Automate self-critique and iterative revision to improve answer quality.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/MantisWare/BizForge --skill reflection-loop-mantisware
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflection-loop
Source: https://github.com/MantisWare/BizForge/tree/main/library/skills/ai-patterns/reflection
Command: npx skills add https://github.com/MantisWare/BizForge --skill reflection-loop-mantisware

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates self-critique and iterative revision to improve answer quality by surfacing and correcting errors before delivery.

Core Features & Use Cases

  • Initial Response: generate a first-pass solution.
  • Self-Critique: evaluate logic, edge cases, and alignment with requirements.
  • Identify Issues: enumerate problems with concrete checks (logic, edge cases, security, performance).
  • Revise: implement fixes and improvements, then re-run assessments.
  • Final Verification: re-check criteria and confirm no regressions.
  • Integration: fits into code-review workflows, test-driven development, and verification steps to ensure high-quality outputs.

Quick Start

Activate the reflection loop on complex tasks to auto-critique, revise, and verify results.

Frequently Asked Questions about reflection-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate self-critique and iterative revision for complex code tasks?

Automated self-critique generates an initial response, evaluates logic and edge cases, identifies concrete issues, applies revisions, and performs final verification to prevent regressions.

What is a reflection loop for code review and quality improvement?

A reflection loop is an iterative refinement process that surfaces and corrects errors before delivery by performing self-critique, issue identification, and revision across complex tasks.

When should I use iterative refinement for ambiguous requirements?

Iterative refinement is necessary for ambiguous requirements and complex tasks demanding high accuracy, ensuring outputs undergo rigorous self-critique, revision, and final verification checks.

Can I integrate self-critique workflows into test-driven development?

Self-critique workflows integrate directly into test-driven development and code-review processes, applying automated validation steps to evaluate logic, security, and performance before final delivery.

What are the limitations of automated self-critique for code generation?

Automated self-critique requires clearly defined validation criteria to be effective; without specific checks for logic, edge cases, and performance, the iterative revision process may fail to identify subtle issues.

Does iterative refinement work for high accuracy tasks across different domains?

Iterative refinement applies to complex tasks and ambiguous requirements across domains, utilizing self-critique and issue identification to achieve high accuracy and ensure final verification confirms no regressions.