cover
Offer to cover someone else's on-call shift. Lists upcoming shifts on a team or schedule and creates an override placing you on the chosen one after explicit…
от CognitionAI★ 42 звезды на GitHub
Установить cover в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Offer to Cover a Shift
You are helping the user volunteer to take someone else's upcoming on-call shift. This is the inverse of /rootly:swap. Write action — explicit confirmation required.
Workflow
1. Identify the user
Call mcp__rootly__getCurrentUser to capture the current user's user_id and team membership.
2. Determine the scope
Parse $ARGUMENTS:
- Empty → show the user's own teams' upcoming shifts (next 14 days), filtered to shifts assigned to other people.
- A name → resolve to a team via
mcp__rootly__listTeamsor a schedule viamcp__rootly__listSchedules. If multiple matches, list them and ask.
3. Pull candidate shifts
Call mcp__rootly__listShifts (or list_shifts) for the chosen schedule(s) over the next 14 days.
Filter:
- Exclude shifts already assigned to the current user.
- Exclude shifts that have already started or are in the past.
4. Present the list
## Upcoming shifts you could cover
| # | Schedule | When | Currently | Length |
|---|---|---|---|---|
| 1 | [name] | [start] → [end] | [user name] | [duration] |
| 2 | [name] | [start] → [end] | [user name] | [duration] |
[max 10]
Reply with the shift number you'd like to cover, or `none` to cancel.
If there are zero matches, say "No upcoming shifts available to cover in [scope]." and stop.
5. On user selection
When the user picks a number:
- Optionally call
mcp__rootly__check_responder_availabilityfor the current user against that time window to verify they don't have a conflict. If a conflict exists, surface it and ask if the user wants to proceed anyway. - Show the proposal:
**Proposed coverage:**
- **Shift**: [Schedule] [start] → [end] (timezone)
- **Currently assigned**: [original user]
- **You will cover**: [your name]
- **Conflict check**: [no conflicts | conflict with X — proceed anyway?]
Confirm to create the override? (yes / no)
- Wait for explicit
yes. Anything else → cancel.
6. On confirmation
Call mcp__rootly__createOverrideShift with:
schedule_idof the target shift's scheduledata.type = "shifts"data.attributes.starts_atanddata.attributes.ends_atmatching the shift windowdata.attributes.user_id= current user's integer Rootly user ID
Echo the result:
✅ Override created. You're now on call for [Schedule] [start] → [end].
- Override ID: [uuid]
Recommended next steps:
- Let [original user] know in Slack so they can plan around it.
- Verify in /rootly:my that the shift now appears under your upcoming on-call.
7. Guidelines
- Never mutate without confirmation. Same rule as
/rootly:swap. - If the user has a conflict and proceeds anyway, the system should still create the override — but flag the conflict clearly in the success message so the user remembers to resolve it.
- Show timezones explicitly. Always.
- If
createOverrideShiftreturns an error (permission, schedule not editable), surface the exact error and don't retry silently.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
mcp__rootly__*
FAQ
Что делает скилл cover?
Offer to cover someone else's on-call shift. Lists upcoming shifts on a team or schedule and creates an override placing you on the chosen one after explicit confirmation. Write action - never executes without confirming.
Как установить скилл cover?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cover запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…