dm-loopify

Run rubric-driven iterative optimization loops with explicit success criteria and stop conditions.

1|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/mlesk/darkmark-skills --skill dm-loopify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dm-loopify
Source: https://github.com/mlesk/darkmark-skills/tree/main/skills/productivity/dm-loopify
Command: npx skills add https://github.com/mlesk/darkmark-skills --skill dm-loopify

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the inefficiency of unstructured, ad-hoc improvement efforts that lack clear success criteria, which often lead to wasted iterations, local maxima, and unmeasurable progress. It transforms vague "make this better" requests into a rigorous, repeatable optimization process with explicit goals, weighted rubrics, and defined stop rules.

Core Features & Use Cases

  • Generalized Rubric-Driven Loop: Works for any target type including single artifacts, related artifact sets, subsystems, full codebases, or open-ended goals with no existing baseline.
  • Built-in Guardrails: Enforces explicit optimization contracts, weighted quality rubrics with observable anchors, baseline scoring, and clear stop conditions (threshold, plateau, or maximum round cap) to prevent endless or unproductive iteration.
  • Use Case Example: If you have a backend subsystem that needs to meet a 90/100 reliability score, use this Skill to define a quality rubric, score the current baseline, and iterate through targeted critique and improvement rounds until the target is met or progress plateaus.

Quick Start

Use the dm-loopify skill to optimize the attached design doc until it scores at least 85/100 on the handoff quality rubric, stopping if progress plateaus after 3 consecutive non-improving rounds.

Frequently Asked Questions about dm-loopify

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

FAQPage Schema
How do I set up rubric-driven iterative optimization for a codebase?

Rubric-driven iterative optimization requires defining explicit success criteria, weighted quality rubrics with observable anchors, and baseline scoring before running targeted critique and improvement loops on any codebase or subsystem.

What is the best way to enforce stop conditions during iterative refinement?

Iterative refinement stop conditions are enforced by setting a target score threshold, detecting a progress plateau after consecutive non-improving rounds, or applying a maximum round cap to prevent endless and unproductive optimization loops.

Can I use weighted quality rubrics to improve a single design document?

Weighted quality rubrics apply to any target type, including single artifacts like design documents, by scoring the current baseline and iterating through targeted improvements until the artifact meets the defined threshold.

Why does unstructured quality improvement lead to wasted iterations?

Unstructured quality improvement causes wasted iterations and local maxima because it lacks clear success criteria, measurable progress tracking, and defined optimization contracts, making ad-hoc efforts unmeasurable and inefficient.

Does rubric optimization work for open-ended goals with no existing baseline?

Rubric optimization works for open-ended goals with no existing baseline by establishing an initial baseline score through weighted quality criteria, then applying targeted critique rounds until progress plateaus or the threshold is met.

When should I not use an iterative optimization workflow?

Iterative optimization workflows should be avoided for straightforward tasks requiring only a single pass, as the overhead of defining weighted rubrics, baseline scoring, and stop conditions adds unnecessary complexity to simple improvements.