用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill e2e命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
[UDS] 以 Claude 原生 Agent tool 编排多任务执行计划(DAG-based,无外部引擎)。 Use when: executing a plan.json file with parallel/sequential task dependencies. Keywords: orchestrate, plan, execute, DAG, task plan, 编排, 执行计划, 并行.
[UDS] 从 Spec 文档、OpenSpec 变更或自由文本需求生成 plan.json。 Use when: converting specifications into executable task plans for /orchestrate. Keywords: plan, spec, task plan, 计划, 规格, 任务, plan.json, DAG.
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.
正在显示 SKILL.md
基于 SOC 职业分类
| name | e2e |
| scope | partial |
| description | [UDS] Generate E2E test skeletons from BDD scenarios |
| allowed-tools | Read, Write, Grep, Glob, Bash(npm test:*) |
| argument-hint | [feature file or --analyze | .feature 檔案或 --analyze] |
| status | experimental |
[!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 測試骨架,支援框架偵測與覆蓋差距分析。
/derive bdd → .feature 場景
↓
/e2e → 分析 AC 適用性 → 偵測框架 → 參考既有模式 → 生成骨架
↓
手動執行驗證
Analyze BDD scenarios, classify AC suitability, detect framework, and generate E2E test skeletons.
分析 BDD 場景、分類 AC 適用性、偵測框架、生成 E2E 測試骨架。
Scan coverage gaps between BDD features and existing E2E tests.
掃描 BDD feature 與既有 E2E 測試之間的覆蓋差距。
| 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 |
| 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 |
/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
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
cli/src/utils/e2e-analyzer.js, cli/src/utils/e2e-detector.js完整的 AI 行為定義請參閱對應的命令文件:
/e2eFor complete AI agent behavior definition, see the corresponding command file:
/e2e
| not yet auto-detected |
| C# | Selenium WebDriver | ❌ Manual | not yet auto-detected |