Agent skill

Integration E2E Testing

by shinpr in shinpr/ai-coding-project-boilerplate

受け入れ済みの振る舞いを観測可能な境界で証明する、最小限の統合/E2Eテストセットを選定・設計する。E2Eテストまたは統合テストの作成・レビュー時に使用。

MITAuto-check passedTesting & QA

Install Integration E2E Testing

skills CLI
$ npx skills add shinpr/ai-coding-project-boilerplate --skill integration-e2e-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install shinpr/ai-coding-project-boilerplate integration-e2e-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills-ja/integration-e2e-testing .claude/skills/integration-e2e-testing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
integration-e2e-testing
GitHub stars
232
Token cost
~1.6k tokens
SKILL.md length
201 words
Files
3 (incl. references)
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

受け入れ済みの振る舞いを観測可能な境界で証明する、最小限の統合/E2Eテストセットを選定・設計する。E2Eテストまたは統合テストの作成・レビュー時に使用。

  • Works in 6 steps: 根拠となる成果物またはタスクから、受け入れ済みの振る舞いと記録済みの証明義務を読み… → 義務ごとに、テストが検出すべき実害のある不具合と、その検出に使える状態を挙げる。 → 既存テストを検索する。同じ境界を実行し、その不具合で失敗する場合にのみ既存のカバレ… → …
  • Tasks that involve End-to-end testing
  • SKILL.md covers 参照資料, テスト種別と選定, 振る舞い優先の原則 and スケルトン仕様, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Integration E2E Testing is an agent skill from shinpr/ai-coding-project-boilerplate. 受け入れ済みの振る舞いを観測可能な境界で証明する、最小限の統合/E2Eテストセットを選定・設計する。E2Eテストまたは統合テストの作成・レビュー時に使用。

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/e2e-design.md` and `references/e2e-environment-prerequisites.md`).

It sits in Testing & QA, covering End-to-end testing. The repository describes itself as: Agentic coding TypeScript boilerplate for Claude Code: sub-agent workflows with built-in quality checks and context engineering. The licence is MIT.

When your agent uses it

  • Tasks that involve End-to-end testing

Example prompts

  • “/integration-e2e-testing”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 根拠となる成果物またはタスクから、受け入れ済みの振る舞いと記録済みの証明義務を読み取る。
  2. 義務ごとに、テストが検出すべき実害のある不具合と、その検出に使える状態を挙げる。
  3. 既存テストを検索する。同じ境界を実行し、その不具合で失敗する場合にのみ既存のカバレッジを再利用する。
  4. 義務を満たす最も狭いレーンに割り当てる
  5. 1つのシナリオで複数の義務を証明でき、アサーションと失敗の対応が明確なままであれば統合する。セットアップや失敗モードが異なる場合は別のシナリオにする。
  6. 残った義務をカバーする最小のセットだけを出力する。各スケルトンに、受け入れ済みの振る舞い、主要な失敗、証明義務、選択したレーン、モック境界を記録する。

What it can do on your machine

Read from SKILL.md and the folder at commit 56913a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Integration E2E Testing loads about 1.6k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 25 tokens; SKILL.md has 201 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from shinpr/ai-coding-project-boilerplate at commit 56913a2, republished under its MIT licence (© shinpr). 201 words, ~1,563 tokens.

Download SKILL.mdSave it as .claude/skills/integration-e2e-testing/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
integration-e2e-testing
description
受け入れ済みの振る舞いを観測可能な境界で証明する、最小限の統合/E2Eテストセットを選定・設計する。E2Eテストまたは統合テストの作成・レビュー時に使用。

統合テスト・E2Eテスト設計・実装ルール

参照資料

  • references/e2e-design.md — PlaywrightによるE2Eテスト設計原則(候補の性質、選定基準、候補の記録)
  • references/e2e-environment-prerequisites.md — service-integration-e2eの環境前提条件(seed data、auth fixture、環境チェックリスト)。fixture-e2eには稼働中のサービスも実データベースも不要

テスト種別と選定

テスト種別目的スコープ外部依存ファイル形式実装タイミング
統合in-processでのコンポーネント間連携を検証システムの部分的な統合(in-processモジュール。UIコンポーネントではReact/TSのRTL+MSWなど)モックまたはin-process*.int.test.ts実装と並行して作成
fixture-e2e決定論的フィクスチャを用いてブラウザ上の振る舞いを検証モックバックエンドまたはフィクスチャ駆動の状態によるUIフロー全体モック/フィクスチャのみ — ライブサービスなし*.fixture-e2e.test.tsUI機能と並行して作成
service-integration-e2e起動済みスタックでしか確認できない契約を検証サービスをまたいだシステム全体ローカルの実サービスまたはservice-levelスタブ*.service-e2e.test.ts必要なサービスが存在してから実行

レーン選択(E2Eのみ):

  • ユーザー向けUIジャーニーのデフォルトレーンは fixture-e2e — 決定論的フィクスチャに対して実ブラウザを動かし、ユニット/統合テストでは検出できないバグ(ボタンが動作しない、状態が更新されない、ナビゲーションが壊れる等)を検出でき、インフラ準備なしにCIで実行できる
  • 証明義務がデータ永続化、トランザクション整合性、外部サービス契約などの実サービス間の振る舞いにある場合は service-integration-e2e を選択する

受け入れ済みの証明義務から始め、各義務をその失敗を検出できる最も安価な境界に割り当て、重複するカバレッジを除き、残った個別の失敗をすべてカバーする最小のセットを残す。テスト数はその証明義務から決める。ある機能について、特定のレーンにテストが1件もないことも妥当である。

振る舞い優先の原則

候補のエビデンス

統合/E2Eテストの候補は、次の情報を示す:

  • 受け入れ済みの振る舞いが指定する境界での観測可能な結果
  • 選択したレーンが実行するコンポーネントをまたぐ、実害のある不具合
  • その失敗を再現できる自動テストハーネスまたは制御された環境

単独で観測できる振る舞いはユニット/コンポーネント検証へ振り分ける。制御された環境を利用できない場合は、service-integration-e2eの証明前提として記録する。

候補の振り分け
  • ビジネスロジックの正確性、データ整合性、ユーザーが観測できる振る舞い、観測可能なエラーハンドリングは、その境界を必要とする場合に統合/E2Eの候補とする
  • 純粋な実装詳細とデータ変換はユニットテスト、性能に関する主張は性能検証、レイアウトだけの主張はビジュアルまたはUIチェックへ振り分ける
  • 外部契約自体が証明対象である場合は、service-levelスタブまたは制御されたローカルサービスで表現する

スケルトン仕様

必須スケルトン形式

プロジェクトのテスト対象パターンに一致するファイルをコミットする場合、そのファイルはテストランナー上で有効な状態を保たなければならない。検出したフレームワークにおける最小のpendingスイート(describeとit.todo、またはその同等物)を用い、テストフレームワークのimportと必須コメントのみを含める。実装タスクがpendingのケースを置き換え、実装と同時にアプリケーションのimport、アサーション、フィクスチャ、モックセットアップを追加する。

各テストに以下の注釈を含めること。

typescript
// AC: "[受入条件原文]"
// Behavior: [トリガー] -> [処理] -> [観測可能な結果]
// @lane: integration | fixture-e2e | service-integration-e2e
// @dependency: none | [コンポーネント名] | full-ui (mocked backend) | full-system
// @real-dependency: [コンポーネント名](任意。テスト境界で非モックのセットアップを指定した場合)
// Primary failure mode: [実装後のテストが検出すべき具体的なリグレッション]
// Proof obligation: [実装後のテストでアサートすべき境界と観測可能な状態]
// Verification items: [義務が満たされたことを示す観測結果]

@lane 選択ルール:

  • integration — in-processでのコンポーネント間連携。ブラウザは使用しない(例: React/TSではRTL+MSW、その他の言語ではin-processのモジュール/ハンドラ統合)
  • fixture-e2e — モックバックエンドまたはフィクスチャ駆動の状態に対するブラウザレベルのUI検証。@dependencyは通常full-ui (mocked backend)
  • service-integration-e2e — 起動済みのローカルサービスまたはスタブに対するブラウザレベルまたはエンドツーエンドの検証。@dependencyはfull-system
Property注釈
typescript
// Property: `[検証式]`
// fast-check: fc.property(fc.[arbitrary], (input) => [不変条件])

テストセットの選定

  1. 根拠となる成果物またはタスクから、受け入れ済みの振る舞いと記録済みの証明義務を読み取る。
  2. 義務ごとに、テストが検出すべき実害のある不具合と、その検出に使える状態を挙げる。
  3. 既存テストを検索する。同じ境界を実行し、その不具合で失敗する場合にのみ既存のカバレッジを再利用する。
  4. 義務を満たす最も狭いレーンに割り当てる:
    • 単独の実行で振る舞いを確認できる場合はunit/component
    • in-processのコンポーネント契約はintegration
    • バックエンドを決定論的に扱えるブラウザ上の振る舞いはfixture-e2e
    • 永続化、トランザクション、メッセージ、外部契約など、起動済みの境界でしか失敗を検出できないものはservice-integration-e2e
  5. 1つのシナリオで複数の義務を証明でき、アサーションと失敗の対応が明確なままであれば統合する。セットアップや失敗モードが異なる場合は別のシナリオにする。
  6. 残った義務をカバーする最小のセットだけを出力する。各スケルトンに、受け入れ済みの振る舞い、主要な失敗、証明義務、選択したレーン、モック境界を記録する。

受け入れ済みの振る舞いとリポジトリの証明境界を基準に選定する。プロダクト分析や数値化した価値見積もりは不要である。根拠となる情報源とリポジトリのエビデンスを確認しても、受け入れ済みの振る舞いまたは必要な契約が未確定の場合はエスカレーションする。

実装ルール

Property-Based Test実装

Property注釈がある場合、fast-check必須:

  • fc.assert(fc.property(...))形式で記述
  • スケルトンの// fast-check:コメントをそのまま実装に反映
  • 失敗ケース発見時は具体的なユニットテストとして追加(リグレッション防止)
振る舞い検証の実装

振る舞い記述の検証レベル:

ステップ種別検証対象例
トリガーArrangeで再現API障害 -> mockResolvedValue({ ok: false })
処理中間状態または呼び出し関数呼び出し、状態変更
観測可能な結果最終出力の値戻り値、エラーメッセージ、ログ出力

合格基準: 「観測可能な結果」がテスト対象の戻り値またはモックの呼び出し引数として検証されていれば合格

検証項目の決定ルール
スケルトンの状態検証項目の決定方法
// Verification items:が列挙されている列挙された全項目をexpectで実装
// Verification items:がないBehavior記述の「観測可能な結果」から導出
両方ある検証項目を優先し、振る舞いは補足として使用
統合テストのモック境界

レビュー対象の主張に最初に合致する行を採用する:

条件使用する境界
外部アダプター、query、migration、service契約自体がテスト対象実境界、またはservice-integration-e2eレーンのservice-levelスタブ — モックは自身が代役を務める契約を証明できない
外部APIまたはネットワーク呼び出しがテスト対象でないモック
テスト対象のコンポーネント間連携実物のin-processコンポーネント
呼び出し自体がテストの検証対象(例: ログ出力)検証可能なモック(vi.fn())
呼び出しもその対象もテスト対象でない実物、または無視
E2Eテストの実行条件

fixture-e2e:

  • UI機能の実装フェーズと並行して実行する
  • モックバックエンドまたはフィクスチャ駆動の状態を使用する(@dependency: full-ui (mocked backend))
  • 決定論的なフィクスチャのセットアップを用いてCIで実行する

service-integration-e2e:

  • 検証対象のコンポーネントが存在し、そのテストが通すサービスが起動している最も早いフェーズで実行する
  • ローカルの実サービスまたはservice-levelスタブを通して検証対象コンポーネントを実行する(@dependency: full-system)

レビュー基準

スケルトンと実装の整合性
チェック不合格条件
Property検証Property注釈があるのにfast-check未使用
振る舞い検証「観測可能な結果」に対応するexpectがない
検証項目網羅列挙された検証項目がexpectに含まれていない
モック境界統合テストで内部コンポーネントをモック化
実装品質
チェック不合格条件
AAA構造Arrange/Act/Assertの区切りが不明確
独立性テスト間で状態共有、実行順序依存
再現性日時・乱数に依存し結果が変動
共有mutationに対する経路の同等性

複数の経路が同じmutationに到達する場合 — CLIの経路とHTTPハンドラ、スケジュールジョブと手動トリガー、バッチと単件エンドポイント — 4つの軸で比較する: 検証、分類、リソース上限、およびread / parse / mutation / reportingの順序。

差異を許可できるのは意図を決める出所のみ: 要件、Design Doc、ADR。テストはその判断の下流にある。存在する振る舞いを記録するものなので、許容側の経路をカバーする既存テストはそのbypassを許可するのではなく確認していることになる。差異が許可された後は、テストが決定どおりに振る舞うことを検証する。

許可する出所を持たない差異については、bypassを検出するテストを要求する。チェックをスキップする側の経路でmutationを実行し、そのスキップされたチェックが守っていた状態をアサートする。

チェック不合格条件
検証の同等性一方の経路が検証する入力を他方が未検証で受け入れており、その差異を許可する要件も契約もない
分類の同等性同じ失敗が経路によって異なる分類となり、呼び出し側が観測する内容が変わる
リソース上限の同等性一方の経路がサイズ・件数・タイムアウトの上限を強制し、他方が省いている
操作順序の同等性read / parse / mutation / reportingの順序が経路間で異なり、検証前にmutationしたり永続化前に報告したりしうる
bypassのカバレッジ説明のつかない差異について、許容側の経路でmutationを実行するテストがない

© shinpr, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .claude/skills-ja/integration-e2e-testing of shinpr/ai-coding-project-boilerplate.

  • SKILL.md
  • references/e2e-design.md
  • references/e2e-environment-prerequisites.md

Open the folder on GitHubat commit 56913a2

Compare with similar skills

Integration E2E Testing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Integration E2E Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Integration E2E Testing this skillshinpr/ai-coding-project-boilerplate232—~1.6kAutomated safety check: PassMIT
Web Application Testinganthropics/skills180k51 repos~966Automated safety check: PassApache-2.0
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
Uloop Replay Inputkurotu/VRCQuestTools3733 repos~615Automated safety check: PassMIT
Ui4 Convert Testspayloadcms/payload45k—~3.5kAutomated safety check: PassMIT
E2Estackia/rtp2httpd2.2k—~517Automated safety check: PassGPL-2.0

Similar skills

  • Web Application Testing

    anthropics/skills

    Official

    Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.

    180k GitHub starsUsed in 51 repos~966 tokens
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • Uloop Replay Input

    kurotu/VRCQuestTools

    Replay recorded PlayMode keyboard and mouse input. An agent skill from kurotu/VRCQuestTools.

    373 GitHub starsUsed in 3 repos~615 tokens
    Testing & QAAuto-check passed
  • Ui4 Convert Tests

    payloadcms/payload

    A skill your agent uses when UI changes are complete and e2e tests need updating.

    45k GitHub stars~3.5k tokensUpdated today
    Testing & QAAuto-check passed
  • E2E

    stackia/rtp2httpd

    Write, run, review, or debug rtp2httpd E2E tests and their harness in e2e/ and scripts/run-e2e.sh.

    2.2k GitHub stars~517 tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • Moav E2E

    MotherofallVPNs/MoaV

    Run and debug MoaV's end-to-end tests — real protocol connectivity (client-test.sh) and the moav CLI smoke test — against a LIVE server, via the self-hosted e2e workflow or a local test VPS.

    448 GitHub stars~1.9k tokensUpdated yesterday
    Testing & QAAuto-check: notes

More from shinpr/ai-coding-project-boilerplate

All 42 skills in this repo
  • Integration E2E Testing

    shinpr/ai-coding-project-boilerplate

    Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary.

    232 GitHub stars~2.8k tokensUpdated 3 days ago
    Auto-check passed
  • Skill Optimization

    shinpr/ai-coding-project-boilerplate

    Evaluates and optimizes skill file quality using 9 content patterns and 10 editing principles.

    232 GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Frontend Technical Spec

    shinpr/ai-coding-project-boilerplate

    Defines React environment, component architecture, state/data flow, build verification, and frontend non-functional criteria from repository evidence.

    232 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check: notes
  • Frontend Typescript Rules

    shinpr/ai-coding-project-boilerplate

    Applies React/TypeScript type safety, component design, and state management rules.

    232 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/ai-coding-project-boilerplate

    Selects implementation strategy (vertical slice, horizontal, or hybrid) with risk assessment.

    232 GitHub stars~3.2k tokensUpdated 3 days ago
    Auto-check passed
  • Subagents Orchestration Guide

    shinpr/ai-coding-project-boilerplate

    Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows.

    232 GitHub stars~8k tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Integration E2E Testing

What does Integration E2E Testing do?

受け入れ済みの振る舞いを観測可能な境界で証明する、最小限の統合/E2Eテストセットを選定・設計する。E2Eテストまたは統合テストの作成・レビュー時に使用。. Integration E2E Testing is an agent skill from shinpr/ai-coding-project-boilerplate.

When should I use Integration E2E Testing?

Integration E2E Testing fits situations like: tasks that involve End-to-end testing.

How do I install Integration E2E Testing in Claude Code?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill integration-e2e-testing -a claude-code`. Or copy the skill folder (.claude/skills-ja/integration-e2e-testing in shinpr/ai-coding-project-boilerplate) into .claude/skills/integration-e2e-testing in your project. Claude Code loads it when a task matches its description.

How do I install Integration E2E Testing in Codex?

Run `npx skills add shinpr/ai-coding-project-boilerplate --skill integration-e2e-testing -a codex`. Or copy the skill folder (.claude/skills-ja/integration-e2e-testing in shinpr/ai-coding-project-boilerplate) into .agents/skills/integration-e2e-testing in your project. Codex loads it when a task matches its description.

Can I use Integration E2E Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shinpr/ai-coding-project-boilerplate --skill integration-e2e-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/integration-e2e-testing, .gemini/skills/integration-e2e-testing, .github/skills/integration-e2e-testing and .opencode/skills/integration-e2e-testing in your project.

What does Integration E2E Testing need to run?

SKILL.md names no scripts, command-line tools or credentials: Integration E2E Testing is instructions for the agent only.

Does Integration E2E Testing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Integration E2E Testing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Integration E2E Testing use?

Integration E2E Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Integration E2E Testing use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Integration E2E Testing?

Skills that share tags, products or a category with Integration E2E Testing: Web Application Testing (anthropics/skills, 180k stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), Uloop Replay Input (kurotu/VRCQuestTools, 373 stars) and Ui4 Convert Tests (payloadcms/payload, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Integration E2E Testing?

shinpr (a GitHub user) maintains it in shinpr/ai-coding-project-boilerplate, which has 232 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 4, 2026.

Source: shinpr/ai-coding-project-boilerplate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.