شعار Hof E2e Test Specification

Hof E2e Test Specification

مؤسسة
openreachtech
hof-e2e-test-specification

Author and maintain the end-to-end test specification — the durable list of scenarios stating what must be true of the product, flow by flow, derived from the API surface. Use when creating the specification for the first time, adding scenarios for a new capability, or reconciling it after a flow changed. It states what must be true, not how to click it: the harness, the test code, the environment and the pass/fail verdict all belong elsewhere.

نظرة عامة

الناشرopenreachtech
المستودعhora-skills-ort-furo
اسم المهارةhof-e2e-test-specification
النجوم
32
التفريعات
0
الملفات المرفقة
6
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specification
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-e2e-test-specification .claude/skills/hof-e2e-test-specification
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج Hof E2e Test Specification تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

E2E Test Specification

A maintained document that says, scenario by scenario, what must be true of the product when a user works through it. It exists so that testing the application end to end means running a known list rather than remembering what to try, and so that a run can report coverage — which scenarios ran, which did not — instead of an impression.

The boundary, in one line: this specifies what must be true; it does not say how to click it. The harness, the selectors, the waiting and the test code belong to whatever automation the project uses. A specification that mentions them can no longer be run by a person, and does not survive a redesign.

Two principles

  • A scenario is a claim about the product, not a script for a robot. It must be executable by someone with no access to the codebase, and must still be correct after the screen is rebuilt. Both properties are lost the moment a selector, a wait, or an internal state appears in it.
  • Coverage is derived, not remembered. The inventory comes from what the product exposes — the API surface, the provocation catalogue, the role list — so a missing scenario appears as a difference rather than waiting for somebody to notice an absence. A specification assembled by thinking of test cases can only contain what someone already thought of.

Where the specification lives

<project-root>/ai/specs/e2e/
├── index.md            the flows, their identifier prefixes, and how many scenarios each holds
├── <flow>.md           one file per flow
└── …
  • A third kind of document. A review already reads facts that do not change per run, and writes dated reports that do. This is neither: it is maintained — amended when the product changes, and read by every later run. Keeping it beside them, under its own directory, stops it being treated as either.
  • One file per flow, because a flow is the unit that changes, the unit a reader reviews, and the unit two people edit at once. A single file for a mature product becomes unreviewable and conflicts on every change.

Scenario identity

Every scenario carries an identifier, <FLOW>-<nn>, and the identifier is the join key between this document and every report that cites it.

  • Never reuse, never renumber. A report that says PUR-04 was not executed becomes a lie about a different scenario the moment the numbers shift.
  • Retire, do not delete. A capability that is gone keeps its scenario, marked retired with the date and the reason. The number stays spent.

Phase 1 — Gather the inputs

A specification cannot be written from the screens alone. Collect, and record what was missing:

  • The project declaration — core flows with their success conditions, the roles, the credentials, and the operations deliberately absent from the UI.
  • The capability inventory — operation, entity and verb for everything the product can do. Where the project has no such matrix, read the API surface directly; it is the same source.
  • The data the scenarios start from — the seed set the environment loads, so a precondition can name rows that will actually be there.

Gate 1 — all three are present, or the missing one is named together with what it costs. A specification written without the role list cannot contain a permission scenario, and must say so rather than appear complete.

Phase 2 — Derive the scenario inventory

Produce the list of scenarios before writing any of them. Three sources, each answering a question the others cannot:

SourceProducesQuestion it answers
the capability inventoryone scenario per reachable operation, grouped into flowscan a user do the things the product can do?
the provocation cataloguea named scenario per failure worth survivingdoes the product tell the truth when it cannot?
the role listper role, that a restricted operation is neither offered nor acceptedis the boundary guarded on both sides?
  • Failure scenarios are first-class, written and numbered like any other. A specification of happy paths describes an application nobody has ever misused.
  • A flow is one scenario, not one assertion. The unit has to match what a live pass runs through, or coverage cannot be reported against it.

Gate 2 — every operation in the inventory appears in at least one scenario, or carries an exclusion with a reason. A reason-less exclusion is an oversight that has been written down.

Phase 3 — Write each scenario

Follow the schema in scenario-schema.md; the rules that make a scenario usable are in writing-steps.md. In summary:

  • Steps are what a user does, in their words. Not what a test driver does.
  • Expectations are what a user can see. "The row is gone from the list and the count reads 23", never "the record is soft-deleted in the database".
  • Preconditions name seeded data, so the scenario is repeatable and does not begin with setup nobody has automated.
  • One success condition per scenario. Two means it was two scenarios.

Gate 3 — no scenario contains a selector, an explicit wait, or an expectation the user cannot observe; every scenario has exactly one success condition and one owner flow.

Phase 4 — Verify coverage

Run scripts/check-scenario-coverage.mjs <project-root>. It enumerates operations, reads the scenario files, and reports operations no scenario mentions, exclusions that no longer match anything, and duplicate identifiers. Same contract as the other checks in this family: 0 clean, 1 findings, 2 could not analyse this project — and 2 is not a pass.

Gate 4 — coverage is clean, or every gap is explained in the index.

Phase 5 — Maintain

  • A changed flow amends its scenarios; a removed capability retires them. Amending in place keeps the identifier meaningful across reports.
  • A scenario a live pass never executes is a defect in one of the two documents — either it cannot be performed as written, or the pass skipped it. Resolve it while it is one; a specification accumulating unexecuted scenarios is exactly the false confidence it was meant to remove, now written down.
  • Results never go in here. Which scenario passed on which day belongs to the dated report.

What this skill does not decide

  • How the scenarios are executed. Manually, or by whatever automation the project has. The specification is indifferent, and must stay that way to remain executable by both.
  • Whether a scenario passes. That is the acceptance review's live pass, and its report is where the verdict lives.
  • How the environment is built, started or seeded. A separate convention owns that; this document only names the data it expects to find.
  • Whether the product may ship. A specification states requirements; it does not weigh them.

Detail files

  • scenario-schema.md — the fields of one scenario, with a worked example
  • deriving-scenarios.md — the three sources, the coverage rule, and what "complete" means per entity
  • writing-steps.md — user-language steps, observable expectations, and the list of things that must never appear
  • failure-scenarios.md — the provocation catalogue turned into named, numbered scenarios
  • lifecycle.md — identifiers, amending versus retiring, and keeping the document honest over years

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Hof E2e Test Specification؟

Author and maintain the end-to-end test specification — the durable list of scenarios stating what must be true of the product, flow by flow, derived from the API surface. Use when creating the specification for the first time, adding scenarios for a new capability, or reconciling it after a flow changed. It states what must be true, not how to click it: the harness, the test code, the environment and the pass/fail verdict all belong elsewhere.

لماذا تستخدم Hof E2e Test Specification على TypingMind؟

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

كيف أثبّت Hof E2e Test Specification في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specification. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hof E2e Test Specification؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hof E2e Test Specification؟

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

هل مهارة الذكاء الاصطناعي Hof E2e Test Specification مجانية؟

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

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

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

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

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

عرض الكل

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

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