experiment-iterative-coder

Refine code iteratively with ruff lint checks and pytest tests.

425|44|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/EvoScientist/EvoSkills --skill experiment-iterative-coder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experiment-iterative-coder
Source: https://github.com/EvoScientist/EvoSkills/tree/main/skills/experiment-iterative-coder
Command: npx skills add https://github.com/EvoScientist/EvoSkills --skill experiment-iterative-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates disciplined, repeatable code improvement cycles by orchestrating plan → code → evaluate → refine workflows that embed linting, testing, and self-evaluation to raise code quality in complex tasks.

Core Features & Use Cases

  • Structured iteration: Decomposes tasks into sequential phases with up to 3 iterations per phase (max 10 iterations overall) to progressively elevate correctness and robustness.
  • Automated quality gates: Runs lint checks (ruff), executes tests (pytest), and performs self-evaluation to surface targeted improvements.
  • Decision-driven planning: Diagnoses failures and crafts precise improvement plans, enabling rapid, data-guided code refinement across multi-file projects.
  • When to use: Ideal for high-stakes coding tasks, refactoring efforts, or scenarios where incremental quality gains are prioritized over single-pass output.

Quick Start

Tell the agent to start a code task with MODE: MORE_EFFORT and follow the plan → code → evaluate → refine cycle until quality targets are met.

Frequently Asked Questions about experiment-iterative-coder

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

FAQPage Schema
How do I automate iterative code refinement with lint and test checks?

Iterative code refinement automates quality gates by running lint checks and tests within plan, code, evaluate, and refine cycles. You initiate it by starting a code task with MODE: MORE_EFFORT to progressively elevate correctness across multi-file projects.

What is the best way to handle multi-file coding tasks requiring high quality?

For multi-file coding tasks requiring high quality, use an iterative phase decomposition approach. It breaks tasks into sequential phases with up to 3 iterations per phase and a maximum of 10 total iterations to ensure robustness through automated self-evaluation.

How does automated failure diagnosis work during code generation?

Automated failure diagnosis works by evaluating lint and test failures, then crafting precise, data-guided improvement plans. This targeted planning enables rapid code refinement by directly addressing the diagnosed errors within the iteration cycle.

When should I use an iterative coding approach over a single-pass output?

Use an iterative coding approach over single-pass output for high-stakes coding tasks, complex refactoring efforts, or scenarios where incremental quality gains are prioritized to ensure robustness and correctness.

Does this iterative coding workflow support ruff and pytest?

Yes, the iterative coding workflow supports ruff and pytest as automated quality gates. It runs ruff for lint checks and pytest for test execution during the evaluate phase to surface targeted improvements before the next refinement cycle.

What are the iteration limits for phase decomposition in complex coding tasks?

The iteration limits for phase decomposition allow up to 3 iterations per phase, with a maximum of 10 iterations overall. This constraint ensures structured, progressive quality elevation without excessive cycles during complex coding tasks.