saaspegasus/pegasus-skills · Archived

upgrade-pegasus

Upgrade to the latest version of SaaS Pegasus. Use when the user mentions 'upgrade pegasus,' or 'pegasus upgrade.

First seen Feb 21, 2026

Installation

$ npx skills add saaspegasus/pegasus-skills --skill upgrade-pegasus

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from saaspegasus/pegasus-skills.

npx skills add saaspegasus/pegasus-skills

Browse all from saaspegasus/pegasus-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 8
License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,487 B
  • docs SUMMARY.md 136 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 8 installs

SKILL.md

Upgrading Pegasus

Instructions

This skill helps users upgrade their SaaS Pegasus codebase.

Use the pegasus-cli to trigger the upgrade. It can be called via the pegasus command in the project's python environment.

You first need to list the user's project and find the right one.

pegasus projects list

You should be able to compare the project names to what's defined pegasus-config.yaml to find the right id.

Before running any pegasus commands, confirm auth with pegasus auth status (non-interactive). If it reports unauthenticated, ask the user to run pegasus auth login in a separate terminal — it's interactive and will hang if invoked from this session. See the pegasus-projects skill's Setup section for the full flow.

Before pushing

  1. Ensure main is up to date: Run git checkout main && git pull before starting the upgrade. The merge will be against main, so it must have the latest changes.

Pushing

Use the CLI flags to avoid interactive prompts:

# Upgrade to latest stable version (non-interactive):
pegasus projects push <project_id> --upgrade

# Upgrade to latest dev version (non-interactive):
pegasus projects push <project_id> --dev

Important: Always pass --upgrade or --dev to avoid interactive prompts that require stdin. Without these flags, the CLI will show an interactive menu that doesn't work well in non-interactive environments.

If the user doesn't specify stable vs dev, default to --upgrade (stable).

Custom PR title

If the user asks for a specific pull request title (e.g. "use PR title X" or "call the PR Y"), pass it via --pr-title:

pegasus projects push <project_id> --upgrade --pr-title "Your custom title"

If the user doesn't mention a title, omit the flag — the server generates a sensible default based on the version.

After the push completes

  1. Run git fetch origin to see the new branch
  2. The branch name will be in the format pegasus-<version>-<timestamp> (e.g. pegasus-2026.2.1.3-1771252378.779356)
  3. git checkout <branch-name> to switch to it (it will already be up to date from the push)
  4. Merge the user's default branch (usually main) into the upgrade branch using your "resolve pegasus conflicts" skill. That skill owns the post-merge verification and push flow.