PL

plain-upgrade

This utility manages version upgrades, changelog generation, and environment validation for Plain packages.

Install

mkdir -p .claude/skills/plain-upgrade && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5617" && unzip -o skill.zip -d .claude/skills/plain-upgrade && rm skill.zip

Installs to .claude/skills/plain-upgrade

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Upgrades Plain packages and applies required migration changes. Use when updating to newer package versions.
108 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Upgrade package versions
  • Summarize changelog differences
  • Sync agent rules
  • Run automated validation checks

How it works

Executes package management commands to update versions, extracts changelog data, and triggers validation scripts.

Inputs & outputs

You give it
Target packages for upgrade
You get back
Upgraded dependencies and summary report

When to use plain-upgrade

  • Update Plain package versions
  • Review changelogs for breaking changes
  • Run automated post-upgrade validation

About this skill

Upgrade Plain Packages

1. Run the upgrade

uv run plain upgrade [package-names...]

This will show which packages were upgraded (e.g., plain-postgres: 0.1.0 -> 0.2.0).

2. Review the changelog for each upgraded package

For each package that was upgraded:

  1. Run uv run plain changelog <package> --from <old-version> --to <new-version>
  2. Read both sections:
    • "What's changed" — new features, behavior changes, bug fixes worth knowing about
    • "Upgrade instructions" — required code changes (or "No changes required")
  3. If there are required code changes, apply them
  4. Capture a short summary of "What's changed" for the final report — surface new APIs, new settings, new CLI commands, performance improvements, and notable bug fixes even when no code changes are required. Skip pure internal cleanup.

3. Update agent rules and skills

Run uv run plain agent install to sync any updated rules and skills from the upgraded packages.

4. Validate

  1. Run uv run plain fix to fix formatting
  2. Run uv run plain check to validate (linting, preflight, migrations, tests)

5. Report

For each upgraded package, report:

  • Version bump (e.g., plain-postgres: 0.103.0 -> 0.105.0)
  • A 1-3 bullet summary of notable changes from "What's changed" (new features, behavior changes, perf wins, notable fixes)
  • What code changes were applied (or "no code changes required")

Guidelines

  • Process ALL packages before testing
  • DO NOT commit any changes
  • Keep code changes minimal and focused
  • Report any issues or conflicts encountered

When not to use it

  • Upgrading non-Plain packages
  • When manual migrations are already completed

Prerequisites

uvPlain package environment

Limitations

  • Cannot automate all breaking logic changes
  • Requires post-upgrade manual review

How it compares

It automates the entire migration loop (check, update, validate) instead of just bumping version strings.

Compared to similar skills

plain-upgrade side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
plain-upgrade (this skill)12moNo flagsIntermediate
mlops-industrialization16moNo flagsIntermediate
dotnet-upgrade04moNo flagsIntermediate
modernize03moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry