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
Copy file name to clipboardExpand all lines: .cursor/commands/issues/find-and-open.md
+25-8Lines changed: 25 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,26 +6,43 @@ Thoroughly review the ENTIRE codebase to identify bugs, improvements, architectu
6
6
7
7
**This command is read-only: DO NOT modify any source file, test, config, or documentation.**
8
8
9
+
## Arguments (`$ARGUMENTS`)
10
+
11
+
Parse the optional `$ARGUMENTS` string for the following keywords (case-insensitive). Multiple keywords can be combined.
12
+
13
+
| Keyword | Effect |
14
+
|----------|--------|
15
+
|`medium`| Do **not** open GitHub issues for `Priority: Low` findings — only display them in the summary output. |
16
+
|`high`| Do **not** open GitHub issues for `Priority: Medium` or `Priority: Low` findings — only display them in the summary output. |
17
+
|`local`| Do **not** open any GitHub issue at all — only display all findings in the summary output. |
18
+
|`bug`| Only open GitHub issues for bug findings (those that would receive the `Type: Fixed` label); all other findings are only displayed in the summary output. |
19
+
20
+
When multiple keywords are present, apply all matching rules (most restrictive wins for priority filters).
21
+
9
22
## Steps
10
23
11
24
1.**Read `AGENTS.md`** to understand the project conventions and constraints.
12
25
13
-
2.**Search existing github issues** to know what has already been reported. Avoid creating duplicate tasks.
26
+
2.**Parse `$ARGUMENTS`** and determine which findings will be opened as GitHub issues vs. only displayed (see Arguments table above).
27
+
28
+
3.**Search existing github issues** to know what has already been reported. Avoid creating duplicate tasks.
14
29
15
-
3.**Review the entire codebase systematically.** Read all source files, tests, configuration files, and documentation.
30
+
4.**Review the entire codebase systematically.** Read all source files, tests, configuration files, and documentation.
16
31
17
-
4.**For each issue found**, create a GitHub issue with:
18
-
- A clear, specific **title**
19
-
- A **description** explaining the issue, where it is (file + approximate location), why it matters, and a suggestion for fixing it
20
-
-**Label**: `Reporter: AI` + `Type: ...` + `Priority: ...` (never add a `Status: ...` label when creating an issue)
32
+
5.**For each issue found**, decide based on the parsed arguments whether to:
33
+
-**Create** a GitHub issue with:
34
+
- A clear, specific **title**
35
+
- A **description** explaining the issue, where it is (file + approximate location), why it matters, and a suggestion for fixing it
36
+
-**Label**: `Reporter: AI` + `Type: ...` + `Priority: ...` (never add a `Status: ...` label when creating an issue)
37
+
-**Or only display** it in the summary output (no GitHub issue created).
21
38
22
-
5.**At the end**, display a summary table of all tasks created, grouped by label, showing task ID and title.
39
+
6.**At the end**, display a summary table of all findings grouped by label, showing task ID (or `—` if not created) and title, with a note indicating which were opened vs. display-only.
23
40
24
41
## Important rules
25
42
26
43
-**DO NOT modify any file in the repository.** This command is purely analytical.
27
44
-**DO NOT create duplicate tasks.** Always check the existing GitHub issues before creating a new task.
28
45
-**Be specific.** Each task should address one concrete, actionable issue — not vague observations.
29
-
-**Be honest.** Only report genuine issues, not stylistic nitpicks that conflict with the project's established conventions
46
+
-**Be honest.** Only report genuine issues, not stylistic nitpicks that conflict with the project's established conventions.
30
47
-**Group related micro-issues.** If you find multiple typos in the same file or closely related minor issues, group them into a single task rather than creating many tiny tasks.
31
48
-**It's OK if you don't find any issue!** In that case, just display a message "No issue found".
0 commit comments