Visual Edit Precision skill for Claude

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.

Visual Edit Precision SKILL.md

The full skill file from wshobson/agents (MIT).

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

How to install Visual Edit Precision

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit wshobson/agents/plugins/skill-forge-essentials/skills/visual-edit-precision#main ~/.claude/skills/visual-edit-precision

Codex

npx degit wshobson/agents/plugins/skill-forge-essentials/skills/visual-edit-precision#main ~/.codex/skills/visual-edit-precision

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Visual Edit Precision skill do?

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.

+How do I install Visual Edit Precision in Claude Code?

Copy the skill folder into ~/.claude/skills/visual-edit-precision, for example with "npx degit wshobson/agents/plugins/skill-forge-essentials/skills/visual-edit-precision#main ~/.claude/skills/visual-edit-precision". Claude Code loads it automatically and uses it when a task matches.

+Does Visual Edit Precision work with ChatGPT or Codex?

Yes. Visual Edit Precision uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/visual-edit-precision. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Visual Edit Precision free?

Visual Edit Precision is published on GitHub by wshobson under the MIT license, which allows free use.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Web Component Design

    Master React, Vue, and Svelte component patterns including CSS-in-JS, composition strategies, and reusable component architecture.

    wshobson/agents★ 43k
  5. Vercel React Native Skills

    Official

    React Native and Expo best practices for building performant mobile apps.

    vercel-labs/agent-skills★ 34k
  6. Vercel React View Transitions

    Official

    Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component,…

    vercel-labs/agent-skills★ 34k
  7. Agent Designer

    Design multi-agent systems (supervisor, swarm, pipeline) and tool schemas; find bottlenecks in run logs.

    alirezarezvani/claude-skills★ 30k
  8. Agent Workflow Designer

    Use when architecting a multi-step LLM or agent pipeline, choosing single vs multi-agent, or fixing context bloat and broken handoffs.

    alirezarezvani/claude-skills★ 30k
  9. Api Design Reviewer

    Use for any PR or spec that adds or changes REST endpoints, before approving it.

    alirezarezvani/claude-skills★ 30k

See all design & frontend skills →

More skills from wshobson

  1. Wcag Audit Patterns

    Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance.

    wshobson/agents★ 43k
  2. Web3 Testing

    Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking.

    wshobson/agents★ 43k

All skills by wshobson →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.