refine

Guide iterative prompt and schema refinement for LLM extraction workloads.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/idealic-ai/engine --skill refine-idealic-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refine
Source: https://github.com/idealic-ai/engine/tree/main/skills/refine
Command: npx skills add https://github.com/idealic-ai/engine --skill refine-idealic-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Iterative prompt and schema refinement using a structured, evidence-driven workflow to improve LLM extraction quality and consistency.

Core Features & Use Cases

  • Structured interrogation to generate a workload manifest and map out test cases
  • Phase-based refinement: planning, validation, baseline, iteration loop, and synthesis
  • Visual critique and logs to capture hypotheses, experiments, and results for auditability
  • Co-located manifests and templates to keep refinement docs with code

Quick Start

Run the refine workflow to begin interrogation and manifest creation.

Frequently Asked Questions about refine

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

FAQPage Schema
How do I improve LLM extraction quality through prompt refinement?

LLM extraction quality improves through an evidence-based refinement loop that records hypotheses, runs experiments, and validates results. This structured workflow enforces protocol-driven iteration to raise consistency and build auditable improvement manifests.

What is a prompt refinement manifest and why do I need one?

A prompt refinement manifest is a structured document that maps out test cases and records decisions for LLM workloads. You need one to keep refinement documentation co-located with code and ensure repeatable, auditable improvement.

How do I set up experiments for iterative prompt engineering?

Iterative prompt engineering experiments are set up by running a structured interrogation that generates a workload manifest. This initiates a phase-based workflow encompassing planning, validation, baseline testing, and an iteration loop.

Can I track prompt engineering hypotheses and decisions for auditing?

Prompt engineering hypotheses and decisions are tracked using visual critique and logs within the refinement workflow. This protocol-driven process captures experiments and results, ensuring complete auditability for extraction quality improvements.

What is the best way to structure a prompt iteration loop for LLM workloads?

The best way to structure a prompt iteration loop is through a phase-based workflow covering planning, validation, baseline, iteration, and synthesis. This enforces repeatable refinement and synthesizes results for consistent extraction quality.

Does evidence-based prompt refinement work without a baseline test case?

Evidence-based prompt refinement requires a baseline test case to measure extraction quality improvements. The workflow explicitly includes a baseline phase before entering the iteration loop to ensure valid comparative results.