Skip to content
Skillpedia
Interfaces (UI/UX)41k · #4957

visual-edit-precision

Helps your agent make visual interface changes. It's useful when you point to elements on screen or use screenshots to guide edits.

What it does

This tool helps make small changes to websites or apps by following exactly what you point to or show in an image. It focuses on changing only what's needed, without altering other parts.

When to use it

  • ✓When you point to a button and want to change its color.
  • ✓When you send a picture of how you want a part of the website to look.
  • ✓When you draw an arrow over an element to indicate a change.

Example of what to ask your AI

“Change the color of this button to blue, as shown in the image.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/wshobson/agents/blob/main/plugins/skill-forge-essentials/skills/visual-edit-precision/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/skill-forge-essentials/skills/visual-edit-precision/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The AI identifies exactly what you selected or drew. It finds the correct code and makes the smallest possible change to achieve what you want, without touching anything else.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add wshobson/agents --skill visual-edit-precision

Or download just the file:

curl -L https://raw.githubusercontent.com/wshobson/agents/main/plugins/skill-forge-essentials/skills/visual-edit-precision/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Visual Edit Precision

Overview

When visual context accompanies a change request (element selections, annotations, screenshots), make targeted, minimal edits. Precision over ambition: change exactly what was indicated, preserve everything else.

Process

When visual context is provided:

  1. IDENTIFY - What exact element(s) were indicated? Which component file owns them?
  2. SCOPE - Change ONLY what was pointed at. Don't refactor surrounding code.
  3. PRESERVE - Keep existing styles, classes, and behavior. Only modify what was asked.
  4. TARGETED - Make the minimal CSS/markup change that achieves the visual result.
  5. VERIFY - Confirm the change renders correctly without side effects.

Key Principles

Precision Over Ambition

Visual context gives a SPECIFIC element. Don't:

  • Refactor the entire component when only one style was requested
  • Change the component's API when only its appearance was pointed at
  • Touch logic when only visuals were selected

Do:

  • Find the exact file and line for the selected element
  • Make the minimal edit that achieves the described visual change
  • Preserve all existing behavior, event handlers, accessibility

Multiple Edits

When multiple visual edits arrive:

  • Each targets its own element independently
  • Don't wait for one to finish before processing another
  • If two edits conflict (same element, different requests), handle the most recent

Common Mistakes

  • Rewriting an entire component when the user pointed at one button
  • Changing global config when only one element's color needs adjusting
  • Breaking responsive behavior by adding fixed widths to match a selection
  • Ignoring specificity (user indicated ONE card, agent changed ALL cards)
  • Removing accessibility attributes (aria-*, role, tabindex) during visual edits
FAQ

What happens if I ask to change many things at once?

The AI handles each request separately. If two requests are for the same thing, it uses the most recent one.

Why is it important not to change more than requested?

Changing only what was requested prevents breaking other parts of the website or app that already work well.

Will the AI change the entire code if I point to one thing?

No. It only touches the code for the exact element you indicated, keeping the rest intact.

Details

Original description by the author

Use when making UI/frontend changes guided by visual context, when the user selects elements visually, draws annotations, or provides screenshots alongside change requests. Also use when editing components where spatial context (element identity, DOM references, layout data) supplements text instructions.

repo: wshobson/agents

Popularity

GitHub stars
41k
Ranking position
#4957
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills