Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"name": "utils",
"source": "./plugins/utils",
"description": "A generic utilities plugin serving as a catch-all for various helper commands",
"version": "0.0.4"
"version": "0.0.5"
},
{
"name": "olm",
Expand Down
2 changes: 1 addition & 1 deletion docs/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
"hooks": [],
"name": "utils",
"skills": [],
"version": "0.0.4"
"version": "0.0.5"
},
{
"commands": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/utils/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "utils",
"description": "A generic utilities plugin serving as a catch-all for various helper commands and agents",
"version": "0.0.4",
"version": "0.0.5",
"author": {
"name": "github.com/openshift-eng"
}
Expand Down
8 changes: 7 additions & 1 deletion plugins/utils/commands/address-reviews.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,18 @@ Show user:
Before posting ANY reply, verify you haven't already responded:

```bash
python3 plugins/utils/scripts/check_replied.py <owner> <repo> <pr_number> <comment_id> --type <type>
CHECK_REPLIED="${CLAUDE_PLUGIN_ROOT}/scripts/check_replied.py"
if [ ! -f "$CHECK_REPLIED" ]; then
CHECK_REPLIED=$(find ~/.claude/plugins -type f -path "*/utils/scripts/check_replied.py" 2>/dev/null | sort | head -1)
fi
if [ -z "$CHECK_REPLIED" ] || [ ! -f "$CHECK_REPLIED" ]; then echo "ERROR: check_replied.py not found" >&2; exit 2; fi
Comment thread
bryan-cox marked this conversation as resolved.
python3 "$CHECK_REPLIED" <owner> <repo> <pr_number> <comment_id> --type <type>
Comment thread
coderabbitai[bot] marked this conversation as resolved.
```

Where `<type>` is one of: `issue_comment`, `review_thread`, or `review_comment`

**If the script returns exit code 1**: Skip that comment - you've already replied.
**If the script returns exit code 2**: The check failed - do NOT post a reply. Investigate and fix the issue before proceeding.

### Response Rules

Expand Down