/portal:fleetshift-create-prsfrom Spotify Portal
Opens pull requests from completed Fleetshift shift runs. Use after a shift finishes to turn agent-made changes into reviewable PRs on target repositories. Requires explicit user confirmation before creating any PRs.
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.
Once Fleetshift has finished running a shift on a set of targets (the agent job completed successfully), you can open one pull request per completed target. Only targets whose job is complete are eligible for a PR.
Mutating action — explicit confirmation required. Do not call
fleetshift:create-prsuntil the user has explicitly confirmed how many PRs will be opened and for which targets. Ask for a clear "yes" first.
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.fleetshift-run-shift skill).Check the shift's status breakdown and the individual targets before creating anything:
# Aggregate: how many targets are jobComplete vs still running/failed
npx @spotify/portal-cli actions fleetshift:get-shift --input '{"shiftName":"<shift-name>"}' --json
# Only the completed targets (the ones PRs would be opened for)
npx @spotify/portal-cli actions fleetshift:get-shift-targets --input '{"shiftName":"<shift-name>","status":"jobComplete"}' --json
# If you have a job identifier from a prior run, you can confirm its status too
npx @spotify/portal-cli actions fleetshift:get-job-status --input '{"jobIdentifier":"<job-identifier>"}' --json
jobRunning or jobFailed. They aren't PR-eligible.prUrl, it is already covered; don't open a
duplicate.Pass the eligible targets explicitly in targetIds, so only those get PRs.
Validate the call with --dry-run first, which opens nothing:
npx @spotify/portal-cli actions fleetshift:create-prs --input '{"shiftName":"<shift-name>","targetIds":["component:default/my-service"]}' --dry-run --json
Present the exact number of PRs and the affected repositories to the user and
get explicit confirmation. Then run the same command without --dry-run:
npx @spotify/portal-cli actions fleetshift:create-prs --input '{"shiftName":"<shift-name>","targetIds":["component:default/my-service"]}' --json
create-prs only opens PRs. It never closes, merges, or reverts PRs or
branch changes.Confirm each successfully created PR and report it:
npx @spotify/portal-cli actions fleetshift:get-shift-targets --input '{"shiftName":"<shift-name>","status":"jobComplete"}' --json
Link each opened PR (prUrl/prNumber). State clearly that the PRs are
created but not merged, and that the user must review/merge them.
stop-jobs,
close-prs, delete-shift, or any action that removes or reverts work.jobFailed and the user wants it fixed, point to the
fleetshift-troubleshoot-shift skill (diagnosis) and fleetshift-run-shift (re-run) — both
keep their own explicit confirmation requirement.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub spotify/portal-ai-plugins --plugin portal11 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-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./fleetshift-run-shiftRun an existing Fleetshift shift against its targets: triggers the agent jobs and monitors them to completion with a bounded wait. Also covers the kill switch for stopping a run (halt triggering, stop running jobs) when the user changes their mind. Use when the user wants to actually execute a previously created shift (see fleetshift-create-shift), or to stop or cancel one. Requires explicit user confirmation before triggering, and never waits indefinitely — it polls with a hard time/attempt cap and reports where things stand.2 plugins ship this exact skill · first indexed Oct 22, 2026
Other plugins' skills for the same job