What problem does it solve?
Manually iterating on technical artifacts like API specs, code, or documentation to meet quality standards is time-consuming and inconsistent. This Skill automates the end-to-end refinement workflow, eliminating repetitive manual review and ensuring artifacts meet defined quality criteria before delivery.
Core Features & Use Cases
- Strict Multi-Phase Iteration Loop: Executes structured PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, and REFINE phases with parallel execution for speed, ensuring every iteration is focused on passing quality gates.
- Persistent State Tracking: Saves all loop state to disk, allowing you to pause and resume refinement sessions at any time without losing progress.
- Configurable Quality Rules: Supports custom evaluation criteria and thresholds for different artifact types (API specs, code, docs, config), with built-in templates for common use cases.
- Use Case: A backend developer can use this Skill to iteratively refine an OpenAPI specification, automatically checking for missing endpoints, invalid schemas, and missing examples until the spec passes all required quality checks.
Quick Start
Use the aif-loop skill to iteratively refine your OpenAPI 3.1 specification until it passes all required quality checks for endpoints, schemas, and examples.