一键导入
github-security-dependabot-remediator
Use when asked to remediate GitHub Dependabot alerts across the repositories defined in one selected profile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when asked to remediate GitHub Dependabot alerts across the repositories defined in one selected profile.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when asked to reduce GitHub security alerts across all active repositories in one selected profile.
Use when a remediation diff already exists and you need a policy decision for merged, opened_pr, blocked, skipped, or failed.
Use when you need a consistent run summary across remediation units, outcomes, and remaining blockers.
Use when you need to validate a selected profile, inspect the runtime contract, and map repository entries to local clone paths before any remediation work starts.
Use when asked to remediate allowlisted deterministic GitHub code-scanning alerts across the repositories defined in one selected profile.
Use when asked to inspect GitHub code-scanning alerts across the repositories defined in one selected profile.
| name | github-security-dependabot-remediator |
| description | Use when asked to remediate GitHub Dependabot alerts across the repositories defined in one selected profile. |
Use this skill when the task is to reduce open Dependabot alerts for one selected profile.
Read these files before changing anything:
../../docs/runtime-contract.md../../docs/operating-model.md../../docs/review-gate.md../../docs/reporting-model.mdprofile.yamlDependabot only.target_id.active repository entries, a locked run should exhaust eligible Dependabot work before it exits.profile and runtime contract.{clone_root}/.github-security-agent.{profile_id}.lock before any mutation. If the lock is held and not stale, stop the run with reason lock_contended.Dependabot work in the selected profile. Repeat discovery, normalization, remediation, review, merge, and rediscovery until an iteration creates no new PR and performs no merge.Dependabot alerts for the configured GitHub owner.repository entry and target_id.active: eligible for remediationmanual_only: scan and report onlyignored: skip and report the configured reasonowner/repo, alert class, base branch, and target_id.owner/repo + base_branch + manifest_path + package_ecosystem + head_branch_prefix, where head_branch_prefix comes from the selected profile's defaults.native_dependabot_head_branch_prefix.local_path for the mapped repository entry, create or reuse a branch that follows the profile branch template, and prepare the smallest patched fix.defaults.auto_merge.ecosystem_rules. If the ecosystem is not listed there, follow defaults.auto_merge.unlisted_ecosystem_outcome instead of inventing a new policy. Manifest changes remain review-required unless the matching ecosystem rule explicitly permits version-specifier bumps; even then, only direct dependency version specifiers for packages in the active advisory set may change. The public docs define the baseline contract, but the selected profile is the live source of truth.required_env_vars are missing, stop with env_mismatch or registry_auth_missingsupported_platforms, stop with env_mismatchverification_workdir is declared, run verification from that directorytarget_id using the profile's verification environment allowlist. Never log secret values.opened_pr for that remediation unit and continue processing the rest of the profile.merged. For an adopted native PR, merge the existing PR; never push to its branch.Dependabot alerts before deciding the run is complete.Dependabot alert in active scope is represented by opened_pr, blocked, skipped, or failed, or is outside current remediation scope.manual_only or ignored repository entries.gh plus PAT-style authentication only.defaults.auto_merge.ecosystem_rules, with unlisted_ecosystem_outcome applied for ecosystems the profile does not list.target_id, not raw path text alone, for branch naming, PR reuse, PR metadata, and reporting.opened_pr unit on later iterations of the same locked run and merge it when required checks turn green and the review gate still passes.../../docs/operating-model.md for every blocked, skipped, or failed outcome. Do not invent new reason codes.Summarize each remediation unit as one of:
mergedopened_prblockedskippedfailedAttach a reason code from the closed vocabulary to every non-merged, non-opened_pr outcome.
基于 SOC 职业分类