一键导入
dedupe-issue
Detect duplicate GitLab issues by comparing the incoming issue's title and description against issue candidates provided by the CI job.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect duplicate GitLab issues by comparing the incoming issue's title and description against issue candidates provided by the CI job.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap the issue triage configuration for a repository by analyzing existing issues, labels, and contributors to generate `.gitlab/issue-triage/config.json` and `.gitlab/CODEOWNERS`. Use when setting up triage automation on a new or existing repository for the first time.
Compare a merge request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during MR review when approved or repository spec context is available.
Create or update a GitLab merge request from a pushed branch after local review, base-branch sync, validation, and issue linking.
Create a product spec from a GitLab issue in this repository by applying the local shared `write-product-spec` workflow with issue context and output paths. Use when an issue should be turned into a product spec artifact stored under `specs/issue-<issue-number>/product.md` and the agent should prepare file changes only, without creating commits or merge requests itself.
Create a technical spec from a GitLab issue in this repository by applying the local shared `write-tech-spec` workflow with issue context and output paths. Use when an issue should be turned into a tech spec artifact stored under `specs/issue-<issue-number>/tech.md` and the agent should prepare file changes only, without creating commits or merge requests itself.
Repo-specific dedupe guidance . Only the categories declared overridable by the core dedupe-issue skill may be specialized here.
| name | dedupe-issue |
| description | Detect duplicate GitLab issues by comparing the incoming issue's title and description against issue candidates provided by the CI job. |
Compare a newly filed GitLab issue against candidate issues provided by the CI job and identify likely duplicates by similarity of title and description.
Expect the prompt to include:
summary or issue_body, leave duplicate_of empty, and continue triage from the available local inputs.Return a list of duplicate candidates in the triage result's duplicate_of field. Each entry must include:
issue_number: the number of the existing issuetitle: the title of the existing issuesimilarity_reason: a one-sentence explanation of why this issue is considered a duplicateWhen fewer than 2 candidates meet the similarity threshold, return an empty duplicate_of list and do not flag the issue as a duplicate.
The consuming repository may ship a companion skill at .agents/skills/dedupe-issue-repo/SKILL.md. When the prompt includes a fenced "Repository-specific guidance" section referencing that companion, read the referenced file and apply its guidance only to the categories listed below. Guidance in the companion may never change the duplicate-detection algorithm, the similarity thresholds, the 2-candidate minimum before flagging, or the output contract.
Overridable categories:
If a companion file is not referenced in the prompt, rely on the core contract alone.
Duplicate detection is invoked by the GitLab triage CI job. This
skill's only handoff is the duplicate_of field in
triage_result.json; do not use comments, labels, issue edits, issue
closure, or any other GitLab side effect to report duplicate detection
results.
The outer triage CI job is responsible for reading
triage_result.json and deciding whether to apply labels, post or
update comments, edit the issue, or take any other GitLab action. It
may add the duplicate label and may post a triage or duplicate summary
comment that explains which existing issues the incoming issue may
duplicate.