E2E Assistant | E2E 助手

SkillDev tools

[UDS] Generate E2E test skeletons from BDD .feature scenarios, with framework detection and coverage gap analysis. Use when: turning finished .feature scenarios into runnable E2E skeletons, detecting the project E2E framework, finding AC with no E2E coverage. Not for: multi-story journeys with shared state — use the journey-test skill; writing the .feature scenarios themselves — use /bdd. Keywords: E2E, end-to-end test, feature file, test skeleton, framework detection, 端對端測試, 測試骨架, 場景轉測試.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the E2E Assistant | E2E 助手 skill

What this skill tells your AI

The instructions your AI receives, as published by asiaostrich/universal-dev-standards in skills/e2e-assistant/SKILL.md and read by ahel’s review.

[!WARNING] Experimental Feature / 實驗性功能

This feature is under active development and may change significantly in v4.0. 此功能正在積極開發中,可能在 v4.0 中有重大變更。

Generate E2E test skeletons from BDD .feature scenarios, with framework detection and coverage gap analysis.

從 BDD .feature 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析。

Workflow | 工作流程

/derive bdd → .feature 場景
    ↓
/e2e → 分析 AC 適用性 → 偵測框架 → 參考既有模式 → 生成骨架
    ↓
手動執行驗證

Modes | 模式

1. Generation Mode (Default) | 生成模式(預設)

Analyze BDD scenarios, classify AC suitability, detect framework, and generate E2E test skeletons.

分析 BDD 場景、分類 AC 適用性、偵測框架、生成 E2E 測試骨架。

2. Analysis Mode (--analyze) | 分析模式

Scan coverage gaps between BDD features and existing E2E tests.

掃描 BDD feature 與既有 E2E 測試之間的覆蓋差距。

AC Classification | AC 分類

CategoryConditionExample
e2e-suitableMulti-step user flow or UI interactionLogin → Action → Verify
integration-suitableCross-component without UIAPI call → DB write
unit-suitablePure logic or computationSort, validate, format

Supported Frameworks | 支援框架

EcosystemFrameworkAuto-detectedDetection signal
JavaScriptPlaywright@playwright/test in package.json
JavaScriptCypresscypress dep + config file
JavaScriptVitestvitest dep + e2e directory
JavaScriptWebdriverIO❌ Manuallisted in SUPPORTED_FRAMEWORKS
Pythonpytest-playwrightpytest-playwright in requirements
PythonSelenium + pytestselenium in requirements
PythonRobot Frameworkrobotframework in requirements
PythonBehavebehave in requirements
Gochromedpchromedp in go.mod
Gorodrod in go.mod
JavaSelenium WebDriverselenium-java in pom.xml / build.gradle
JavaPlaywright for Javaplaywright in pom.xml / build.gradle
JavaGaugegauge-java in pom.xml / build.gradle
RubyCapybaracapybara in Gemfile
RubyWatirwatir in Gemfile
C#Playwright for .NET❌ Manualnot yet auto-detected
C#Selenium WebDriver❌ Manualnot yet auto-detected

Usage | 使用方式

/e2e <feature-file>            - Generate E2E skeleton from BDD scenarios
/e2e <spec-file>               - Delegate to /derive e2e for SDD specs
/e2e --analyze                 - Scan all features for E2E coverage gaps
/e2e --analyze <feature-file>  - Analyze specific feature's AC suitability

Next Steps Guidance | 下一步引導

After /e2e completes, the AI assistant should suggest:

E2E 骨架已生成。建議下一步 / E2E skeleton generated. Suggested next steps:

  • 執行 /tdd 填入 [TODO] 標記的測試實作 ⭐ Recommended / 推薦 — Implement test logic
  • 執行 /checkin 品質關卡(若功能完成)— Quality gates (if feature complete)
  • 執行 /e2e --analyze 檢查整體 E2E 覆蓋狀況 — Check overall E2E coverage

Reference | 參考

AI Agent Behavior | AI 代理行為

完整的 AI 行為定義請參閱對應的命令文件:/e2e

For complete AI agent behavior definition, see the corresponding command file: /e2e

Signals

GitHub stars
73
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
e2e
Source
github.com/asiaostrich/universal-dev-standards