一键导入
deflake-e2e
Triage and fix targeted E2E failures or flakes using CI artifacts, traces, local repros, and the smallest real product, fixture, or harness change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Triage and fix targeted E2E failures or flakes using CI artifacts, traces, local repros, and the smallest real product, fixture, or harness change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review recent code changes and broad codebase areas for critical and high severity security vulnerabilities. Use when Codex needs to clear `./out-security-review`, select 25 non-doc, non-test files split across past-day commits, past-week commits, and broad codebase coverage, group them into 6-8 review buckets, spawn one security-review sub-agent per review bucket, persist each candidate finding to `./out-security-review/<starting_filename>_<timestamp>.md` using a filename-safe UTC ISO 8601 basic timestamp like `20260331T214512Z`, re-verify every candidate with fresh sub-agents, and emit final confirmed findings for responsible disclosure.
Record a short Playwright-based product demo video for significant UI or user-visible functionality changes. Use when Codex needs to show a workflow in motion for a PR, either by recording an existing targeted E2E spec or by creating a disposable one-off Playwright spec that captures the changed behavior in under a minute, then uploading the final video to Vercel Blob and preparing a PR comment body that says "Demo at commit {hash}" with a 1-2 sentence summary and durable hosted link.
Review the last 7 days of recent commits for large architecture improvements that dramatically improve maintainability. Use when the agent needs to clear `./out-code-architect`, select 25 non-doc, non-test files from recent commits across different parts of the repo, spawn one architecture-review sub-agent per starting file, persist each candidate finding to `./out-code-architect/<starting_filename>_<timestamp>.md` using a filename-safe UTC ISO 8601 basic timestamp like `20260331T214512Z`, re-verify every candidate with fresh sub-agents, and emit final confirmed findings for issue filing.
Review the last 7 days of recent commits for critical and high severity bugs that break user experience. Use when the agent needs to clear `./out-bug-finder`, select 25 non-doc, non-test files from recent commits across different parts of the repo, spawn one bug-review sub-agent per starting file, persist each candidate finding to `./out-bug-finder/<starting_filename>_<timestamp>.md` using a filename-safe UTC ISO 8601 basic timestamp like `20260331T214512Z`, re-verify every candidate with fresh sub-agents, and emit final confirmed findings for issue filing.
Review recent GitHub Actions workflow runs, separate expected noise from actionable failures, and write a machine-readable workflow health report for deterministic post-agent issue handling.
Print the full host-side `scripts/pr.sh` command needed to create or switch to a feature branch, commit current changes, push, and open or update a PR outside the Docker sandbox using explicit flag-style inputs.
| name | deflake-e2e |
| description | Triage and fix targeted E2E failures or flakes using CI artifacts, traces, local repros, and the smallest real product, fixture, or harness change. |
Use this skill when a specific Playwright E2E failure or flake needs investigation and a real fix.
main, before making changes.pnpm run test:e2e:base -- tests/e2e/specs/foo.spec.ts--retries=0 when measuring flakiness so Playwright retries do not hide the problem--repeat-each after an initial targeted run proves the area is worth repeatingpnpm e2e:prepare before the next browser verification. Test-only edits do not require a rebuild unless the harness says otherwise.page.route() mocks for TanStack Start pages when the real failure is in a server function or backend state--repeat-each=3 or --repeat-each=5--repeat-each=10 when the failure is rare or the user explicitly wants stronger confidence/api/... browser callsdocs/rules/ in the same change.# Targeted local repro
pnpm run test:e2e:base -- tests/e2e/specs/foo.spec.ts --retries=0
# Repeat a targeted spec to measure flakiness
pnpm run test:e2e:base -- tests/e2e/specs/foo.spec.ts --repeat-each=5 --retries=0
# Refresh prebuilt artifacts after app-code changes
pnpm e2e:prepare
# Open a Playwright trace
pnpm exec playwright show-trace path/to/trace.zip
# Download GitHub Actions artifacts when CI evidence matters
gh run view <run-id>
gh run download <run-id> --dir /tmp/e2e-<run-id>
Report the investigation like an engineering triage, not a changelog: