herdr-kit-workflows
하는 일
이 스킬은 Herdr 작업 도구의 플러그인인 Herdr Kit의 설정과 일상적인 사용을 안내합니다. 여러 저장소에서 작업하기 위해 Herdr를 쓰는 개발자를 위한 것입니다.
사용하는 경우
- ✓Herdr Kit과 Mastra Code 연동을 설치하거나 설정하고 싶을 때.
- ✓Herdr에서 저장소를 열거나 범위에 포함된 저장소를 바꾸고 싶을 때.
- ✓Herdr Kit 바로 가기를 바꾸거나 관리되는 워크트리를 만들고 제거하고 싶을 때.
스킬 링크
https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/herdr-kit-workflows/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Herdr Kit을 설치하고 저장소를 설정해서 Herdr에서 제대로 열리도록 도와주세요.”
매주 새 스킬 5개. 읽는 데 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
debugging-difficult-bugs
29k에이전트가 추측이 아니라 실제 프로그램이 실행될 때의 로그를 남겨 어려운 버그를 디버그하도록 돕습니다.
mastra-frontend
29k에이전트가 처음부터 스타일을 만들지 않고, Mastra 플레이그라운드 디자인 시스템의 기성 컴포넌트로 앱 화면을 만들도록 돕습니다.
pr-explainer
29k에이전트가 풀 리퀘스트를 리뷰어가 이해할 수 있도록 독립적인 HTML 페이지로 설명해 줍니다.
pr-splitter
29k에이전트가 크고 복잡한 풀 리퀘스트를 원본 작업을 안전하게 지키면서 더 작고 리뷰하기 쉬운 풀 리퀘스트로 나누도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.