designloop

An agent skill that improves an existing interface, or its copy and docs, through scored rounds: it captures the app identically each time, fresh judge subagents grade it against a weighted rubric, separate implementer subagents fix the findings, and the loop repeats until a target score or round limit.

  • 21 GitHub stars
  • ⚖️ MIT

Last verified: write-up checked

designloop — skill preview

What it is

designloop, published on 2026-11-13 by Mubarak Marafa, is a skill for improving something that already exists, a running interface or its words, by measuring it rather than guessing. It is plain Markdown: a SKILL.md plus reference files. The loop has four steps. Capture records the app the same way every round, with screenshots for each theme and state and short clips for motion. Judge sends those captures to fresh subagents that score them against a weighted rubric, where any regression lowers the score. Fix hands the findings to separate implementer subagents. Then it repeats until a target score or a round limit is reached. The rule that judges never implement and implementers never judge is the core idea: the agent that made a change is never the one that decides it is good. Before the first round it asks a short multiple-choice brief (mode, scope, focus, baseline, stop condition, model tier, references and delivery) and saves it to .designloop/BRIEF.md and RUBRIC.md; it also reads your project's docs, scripts and git habits into .designloop/RULES.md. There are three modes: professional polish that keeps the current look, art direction toward a named style, reference sites, a generated image or a Figma design, and a writing mode for UI copy, docs, READMEs and landing pages in which a fresh reader agent tests whether the text is understood. The output is a branch and an unmerged pull request. We read the README; we did not run the loop.

Who it's for

  • Developers with a working app that looks inconsistent and no designer on hand
  • Teams who want to move an existing UI toward a named style or a Figma design
  • Writers and developers tightening error messages, empty states, READMEs and getting-started docs

Requirements

Requirements

  • Claude Code or another agent that loads skills and can run subagents
  • A UI you can run locally
  • A way to drive it: Playwright or CDP for web and Electron, simulator tooling for mobile
  • Optional: a Figma MCP connector, an image-generation tool for target images

Setup

  1. Step 1

    bash
    /plugin marketplace add mubarakmarafa/designloop
  2. Step 2

    bash
    /plugin install designloop@designloop
  3. Step 3

    bash
    Manual: git clone https://github.com/mubarakmarafa/designloop.git
  4. Step 4

    bash
    cp -R designloop/skills/designloop ~/.claude/skills/

مهارة لوكلاء الذكاء الاصطناعي تحسّن واجهة موجودة أو نصوصها ووثائقها عبر جولات مقيسة: تلتقط التطبيق بالطريقة نفسها كل مرة، ويقيّمه وكلاء محكّمون جدد وفق معايير موزونة، ثم يصلح وكلاء منفّذون منفصلون الملاحظات، وتتكرر الحلقة حتى درجة مستهدفة أو حد للجولات.

Examples

Polish an inconsistent UI

Prompt
prompt
/designloop tighten the chrome — it feels inconsistent

Expected output: Professional polish mode: keeps the current look and fixes tokens, type, spacing, contrast, states and motion.

Art direction toward a style

Prompt
prompt
/designloop make it look like graphic realism, neon pop with brutalist layouts

Expected output: Moves the UI toward a named style rather than polishing what is there.

Match a Figma design

Prompt
prompt
/designloop match this Figma: <link>

Expected output: Uses a Figma MCP connector if one is set up.

Writing mode

Prompt
prompt
/designloop rewrite all our error messages and empty states

Expected output: Judges score clarity, voice and accuracy, and a fresh reader agent checks comprehension; the meaning is kept fixed.

Pros & cons

Pros

  • Pro:Judging and fixing are done by different subagents, so the fixer never grades its own work
  • Pro:Captures are identical each round, which makes scores comparable
  • Pro:Rubric, brief and project rules are written to files you can read and edit
  • Pro:Delivers an unmerged branch and PR by default; never merges or releases unless asked

Cons

  • Con:Each round spawns several subagents, so token use grows quickly without a round cap
  • Con:Needs the app to run locally and a working driver such as Playwright
  • Con:Mixing polish, art direction and writing in one loop makes the scores unreliable, per the README
  • Con:Scores come from model judges, not real users