herdr-manager-query
하는 일
이 스킬은 리뷰, 풀 리퀘스트, 체크아웃에 대한 Herdr Manager 목록을 읽고 명확한 요약과 제안을 줍니다. 많은 풀 리퀘스트를 동시에 다루는 개발자를 위한 것입니다.
사용하는 경우
- ✓나에게 리뷰를 요청한 풀 리퀘스트 목록을 보고 싶을 때.
- ✓내가 작성한 풀 리퀘스트 중 주의가 필요한 것을 보고 싶을 때.
- ✓다음으로 맡을 작업에 대한 제안이 필요할 때.
스킬 링크
https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/herdr-manager-query/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 리뷰를 기다리는 풀 리퀘스트를 보여 주고, 먼저 봐야 할 것을 제안해 주세요.”
매주 새 스킬 5개. 읽는 데 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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
debugging-difficult-bugs
29k에이전트가 추측이 아니라 실제 프로그램이 실행될 때의 로그를 남겨 어려운 버그를 디버그하도록 돕습니다.
mastra-frontend
29k에이전트가 처음부터 스타일을 만들지 않고, Mastra 플레이그라운드 디자인 시스템의 기성 컴포넌트로 앱 화면을 만들도록 돕습니다.
pr-explainer
29k에이전트가 풀 리퀘스트를 리뷰어가 이해할 수 있도록 독립적인 HTML 페이지로 설명해 줍니다.
pr-splitter
29k에이전트가 크고 복잡한 풀 리퀘스트를 원본 작업을 안전하게 지키면서 더 작고 리뷰하기 쉬운 풀 리퀘스트로 나누도록 돕습니다.
비슷한 스킬
knowledge-capture
394k에이전트가 결정, 선호, 핵심 사실을 출처 표시와 함께 짧은 메모로 Knowledge 볼트에 저장하도록 가르칩니다.
knowledge-claim-consolidation
394k에이전트가 중복 주장을 합치고, 올바른 주제 페이지로 옮기고, 오래된 주장을 폐기해 Knowledge 볼트를 정리하도록 돕습니다.
knowledge-correct
394k에이전트가 요청에 따라 특정 Knowledge 주장이나 페이지를 고치거나 철회하고, 무엇이 바뀌었는지 기록을 남기도록 돕습니다.