用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dyad-sh/dyad --skill dyadpr-rebase命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Diagnose and fix failing CI checks on a pull request from its latest GitHub Actions CI run. Use when PR CI has E2E/Playwright failures, macOS or Windows unit-test failures, or presubmit/type/build failures; analyzes the exact run logs and artifacts, invokes dyad:deflake-e2e-from-run for E2E failures, reproduces targeted unit tests locally, and publishes the fixes.
Address all outstanding issues on a GitHub Pull Request by handling both review comments and failing CI checks.
Read all unresolved GitHub PR comments from trusted authors and address or resolve them appropriately.
正在显示 SKILL.md
基于 SOC 职业分类
| name | dyad:pr-rebase |
| description | Rebase the current branch on the latest upstream changes, resolve conflicts, and push. |
Rebase the current branch on the latest upstream changes, resolve conflicts, and push.
Determine the git remote setup:
git remote -v
git branch -vv
In GitHub Actions for cross-repo PRs:
origin points to the head repo (fork) - this is where you pushupstream points to the base repo - this is what you rebase ontoFor same-repo PRs, origin points to the main repo and there may be no upstream.
Fetch the latest changes:
git fetch --all
Rebase onto the base branch:
Use upstream/main if the upstream remote exists (cross-repo PR), otherwise use origin/main:
# Check if upstream remote exists
git remote get-url upstream 2>/dev/null && git rebase upstream/main || git rebase origin/main
If there are merge conflicts:
Identify the conflicting files from the rebase output
Read each conflicting file and understand both versions of the changes
Resolve the conflicts by editing the files to combine changes appropriately
Stage the resolved files:
git add <resolved-file>
Continue the rebase:
git rebase --continue
Repeat until all conflicts are resolved and the rebase completes
Run lint and push:
Run the /dyad:pr-push skill to run lint checks, fix any issues, and push the rebased branch.
Summarize the results: