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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    openreachtechがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルHof E2e Test SpecificationをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specification
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHof E2e Test Specificationを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にHof E2e Test Specificationを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hof E2e Test Specificationは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでHof E2e Test Specificationを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hof E2e Test Specificationはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHof E2e Test Specificationをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-e2e-test-specificationを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Hof E2e Test Specificationを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Hof E2e Test Specificationは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHof E2e Test Specificationを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hof E2e Test Specification」は無料ですか?

はい。openreachtechがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇