herdr-manager-query
यह क्या करती है
यह स्किल Herdr Manager की रिव्यू, पुल रिक्वेस्ट और चेकआउट की सूची पढ़ती है, फिर साफ़ सारांश और सुझाव देती है। यह उन डेवलपर्स के लिए है जो कई पुल रिक्वेस्ट संभालते हैं।
कब इस्तेमाल करें
- ✓जब आप उन पुल रिक्वेस्ट की सूची चाहें जिन्हें आपके रिव्यू के लिए कहा गया है।
- ✓जब आप देखना चाहें कि आपकी बनाई पुल रिक्वेस्ट में से किन्हें ध्यान चाहिए।
- ✓जब आप अगले काम के लिए सुझाव चाहें।
Skill का लिंक
https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/herdr-manager-query/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे वे पुल रिक्वेस्ट दिखाइए जो मेरे रिव्यू का इंतज़ार कर रही हैं, और बताइए कि मुझे पहले किसे देखना चाहिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट केवल प्लगइन के ज़रिए Herdr Manager का डेटा पढ़ता है, फिर जो मिला उसकी रिपोर्ट देता है। वह कोई रिकॉर्ड नहीं बदलता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Herdr Manager Query
Use the enabled herdr-kit plugin as the authoritative repository-independent source for Review Manager and Work Manager data.
Activate this skill for requested reviews, authored PRs, managed checkouts, Herdr workspaces, manager review/CI/activity/freshness/cleanup state, work recommendations, or explicit Review Manager materialization.
Safety and source of truth
- Querying and recommending are read-only.
- The manager inventory is authoritative. Never substitute direct GitHub/
gh, current-directory Git, TUI scraping, raw manager state files, or another inventory. - If discovery, capability negotiation, query execution, JSON parsing, schema validation, or a relevant source reports an error, stop and report the exact problem. Never fall back.
- Never synchronize, dematerialize, clean up, create a Git worktree directly, or materialize a Work Manager record.
- The only permitted mutation is explicit, user-confirmed materialization of authoritative remote-only Review Manager records through the plugin's public CLI.
- Treat protocol and schema versions as compatibility boundaries. Do not guess around unsupported versions.
Discover the installed interface
Resolve the enabled plugin root through Herdr, not from the current repository:
plugin_file=$(mktemp)
if ! herdr plugin list --plugin herdr-kit --json > "$plugin_file"; then
exit 1
fi
if ! plugin_root=$(python3 - "$plugin_file" <<'PY'
import json, sys
plugins = json.load(open(sys.argv[1]))["result"]["plugins"]
plugin = next((p for p in plugins if p.get("plugin_id") == "herdr-kit"), None)
if not plugin or not plugin.get("enabled") or not plugin.get("plugin_root"):
raise SystemExit("Enabled herdr-kit plugin root is unavailable")
print(plugin["plugin_root"])
PY
); then
exit 1
fi
manager_cli="$plugin_root/herdr-kit"
Negotiate capabilities before any query or mutation:
capabilities_file=$(mktemp)
"$manager_cli" capabilities > "$capabilities_file"
python3 - "$capabilities_file" <<'PY'
import json, sys
p = json.load(open(sys.argv[1]))
if p.get("protocol_version") != 1:
raise SystemExit(f"Unsupported herdr-kit protocol: {p.get('protocol_version')}")
if not p.get("operations", {}).get("manager_query", {}).get("available"):
raise SystemExit("herdr-kit manager query is unavailable")
PY
Query workflow
Write output to a temporary file so large JSON is never passed through shell command substitution:
data_file=$(mktemp)
"$manager_cli" manager query > "$data_file"
python3 - "$data_file" <<'PY'
import json, sys
p = json.load(open(sys.argv[1]))
if p.get("protocol_version") != 1:
raise SystemExit(f"Unsupported manager protocol: {p.get('protocol_version')}")
inventory = p.get("inventory", {})
if inventory.get("schema_version") != 1:
raise SystemExit(f"Unsupported manager inventory schema: {inventory.get('schema_version')}")
errors = inventory.get("summary", {}).get("errors", [])
if errors:
raise SystemExit("Manager inventory error: " + "; ".join(map(str, errors)))
print(json.dumps(inventory.get("summary", {}), indent=2))
PY
Filter inventory.items locally. Every item identifies its source manager and includes repository/PR identity, state, checkout location, Herdr state, reviews, CI, activity, freshness, changes, and cleanup data. Review records additionally include head_sha, materialization.target_path, and PR diff statistics under diff.
For Review Manager records, use the structured review metadata when reasoning about initial reviews and follow-up work:
reviews.your_latest_review_atandreviews.your_latest_review_shaidentify the user's latest submitted review and reviewed commit.reviews.eventsprovides submitted review events with actors, states, timestamps, commit SHAs, and compact bodies.reviews.commentsandreviews.unresolved_threadsprovide available comment and unresolved-discussion timing. Compare each item's timestamp withreviews.your_latest_review_at: only later items are follow-up feedback, and the result remains unknown when either timestamp is unavailable.reviews.commits_since_your_reviewidentifies commits submitted after the user's latest review.- Compare event timestamps rather than assuming PR-wide
activity_atoccurred after the user's review. A missing timestamp or event remains unknown.
Treat missing values as unknown, never as favorable defaults.
Recommendation workflow
When asked what to review or work on next, rank on
अक्सर पूछे जाने वाले सवाल
क्या यह स्किल मेरी पुल रिक्वेस्ट बदल सकती है?
नहीं। खोजना और सुझाना केवल पढ़ने वाले काम हैं, और एक साफ़ पुष्टि वाले कदम के अलावा कोई बदलाव अनुमत नहीं है, जो केवल रिमोट रिव्यू रिकॉर्ड जोड़ता है।
अगर प्लगइन इंस्टॉल न हो तो?
एजेंट रुककर समस्या बताता है, GitHub या दूसरे स्रोतों से अंदाज़ा नहीं लगाता।
क्या यह मेरा GitHub अकाउंट सीधे पढ़ती है?
नहीं। स्किल के लिए Herdr Manager की इन्वेंटरी ही एकमात्र सच्चा स्रोत है।
जानकारी
लेखक का मूल विवरण
Query the authoritative global Herdr Review and Work Manager inventory, recommend actionable PR work, and explicitly materialize confirmed remote-only Review Manager records through the plugin's stable public CLI.
repo: mastra-ai/mastra
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9369
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
debugging-difficult-bugs
29kयह आपके एजेंट को कठिन बग ढूंढने में मदद करती है, असली प्रोग्राम के रनटाइम लॉग से, केवल टेस्ट देखकर अंदाज़ा लगाने की जगह।
mastra-frontend
29kयह आपके एजेंट को Mastra playground डिज़ाइन सिस्टम के तैयार कॉम्पोनेंट जोड़कर ऐप स्क्रीन बनाने में मदद करती है, शुरू से स्टाइल करने की जगह।
pr-explainer
29kयह आपके एजेंट को पुल रिक्वेस्ट को एक साफ़, स्व-निहित HTML पेज में बदलने में मदद करती है, जो रिव्यूअर को बदलाव समझाए।
pr-splitter
29kयह आपके एजेंट को एक बड़ी, उलझी पुल रिक्वेस्ट को छोटी, रिव्यू योग्य पुल रिक्वेस्ट में बांटने में मदद करती है, मूल काम सुरक्षित रखते हुए।
मिलती-जुलती skills
knowledge-capture
394kयह आपके एजेंट को ज़रूरी फ़ैसले, पसंद और मुख्य तथ्य स्रोत के उल्लेख के साथ Knowledge vault में छोटे नोट्स के रूप में सेव करना सिखाती है।
knowledge-claim-consolidation
394kयह आपके एजेंट को डुप्लिकेट claims मिलाकर, उन्हें सही विषय पेज पर ले जाकर और पुराने claims हटाकर Knowledge vault को व्यवस्थित करने देती है।
knowledge-correct
394kयह आपके एजेंट को आपके कहने पर सेव किए गए Knowledge claim या पेज को सुधारने या वापस लेने देती है, और बदलाव का रिकॉर्ड रखती है।