شعار Born Accessible Ui

Born Accessible Ui

المجتمع
ginader
born-accessible-ui

Use for ANY task that creates, edits, styles, refactors or reviews web UI: HTML, CSS, design tokens, Tailwind, JavaScript or TypeScript components, React, Next.js, Vue, Svelte, Angular, Astro, Lit, pages, dashboards, forms and prototypes. Enforces the three Born-Accessible protocols (plan semantics first, mathematically verified color contrast, native HTML before ARIA) and runs a Playwright + axe-core verification loop until zero automated accessibility violations remain.

نظرة عامة

الناشرginader
المستودعborn-accessible-ui
اسم المهارةborn-accessible-ui
النجوم
11
التفريعات
1
الملفات المرفقة
4
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ginader/born-accessible-ui/tree/main/born-accessible-ui
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ginader/born-accessible-ui.git /tmp/born-accessible-ui
mkdir -p .claude/skills
cp -r /tmp/born-accessible-ui/born-accessible-ui .claude/skills/born-accessible-ui
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Born-Accessible UI

Build visually rich UI that is accessible on the first pass. Run this loop for every UI change:

Plan → Build → Verify → Fix → Report

1. Plan (Protocol 1: Silent Reasoning)

Before writing markup, write an A11Y-PLAN that covers:

  1. Landmarks: what goes into <header>, <nav aria-label>, <main>, <aside aria-label> and <footer>.
  2. Headings: one <h1> per page, then h2 and h3 without skipping levels.
  3. Controls: every interactive element, its native HTML element, its accessible name and its keyboard behavior.
  4. Contrast pairs: every text/background and UI/background color pair with its computed ratio.

Put the plan where it can't break the build: an HTML comment after <!DOCTYPE html> in a standalone page, a {/* A11Y-PLAN ... */} block in JSX/TSX, an HTML comment in Vue/Svelte/Angular templates, or your reply when you change several files.

When you build a single component, plan only its own semantics. Landmarks and the <h1> belong to the page layout, not to every component.

2. Build (Protocols 2 and 3)

  • Color tokens: define colors as custom properties and annotate every foreground token with its computed contrast ratio, rounded down: --text-muted: #cbd5e1; /* Contrast: 11.9:1 vs #111827 (AAA) */. Minimums: 4.5:1 for normal text, 3:1 for large text and for UI parts such as input borders, focus rings and icons.
  • Native HTML first: <button> for actions, <a href> for navigation, <dialog> with showModal() for modals, <details>/<summary> for disclosures, <input type="checkbox" role="switch"> for toggles, <label for> for every form control. Never put click handlers on <div> or <span>.
  • Layout: content reflows at 320 CSS px without horizontal scrolling, targets are at least 24×24 px, :focus-visible is clearly visible, and motion respects prefers-reduced-motion.

3. Verify (never skip, never estimate)

Run both checks after every UI change:

bash
# Static: recomputes every "Contrast:" comment, flags clickable <div>s and removed outlines
node <skill>/scripts/lint.mjs <changed files or src folder>

# Runtime: Playwright + axe-core (WCAG 2.2 A/AA + best practices) on the initial view and on
# hidden states (dialogs, popovers, details, tabs, menus), plus a 320px reflow check
node <skill>/scripts/audit.mjs <url-or-html-path> [more targets]
  • Audit every page or route you changed. For apps, start the dev server in the background first and pass its URLs (for example http://localhost:5173/settings). For static HTML, pass the files or a folder.
  • UI that only exists after a click, such as a conditionally rendered modal: add --click "<CSS selector of the trigger>".
  • Exit codes: 0 = no automated violations, 1 = violations (details in a11y-report/), 2 = setup or page-load problem (is the dev server running?).
  • Missing dependencies: run npm install --save-dev playwright @axe-core/playwright in the project. Only if Google Chrome isn't installed, also run npx playwright install chromium.
  • Keep a11y-report/ out of version control (add it to .gitignore).

4. Fix

  1. Read a11y-report/fix-prompt.md (or a11y-report/report.json for full details) and the lint output. Fix lint errors too: axe can't see clickable <div>s or wrong Contrast: comments. To compare against the starting point later, run the first audit with --out a11y-report/before.
  2. Fix at the source (tokens, shared components, layout rules) following references/remediation.md. Keep the visual design: change lightness rather than going monochrome, and never hide content from assistive technology to silence a rule.
  3. Run lint and audit again. Do at most 3 fix rounds (a round = fixing violations, then re-running both checks). If violations remain, stop and report them with your best explanation.
  4. Check every "needs review" item (the review lines in the audit output, also listed in fix-prompt.md and report.json). They are not failures; axe-core couldn't decide. These checks don't count toward the 3 rounds.
    • Text on gradients, images or translucent ("glass") surfaces: check the worst spot by eye, or put a solid backdrop behind the text so axe can compute it.
    • "Partially overlaps other elements", common for text inside a modal <dialog> or near positioned elements: don't change code for this. Verify the real colors in DevTools or a screenshot and record the result.

5. Report

  • Say "0 automated axe-core violations". Never claim "WCAG compliant" or "accessibility verified": automated tools catch only part of all barriers.
  • List each "needs review" item you checked by hand as manually verified, with the colors and ratio you measured.
  • List what still needs a human: a keyboard walk-through (Tab, Shift+Tab, Enter, Space, Esc, arrow keys in composite widgets), visible focus everywhere, a screen reader spot check of names, roles and states, 200% zoom, and meaningful alt text, link text and error messages.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Born Accessible Ui؟

Use for ANY task that creates, edits, styles, refactors or reviews web UI: HTML, CSS, design tokens, Tailwind, JavaScript or TypeScript components, React, Next.js, Vue, Svelte, Angular, Astro, Lit, pages, dashboards, forms and prototypes. Enforces the three Born-Accessible protocols (plan semantics first, mathematically verified color contrast, native HTML before ARIA) and runs a Playwright + axe-core verification loop until zero automated accessibility violations remain.

لماذا تستخدم Born Accessible Ui على TypingMind؟

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

كيف أثبّت Born Accessible Ui في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/ginader/born-accessible-ui/tree/main/born-accessible-ui. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Born Accessible Ui؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Born Accessible Ui؟

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

هل مهارة الذكاء الاصطناعي Born Accessible Ui مجانية؟

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

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

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

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

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

عرض الكل

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

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