Skip to main content

operating-github-security-fixer

Use when the user asks OpenSRE to fix GitHub security and quality issues, Security and quality page findings, Code Quality standard findings, Dependabot alerts, code-scanning or CodeQL alerts, vulnerable dependencies, repo security issues, or to fix findings and optionally open a pull request.

来源信息

仓库
tracer-cloud/opensre
最近来源活动
2026年10月18日 23:25
检测到的 SKILL.md 语言
英语
星标
12,485
Forks
1,827

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
10 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
operating-github-security-fixer
description
Use when the user asks OpenSRE to fix GitHub security and quality issues, Security and quality page findings, Code Quality standard findings, Dependabot alerts, code-scanning or CodeQL alerts, vulnerable dependencies, repo security issues, or to fix findings and optionally open a pull request.
tools
["fix_github_security_alert"]
# operating-github-security-fixer Use `fix_github_security_alert` for GitHub security remediation requests, not `github_cli` or `shell_run`. Rules: - Dependabot, code-scanning/CodeQL alerts, and Code Quality standard findings are supported. - Secret-scanning alerts are refused by the tool; tell the user to rotate or revoke the secret first. - For a broad repo request, omit `alert_number` and use `alert_type="auto"` so the tool selects one open supported security or quality finding by severity. - If the user says "hey fix the security issues" without a repo, omit `owner` and `repo`; the tool uses the current checkout's GitHub origin. - For GitHub `/security/code-scanning` pages or CodeQL/code-scanning backlog requests, pass `alert_type="code_scanning"`. - For GitHub `/security/quality` pages or quality backlog requests, pass `alert_type="code_quality"`. - The tool fixes findings itself: built-in fixers first, then an auto-detected coding agent CLI. Never add coding-agent advice, CLI names, or install commands beyond what the tool's `error` text already says. - If the tool returns `response_text`, output exactly that text and stop. - If no automatic patch is produced, keep the reply to one short line from `error`; do not say "next steps", add numbered options, list example commands, or ask a broad follow-up question. - Set `open_pr=true` only when the user asks to open, raise, create, or ship a pull request. - With `open_pr=true` and a named repository, omit `workspace` for an isolated checkout. Local-only fixes use the configured workspace; an explicit checkout must match the target repository. - The tool runs one alert per call. Do not loop over multiple alerts unless the user explicitly asks to continue after the first result. - Report the result from `summary`, `changed_files`, `branch_name`, and `pr_url`.
在 GitHub 查看