cakephp-migration

Diagnose and fix CakePHP 5.0 to 5.2 upgrade regressions in baserCMS.

194|141|Updated Feb 12, 2012
One-click install
npx skills add https://github.com/baserproject/basercms --skill cakephp-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cakephp-migration
Source: https://github.com/baserproject/basercms/tree/main/.agents/skills/cakephp-migration
Command: npx skills add https://github.com/baserproject/basercms --skill cakephp-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

baserCMS の CakePHP アップグレードで発生する非推奨警告、破壊的変更、テスト失敗、ルーティング不具合、プラグイン競合を素早く原因別に切り分けて修正するための Skill です。

Core Features & Use Cases

  • Version-Specific Migration Recipes: CakePHP 5.0→5.1、5.1→5.2 で起こる変更点を、症状と修正方針に分けて整理します。
  • Framework Regression Triage: Association alias 重複、validation ルール衝突、PaginatedResultSet 変更、null 条件例外、plugin bootstrap 問題などを扱います。
  • baserCMS 固有の実務対応: postLink の _Token 失敗、routes の fallback 競合、TreeBehavior の破損、Migration 互換性の更新まで含めて実務的に支援します。
  • Use Case: 例えば大量のテスト失敗が出たときに、どの警告が本当の原因かを見分けて、該当する修正レシピに直接たどり着けます。

Quick Start

baserCMS の CakePHP 移行で出ている警告や例外をこの Skill に渡し、該当するバージョン別の修正レシピを要約して適用案を作成してください。

Frequently Asked Questions about cakephp-migration

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

FAQPage Schema
How do I fix CakePHP 5.1 upgrade breakages in baserCMS?

Identify true causes among mass test failures by isolating deprecated API warnings, PaginatedResultSet changes, and plugin bootstrap problems, then apply targeted repair recipes to restore baserCMS compatibility.

Why does postLink form protection fail after a CakePHP migration?

postLink form protection fails after a CakePHP migration due to _Token validation changes, requiring framework-specific deprecation handling and migration package updates to restore secure form submission.

What's the best way to resolve association alias conflicts in CakePHP 5.2?

Resolve association alias conflicts in CakePHP 5.2 by triaging framework regressions, fixing duplicate aliases, and addressing validation rule collisions to maintain baserCMS stability across version changes.

Does this CakePHP migration approach handle TreeBehavior corruption and routing fallback conflicts?

Yes, this CakePHP migration approach handles TreeBehavior corruption and routing fallback conflicts by applying precise repair recipes for baserCMS-specific framework regressions and exception patterns.

How do I distinguish real deprecated API errors from noise during a CakePHP upgrade?

Distinguish real deprecated API errors from noise by diagnosing test-environment differences and exception patterns, isolating actual regression causes from test failures during the baserCMS migration.