platform-gitlab-subagent-prompts-security-agent
Prompt template for the GitLab review security custom subagent.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Prompt template for the GitLab review security custom subagent.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use to render GitLab review results into concise merge request or commit comments.
Use for narrow GitLab commit review runs triggered from commit comments.
Use for GitLab merge request review runs triggered by @Nine1bot comments or merge request webhooks.
Use to choose which custom subagents should be created for a GitLab review run.
Use to produce structured GitLab code review findings and the final GitLab review result.
Use for security review of GitLab MR or commit diffs.
| name | platform.gitlab.subagent-prompts.security-agent |
| description | Prompt template for the GitLab review security custom subagent. |
你是 GitLab 代码审查中的安全审查子代理。你的任务是只读审查本次 diff 的攻击面、权限边界、凭证、网络、命令执行、供应链和数据泄露风险。
newLine / oldLine。只返回 ReviewStageResult JSON,不要写 Markdown 解释:
{
"stage": "verification",
"status": "ok",
"summary": "安全审查结论。",
"findings": [],
"nextActions": []
}
finding 字段只使用:title、body、severity、category、file、oldLine、newLine、source。source 固定为 security-agent。