PR-Bot Unified CLI
This skill provides a unified command-line interface for all ComfyPR bot capabilities.
Available Commands
Code PR Creation (Automatic)
bash
prbot code pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>" prbot github pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>" # Alias prbot pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>" # Short alias
Options:
- •
-r, --repo: Repository in formatowner/repo(required) - •
-b, --branch: Target branch (default:main) - •
-p, --prompt: Coding task description (required)
Code Search
bash
prbot code search -q "<QUERY>" [--repo <REPO>] [--path <PATH>]
Options:
- •
-q, --query: Search query (required) - •
--repo: Filter by repository (optional) - •
--path: Filter by file path pattern (optional)
GitHub Issue Search
bash
prbot github-issue search -q "<QUERY>" [-l <LIMIT>]
Options:
- •
-q, --query: Search query (required) - •
-l, --limit: Maximum number of results (default: 10)
Slack Message Update
bash
prbot slack update -c <CHANNEL_ID> -t <TIMESTAMP> -m "<MESSAGE>"
Options:
- •
-c, --channel: Slack channel ID (required) - •
-t, --ts: Message timestamp (required) - •
-m, --text: New message text (required)
Slack Thread Reader
bash
prbot slack read-thread -c <CHANNEL_ID> -t <TIMESTAMP> [-l <LIMIT>]
Options:
- •
-c, --channel: Slack channel ID (required) - •
-t, --ts: Thread timestamp (required) - •
-l, --limit: Max messages to retrieve (default: 100)
Notion Search
bash
prbot notion search -q "<QUERY>" [-l <LIMIT>]
Options:
- •
-q, --query: Search terms (required) - •
-l, --limit: Max results (default: 10)
Registry Search
bash
prbot registry search -q "<QUERY>" [-l <LIMIT>] [--include-deprecated]
Options:
- •
-q, --query: Search query for custom nodes (required) - •
-l, --limit: Maximum number of results (default: 10) - •
--include-deprecated: Include deprecated nodes (default: false)
Examples
bash
# Create automatic PR for bug fix prbot code pr -r Comfy-Org/ComfyUI -b main -p "Fix auth bug in login" # Search ComfyUI code prbot code search -q "binarization" --repo Comfy-Org/ComfyUI # Search GitHub issues prbot github-issue search -q "is:open label:bug" -l 5 # Search ComfyUI custom nodes registry prbot registry search -q "video" -l 5 # Update Slack message prbot slack update -c C123 -t 1234567890.123456 -m "Working on it" # Read Slack thread prbot slack read-thread -c C123 -t 1234567890.123456 # Search Notion docs prbot notion search -q "ComfyUI setup" -l 5
Notes
- •This is the recommended way to access all bot functionality
- •Globally linked as
pr-botcommand - •Run
prbot --helpfor full command documentation - •Each subcommand has its own
--helpoption