aif-loop

Executes a multi-iteration Reflex Loop with phases to refine artifacts.

Updated Jun 13, 2026
One-click install
npx skills add https://github.com/n-marusov/vedo-help --skill aif-loop-n-marusov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-loop
Source: https://github.com/n-marusov/vedo-help/tree/main/.agents/skills/aif-loop
Command: npx skills add https://github.com/n-marusov/vedo-help --skill aif-loop-n-marusov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured approach to iterative artifact refinement, ensuring quality standards are met through a series of planned, evaluated, and refined iterations.

Core Features & Use Cases

  • Iterative Loop: Execute a strict multi-iteration Reflex Loop with phases (PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, REFINE) to improve an artifact.
  • Quality Gates: Use quality gates to stop iterations when quality is good enough or iteration limits are reached.
  • Use Case: Ideal for technical documentation, code generation, or any scenario requiring iterative refinement and quality-gated generation.

Quick Start

Run a strict multi-iteration Reflex Loop for a task with aif-loop new <task>.

Frequently Asked Questions about aif-loop

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

FAQPage Schema
How do I automate iterative artifact refinement with quality gates?

You can automate iterative artifact refinement by executing a strict multi-iteration Reflex Loop with phases like PLAN, PRODUCE, EVALUATE, and REFINE. This enforces quality standards through strict quality gates that halt the loop when outputs are good enough or iteration limits are reached.

What is a Reflex Loop and how does it work for task automation?

A Reflex Loop is a task automation process that refines artifacts iteratively across predefined phases: PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, and REFINE. It cycles through these phases to improve outputs until strict quality gates determine the artifact meets required standards.

Do I need Python to run a Reflex Loop for artifact generation?

Yes, Python is required to execute and configure the Reflex Loop for artifact generation. The Skill relies on Python scripts to drive the multi-iteration phases, manage quality gates, and handle the iterative refinement process.

What's the best way to enforce quality standards during code generation?

The best way to enforce quality standards during code generation is using a strict multi-iteration Reflex Loop with quality gates. By passing artifacts through PLAN, PRODUCE, EVALUATE, and REFINE phases, the loop evaluates output quality and stops only when standards are met or iteration limits are reached.

How do I start a new task for iterative technical documentation refinement?

To start a new task for iterative technical documentation refinement, run the command `aif-loop new <task>`. This initiates a strict multi-iteration Reflex Loop that applies planned phases and quality gates to refine your documentation artifact until it meets required standards.

When should I avoid using an iterative refinement loop for artifact generation?

You should avoid using an iterative refinement loop for artifact generation when your task requires only a single pass or lacks clear quality standards to evaluate. The Reflex Loop is designed for scenarios needing multi-iteration evaluation and strict quality gates to progressively improve outputs.