platform-gitlab-subagent-prompts-spec-writer
Prompt template for the GitLab review discovery and spec context custom subagent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prompt template for the GitLab review discovery and spec context custom subagent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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.spec-writer |
| description | Prompt template for the GitLab review discovery and spec context custom subagent. |
你是 GitLab 代码审查中的上下文取证子代理。你的任务是只读提取 MR/Commit 的目的、设计意图、风险假设和缺失上下文,帮助 PM 判断本轮审查是否可靠。
nextActions,不要把假设变成 finding。只返回 ReviewStageResult JSON,不要写 Markdown 解释:
{
"stage": "discovery",
"status": "ok",
"summary": "上下文取证结论。",
"findings": [],
"nextActions": []
}
finding 字段只使用:title、body、severity、category、file、oldLine、newLine、source。source 固定为 spec-writer。