/portal:fleetshift-troubleshoot-shiftfrom Spotify Portal
Diagnoses Fleetshift shift/job failures by inspecting failed targets, job logs, and status to explain root causes and safe next steps. Read-only, safe to run anytime.
Ships in Spotify Portal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is read-only. It only inspects shift, target, job, and log
state to explain why something failed — it never mutates, triggers, or
re-opens anything, and needs no confirmation. If a fix is needed, it hands off
to the mutating skills (fleetshift-run-shift, fleetshift-create-prs), which enforce their own
explicit confirmation.
Use this for:
jobFailed, stopped, or skipped.npx @spotify/portal-cli auth show.
If it isn't, ask the user to run npx @spotify/portal-cli auth login.
If auth list shows more than one Portal instance, confirm which one
with the user and pass --instance <name> on every call.fleetshift_<action> tools (for example
fleetshift_list-shifts). They take the same input, but have no
--dry-run, so the confirmation steps below matter even more.--yes. It confirms actions marked destructive (stop-jobs,
close-prs, delete-shift). Only the fleetshift-run-shift kill switch uses it,
for stop-jobs.# Find the shift
npx @spotify/portal-cli actions fleetshift:list-shifts --input '{}' --json
# Its definition + aggregate status breakdown
npx @spotify/portal-cli actions fleetshift:get-shift --input '{"shiftName":"<shift-name>"}' --json
# The failing targets specifically
npx @spotify/portal-cli actions fleetshift:get-shift-targets --input '{"shiftName":"<shift-name>","status":"jobFailed"}' --json
Fleetshift keeps job logs for 30 days. Check each failed target's
updatedAt (from get-shift-targets) first. If it's older than 30 days,
expect get-job-logs to return "No archived logs available": say the logs
have expired rather than guessing a cause, and offer a re-run of those
targets through fleetshift-run-shift to capture fresh logs.
get-job-status doesn't carry a failure reason, so the logs are the only
source of a cause.
For each failed (or stopped/skipped) target:
# Job detail: terminal state, timestamps, references
npx @spotify/portal-cli actions fleetshift:get-job-status --input '{"jobIdentifier":"<job-identifier>"}' --json
# Raw logs + human-readable summary for the target — the main diagnostic
npx @spotify/portal-cli actions fleetshift:get-job-logs --input '{"shiftName":"<shift-name>","targetId":"component:default/my-service"}' --json
Look for the concrete reason: agent error, repo access/permissions, build failure, timeout, or a missing resource. Quote the relevant log lines in your report.
Summarize per failed target:
If the failure is a soundcheck scenario, cross-check with
fleetshift:find-shift-for-soundcheck to confirm the shift actually matches
the failing checks before suggesting a re-run.
Do not perform it yourself — recommend one of:
fleetshift-run-shift skill (requires explicit user
confirmation; consider re-running only the failed targets).jobComplete → fleetshift-create-prs skill (requires
explicit user confirmation).fleetshift-check-shift skill (read-only).create-shift, trigger-shift, create-prs,
stop-jobs, close-prs, or delete-shift, and never mutates any state.
If a job needs stopping, hand off to the fleetshift-run-shift kill switch.portalJobUrl for the failed job.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
fleetshift, shift-troubleshooting, job-logs, failure-diagnosis
11 skills in this plugin
/actionsDiscover, inspect, and invoke Spotify Portal actions through the Portal CLI. Use when the user asks what Portal can do, names an action ID, or wants to run a Portal operation./doctorDiagnose Spotify Portal plugin, CLI, authentication, and action access without changing state. Use when setup is failing, commands are missing, authentication is unclear, a plugin update looks stale, or the user asks whether Portal is ready./feedbackSubmit feedback about the Spotify Portal CLI to the Portal team. Use when the user explicitly asks to send CLI feedback, or voices an impression, complaint, suggestion, or praise about the Portal CLI or these Portal workflows and confirms they want it submitted./fleetshift-check-shiftRead-only status check on Fleetshift shifts: what ran, which targets finished/failed, which PRs were opened and their state. Safe to run days or weeks after a shift was created or run. Use when the user asks "how is my shift going", "what happened to that fleetshift", "are the PRs merged yet", or wants a recap of a shift they ran a while ago./fleetshift-create-prsOpen pull requests from completed Fleetshift shift runs. Use after a shift has run and targets reached a "finished/jobComplete" state — this turns the agent-made changes into reviewable PRs on the target repositories. Requires explicit user confirmation before creating any PRs. Only opens PRs; it never closes, archives, or reverts anything./fleetshift-create-shiftCreate a Fleetshift shift definition that runs an agent to apply transformations across a set of repository targets. Use when the user wants to set up a reusable, repeatable change (e.g. "add a header to every service", "migrate every repo from X to Y") that can later be run, checked on, and have PRs opened from it. Requires explicit user confirmation before creating the shift.2 plugins ship this exact skill · first indexed Oct 22, 2026
Generated from the plugin's indexed repository (prasanth595/portal-ai-plugins) — no native marketplace selected
npx claudepluginhub p/prasanth595-portalOther plugins' skills for the same job