iterative-refinement

Automate action-validate-improve loops with convergence-based termination across software projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/d-oit/do-novelist-ai --skill iterative-refinement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iterative-refinement
Source: https://github.com/d-oit/do-novelist-ai/tree/main/.claude/skills/iterative-refinement
Command: npx skills add https://github.com/d-oit/do-novelist-ai --skill iterative-refinement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Execute iterative refinement workflows with validation, progress tracking, and intelligent termination.

Core Features & Use Cases

  • Progressive iterations: action → validate → record progress
  • Convergence and termination modes: fixed, criteria-based, convergence, hybrid
  • Multi-file structure to minimize token usage and balance complexity

Quick Start

Define configuration (success criteria, max iterations) and run iterative cycles that fix issues, validate outcomes, and continue until criteria are met.

Frequently Asked Questions about iterative-refinement

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

FAQPage Schema
How do I set up automated test-fix cycles with validation loops?

Iterative refinement automates test-fix cycles by executing repeated action-validate-improve loops with convergence detection. Define success criteria and max iterations in configuration, then the system runs cycles that execute fixes, validate outcomes, record progress, and terminate when criteria are met or convergence is detected.

What termination modes does iterative validation support?

Iterative refinement supports four termination modes: fixed iteration count, criteria-based (stop when conditions met), convergence-based (stop when improvements plateau), and hybrid combinations. Choose the mode that fits your workflow—fixed for predictable tasks, criteria-based for goal-driven work, convergence for performance optimization.

Can I use iterative refinement for code quality improvement and performance optimization?

Yes, iterative refinement applies to test-fix cycles, code quality improvement, performance optimization, and progressive enhancement. It preserves context between iterations and supports language-specific validators, making it suitable for repeated action-validate-improve workflows across software projects.

How does iterative refinement preserve context and minimize token usage?

Iterative refinement uses a modular, multi-file structure with progressive disclosure of tooling to preserve context between iterations while minimizing token consumption. This design allows complex workflows to run efficiently by organizing related actions and validators across multiple files.

When should I choose iterative refinement over manual refinement cycles?

Use iterative refinement when you need automated, repeatable validation loops with intelligent termination and progress tracking. It's ideal for scenarios where manual cycles would be tedious—test-fix patterns, performance tuning, and quality improvements that require consistent validation at each step.