Logo Hof E2e Test Specification

Hof E2e Test Specification

Tổ chức
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.

Tổng quan

Nhà phát hànhopenreachtech
Kho mãhora-skills-ort-furo
Tên kỹ nănghof-e2e-test-specification
Sao
32
Bản fork
0
Tệp đi kèm
6
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được openreachtech công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hof E2e Test Specification trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specification
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hof E2e Test Specification trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Hof E2e Test Specification ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Hof E2e Test Specification không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Hof E2e Test Specification làm được gì?

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.

Vì sao nên dùng Hof E2e Test Specification trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hof E2e Test Specification là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hof E2e Test Specification trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specification. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hof E2e Test Specification?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Hof E2e Test Specification với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hof E2e Test Specification với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hof E2e Test Specification có miễn phí không?

Có. Kỹ năng này được openreachtech phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇