upgrade-package

Audit and upgrade Bespoke packages to current documentation and standards.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bespoke-uk/bespoke-mono --skill upgrade-package
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upgrade-package
Source: https://github.com/bespoke-uk/bespoke-mono/tree/main/.claude/skills/upgrade-package
Command: npx skills add https://github.com/bespoke-uk/bespoke-mono --skill upgrade-package

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrading legacy Bespoke packages to the latest structural and coding standards to improve maintainability and compatibility.

Core Features & Use Cases

  • Audits an existing package to identify non-compliant areas and missing contracts, bindings, and config structure.
  • Applies prioritized fixes to align with current documentation and best practices.
  • Suitable for both CRUD and Utility packages across ServiceProviders, contracts, controllers, and requests with post-upgrade verification.

Quick Start

Provide the path to the package to begin the upgrade process and trigger the audit and automated fixes.

Frequently Asked Questions about upgrade-package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upgrade legacy Laravel packages to current coding standards?

To upgrade legacy Laravel packages, this Skill runs a compliance audit to identify non-compliant areas and applies prioritized fixes to align with current documentation, covering ServiceProviders, contracts, controllers, and requests.

What does a package compliance audit check for in PHP code?

A package compliance audit checks for missing contracts, bindings, and config structure. It enforces validation rules for nested config structures, strict types, and proper API routing patterns.

Can I use this automated upgrade process for both CRUD and Utility packages?

Yes, you can use this automated upgrade process for both CRUD and Utility packages. It handles structural upgrades across contracts, bindings, controllers, requests, and configuration structures.

How do I start the package upgrade workflow?

To start the package upgrade workflow, provide the file path to the target package. This triggers the compliance audit and automatically applies the necessary structural fixes.

Does the upgrade process include post-upgrade verification?

Yes, the upgrade process includes post-upgrade verification. After applying prioritized fixes to align with current standards, it verifies the changes to ensure maintainability and full compatibility.