Skip to content
Skill

Fleetshift create prs

Opens reviewable pull requests for targets finished in a Fleetshift shift run

Fleetshift create prs is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
3.3K
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Fleetshift create prs

This skill takes the changes an agent made during a completed Fleetshift shift and turns them into one pull request per finished target on the relevant repositories. It only considers targets whose job reached the jobComplete state, skips running or failed ones, and avoids opening a second PR for a target that already has one.

The workflow is read-only first: the agent checks the shift's status breakdown and lists the completed targets through the Portal CLI, then runs a dry-run of the create-prs action. Only after the user explicitly confirms the number of PRs and the target list does it open them, and it then reports each PR link. The skill is built around the Portal CLI, with a note that a connected Portal MCP server exposes the same actions without a dry-run option.

It expects a Portal CLI login (or an MCP connection), an existing shift run, and the fleetshift action set. It never closes, merges, or reverts anything, and it leaves stopping jobs, deleting shifts, and re-running work to separate skills.

When your agent uses it

Open 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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the portal plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add spotify/portal-ai-plugins
/plugin install portal@portal

Or copy only this skill to ~/.claude/skills/fleetshift-create-prs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/fleetshift-create-prs &&
cp -R "$tmp/skills/fleetshift-create-prs" ~/.claude/skills/fleetshift-create-prs &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/fleetshift-create-prs inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/fleetshift-create-prs to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/fleetshift-create-prs &&
cp -R "$tmp/skills/fleetshift-create-prs" ~/.agents/skills/fleetshift-create-prs &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/fleetshift-create-prs inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/fleetshift-create-prs to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/fleetshift-create-prs &&
cp -R "$tmp/skills/fleetshift-create-prs" ~/.cursor/skills/fleetshift-create-prs &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/fleetshift-create-prs inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/spotify/portal-ai-plugins.git --path skills/fleetshift-create-prs

Or copy the folder to ~/.gemini/skills/fleetshift-create-prs yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/fleetshift-create-prs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/fleetshift-create-prs &&
cp -R "$tmp/skills/fleetshift-create-prs" ~/.copilot/skills/fleetshift-create-prs &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/fleetshift-create-prs inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/spotify/portal-ai-plugins.git

Then copy portal-ai-plugins/skills/fleetshift-create-prs into your agent's skills folder as fleetshift-create-prs. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Completed target filtering
Limits PR creation to targets whose job reached the jobComplete state.
Dry-run before opening
Validates the create-prs call with a dry run before any pull request is opened.
Explicit confirmation gate
Requires the user to confirm the PR count and target list before creating anything.
Duplicate PR avoidance
Skips targets that already have a PR URL so work is not covered twice.
Status verification and reporting
Re-checks completed targets afterward and lists each opened PR for review.
Non-destructive boundaries
Never stops jobs, closes PRs, deletes shifts or reverts changes.

Good for

  • Open PRs for the targets that finished in my last shift run
  • Check which Fleetshift targets completed successfully before creating reviews
  • Create pull requests for completed migration changes across my repositories
  • Report the PR links for a finished shift so my team can review them

Fleetshift create prs FAQ

What must be in place before Fleetshift create prs runs?

The Portal CLI must be authenticated, and the shift must have run with at least one target reaching a completed state, as covered by the fleetshift-run-shift skill.

Does Fleetshift create prs merge or close pull requests?

No. It only opens PRs. The created PRs are not merged, and the user needs to review and merge them.

Will Fleetshift create prs create PRs without asking?

No. It runs a dry run first and requires explicit user confirmation of the PR count and targets before creating anything.

What happens to targets that failed?

Targets in jobRunning or jobFailed states are skipped and are not eligible for a PR. Fixing them is handled by other Fleetshift skills.

How do I install Fleetshift create prs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/fleetshift-create-prs to use it in all your projects, or to .claude/skills/fleetshift-create-prs in one project. Or install the portal plugin, which includes it: /plugin marketplace add spotify/portal-ai-plugins, then /plugin install portal@portal.

Does Fleetshift create prs run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Fleetshift create prs?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Fleetshift create prs?

The closest alternatives to Fleetshift create prs are Fleetshift check shift, Fleetshift run shift, Fleetshift create shift, Fleetshift troubleshoot shift and Make PR easy to review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from spotify/portal-ai-plugins

  1. Offloads reading of large files and multi-file questions to AiKA

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  2. Generates boilerplate code like tests and docstrings from reference files

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  3. Lets an agent find, inspect and run Spotify Portal actions through the Portal CLI

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  4. Runs a read-only health check on Spotify Portal plugin, CLI and auth setup

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  5. Sends your feedback about the Spotify Portal CLI to the Portal team

    • Open source
    • 3.3K GitHub stars
    • Developer tools
  6. Lets your agent check Fleetshift shift progress, target status and PR state without

    • Open source
    • 3.3K GitHub stars
    • Developer tools