Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill e2e명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| source | ../../../../skills/e2e-assistant/SKILL.md |
| source_version | 1.0.0 |
| translation_version | 1.0.0 |
| last_synced | "2026-04-10T00:00:00.000Z" |
| status | current |
| description | [UDS] 從 BDD 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析 |
| name | e2e |
| allowed-tools | Read, Write, Grep, Glob, Bash(npm test:*) |
| scope | partial |
| argument-hint | [feature file or --analyze | .feature 檔案或 --analyze] |
語言: English | 繁體中文
[!WARNING] 實驗性功能 / Experimental Feature
此功能正在積極開發中,可能在 v4.0 中有重大變更。 This feature is under active development and may change significantly in v4.0.
從 BDD .feature 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析。
/derive bdd → .feature 場景
↓
/e2e → 分析 AC 適用性 → 偵測框架 → 參考既有模式 → 生成骨架
↓
手動執行驗證
分析 BDD 場景、分類 AC 適用性、偵測框架、生成 E2E 測試骨架。
掃描 BDD feature 與既有 E2E 測試之間的覆蓋差距。
| 類別 | 條件 | 範例 |
|---|---|---|
e2e-suitable | 多步驟使用者流程或 UI 互動 | 登入 → 操作 → 驗證 |
integration-suitable | 跨元件但無 UI | API 呼叫 → DB 寫入 |
unit-suitable | 純邏輯或計算 | 排序、驗證、格式化 |
| 框架 | 自動偵測 | 範本 |
|---|---|---|
| Playwright | ✅ | @playwright/test |
| Cypress | ✅ | cy.* 指令 |
| Vitest | ✅ | describe/it + async |
/e2e <feature-file> - 從 BDD 場景生成 E2E 骨架
/e2e <spec-file> - 委派 /derive e2e 處理 SDD 規格
/e2e --analyze - 掃描所有 feature 的 E2E 覆蓋差距
/e2e --analyze <feature-file> - 分析特定 feature 的 AC 適用性
/e2e 完成後,AI 助手應建議:
E2E 骨架已生成。建議下一步:
- 執行
/tdd填入[TODO]標記的測試實作 ⭐ 推薦 — 實作測試邏輯- 執行
/checkin品質關卡(若功能完成)- 執行
/e2e --analyze檢查整體 E2E 覆蓋狀況
cli/src/utils/e2e-analyzer.js、cli/src/utils/e2e-detector.js完整的 AI 行為定義請參閱對應的命令文件:
/e2e
[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, 推送, 保护分支, 质量门禁.