Skillpedia
الواجهات (UI/UX)41k · #6790

visual-edit-precision

ما الذي تفعله

تساعد هذه المهارة على إجراء تعديلات صغيرة على المواقع أو التطبيقات، باتباع ما تشير إليه أو تعرضه في صورة بالضبط. وتركّز على تغيير ما هو ضروري فقط دون المساس بالأجزاء الأخرى.

متى تستخدمها

  • ✓عندما تشير إلى زر وتريد تغيير لونه.
  • ✓عندما ترسل صورة لشكل تريده لجزء من الموقع.
  • ✓عندما ترسم سهماً فوق عنصر للدلالة على تغيير.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/wshobson/agents/blob/main/plugins/skill-forge-essentials/skills/visual-edit-precision/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“غيّر لون هذا الزر إلى الأزرق كما هو موضح في الصورة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحدد الذكاء الاصطناعي بدقة ما اخترته أو رسمته. ثم يجد الكود الصحيح ويجري أصغر تغيير ممكن لتحقيق ما تريده، دون المساس بأي شيء آخر.

المحتوى التقني (ملف 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:

  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
الأسئلة الشائعة

ماذا يحدث إذا طلبت تغيير أشياء كثيرة دفعة واحدة؟

يعالج الذكاء الاصطناعي كل طلب على حدة. وإذا تعارض طلبان على الشيء نفسه، يأخذ بالأحدث.

لماذا من المهم ألا يتم تغيير أكثر مما طُلب؟

تغيير ما طُلب فقط يمنع كسر أجزاء أخرى من الموقع أو التطبيق تعمل بشكل جيد.

هل سيغيّر الذكاء الاصطناعي الكود كله إذا أشرت إلى شيء واحد؟

لا. يعدّل فقط الكود الخاص بالعنصر الذي حددته، ويُبقي الباقي كما هو.

التفاصيل

الوصف الأصلي من المؤلف

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

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة