refine

Refine flagged outputs through structured critique and iterative improvement passes.

8|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/ShaheerKhawaja/ProductionOS --skill refine-shaheerkhawaja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refine
Source: https://github.com/ShaheerKhawaja/ProductionOS/tree/main/skills/refine
Command: npx skills add https://github.com/ShaheerKhawaja/ProductionOS --skill refine-shaheerkhawaja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Refine flagged outputs through structured critique and iterative improvements.

Core Features & Use Cases

  • Targeted critique: provide focused feedback on weaknesses in outputs.
  • Iterative refinement: apply focused passes to progressively improve results.
  • Convergence checks: stop when refinements yield diminishing returns or meet quality goals.
  • Use case: Integrate into AI review pipelines to elevate the quality of generated artifacts.

Quick Start

Critique the flagged output and propose a focused refinement plan to improve results.

Frequently Asked Questions about refine

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

FAQPage Schema
How do I refine flagged AI-generated outputs through structured critique?

To refine flagged AI-generated outputs, you apply structured critique passes to identify weaknesses and implement iterative improvements. This process requires a documented improvement plan to ensure measurable quality gains in the generated artifacts.

What is the best way to automate code review for weak LLM artifacts?

The best way to automate code review for weak artifacts is integrating a critique-driven workflow into your review pipelines. This enforces focused refinement passes on flagged outputs, progressively elevating quality until convergence checks halt the process.

How do convergence checks work during iterative code refinement?

Convergence checks work by stopping iterative code refinement when modifications yield diminishing returns or meet predefined quality goals. This prevents unnecessary passes and ensures the critique-driven loop terminates efficiently once targets are reached.

Can I use iterative refinement workflows for both Codex and Claude generated results?

Yes, you can use iterative refinement workflows for both Codex- and Claude-generated results. The critique-driven process applies to any task requiring focused refinement of weak outputs, regardless of the specific AI model that produced the initial artifact.

When should I not use critique-driven passes for output quality assurance?

You should not use critique-driven passes for output quality assurance when artifacts lack identifiable weaknesses or when a documented improvement plan cannot be established. The workflow targets flagged outputs needing structured, measurable iterative enhancements.

Do I need a documented improvement plan to refine code outputs?

Yes, you need a documented improvement plan to refine code outputs. The workflow requires documenting the specific enhancements to enforce structured critique and guarantee measurable quality gains throughout the iterative refinement passes.