Skip to content
Skills Library
Programming · Testing

e2e

/e2e

[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, 端對端測試, 測試骨架, 場景轉測試.

Licence
MIT
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

[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, 端對端測試, 測試骨架, 場景轉測試.

Arguments

/e2e [feature file or --analyze | .feature 檔案或 --analyze]
Original author description

[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, 端對端測試, 測試骨架, 場景轉測試.

How it works

  1. Workflow | 工作流程
  2. Modes | 模式
  3. AC Classification | AC 分類
  4. Supported Frameworks | 支援框架
  5. Usage | 使用方式
  6. Next Steps Guidance | 下一步引導
  7. Reference | 參考
  8. AI Agent Behavior | AI 代理行為
Original SKILL.md headings · 97 lines, 557 words
SKILL.md preview
---
name: e2e
scope: partial
description: |
  [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, 端對端測試, 測試骨架, 場景轉測試.
allowed-tools: Read, Write, Grep, Glob, Bash(npm test:*)
argument-hint: "[feature file or --analyze | .feature 檔案或 --analyze]"
status: experimental
---

# E2E Assistant | E2E 助手

> [!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 分類

| Category | Condition | Example |
|----------|-----------|---------|
| `e2e-suitable` | Multi-step user flow or UI interaction | Login → Action → Verify |
| `integration-suitable` | Cross-component without UI | API call → DB write |
| `unit-suitable` | Pure logic or computation | Sort, validate, format |

## Supported Frameworks | 支援框架

| Ecosystem | Framework | Auto-detected | Detection signal |
|-----------|-----------|:------------:|----------|
| JavaScript | Playwright | ✅ | `@playwright/test` in package.json |
| JavaScript | Cypress | ✅ | `cypress` dep + config file |
| JavaScript | Vitest | ✅ | `vitest` dep + e2e directory |
| JavaScript | WebdriverIO | ❌ Manual | listed in SUPPORTED_FRAMEWORKS |
| Python | pytest-playwright | ✅ | `pytest-playwright` in requirements |
| Python | Selenium + pytest | ✅ | `selenium` in requirements |
| Python | Robot Framework | ✅ | `robotframework` in requirements |
| Python | Behave | ✅ | `behave` in requirements |
| Go | chromedp | ✅ | `chromedp` in go.mod |
| Go | rod | ✅ | `rod` in go.mod |
| Java | Selenium WebDriver | ✅ | `selenium-java` in pom.xml / build.gradle |
| Java | Playwright for Java | ✅ | `playwright` in pom.xml / build.gradle |
| Java | Gauge | ✅ | `gauge-java` in pom.xml / build.gradle |
| Ruby | Capybara | ✅ | `capybara` in Gemfile |
| Ruby | Watir | ✅ | `watir` in Gemfile |
| C# | Playwright for .NET | ❌ Manual | not yet auto-detected |
| C# | Selenium WebDriver | ❌ Manual | not 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 | 參考

- Spec: [SPEC-E2E-001](../../docs/specs/skills/SPEC-E2E-001-e2e-skill.md)
- Core standard: [testing-standards.md](../../core/testing-standards.md)
- Utilities: `cli/src/utils/e2e-analyzer.js`, `cli/src/utils/e2e-detector.js`

## AI Agent Behavior | AI 代理行為

> 完整的 AI 行為定義請參閱對應的命令文件:[`/e2e`](../commands/e2e.md#ai-agent-behavior--ai-代理行為)
>
> For complete AI agent behavior definition, see the corresponding command file: [`/e2e`](../commands/e2e.md#ai-agent-behavior--ai-代理行為)

Versions

RepositoryScoreLicence
This page · AsiaOstrich/universal-dev-standards95MIT
e2e-inc/e2e100Apache-2.0
tester-army/e2e100Apache-2.0
lodev09/react-native-true-sheet100MIT
tmih06/ompig-slim100MIT
sgaabdu4/building-flutter-apps100MIT
p2p2sp/viber100MIT
malcolm1232/workboard100Apache-2.0
arbazkhan971/godmode100MIT

Database snapshot: 13.11.2026 · package version 7979f03ed6a1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 84e2e-assistant
    [UDS] 从 BDD 的 .feature 场景生成 E2E 测试骨架,并支持框架检测与覆盖缺口分析。 Use when: 把已完成的 .feature 场景转成可运行的 E2E 骨架、检测项目使用的 E2E 框架、找出没有 E2E 覆盖的 AC。 Not for: 跨多个故事且带有共享状态的旅程——请用 journey-test Skill;编写 .feature 场景本身——请用 /bdd。 Keywords: E2E, end-to-end test, feature file, test skeleton, framework…
  • 95spec-derive
    [UDS] Derive BDD scenarios, TDD skeletons, integration and E2E tests, and ATDD tables from an approved specification. Use when: a spec has been approved and needs test artifacts, generating tagged test skeletons from acceptance criteria, producing contract stubs from a spec. Not…
  • 100bdd-scenarios
    Use when writing effective BDD scenarios including acceptance criteria, edge cases, and scenario organization. Use when defining behavior specifications.
  • 90e2e-coverage
    Use when adding, modifying, or reviewing E2E test apps/skeletons to keep the test coverage report up to date.
  • 100bdd-patterns
    Use when applying Behavior-Driven Development patterns including Given-When-Then structure, feature files, and acceptance criteria. Use when writing BDD-style tests and specifications.
  • 100testing
    TDD/BDD testing principles. Use when writing tests, reviewing test coverage, setting up testing, or discussing test strategy and test architecture.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.