Owner routing

From jeremylongshore/claude-code-plugins-plus-skills · View interactive version

Owner routing is an AI agent skill from the GitHub repository jeremylongshore/claude-code-plugins-plus-skills. Exercise the triage server's five owner-lookup contracts and produce an explicit uncertainty result when the current prototype returns no team. Use when testing routing precedence or documenting missing ownership data. Trigger with "route this bug cluster".

How to use this skill

Skill file

Owner Routing

Run the public routing contract honestly. The current MCP lookup tools return their precedence level

and base confidence but no team or assignee, so a normal result is explicit uncertainty.

Overview

The runtime registers five read-only routing tools for levels 1-5. Level 6 is a conceptual fallback,

not an MCP tool, and this repository has no populated fallback map. Read

the runtime contract before interpreting a response.

Prerequisites

Instructions

  1. Call lookup_service_owner with the repo and optional surface.
  2. If the result contains a non-empty team or assignee, retain it as level 1. Otherwise continue.
  3. Call lookup_oncall, parse_codeowners, lookup_recent_assignees, and lookup_recent_committers in order.
  4. Reject results with neither team nor assignee; base confidence alone is not ownership evidence.
  5. If a caller supplies a previously reviewed routing override, present it separately as human input.

The MCP tools do not load overrides from SQLite.

  1. If every level is empty, return uncertainty and explain that live integrations are absent.
  2. Never invent level 6. A fallback recommendation requires an explicit operator-supplied mapping.

Output

Return one routing report:

Examples

Repo: example/product
Levels checked: 1, 2, 3, 4, 5
Recommendation: null
Uncertainty: true
Reason: current lookup tools are offline stubs and returned no team or assignee.
Operator override: platform-team
Disposition: use as human-supplied routing input; not independently verified by this runtime.

Error Handling

| Situation | Response |

| ---------------------------------- | ----------------------------------------------------------------------------- |

| MCP server is unavailable | Stop and report setup failure. |

| A tool throws | Record that level as failed and continue; do not relabel failure as no match. |

| Result has confidence but no owner | Reject it as an empty routing signal. |

| No fallback mapping was supplied | Return uncertainty rather than guessing. |

| Repo string is malformed | Stop and request owner/repo. |

Guardrails

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.