The AIF Reflex Loop skill provides a robust framework for high-quality artifact generation within Claude Code by following a structured PLAN-PRODUCE-EVALUATE-REFINE workflow. It ensures that code, documentation, or specifications meet specific quality thresholds before completion through rigorous self-correction and automated validation. The skill features parallel execution of checks, persistent state management in a dedicated directory, and tiered quality gates (Phase A/B), making it an essential tool for complex tasks that require more than a single-shot generation to reach production standards.
主要功能
01Multi-phase reflex workflow including PLAN, PRODUCE, EVALUATE, CRITIQUE, and REFINE.
020 GitHub stars
03Parallel execution model for simultaneous artifact production and validation check preparation.
04Persistent session management with run history, status tracking, and resume capabilities.
05Automated quality gates with tiered scoring thresholds and customizable evaluation rules.
06Template-based criteria generation for APIs, code, documentation, and configuration files.
使用场景
01Iterative code generation where the output must pass unit tests and linting before being finalized.
02Creating technical documentation that requires multiple rounds of internal critique and refinement.
03Developing complex API specifications that must pass strict schema validation and style guidelines.