Visual Design Loop logo

Visual Design Loop

Community
giang6283623
visual-design-loop

Run an iterative visual design improvement loop for UI/product polish tasks. Use when a request involves screenshots, rendering, visual review, frontend polish, layout/typography/color refinement, design QA, or a Claude/Codex loop goal that touches a visible product surface. Score the visual gate first and wait for user approval before starting loops.

Overview

Publishergiang6283623
Repositoryminimal-vibe-coding-kit
Skill namevisual-design-loop
Stars
26
Forks
3
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by giang6283623 on GitHub. Read the source before you install it.

Installation

Install the Visual Design Loop AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/giang6283623/minimal-vibe-coding-kit/tree/main/.agents/skills/visual-design-loop
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/giang6283623/minimal-vibe-coding-kit.git /tmp/minimal-vibe-coding-kit
mkdir -p .claude/skills
cp -r /tmp/minimal-vibe-coding-kit/.agents/skills/visual-design-loop .claude/skills/visual-design-loop
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Visual Design Loop in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Visual Design Loop on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Visual Design Loop is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Visual Design Loop

Use this skill to improve a visible UI through controlled render-review-fix loops. Keep the brief and existing project conventions as the source of truth; do not add new product requirements just because a screen could be enhanced.

Gate

Do not start loops by default. Score the need first, 0-2 per question:

  1. Did the change alter a user-visible surface?
  2. Does the outcome depend on subjective visual judgment (layout, typography, color)?
  3. Could a visual regression reach end users unnoticed by existing tests?
  • Score 0-2: skip the loop; rely on the repo validation command.
  • Score 3-4: one screenshot check with at most one targeted fix; no loop.
  • Score 5-6: propose the loop with its budget and estimated cost, then wait for explicit user approval before the first loop.

Report the score and decision in one line, for example: "visual gate 5/6: proposing a 3-loop run, awaiting approval".

Contract

Before editing, resolve and state:

  • Goal.
  • Target surface: route, page, component, flow, or supplied screenshot.
  • Source of truth: current brief plus repo instructions, design system, nearby UI, and backbone.yml when present.
  • Render method: local URL, app command, Storybook story, preview command, static file, or supplied screenshot.
  • Screenshot method: browser screenshot, Playwright, in-app browser, provided image, or equivalent.
  • Editable paths.
  • Protected paths.
  • Budget: default 3 loops.
  • Timeout: default 10 minutes per loop.
  • Log path: /tmp/design-{project_slug}.md.

If render or screenshot capture is missing and cannot be inferred safely, ask for the missing command, URL, or image before editing.

Baseline

  1. Render the target surface.
  2. Capture or inspect the baseline screenshot.
  3. Review visible issues only; do not invent findings.
  4. Create or update /tmp/design-{project_slug}.md.
  5. Log the baseline screenshot, visual score, main issues, and any render constraints.

Derive project_slug from backbone.yml project.name when available; otherwise use the repository directory name.

Visual rubric

Score screenshots from 1 to 5 using:

  • Visual hierarchy: primary content and action are obvious.
  • Layout and spacing: alignment, rhythm, density, whitespace.
  • Typography: scale, contrast, readability, consistency.
  • Color and contrast: accessible, intentional, not noisy.
  • Component consistency: matches nearby UI and design system.
  • Responsiveness: works at relevant viewport sizes.
  • Interaction states: hover, focus, disabled, empty, loading, and error states when relevant.
  • Product fit: improves the brief without adding unnecessary features.

Loop

For each loop:

  1. Review the latest screenshot.
  2. Identify the highest-impact visual issue.
  3. Form one small hypothesis.
  4. Apply one targeted fix inside editable paths only.
  5. Render again.
  6. Capture the after screenshot.
  7. Compare before and after.
  8. Keep the change only if quality improves, or if quality is equal with simpler and safer implementation.
  9. Revert only your own loop changes if the result is worse.
  10. Run the repo validation command when code changed.
  11. Append the loop result to /tmp/design-{project_slug}.md.

Each loop entry must include:

  • Loop number.
  • Screenshot reviewed.
  • Issue found.
  • Hypothesis.
  • Fix applied.
  • Before/after judgment.
  • Rubric score before.
  • Rubric score after.
  • Validation result.
  • Remaining concerns.
  • Stop/continue decision.

Stop criteria

Stop when:

  • The design is polished enough for the brief.
  • The latest loop gives no meaningful improvement.
  • Further changes would be subjective or overworked.
  • Budget is reached.
  • Validation fails for a non-trivial reason.
  • A product or design decision is required from the user.
  • Render or screenshot tooling is unavailable.

Final report

Report:

  • Baseline score.
  • Final score.
  • Screenshots reviewed.
  • Changes kept.
  • Changes discarded, if any.
  • Validation result.
  • Remaining risks or design decisions.
  • Log path.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Visual Design Loop AI skill do?

Run an iterative visual design improvement loop for UI/product polish tasks. Use when a request involves screenshots, rendering, visual review, frontend polish, layout/typography/color refinement, design QA, or a Claude/Codex loop goal that touches a visible product surface. Score the visual gate first and wait for user approval before starting loops.

Why use Visual Design Loop on TypingMind?

Because you install it once and use it with any model. Visual Design Loop is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Visual Design Loop in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/giang6283623/minimal-vibe-coding-kit/tree/main/.agents/skills/visual-design-loop. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Visual Design Loop?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Visual Design Loop?

As many as you like. As long as a model supports skills, you can use Visual Design Loop with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Visual Design Loop AI skill free?

Yes. It is published on GitHub by giang6283623 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇