/portal:fleetshift-create-shiftfrom Spotify Portal
Creates a reusable Fleetshift shift definition that runs an LLM agent to apply transformations across multiple repositories. Use for repeatable changes like adding headers or migrating repos.
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.
A Fleetshift shift is a reusable definition: an agent prompt plus a set of
repository targets and PR metadata. Once created, a shift can be run
(fleetshift-run-shift), checked on (fleetshift-check-shift), and have PRs opened from it
(fleetshift-create-prs).
This skill creates agent-type shifts only: the shift runs an LLM agent against each target repository with a prompt you provide.
Mutating action — explicit confirmation required. Do not call
fleetshift:create-shiftuntil the user has explicitly confirmed the shift name, the agent prompt, the target scope, and the PR metadata. A "looks good"/"go ahead" is not enough — ask and get 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.Before creating anything, understand the current state. These calls never mutate anything and need no confirmation:
# Existing shifts (names, owners, progress) so you can avoid collisions
npx @spotify/portal-cli actions fleetshift:list-shifts --input '{}' --json
# Details of an existing shift, if you want its targets/PR config as a model
npx @spotify/portal-cli actions fleetshift:get-shift --input '{"shiftName":"<shift-name>"}' --json
create-shift still works: the targets define the scope up front.Keep user input to a minimum. Work out the goal (what should change and why) from the conversation, then draft every field yourself. Don't send the user a form to fill in. Only ask about something you can't reasonably infer, usually just which repositories to target. Everything else gets a draft the user can accept or tweak in the confirmation step.
add-maintainers-header), checked against list-shifts so it doesn't
collide with an existing shift.metadataMode: "generate" with a title
derived from the goal. Use metadataMode: "manual" only if the user has
specific PR wording in mind.{ source, type, id }
references from whatever the user named (services, a team, a soundcheck
check). Look up entity refs yourself instead of asking for them.First validate the drafted payload with --dry-run. This checks the input
locally and doesn't create anything:
npx @spotify/portal-cli actions fleetshift:create-shift --input '{"name":"add-maintainers-header","title":"Add maintainers headers","type":"agent","shiftPrompt":"Add a Maintainers section to the README listing the owning team from catalog-info.yaml, keeping existing content intact.","targets":[{"source":"catalog","type":"entity","id":"component:default/my-service"}],"pullRequest":{"metadataMode":"generate","title":"Add maintainers header to README"}}' --dry-run --json
Fix anything the dry run rejects. Then show the user the drafted payload
(shift name, prompt, target scope, PR title/description) in one go, so they
can confirm or adjust it in a single reply. A dry run is not a create: only
after an explicit "yes", run the same command without --dry-run:
npx @spotify/portal-cli actions fleetshift:create-shift --input '<the confirmed payload>' --json
"agent"."confirmedLargeTargetSet":true.After a successful create, verify with a read-only call and report the result:
npx @spotify/portal-cli actions fleetshift:get-shift --input '{"shiftName":"add-maintainers-header"}' --json
Report the shift name, owner, target count, and what to do next — usually
"run it" (see fleetshift-run-shift).
fleetshift-run-shift skill.fleetshift-check-shift skill (read-only, safe
to run days or weeks later).fleetshift-create-prs skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
fleetshift, shift-definition, multi-repo, agent-transformation
Generated from the plugin's indexed repository (prasanth595/portal-ai-plugins) — no native marketplace selected
npx claudepluginhub p/prasanth595-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-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-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