一键导入
github-cargo-dependabot-review
Review Dependabot PRs updating Rust/Cargo crates with a security-focused crates.io tarball diff before commenting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review Dependabot PRs updating Rust/Cargo crates with a security-focused crates.io tarball diff before commenting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Comprehensive knowledge of Fedi's testing infrastructure for UI code (utilities, mock builders, conventions, and patterns) — use this when reading, writing or running unit/integration/e2e tests
Use when changing, adding, or consuming Fedi remote feature flags across the bridge runtime and web API. Covers crates/runtime/src/features.rs, ui/web/src/pages/api/features.ts, TypeScript bindings, local testing, and selector usage.
Pre-submit checklist for PRs that change Rust or bridge code (`crates/`) in the Fedi project. Use before opening or updating a Rust or bridge PR to run the right local checks and structure the description. Not for UI (`ui/`), docs, or config-only changes, which have their own conventions.
Review a UI pull request or diff in the `ui/` workspace (web, native, shared `common`) for regressions and scope creep, weighing each finding by cost and blocking only on a named cost. Use whenever asked to review a UI or frontend PR or diff, or to check a web or native change before merge, even if the user does not say "code review". Not for Rust, bridge, or infra changes.
Review Dependabot PRs updating GitHub Actions workflows/actions, with a security-focused upstream diff check before commenting.
Triage stale GitHub issues. Use when asked to review old, inactive, least-recently-updated, obsolete, already-done, or closeable issues; research whether they are still relevant; comment with a short summary; and close issues that are clearly done or no longer needed.
| name | github-cargo-dependabot-review |
| description | Review Dependabot PRs updating Rust/Cargo crates with a security-focused crates.io tarball diff before commenting. |
Use when asked to review Dependabot PRs that update Rust dependencies in Cargo.toml or Cargo.lock.
Target PRs usually have cargo in the branch name or titles like bump CRATE from OLD to NEW.
For each target PR:
OK to merge / not OK to merge recommendation. If so, stop for that PR and report that it was already reviewed.Cargo.lock and Cargo.toml diffs. Separate direct dependency bumps from transitive lockfile-only changes.For multi-dependency PRs, the PR-level subagent is a coordinator:
OK to merge / not OK to merge recommendation.Cargo.toml / Cargo.lock diff snippets, any suspected transitive changes belonging to that unit, and these single-dependency review instructions. Tell it to review only that unit and to post its own dependency-specific PR comment.Cargo dependency review: CRATE OLD_VERSION to NEW_VERSION so later coordinators can detect it.OK to merge. If any unit is unreviewed or not OK, the roll-up must say not OK to merge and list why.For a single dependency unit:
Cargo.toml is rewritten by cargo publish; compare Cargo.toml.orig instead when present..cargo_vcs_info.json exists, confirm its git SHA exists upstream and corresponds to a plausible version tag.build.rs, proc-macro code, links metadata, FFI, or native library probing;unsafe, extern, pointer manipulation, transmute, or unchecked indexing in code that handles untrusted input;not OK to merge until risky unreviewed changes are inspected.OK to merge / not OK to merge recommendation.Use this dependency comment shape:
Cargo dependency review: `CRATE` OLD_VERSION to NEW_VERSION
Crate reviewed:
- `CRATE` OLD_VERSION to NEW_VERSION: crates.io checksums matched metadata; NEW_VERSION was published DATE; not yanked.
What I checked:
- Downloaded and diffed the published crates.io tarballs for OLD_VERSION and NEW_VERSION.
- Compared the code diff with the Dependabot/release-note summary.
- Checked `Cargo.toml.orig`, feature/dependency changes, build scripts, proc-macro/FFI/unsafe surfaces, and suspicious network/process/filesystem behavior.
- Checked attributable transitive dependency changes: ...
Findings:
- ...
Recommendation for this dependency: OK to merge / not OK to merge.
Use a roll-up comment only after every dependency unit in a multi-dependency PR has a dependency-specific review comment. Include each dependency, recommendation, and comment URL. Recommend merging the whole PR only when every unit was reviewed and is OK to merge.
Summarize PR link, whether it was already reviewed, whether dependency units were delegated or reviewed directly, whether comments were posted, crates reviewed, any risky or skipped areas, and the recommendation.