Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计未展示

dyad%3adeflake-e2e成对%3adeflake e2e

Agent Skill

dyad%3adeflake-e2e 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

569

周安装

23

GitHub Stars

20,223

下载量

178
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dyad%3adeflake-e2e(成对%3adeflake e2e)
来源仓库:https://github.com/dyad-sh/dyad
仓库路径:skills/dyad%3Adeflake-e2e
安装命令:
npx skills add https://github.com/dyad-sh/dyad --skill dyad:deflake-e2e
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dyad-sh/dyad --skill dyad:deflake-e2e

简介

dyad:deflake-e2e 通过重复运行识别并修复 flaky E2E 测试,提升测试稳定性。

  • 适用于特定测试文件或整个测试套件的反复执行与失败分析,支持 10 次重试机制。
  • 需用户提供确认后再执行耗时操作,避免意外长时间运行消耗资源。
  • 使用前应评估测试套件规模和执行时间,准备好中断或取消的应急方案。
  • dyad%3adeflake-e2e 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Deflake E2E Tests

Identify and fix flaky E2E tests by running them repeatedly and investigating failures.

Arguments

  • $ARGUMENTS: (Optional) Specific E2E test file(s) to deflake (e.g., main.spec.ts or e2e-tests/main.spec.ts). If not provided, will prompt to deflake the entire test suite.

Instructions

  1. Check if specific tests are provided: If $ARGUMENTS is empty or not provided, ask the user: "No specific tests provided. Do you want to deflake the entire E2E test suite? This can take a very long time as each test will be run 10 times." Wait for user confirmation before proceeding. If they decline, ask them to provide specific test files.
  2. Install dependencies: npm install
  3. Build the app binary: npm run build IMPORTANT: This step is required before running E2E tests. E2E tests run against the built binary. If you make any changes to application code (anything outside of e2e-tests/), you MUST re-run npm run build before running E2E tests again, otherwise you'll be testing the old version.
  4. Run tests repeatedly to detect flakiness: For each test file, run it 10 times: PLAYWRIGHT_RETRIES=0 PLAYWRIGHT_HTML_OPEN=never npm run e2e -- e2e-tests/<testfile>.spec.ts --repeat-each=10 IMPORTANT: PLAYWRIGHT_RETRIES=0 is required to disable automatic retries. Without it, CI environments (where CI=true) default to 2 retries, causing flaky tests to pass on retry and be incorrectly skipped as "not flaky." Notes:

- If $ARGUMENTS is provided without the e2e-tests/ prefix, add it - If $ARGUMENTS is provided without the .spec.ts suffix, add it - A test is considered flaky if it fails at least once out of 10 runs

  1. For each flaky test, investigate with debug logs: Run the failing test with Playwright browser debugging enabled: DEBUG=pw:browser PLAYWRIGHT_RETRIES=0 PLAYWRIGHT_HTML_OPEN=never npm run e2e -- e2e-tests/<testfile>.spec.ts Analyze the debug output to understand:

- Timing issues (race conditions, elements not ready) - Animation/transition interference - Network timing variability - State leaking between tests - Snapshot comparison differences

  1. Fix the flaky test: Common fixes following Playwright best practices: IMPORTANT: Do NOT change any application code. Assume the application code is correct. Only modify test files and snapshot baselines.

- Use await expect(locator).toBeVisible() before interacting with elements - Use await page.waitForLoadState('networkidle') for network-dependent tests - Use stable selectors (data-testid, role, text) instead of fragile CSS selectors - Add explicit waits for animations: await page.waitForTimeout(300) (use sparingly) - Use await expect(locator).toHaveScreenshot() options like maxDiffPixelRatio for visual tests - Ensure proper test isolation (clean state before/after tests)

  1. Update snapshot baselines if needed: If the flakiness is due to legitimate visual differences: PLAYWRIGHT_RETRIES=0 PLAYWRIGHT_HTML_OPEN=never npm run e2e -- e2e-tests/<testfile>.spec.ts --update-snapshots
  2. Verify the fix: Re-run the test 10 times to confirm it's no longer flaky: PLAYWRIGHT_RETRIES=0 PLAYWRIGHT_HTML_OPEN=never npm run e2e -- e2e-tests/<testfile>.spec.ts --repeat-each=10 The test should pass all 10 runs consistently.
  3. Summarize results: Report to the user:

- Which tests were identified as flaky - What was causing the flakiness - What fixes were applied - Verification results (all 10 runs passing) - Any tests that could not be fixed and need further investigation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.13%
按下载量换算63

Claude

27.56%
按下载量换算49

Cursor

18.28%
按下载量换算33

Gemini CLI

9.2%
按下载量换算16

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills