visual-edit-precision
यह क्या करती है
यह टूल वेबसाइट या ऐप में छोटे बदलाव करने में मदद करता है। आप जिस चीज़ पर इशारा करते हैं या तस्वीर में जो दिखाते हैं, AI ठीक वैसा ही बदलाव करता है। यह सिर्फ़ उतना ही बदलता है जितना ज़रूरी है, बाकी हिस्सों को नहीं छेड़ता।
कब इस्तेमाल करें
- ✓जब आप किसी बटन की ओर इशारा करके उसका रंग बदलना चाहते हैं।
- ✓जब आप वेबसाइट के किसी हिस्से की वैसी तस्वीर भेजते हैं जैसा आप उसे देखना चाहते हैं।
- ✓जब आप किसी एलिमेंट के ऊपर तीर बनाकर बदलाव का संकेत देते हैं।
Skill का लिंक
https://github.com/wshobson/agents/blob/main/plugins/skill-forge-essentials/skills/visual-edit-precision/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“तस्वीर में दिखाए अनुसार इस बटन का रंग नीला कर दो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI ठीक-ठीक पहचानता है कि आपने किस चीज़ को चुना है या उस पर क्या बनाया है। फिर वह सही कोड ढूंढकर सबसे छोटा बदलाव करता है और बाकी किसी चीज़ को नहीं छूता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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:
- IDENTIFY - What exact element(s) were indicated? Which component file owns them?
- SCOPE - Change ONLY what was pointed at. Don't refactor surrounding code.
- PRESERVE - Keep existing styles, classes, and behavior. Only modify what was asked.
- TARGETED - Make the minimal CSS/markup change that achieves the visual result.
- 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
अक्सर पूछे जाने वाले सवाल
अगर मैं एक साथ कई चीज़ें बदलने को कहूं तो क्या होगा?
AI हर अनुरोध को अलग-अलग संभालता है। अगर दो अनुरोध एक ही चीज़ के लिए हों, तो वह सबसे नया अनुरोध इस्तेमाल करता है।
जितना मांगा गया हो, उससे ज़्यादा क्यों न बदला जाए?
सिर्फ़ उतना बदलने से वेबसाइट या ऐप के बाकी हिस्से, जो पहले से ठीक चल रहे हैं, खराब नहीं होते।
अगर मैं एक चीज़ की ओर इशारा करूं, तो क्या AI पूरा कोड बदल देगा?
नहीं। वह सिर्फ़ उसी एलिमेंट का कोड छूता है जिसे आपने बताया है, बाकी कोड जैसा है वैसा रहता है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6790
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
screen-reader-testing
41kआपके एजेंट को screen readers का इस्तेमाल करके वेबसाइटों की जांच करने देता है, ताकि यह पक्का हो सके कि वे accessible हैं।
wcag-audit-patterns
41kआपके एजेंट को वेबसाइटों का accessibility audit करने और WCAG guidelines के हिसाब से समस्याएं ठीक करने में मदद करता है।
multi-reviewer-patterns
41kआपके एजेंट को कई code reviews को एक साथ चलाने देता है। यह एक जैसे findings हटाता है और सारी रिपोर्ट को एक जगह जोड़ता है।
parallel-debugging
41kआपके एजेंट को parallel जांच के साथ जटिल समस्याओं को debug करने और root cause analysis में मदद करता है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।