gh-issues
यह क्या करती है
यह स्किल खुले GitHub इश्यू पढ़ती है, सहायक एजेंटों से उन पर काम करवाती है, और उनके लिए पुल रिक्वेस्ट खोलती है। यह उन डेवलपर्स के लिए है जो बग की सूची जल्दी साफ़ करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप खुले GitHub इश्यू के एक समूह पर काम करना चाहते हों, जैसे किसी लेबल वाले बग।
- ✓जब आप चाहते हों कि उनके सुधार समीक्षा के लिए पुल रिक्वेस्ट के रूप में खुलें।
- ✓जब आप उन पुल रिक्वेस्ट पर आई समीक्षा टिप्पणियों का पालन करना चाहते हों।
Skill का लिंक
https://github.com/spinabot/brigade/blob/main/skills/gh-issues/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे प्रोजेक्ट के तीन खुले बग इश्यू ठीक कीजिए, और हर एक के लिए एक पुल रिक्वेस्ट खोलिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI GitHub से इश्यू पढ़ता है और हर इश्यू के लिए एक सहायक एजेंट समानांतर में चलाता है। फिर वह पुल रिक्वेस्ट खोलता है, समीक्षा टिप्पणियों पर नज़र रखता है और उनका जवाब देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
gh-issues — Auto-fix GitHub Issues with Parallel Sub-agents
You are an orchestrator. Follow these 6 phases exactly. Do not skip phases.
IMPORTANT — No gh CLI dependency. This skill uses curl + the GitHub REST API exclusively. The GH_TOKEN env var is already injected by Brigade. Pass it as a Bearer token in all API calls:
curl -s -H "Authorization: Bearer $GH_TOKEN" -H "Accept: application/vnd.github+json" ...
Phase 1 — Parse Arguments
Parse the arguments string provided after /gh-issues.
Positional:
- owner/repo — optional. This is the source repo to fetch issues from. If omitted, detect from the current git remote:
git remote get-url originExtract owner/repo from the URL (handles both HTTPS and SSH formats).- HTTPS: https://github.com/owner/repo.git → owner/repo
- SSH: git@github.com:owner/repo.git → owner/repo If not in a git repo or no remote found, stop with an error asking the user to specify owner/repo.
Flags (all optional):
| Flag | Default | Description |
|---|---|---|
| --label | (none) | Filter by label (e.g. bug, enhancement) |
| --limit | 10 | Max issues to fetch per poll |
| --milestone | (none) | Filter by milestone title |
| --assignee | (none) | Filter by assignee (@me for self) |
| --state | open | Issue state: open, closed, all |
| --fork | (none) | Your fork (user/repo) to push branches and open PRs from. Issues are fetched from the source repo; code is pushed to the fork; PRs are opened from the fork to the source repo. |
| --watch | false | Keep polling for new issues and PR reviews after each batch |
| --interval | 5 | Minutes between polls (only with --watch) |
| --dry-run | false | Fetch and display only — no sub-agents |
| --yes | false | Skip confirmation and auto-process all filtered issues |
| --reviews-only | false | Skip issue processing (Phases 2-5). Only run Phase 6 — check open PRs for review comments and address them. |
| --cron | false | Cron-safe mode: fetch issues and spawn sub-agents, exit without waiting for results. |
| --model | (none) | Model to use for sub-agents (e.g. glm-5, zai/glm-5). If not specified, uses the agent's default model. |
| --notify-channel | (none) | Telegram channel ID to send final PR summary to (e.g. -1002381931352). Only the final result with PR links is sent, not status updates. |
Store parsed values for use in subsequent phases.
Derived values:
- SOURCE_REPO = the positional owner/repo (where issues live)
- PUSH_REPO = --fork value if provided, otherwise same as SOURCE_REPO
- FORK_MODE = true if --fork was provided, false otherwise
If --reviews-only is set: Skip directly to Phase 6. Run token resolution (from Phase 2) first, then jump to Phase 6.
If --cron is set:
- Force
--yes(skip confirmation) - If
--reviews-onlyis also set, run token resolution then jump to Phase 6 (cron review mode) - Otherwise, proceed normally through Phases 2-5 with cron-mode behavior active
Phase 2 — Fetch Issues
Token Resolution: First, ensure GH_TOKEN is available. Check environment:
echo $GH_TOKEN
If empty, read from config:
CONFIG_PATH="${BRIGADE_CONFIG_PATH:-${BRIGADE_STATE_DIR:-$HOME/.brigade}/brigade.json}"
cat "$CONFIG_PATH" | jq -r '.skills.entries["gh-issues"].apiKey // empty'
If still empty, check /data/.brigade/brigade.json:
cat /data/.brigade/brigade.json | jq -r '.skills.entries["gh-issues"].apiKey // empty'
Export as GH_TOKEN for subsequent commands:
export GH_TOKEN="<token>"
Build and run a curl request to the GitHub Issues API via exec:
curl -s -H "Authorization: Bearer $GH_TOKEN" -H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/{SOURCE_REPO}/issues?per_page={limit}&state={state}&{query_params}"
Where {query_params} is built from:
- labels={label} if --label was provided
- milestone={milestone} if --milestone was provided (note: API expects milestone number, so if user provides a title, first resolve it via GET /repos/{SOURCE_REPO}/milestones and match by title)
- assignee={assignee} if --assignee was provided (if @me, first resolve your username via
GET /user)
IMPORTANT: The GitHub Issues API also returns pull requests. Filter them out — exclude any item where pull_request key exists in the response object.
If in watch mode: Also filter out any issue numbers already in the PROCESSED_ISSUES set from previous batches.
Error handling:
- If curl returns
अक्सर पूछे जाने वाले सवाल
क्या मैं पहले देख सकता हूँ कि यह क्या करेगी?
हाँ। ड्राई-रन विकल्प से आप देख सकते हैं कि यह कुछ बदलने से पहले क्या करती, बिना कोई बदलाव किए।
क्या यह चुन सकती है कि कौन से इश्यू उठाए?
हाँ। आप लेबल, मील का पत्थर, असाइनी और स्थिति से फ़िल्टर कर सकते हैं, और कितने इश्यू लाने हैं यह तय कर सकते हैं।
क्या यह नए काम के लिए लगातार जाँच कर सकती है?
हाँ। वॉच विकल्प से यह तय अंतराल पर नए इश्यू और समीक्षा टिप्पणियाँ जाँच सकती है।
जानकारी
लेखक का मूल विवरण
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
repo: spinabot/brigade
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11719
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
1password
11kयह आपके एजेंट को 1Password कमांड लाइन टूल सेट करना और सुरक्षित तरीके से साइन इन करना सिखाती है, फिर ज़रूरत पर संग्रहीत सीक्रेट पढ़ने या डालने देती है।
apple-reminders
11kयह आपके एजेंट को टर्मिनल से Apple Reminders देखने, जोड़ने, बदलने, पूरा करने और हटाने देती है, जिसमें सूचियाँ और तारीख के फ़िल्टर भी शामिल हैं।
bluebubbles
11kयह आपके एजेंट को BlueBubbles के ज़रिए iMessage भेजने और संभालने देती है, जिसमें टेक्स्ट, अटैचमेंट, टैपबैक रिएक्शन, संपादन और ग्रुप सेटिंग्स शामिल हैं।
camsnap
11kयह आपके एजेंट को उन नेटवर्क सिक्योरिटी कैमरों से स्नैपशॉट, छोटी क्लिप लेने या मूवमेंट पर नज़र रखने देती है, जो आप पहले से सेट कर चुके हैं।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।