Lookup

作者 Rootly-AI-Labs65832aa6ff7a无许可证收录于 2026年10月8日更新于 2026年10月8日

Look up a service, team, or catalog entity in Rootly. Returns owner, on-call, recent reliability, dependencies, and any active incidents. Use when something breaks and the first question is who owns this.

AI 生成的概览

查询 Rootly 中的服务、团队或目录实体,返回负责人、值班、可靠性及活跃事件信息。

功能
将部分或完整名称解析为 Rootly 中的服务、团队或目录实体,并通过 Rootly MCP 工具收集详情。它以固定的 Markdown 格式呈现归属关系、当前值班、近期可用性与事件历史、依赖关系以及任何活跃事件。该技能为只读,不会更改 Rootly 状态。
适用场景
适用于故障发生时首先需要确认服务或团队归属的场景。也适合快速查看已知实体的值班安排、近期可靠性或活跃事件。
运行要求
需要访问 Rootly MCP 工具(mcprootly*)以及到 Rootly 的网络连接。该技能不附带脚本,仅为指令。

Service / Team Lookup

You are answering "what is this thing and who owns it?" for a service, team, or catalog entity. The user may pass a partial or full name; do your best to resolve it.

Workflow

1. Resolve the target

$ARGUMENTS is the search term. It might be:

  • A service name (e.g. payments-api)
  • A team name (e.g. Platform)
  • A repository name
  • A catalog entity slug

Strategy:

  1. Try mcp__rootly__listServices with the term as a filter where supported. If the MCP tool offers a name/query filter, use it; otherwise fetch the first 50 and match client-side (case-insensitive substring).
  2. If no service match, try mcp__rootly__listTeams similarly.
  3. If still no match, try mcp__rootly__listCatalogEntities (across all catalogs).

Determine the kind of the resolved entity (service, team, or catalog-entity) — branch the rendering on that.

If multiple matches, list the top 5 and ask the user to disambiguate. Do not guess.

If no matches, say so and suggest the user check spelling or try a broader term.

2. Gather details — service path

If the resolved entity is a service:

  1. Call mcp__rootly__getService for the full record. Capture: name, description, owning team, environment, slug, URL.
  2. Call mcp__rootly__getServiceUptimeChart for the last 30 days (if the MCP supports a period parameter; otherwise default).
  3. Call mcp__rootly__listIncidents with filter_service_ids=<id> and filter_status=started to surface active incidents on this service.
  4. If the service references an owning team, call mcp__rootly__getTeam for the team's name and mcp__rootly__get_oncall_schedule_summary (or mcp__rootly__get_oncall_handoff_summary) for current on-call.
  5. Optional: mcp__rootly__listIncidents filter by service in the last 90 days, page 1 only, to spot frequency.

3. Gather details — team path

If the resolved entity is a team:

  1. Call mcp__rootly__getTeam for the record. Capture name, description, slug, members count if available.
  2. Call mcp__rootly__listServices filtered by team to enumerate owned services.
  3. Call mcp__rootly__get_oncall_schedule_summary for current on-call across the team.
  4. Call mcp__rootly__listIncidents filtered by team and status=started for active incidents.

4. Gather details — catalog entity path

If the resolved entity is a catalog entity:

  1. Call mcp__rootly__getCatalogEntity for the full record.
  2. Note the catalog it belongs to (mcp__rootly__getCatalog if you need the catalog's name).
  3. Surface any service/team references in the entity's properties.

5. Render

Service rendering:

## Service: [name]*[slug] — [environment]*
### Ownership- **Team**: [team name]- **On-call right now**: [user name] (until [shift end])- **Backup**: [backup name if available]
### Recent Reliability (30 days)- Uptime: [percentage]- Incidents: [count] ([critical: N, high: N, medium: N])- MTTR: [duration]
### Active Incidents[If any:]- 🔴 [INC-XXXX] [title] — started [duration] ago[If none:]No active incidents.
### Description[service description]

Team rendering:

## Team: [name]*[slug] — [N members]*
### Owned Services ([N])- [service-name] ([environment])- [service-name] ([environment])[max 10, then "+N more"]
### Currently On-Call- [Schedule]: [user name] (until [time])
### Active Incidents ([N])- 🔴 [INC-XXXX] [title][If none: "No active incidents."]

Catalog entity rendering:

## [Catalog] Entity: [name]*[slug]*
### Properties- [key]: [value]- [key]: [value]
### Linked References[Any service/team links found]

6. Read-only

This skill never mutates Rootly state.

7. Error handling

  • If a downstream call fails (e.g. uptime chart API errors), render the rest of the data and add a one-line note: "[Section]: not available — [error]".
  • Don't fail the whole response because one optional chart didn't load.
  • If getCurrentUser is needed for context (and most cases don't require it), skip it.

来源与署名

来源:Rootly-AI-Labs/rootly-claude-plugin位于skills/lookup提交65832aa

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架