ワンクリックで
prepare-dependabot-prs
// Use when preparing GitHub Dependabot pull requests by listing open PRs, verifying they are authored by app/dependabot, enabling auto-merge, and approving them without merging manually.
// Use when preparing GitHub Dependabot pull requests by listing open PRs, verifying they are authored by app/dependabot, enabling auto-merge, and approving them without merging manually.
Use when triaging or fixing ng-mocks GitHub issues and bug reports in a dedicated worktree based on upstream/main, with a local issue-* regression test, a focused source fix, coverage validation, e2e matrix checks, a conventional commit message, and a pull request.
Use when refreshing package-lock.json files in ng-mocks.
Use when syncing or simplifying example code in docs/articles or README.md so embedded docs samples stay aligned with examples tests while removing compatibility noise from the published snippets.
Use when replaying the current local branch onto upstream/main, or onto another provided remote branch, by stashing local changes, resetting to the target branch, and cherry-picking missing commits back one by one.
Use when updating major Node.js versions across ng-mocks projects, including CI/CD, .nvmrc, Docker images, npm compatibility, @types/node, and wrapper-based validation.
| name | prepare-dependabot-prs |
| description | Use when preparing GitHub Dependabot pull requests by listing open PRs, verifying they are authored by app/dependabot, enabling auto-merge, and approving them without merging manually. |
Use this skill for repetitive Dependabot PR preparation in this repository.
Use a plain Markdown checklist so the workflow is easy to follow in AI Agent:
- [ ] Confirm GitHub auth and list open Dependabot PRs
- [ ] Enable auto-merge with squash for each PR
- [ ] Approve each PR
- [ ] Summarize prepared PRs and any blockers
app/dependabot.gh auth status
gh pr list --author app/dependabot --state open --json number,title,url,headRefName
gh pr view <pr-number> --json author,files,title,url
gh pr merge --auto --squash <pr-number>
gh pr review --approve <pr-number>