herdr-manager-query
Qué hace
Esta skill lee el inventario de revisiones, pull requests y copias de trabajo de Herdr Manager, y después ofrece un resumen claro y sugerencias. Es para desarrolladores que gestionan muchos pull requests a la vez.
Cuándo usarla
- ✓Cuando quieres una lista de los pull requests que te han pedido revisar.
- ✓Cuando quieres ver cuáles de tus pull requests necesitan atención.
- ✓Cuando quieres sugerencias sobre el siguiente trabajo que conviene tomar.
Link de la skill
https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/herdr-manager-query/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Muéstrame los pull requests que esperan mi revisión y sugiere cuál debería mirar primero.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente lee los datos de Herdr Manager solo a través del plugin y después informa de lo que encontró. No cambia ningún registro.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Puede esta skill cambiar mis pull requests?
No. Consultar y recomendar son acciones de solo lectura, y el único cambio permitido es un paso explícito y confirmado que añade registros de revisión solo remotos.
¿Qué pasa si el plugin no está instalado?
El agente se detiene e informa del problema, en lugar de adivinar a partir de GitHub u otras fuentes.
¿Lee mi cuenta de GitHub directamente?
No. La skill exige el inventario de Herdr Manager como única fuente de verdad.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 29 mil
- Posición en el ranking
- #9369
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
debugging-difficult-bugs
29 milAyuda a tu agente a depurar un error difícil registrando lo que hace el programa real en tiempo de ejecución, en lugar de adivinar solo con las pruebas.
mastra-frontend
29 milAyuda a tu agente a crear pantallas de app con el sistema de diseño del playground de Mastra, combinando sus componentes listos en lugar de dar estilo desde cero.
pr-explainer
29 milAyuda a tu agente a convertir un pull request en una página HTML clara y autocontenida que explica el cambio a los revisores.
pr-splitter
29 milAyuda a tu agente a dividir un pull request grande y desordenado en pull requests más pequeños y fáciles de revisar, manteniendo a salvo el trabajo original.
Skills parecidas
knowledge-capture
394 milEnseña a tu agente a guardar decisiones, preferencias y datos clave en tu bóveda de Knowledge como notas breves con atribución de la fuente.
knowledge-claim-consolidation
394 milAyuda a tu agente a ordenar una bóveda de Knowledge fusionando afirmaciones duplicadas, moviéndolas a las páginas temáticas adecuadas y retirando las obsoletas.
knowledge-correct
394 milPermite que tu agente corrija o retire una afirmación o página concreta guardada en Knowledge cuando tú lo pidas, dejando constancia de lo que cambió.