Create e2e-re claude skill (#2273)
#skip-bugbot
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds two Claude commands to speed up PR fixes: E2E Snapshot Rebase to
auto-update Playwright snapshots from PR comments and verify, and PR Fix
to address review feedback and failing checks end-to-end. Also documents
the Git push workflow (push to the branch’s tracking remote if a PR
exists; otherwise push to origin/fork; if pushing to the fork fails,
push to upstream) to keep PRs green with less manual work.
- **New Features**
- New .claude/commands/e2e-rebase.md command to:
- Read the PR number and parse failed Playwright test files from PR
comments.
- Run pre:e2e, update snapshots per failed spec, then re-run tests to
verify.
- Stop and report if verification fails to catch flaky updates.
- Show snapshot diffs, then commit and push when changes look correct.
- New .claude/commands/pr-fix.md command to:
- Determine the PR, fetch review comments and CI checks.
- Identify actionable feedback, make code changes, and fix failing
tests.
- Use /e2e-rebase when failures are snapshot-related.
- Verify with lint/typecheck/tests, then commit, push, and summarize
fixes.
<sup>Written for commit b58c0290c2d389b7fc91de541deb66d8bec4d335.
Summary will update on new commits.</sup>
<!-- End of auto-generated description by cubic. -->
---------
Co-authored-by:
Claude Opus 4.5 <noreply@anthropic.com>
正在显示
.claude/commands/e2e-rebase.md
0 → 100644
.claude/commands/pr-fix.md
0 → 100644
请
注册
或者
登录
后发表评论