design-e2e-test

design-e2e-test is a command for Claude Code from DauQuangThanh/hanoi-rainbow. It costs 21 tokens per session (2,857 once invoked), scanned A, original, MIT.

A command that designs end-to-end tests, which check complete user journeys across the whole product. It reads the repository's architecture, standards, and feature specifications before writing test plans and specifications.

In plain words
What is it for?
It is for defining critical user journeys, integration scenarios, test data, test environments, and automation tools. It also creates a test-prefixed Git commit when finished.
Why use it?
It turns scattered product documents into a structured plan for testing how the full system works together.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit It is for defining critical user journeys, integration scenarios, test data, test environments, and automation tools. It also creates a test-prefixed Git commit when finished.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dauquangthanh/hanoi-rainbow/design-e2e-test
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/DauQuangThanh/hanoi-rainbow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-e2e-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/dauquangthanh/hanoi-rainbow/design-e2e-test/github.svg)](https://agentmods.dev/commands/dauquangthanh/hanoi-rainbow/design-e2e-test)
Your own site
<a href="https://agentmods.dev/commands/dauquangthanh/hanoi-rainbow/design-e2e-test"><img src="https://agentmods.dev/badge/commands/dauquangthanh/hanoi-rainbow/design-e2e-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-e2e-test

Your own site · 80×15
<a href="https://agentmods.dev/commands/dauquangthanh/hanoi-rainbow/design-e2e-test"><img src="https://agentmods.dev/badge/commands/dauquangthanh/hanoi-rainbow/design-e2e-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.02857
Opus 5 $0.00010 $0.01429
Sonnet 5 $0.00004 $0.00571
Haiku 4.5 $0.00002 $0.00286

Measured 9d ago against content hash 12a51c979f5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

design-e2e-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/design-e2e-test.md · 313 lines

How it starts

The opening of the file, as written. The whole thing — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

IMPORTANT: Automatically generate a 'test:' prefixed git commit message (e.g., 'test: add E2E test plan and specifications') and commit upon completion.

  1. Setup: Run {SCRIPT} from repo root and parse JSON for E2E_TEST_DOC, DOCS_DIR, ARCH_DOC, SPECS_DIR. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").

  2. Load context: Read memory/ground-rules.md, docs/architecture.md, docs/standards.md (if exists), and all feature specifications from specs/*/spec.md. Load E2E_TEST_DOC template (already copied to docs/). Adhere to the principles for maximizing test case clarity, simplicity, and long-term execution maintainability.

  3. Execute E2E test design workflow: Follow the structure in E2E_TEST_DOC template to:

    • Define E2E test strategy and scope
    • Identify critical user journeys from feature specs
    • Design test scenarios covering system integration points
    • Define test data management strategy
    • Rainbow test environment requirements
    • Document test automation framework and tools
    • Create test execution plan
  4. Stop and report: Command ends after E2E test document completion. Report E2E_TEST_DOC path and generated artifacts.

Phases

Phase 0: Test Strategy & Scope Definition

  1. Analyze architecture and features:

    • Read architecture.md to understand system components
    • Read all specs/*/spec.md files
    • Identify integration points between components
    • Map external system dependencies
    • Review ground-rules for testing constraints
  2. Define E2E test scope:

    • Identify what is IN scope (critical paths, integrations)
    • Identify what is OUT of scope (unit-level, component-level)
    • Define testing boundaries (UI-to-database, API-to-API, etc.)
    • Determine test coverage goals
  3. Select test approach:

    • UI-driven E2E tests (Selenium, Cypress, Playwright)
    • API-driven E2E tests (REST Assured, Postman, Supertest)
    • Mobile E2E tests (Appium, Detox)
    • Mixed approach (UI + API + Database validation)

Read the full file on GitHub · 313 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 313 lines · 21 tokens per session scan A 12a51c979f5b

Subscribe to this mod's changes

design-e2e-test is a command published in the GitHub repository DauQuangThanh/hanoi-rainbow (16 stars, last pushed 7mo ago), licensed MIT. It adds 21 tokens to every session and 2,857 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

distill

Creates E2E acceptance tests in Given-When-Then format from requirements and architecture. Use when preparing executable specifications before implementation.

nWave-ai/nWave · 26 tokens

frontend-e2e

Perform a thorough live E2E test of a frontend web application using browser-bridge MCP tools. Tests every page, interactive element, form, navigation flow, responsive breakpoint, and accessibility rule through real browser interaction.

intellegix/intellegix-code-agent-toolkit · 0 tokens

health-check

Perform a comprehensive, read-only end-to-end review of any portfolio app across three layers — Frontend (E2E), Database integrity, and Audit Log & User Activity — and produce a structured, observations-only report. Optionally, on explicit opt-in, generate (never apply) the infrastructure provisions needed so future…

intellegix/intellegix-code-agent-toolkit · 0 tokens

gba-test

$ARGUMENTS: test mode — game profile defines available modes (e.g., smoke, gameplay, save, stress, full, ai, battle, nav, custom ).

intellegix/intellegix-code-agent-toolkit · 0 tokens

final-review

Command "final-review" from adriannoes/awesome-agentic-ai, covering final review - comprehensive pr review & testing, step 0: determine review pass, step 1: create or update the pr, step 2: launch three review agents in parallel and agent 1: codebase consistency reviewer.

adriannoes/awesome-agentic-ai · 0 tokens

auto-canary

A command for deployment verification that runs a build, end-to-end tests, and browser health checks. End-to-end tests check a complete user flow across the application rather than only one small part.

Insajin/autopus-adk · 20 tokens