شعار Visual Verification

Visual Verification

المجتمع
nahid-sparktales
visual-verification

Prove a UI looks right across every state and viewport it has to survive — enumerate the state matrix, make captures deterministic, compare against a baseline captured the same way, and triage every diff. Use before calling a visual change, a style refactor or a redesign done, when running or trusting a screenshot-comparison suite, and when asked whether a screen still looks correct. Not for judging whether a design is good, not for proving controls actually work, and never on its own sufficient to call a page verified.

نظرة عامة

الناشرnahid-sparktales
المستودعagent-dispatcher
اسم المهارةvisual-verification
النجوم
58
التفريعات
5
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها nahid-sparktales على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Visual Verification في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/frontend/visual-verification
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/frontend/visual-verification .claude/skills/visual-verification
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Visual Verification في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Visual Verification تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Visual Verification بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Visual verification

A screenshot is evidence that pixels were produced. It is not evidence that they were produced by your change, that they are correct, or that anything behind them works. This procedure turns screenshots into an argument that survives being questioned.

When this fires

Before reporting a change to appearance as done — CSS, layout, theming, spacing, a component's visual states, a design-system swap. Also when a visual regression suite reports a diff, or reports none and someone is about to treat that as proof. It does not fire for changes with no visual surface, and it does not fire when the question is whether the design is any good.

Procedure

  1. Derive the surface from the change, not from the app. List the components and routes the change can reach. A shared token or a base component reaches far more than the page you edited — grep the usages before deciding the surface is one screen.

  2. Write the matrix down before capturing anything. States × viewports × themes:

    • states — default, empty, loading, error, long content, truncated content, disabled, focused, hovered, selected, and whatever this component's own states are
    • viewports — at minimum a desktop width, the narrowest supported mobile width, and any width where a breakpoint actually changes the layout
    • themes — light and dark if both ship; RTL and forced-colors if they are supported

    Capturing what is convenient and calling it coverage is the failure this step prevents. Cells you decide not to capture stay on the list, marked unchecked.

  3. Make the page deterministic before the first capture. Every source of natural variation is a future false diff: wait for fonts to finish loading and for the network to settle; disable animations and transitions; freeze clocks and relative timestamps; seed or fix the data; neutralize randomized content such as avatars and placeholder images. Mask genuinely volatile regions rather than accepting a permanently noisy diff.

  4. Establish the baseline explicitly. Either capture the before state yourself in the same session under the same conditions, or use committed baselines, or state that no baseline exists. A comparison against a baseline captured on another machine, browser, device pixel ratio or font set is comparing two unknowns.

  5. Capture each cell with a label that identifies it — component, state, viewport, theme. An unlabeled folder of screenshots cannot be reasoned about later. Prefer an element-scoped capture for a component and a viewport-clipped one for a layout; full-page captures stitch and scroll, which can trigger lazy loading and scroll-linked effects that change what you see.

  6. Triage every diff into exactly one of three — a real regression, an intended change, or a flake. Intended changes get their baseline updated deliberately and one at a time. Flakes get step 3 fixed. Never widen a diff threshold to make a comparison pass: that is how a suite stops finding anything while still reporting green.

  7. Read the captures yourself, not only the diff. A diff finds change against a baseline. It cannot find something that was wrong in the baseline too — clipped text, an overflowing container, an unreadable contrast, a control pushed off screen. Look at each capture as a user would.

  8. Cover what pixels cannot by handing off, not by inferring. Whether controls function is rendered/behavioural verification; whether focus order, keyboard reach and announced names are right is accessibility work; whether it matches the design is fidelity work. Name which of these you did not do.

  9. Stop before anything outward-facing. Updating committed baselines, approving a run in a shared review service, or pushing captures anywhere others consume them changes what future runs compare against. Present what you would change and ask.

What a screenshot cannot prove

  • That a control does anything — a dead button is pixel-identical to a live one.
  • That the build is current. A stale bundle produces a clean diff and a confident false pass.
  • That text is text. An image of a heading and a heading look the same and read differently.
  • That nothing is clipped outside the capture, or that overflow does not scroll horizontally.
  • Focus order, keyboard reachability, accessible names, or anything a screen reader gets.
  • That colors are right for a user in forced-colors, high-contrast, or a different color profile.
  • Any state reached only by interaction, unless you drove the interaction and captured it.

Checklist

  • Surface derived from the change's real usages, not assumed
  • State × viewport × theme matrix written before capturing
  • Fonts, network, animation, clock and data pinned before the first capture
  • Baseline named: captured here, committed, or absent
  • Every cell captured under identical conditions and labeled
  • Each diff triaged as regression, intended, or flake — no threshold widened
  • Captures read directly, not only compared
  • Uncaptured cells and uncovered axes listed by name
  • No baseline updated or run approved without asking

Failure handling

  • A diff that will not stabilize — it is non-determinism, not a tolerance problem. Find the moving part (a font swapping in late, an animation frame, a timestamp, an unseeded list) and pin it. If it cannot be pinned, mask that region and say it is masked.
  • Diffs everywhere after an unrelated change — suspect the harness before the code: a changed browser version, device pixel ratio, platform or font stack shifts anti-aliasing globally. Do not accept a wholesale baseline update as a fix for this without saying that is what happened.
  • No baseline exists — you can describe what the current state looks like. You cannot claim anything is unchanged, and saying "looks the same as before" from memory is not a comparison.
  • A capture looks correct but the change is not visible in it — assume a stale build before assuming success, and re-render from a fresh build.
  • Capture tooling is unavailable — say visual verification could not be performed, name what you checked instead, and do not call the appearance verified.

What this refuses to conclude

Without labeled captures of the named cells, this procedure does not conclude that a UI looks right — it reports which cells were checked and which were not. Without a baseline captured under the same conditions, it does not conclude "unchanged". Without a fresh build, it does not conclude anything at all. And a complete, clean visual pass never, on its own, means the page works: that claim needs the behavioural check, run separately.

Evidence to report

The matrix as planned and the cells actually captured; the determinism measures applied and anything masked; where the baseline came from; each diff with its triage verdict and reasoning; the captures themselves for anything a sentence cannot carry; every cell and axis left unchecked, named; and which behavioural, accessibility or design-fidelity checks were not part of this.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Visual Verification؟

Prove a UI looks right across every state and viewport it has to survive — enumerate the state matrix, make captures deterministic, compare against a baseline captured the same way, and triage every diff. Use before calling a visual change, a style refactor or a redesign done, when running or trusting a screenshot-comparison suite, and when asked whether a screen still looks correct. Not for judging whether a design is good, not for proving controls actually work, and never on its own sufficient to call a page verified.

لماذا تستخدم Visual Verification على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Visual Verification عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Visual Verification في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/frontend/visual-verification. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Visual Verification؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Visual Verification؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Visual Verification معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Visual Verification مجانية؟

نعم. نشرها nahid-sparktales على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇