Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .claude/commands/dedupe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,14 @@ Notes (be sure to tell this to your agents, too):
- `./scripts/gh.sh issue view 123 --comments` — view with comments
- `./scripts/gh.sh issue list --state open --limit 20` — list issues
- `./scripts/gh.sh search issues "query" --limit 10` — search for issues
- Hard candidate constraints (required):
- Candidate issue must be `open`.
- Candidate issue must be older than the base issue.
- Candidate issue must NOT be labeled `duplicate`.
- Candidate issue must NOT be the base issue itself.
- If no candidates satisfy all constraints, do not post a duplicate comment.
- Prefer canonical candidates:
- Prefer issues without lifecycle labels that indicate pending closure (`stale`, `autoclose`).
- Prefer issues with clearer reproduction detail and stable discussion context.
- Do not use other tools, beyond `./scripts/gh.sh` and the comment script (eg. don't use other MCP servers, file edit, etc.)
- Make a todo list first