You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The skill ran straight from template choice to filing, so a new issue
duplicating an open one slipped through unless a human happened to ask
(as with the docs-spec finding that duplicated #2 during PR #4).
Add a search step ahead of drafting: search all issues by keyword, judge
by the work rather than a shared topic, and get explicit confirmation
before filing over a known potential duplicate. Sync the phase-listing
pointers in AGENTS.md and CONTRIBUTING.md and the skill description so
none drift.
Closes#19
Copy file name to clipboardExpand all lines: skills/create-issue/SKILL.md
+38-6Lines changed: 38 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: create-issue
3
-
description: Guides filing a new GitHub issue: picks the right template, writes it in the right register, applies the matching label, reviews the draft, and files it. Use when opening a new issue for this repo.
3
+
description: Guides filing a new GitHub issue: checks for duplicates, picks the right template, writes it in the right register, applies the matching label, reviews the draft, and files it. Use when opening a new issue for this repo.
4
4
---
5
5
6
6
# Create Issue
@@ -16,7 +16,39 @@ sure which template fits or how technical the wording should be.
16
16
17
17
## Steps
18
18
19
-
### 1. Choose the template
19
+
### 1. Check for duplicates
20
+
21
+
Before choosing a template or writing anything, search existing issues for one that already tracks
22
+
this work. Search open and closed together, since a `wontfix` or already-closed duplicate changes
23
+
whether to file at all:
24
+
25
+
```bash
26
+
gh issue list --repo navapbc/strata-documentation-engine --state all --search "<keywords>"
27
+
```
28
+
29
+
GitHub numbers issues and PRs together, so `--state all` surfaces PRs too; a PR may already be doing
30
+
the work.
31
+
32
+
Judge by the work, not the topic: two issues that merely mention the same subject are not
33
+
duplicates. A duplicate tracks the same change or investigation. Then:
34
+
35
+
-**A near-duplicate is open** → comment on or update it instead of filing, and stop here.
36
+
-**A new issue is still warranted** → proceed, and note in the body why it is not a duplicate of the
37
+
ones you found (link them).
38
+
-**You still intend to file over a plausible duplicate** → surface it to the person at the keyboard
39
+
and get their explicit confirmation before continuing. Never file silently over a known potential
40
+
duplicate.
41
+
42
+
When resolving this means closing an issue as a duplicate of another, close it with the `duplicate`
43
+
label:
44
+
45
+
```bash
46
+
gh issue close <n> --repo navapbc/strata-documentation-engine --reason "not planned" \
0 commit comments