一键导入
github-security-review-gate
Use when a remediation diff already exists and you need a policy decision for merged, opened_pr, blocked, skipped, or failed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a remediation diff already exists and you need a policy decision for merged, opened_pr, blocked, skipped, or failed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when asked to reduce GitHub security alerts across all active repositories in one selected profile.
Use when asked to remediate GitHub Dependabot alerts across the repositories defined in one selected profile.
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-review-gate |
| description | Use when a remediation diff already exists and you need a policy decision for merged, opened_pr, blocked, skipped, or failed. |
Use this skill after remediation and verification, before any merge decision.
Read these files first:
../../docs/operating-model.md../../docs/review-gate.md../../docs/reporting-model.mdprofile.yamlThis skill decides whether a remediation unit is eligible for:
mergedopened_prblockedskippedfailedtarget_id.active.Dependabot, the mapped target's configured verification commands must have passedcode_scanning rules, the rule-specific verification contract may satisfy this step by itselfsecret_scanning, focused cleanup verification may satisfy this step when it proves the secret material was removed or replaced safelycode_scanning remediation also has relevant mapped-target validation commands, those commands must pass toosecret_scanning remediation also has relevant mapped-target validation commands, those commands must pass tooDependabot, confirm the diff satisfies the selected profile's defaults.auto_merge.ecosystem_rules before allowing merged. If the ecosystem is not listed there, enforce defaults.auto_merge.unlisted_ecosystem_outcome. If manifest files changed, merge is allowed only when the matching ecosystem rule permits manifest version-specifier bumps and every manifest edit is limited to a direct dependency package in the active advisory set. The public docs define the baseline contract, but the selected profile is the live source of truth.code_scanning, confirm the rule id is allowlisted in the selected profile's defaults.code_scanning.allowlisted_rules, the diff matches the deterministic fix contract, and merged is allowed only when the rule is also listed in defaults.code_scanning.auto_merge_rules.secret_scanning, confirm the selected profile's defaults.secret_scanning policy allows deterministic cleanup for this alert:prepare_cleanup_prs must allow cleanup PR preparationallow_placeholder_replacements must be trueallow_ignore_patterns must be truemerged is never allowedopened_pr and defer merge to a later merge pass.../../docs/operating-model.md for any non-merged, non-opened_pr outcome.merged is not allowed when manifest files changed beyond what the selected profile's matching ecosystem rule permits.merged is not allowed when a manifest diff adds, removes, renames, or otherwise churns dependencies, extras, scripts, config, or metadata unrelated to direct packages in the active advisory set.merged is not allowed when the diff contains unrelated direct dependency churn.merged is not allowed when the selected version is not the smallest patched version allowed by policy.merged is not allowed when an adopted native PR no longer has current advisory-set equivalence with the active alert set.merged is not allowed for code_scanning when the rule id is not allowlisted or the fix shape is not deterministic.merged is not allowed for code_scanning when the rule is not listed in defaults.code_scanning.auto_merge_rules.merged is never allowed for secret_scanning.opened_pr is allowed for secret_scanning only when deterministic cleanup succeeded and required verification passed.merged is not allowed when required checks defined by branch protection are still pending.merged is not allowed when any required check fails.opened_pr is the default promotion path when remediation exists but automatic merge is not allowed.../../docs/operating-model.md. Do not invent new reason codes.Return: