Agent Skills
› Tracer-Cloud/opensre
› github-security-fix
github-security-fix
GitHub用于修复GitHub安全与质量问题,支持Dependabot、CodeQL等告警。自动执行补丁或生成PR,拒绝密钥泄露请求,严格遵循工具返回结果。
Trigger Scenarios
用户请求修复GitHub安全告警
修复代码质量或依赖漏洞
处理CodeQL/Dependabot警报
Install
npx skills add Tracer-Cloud/opensre --skill github-security-fix -g -y
SKILL.md
Frontmatter
{
"name": "github-security-fix",
"tools": [
"fix_github_security_alert"
],
"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."
}
GitHub Security And Quality Fix
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_numberand usealert_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
ownerandrepo; the tool uses the current checkout's GitHub origin. - For GitHub
/security/code-scanningpages or CodeQL/code-scanning backlog requests, passalert_type="code_scanning". - For GitHub
/security/qualitypages or quality backlog requests, passalert_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
errortext 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=trueonly when the user asks to open, raise, create, or ship a pull request. - 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, andpr_url.
Version History
- 8bfe7b1 Current 2026-08-19 21:46


