One-click install
npx skills add https://github.com/marinkobabic/dario-shop --skill aif-loop-marinkobabic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-loop
Source: https://github.com/marinkobabic/dario-shop/tree/main/.claude/skills/aif-loop
Command: npx skills add https://github.com/marinkobabic/dario-shop --skill aif-loop-marinkobabic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the inefficiency and inconsistent quality of manual iterative refinement of technical artifacts like API specifications, source code, and documentation by enforcing a structured, quality-gated workflow that systematically improves work until it meets defined standards, eliminating missed requirements and subjective quality checks.

Core Features & Use Cases

  • Structured Reflex Loop: Runs a repeatable 6-phase workflow (PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, REFINE) with parallel execution for faster iteration cycles.
  • Configurable Quality Controls: Supports custom evaluation rules, phase-specific quality thresholds (A/B levels), and adjustable iteration limits to match project-specific requirements.
  • Persistent State Tracking: Saves loop state across sessions, allowing you to resume interrupted refinement work without losing progress or context.
  • Use Case: Refine an OpenAPI specification until all required endpoints, schemas, and examples are present and aligned with your domain model, or iterate on source code until it passes all project coding convention and logic checks.

Quick Start

Use the aif-loop skill to run a quality-gated iterative refinement loop for your generated API specification until it passes all required endpoint presence, schema alignment, and example completeness validation rules.

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 refinement for API specifications until they pass quality checks?

Iterative refinement for API specifications uses a structured generate-critique-refine loop with configurable quality gates. This workflow systematically evaluates artifacts against custom rules and automatically terminates when quality thresholds pass or iteration limits are reached.

What is a quality-gated reflex loop for technical artifacts?

A quality-gated reflex loop is a six-phase workflow—PLAN, PRODUCE, PREPARE, EVALUATE, CRITIQUE, REFINE—that iteratively improves technical artifacts like source code and documentation. It enforces automated evaluation against rule sets to eliminate missed requirements and subjective quality checks.

Can I resume interrupted iterative refinement work across different sessions?

Yes, you can resume interrupted iterative refinement work across sessions using persistent state tracking. This feature saves the loop state, allowing you to continue the generate-critique-refine cycles without losing progress or context.

How do I configure custom evaluation rules and quality thresholds for source code refinement?

You configure custom evaluation rules and quality thresholds for source code refinement by setting phase-specific A/B level quality gates and adjustable iteration limits. This matches the iterative refinement workflow to your specific project coding conventions and logic checks.

Does parallel phase execution speed up the generate-critique-refine cycle for technical documentation?

Yes, parallel phase execution speeds up the generate-critique-refine cycle for technical documentation. Running structured workflow phases concurrently reduces iteration time while maintaining strict evaluation against your configured quality gates and rule sets.