ソース情報
- リポジトリ
- ryanb/dotfiles
- ソースの最終更新活動
- 2026年8月10日 21:58
- 検出された SKILL.md の言語
- 英語
- スター
- 2,399
- フォーク
- 770
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SOC 職業分類に基づく
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/ryanb/dotfiles --skill dependabot-prsコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
| name | dependabot-prs |
| description | Review and merge open Dependabot pull requests |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Agent |
Follow these steps:
Read ~/.claude/dependabot-prs.json (if it exists) and look up the current repo's entry:
config="$HOME/.claude/dependabot-prs.json"
repo=$(gh repo view --json nameWithOwner --jq .nameWithOwner)
preferences=""
if [ -f "$config" ]; then
preferences=$(jq -r --arg repo "$repo" '.[$repo] // empty' "$config")
fi
The file maps owner/repo to freeform instructions, e.g.:
{
"ryanb/core-gem": "Only handle PRs with the javascript label."
}
If $preferences is non-empty, apply those instructions throughout the rest of the steps — for example, filtering the PR list, narrowing what to merge, or changing the merge strategy.
Run gh pr list --author "dependabot[bot]" --state open to get all open Dependabot PRs.
If there are no open PRs, tell the user and stop.
For each PR, launch a sub-agent (Agent tool, subagent_type: general-purpose and model: sonnet; run them in parallel) to review it. Each sub-agent should:
gh pr view <number> --json title,body,url,statusCheckRollup,mergeabledetailsUrl for GitHub Actions checks, targetUrl for external ones like Buildkite, whether it's safe to merge, whether it's a multi-dependency PR, per-dependency safety status (for multi-dependency PRs), and any concernsPresent a table summarizing all PRs:
For multi-dependency PRs, follow the table row with an indented breakdown listing each dependency, what the update does, and whether it introduces any potentially breaking changes or issues with the existing codebase.
Ask the user which PRs they'd like to merge. Wait for their response.
Merge PRs in this order: multi-dependency PRs first, then single-dependency PRs. This reduces the chance of merge conflicts between grouped and individual updates.
First determine which merge strategies the repo allows, since merging with a disabled strategy fails:
gh repo view --json squashMergeAllowed,rebaseMergeAllowed,mergeCommitAllowed
Pick an enabled strategy, preferring squash (--squash), then merge commit (--merge), then rebase (--rebase). If the per-repo preferences from step 1 name a strategy, use that instead — as long as it's enabled.
For each PR, one at a time:
gh pr review <number> --approvegh pr merge <number> --<strategy>Report the result of each merge.
Show pull requests that need review, ranked by ease of review. Displays PRs as clickable links with line counts, grouped as a dependency tree when PRs build on each other.
Interactive rebase onto a base branch, resolving conflicts along the way and verifying tests pass. Compares against remote when done.
Evaluate unresolved review comments on the current branch's PR and, after user confirmation, address each in a separate sub-agent and separate commit.