herdr-kit-workflows
यह क्या करती है
यह स्किल Herdr वर्कस्पेस टूल के प्लगइन, Herdr Kit, के सेटअप और रोज़ के इस्तेमाल का मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जो कई रिपॉज़िटरी पर काम करने के लिए Herdr इस्तेमाल करते हैं।
कब इस्तेमाल करें
- ✓जब आप Herdr Kit और उसका Mastra Code इंटीग्रेशन इंस्टॉल या कॉन्फ़िगर करना चाहें।
- ✓जब आप Herdr में कोई रिपॉज़िटरी खोलना चाहें या बदलना चाहें कि कौन-सी रिपॉज़िटरी दायरे में हैं।
- ✓जब आप Herdr Kit के शॉर्टकट बदलना चाहें या मैनेज्ड वर्कट्री बनाना-हटाना चाहें।
Skill का लिंक
https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/herdr-kit-workflows/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Herdr Kit इंस्टॉल करने में मदद कीजिए और मेरी रिपॉज़िटरी इस तरह सेट कीजिए कि वे Herdr में ठीक खुलें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल एजेंट को बताती है कि पहले जांचे कि वह Herdr सेशन के भीतर चल रहा है, फिर सेटअप और बदलावों के लिए केवल प्लगइन के समर्थित कमांड इस्तेमाल करे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Herdr Kit Workflows
Use Herdr Kit's supported Herdr and protocol-1 interfaces for setup, configuration, repository scope, synchronization, and worktree lifecycle operations.
Activate this skill when the user asks to install or configure Herdr Kit, change its shortcuts or launcher settings, open a repository correctly in Herdr, keep a closed repository synchronized, synchronize Review or Work Manager records, or materialize/dematerialize manager worktrees.
Safety and authority
- Before issuing any
herdrcommand, verify you are running inside a Herdr session:HERDR_ENVmust be set to1in the environment. If it is not, stop and tell the user these workflows require running inside Herdr. - Never run bare
herdrwith no subcommand for discovery: it launches or attaches the interactive TUI and will hang a non-interactive session. Always use an explicit subcommand such asherdr plugin list. - Discover the enabled
herdr-kitplugin through Herdr. Do not assume the current repository contains the plugin. - Negotiate capabilities before using the public CLI. Treat protocol and request schema versions as compatibility boundaries.
- Use
manager queryas the authoritative source for manager keys, revisions, heads, checkout generations, paths, warnings, and postconditions. - Use only the public
herdr-kitCLI for manager scope, synchronization, and lifecycle mutations. Never invoke private scripts, edit manager state, create/remove Git worktrees manually, or substitute directgh/Git/TUI scraping. - Repository scope is manager-specific. Adding a repository to Review scope does not add it to Work scope.
removechanges persistent synchronization scope only. It does not delete repositories, worktrees, branches, or Herdr workspaces.- Never bypass stale-confirmation or warning checks. If a request is rejected, query again, show the changed authoritative values, and obtain renewed user confirmation.
- Materialization and dematerialization require explicit user confirmation of the exact records. Synchronization and opening/focusing an already registered primary repository may proceed when directly requested.
- If discovery, capabilities, query output, schema validation, configuration validation, or a lifecycle result reports an error, stop and report it exactly. Do not fall back.
Discover and negotiate the installed interface
plugin_file=$(mktemp)
capabilities_file=$(mktemp)
data_file=
cleanup() { rm -f "$plugin_file" "$capabilities_file" ${data_file:+"$data_file"}; }
trap cleanup EXIT
if ! herdr plugin list --plugin herdr-kit --json > "$plugin_file"; then
exit 1
fi
if ! plugin_root=$(python3 - "$plugin_file" <<'PY'
import json, sys
p = json.load(open(sys.argv[1]))
if not isinstance(p, dict) or p.get("error") is not None:
raise SystemExit(p.get("error") if isinstance(p, dict) else "Malformed herdr plugin list response")
result = p.get("result")
if not isinstance(result, dict) or not isinstance(result.get("plugins"), list):
raise SystemExit("Malformed herdr plugin list response")
plugin = next((item for item in result["plugins"] if item.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"
if ! "$manager_cli" capabilities > "$capabilities_file"; then
exit 1
fi
python3 - "$capabilities_file" <<'PY'
import json, sys
p = json.load(open(sys.argv[1]))
if not isinstance(p, dict) or p.get("error") is not None:
raise SystemExit(p.get("error") if isinstance(p, dict) else "Malformed herdr-kit capabilities response")
if p.get("protocol_version") != 1:
raise SystemExit(f"Unsupported herdr-kit protocol: {p.get('protocol_version')}")
operations = p.get("operations")
if not isinstance(operations, dict):
raise SystemExit("Malformed herdr-kit capabilities response")
print(json.dumps(operations, indent=2))
PY
Before each operation, require its capability to be present and available: true. Before any command using --request, also require that operation's request_schema to equal the request file's schema_version (1 below).
Detect and update an outdated plugin
The skill describes the current Herdr Kit public contract, but the enabled plugin may be older. Treat a missing required capability, an unsupported protocol/request schema, or a missing documented
अक्सर पूछे जाने वाले सवाल
क्या यह स्किल Herdr के बाहर काम करती है?
नहीं। स्किल कहती है कि अगर एजेंट Herdr सेशन के भीतर नहीं चल रहा तो उसे रुक जाना चाहिए।
क्या एजेंट मेरी रिपॉज़िटरी बिना पूछे बदलेगा?
स्किल बदलाव प्लगइन के समर्थित कमांड तक सीमित रखती है, और एजेंट बताता है कि उसने क्या बदला।
क्या यह मेरे कीबोर्ड शॉर्टकट बदल सकती है?
हाँ, स्किल Herdr Kit की सेटिंग और शॉर्टकट अपडेट करना भी कवर करती है।
जानकारी
लेखक का मूल विवरण
Set up and operate Herdr Kit safely: install and configure the plugin and Mastra Code integration, manage Review and Work repository scope, open primary repository workspaces, synchronize managers, materialize or dematerialize managed worktrees, and update Herdr Kit settings or shortcuts.
repo: mastra-ai/mastra
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9368
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
debugging-difficult-bugs
29kयह आपके एजेंट को कठिन बग ढूंढने में मदद करती है, असली प्रोग्राम के रनटाइम लॉग से, केवल टेस्ट देखकर अंदाज़ा लगाने की जगह।
mastra-frontend
29kयह आपके एजेंट को Mastra playground डिज़ाइन सिस्टम के तैयार कॉम्पोनेंट जोड़कर ऐप स्क्रीन बनाने में मदद करती है, शुरू से स्टाइल करने की जगह।
pr-explainer
29kयह आपके एजेंट को पुल रिक्वेस्ट को एक साफ़, स्व-निहित HTML पेज में बदलने में मदद करती है, जो रिव्यूअर को बदलाव समझाए।
pr-splitter
29kयह आपके एजेंट को एक बड़ी, उलझी पुल रिक्वेस्ट को छोटी, रिव्यू योग्य पुल रिक्वेस्ट में बांटने में मदद करती है, मूल काम सुरक्षित रखते हुए।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।